nrtk.impls.perturb_image.generic.albumentations_perturber

Defines AlbumentationsPerturber to apply Albumentations BasicTransforms to input images.

Classes:

AlbumentationsPerturber: A perturbation class for applying perturbations from Albumentations

Dependencies:
  • numpy: For numerical operations and random number generation.

  • smqtk_image_io.AxisAlignedBoundingBox: For handling and adjusting bounding boxes.

  • nrtk.interfaces.perturb_image.PerturbImage: Base class for perturbation algorithms.

  • albumentations: For the underlying perturbations

Classes

AlbumentationsPerturber

AlbumentationsPerturber applies a BasicTransform from Albumentations.