nrtk.impls.perturb_image.generic.albumentations_perturber

This module defines the AlbumentationsPerturber class, which runs any BasicTransform from the Albumentations module on 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 Methods: perturb: Applies the specified to an input image.