nrtk.impls.perturb_image.pybsm.circular_aperture_otf_perturber
Implements CircularApertureOTFPerturber for circular aperture OTF perturbations with sensor and scenario configs.
- Classes:
CircularApertureOTFPerturber: Implements OTF-based perturbations using a circular aperture model, allowing for detailed wavelength and aperture-based image modifications.
- Dependencies:
OpenCV for image filtering and processing.
pyBSM for radiance and OTF calculations.
nrtk.interfaces.perturb_image.PerturbImage as the base interface for image perturbation.
- Example usage:
sensor = PybsmSensor(…) scenario = PybsmScenario(…) perturber = CircularApertureOTFPerturber(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
Applies OTF-based image perturbation using a circular aperture model with sensor and scenario configurations. |