nrtk.impls.perturb_image.generic.random_rotation_perturber

Defines RandomRotationPerturber to apply Albumentations’ Rotate transformation to input images.

Classes:

RandomRotationPerturber: A perturbation class for applying the Rotate transformation from Albumentations.

Dependencies:
  • albumentations: For the underlying perturbations

  • 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.

  • nrtk.impls.perturb_image.generic.albumentations_perturber: Base implementation for Albumentations perturbers.

Classes

RandomRotationPerturber

RandomRotationPerturber applies a Rotation transformation from Albumentations.