nrtk.impls.perturb_image.generic.random_crop_perturber
Defines RandomCropPerturber for random image crops with bounding box adjustment for labeled datasets.
- Classes:
RandomCropPerturber: A perturbation class for randomly cropping images and modifying 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
RandomCropPerturber randomly crops an image and adjusts bounding boxes accordingly. |