nrtk.impls.perturb_image.pybsm.turbulence_aperture_otf_perturber

This module provides the TurbulenceApertureOTFPerturber class, which applies image perturbations based on Optical Transfer Function (OTF) calculations considering turbulence and aperture effects. The class supports configurations with specific sensor and scenario parameters, leveraging pyBSM and OpenCV for realistic image simulations.

Classes:

TurbulenceApertureOTFPerturber: Applies OTF-based perturbations with turbulence and aperture effects to images, utilizing pyBSM and OpenCV functionalities.

Dependencies:
  • OpenCV for image processing.

  • pyBSM for radiance and OTF-related calculations.

  • nrtk.interfaces.perturb_image.PerturbImage as the base interface for image perturbation.

Example usage:

sensor = PybsmSensor(…) scenario = PybsmScenario(…) perturber = TurbulenceApertureOTFPerturber(sensor=sensor, scenario=scenario) perturbed_image, boxes = perturber.perturb(image, boxes)

Notes:
  • The boxes returned from perturb are identical to the boxes passed in.

Classes

TurbulenceApertureOTFPerturber

Implements OTF-based image perturbation with turbulence and aperture effects.