nrtk.impls.perturb_image.generic.random_translation_perturber
Defines RandomTranslationPerturber for random image shifts with bounding box adjustment for labeled datasets.
- Classes:
RandomTranslationPerturber: A perturbation class for applying random translation on images and the corresponding bounding boxes.
- 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.
Classes
RandomTranslationPerturber randomly translates an image and adjusts bounding boxes accordingly. |