nrtk.impls.perturb_image.pybsm.defocus_otf_perturber

This module implements the DefocusOTFPerturber class, which simulates optical defocus using the Optical Transfer Function (OTF) in imaging systems. The class leverages the pybsm library and OpenCV to apply perturbations to input images based on sensor and scenario configurations.

Classes:

DefocusOTFPerturber: Simulates defocus effects in images using OTF and PSF calculations.

Dependencies:
  • pybsm: Required for radiance calculations, OTF/PSF handling, and atmosphere loading.

  • numpy: For numerical computations.

Classes

DefocusOTFPerturber

DefocusOTFPerturber applies optical defocus perturbations to input images based on specified sensor and scenario configurations.