RandomSizedBBoxSafeCrop<T>

Models & Types · AiDotNet.Augmentation.Image

Random-sized crop with bounding box safety, followed by resize to target size.

Inheritance: AugmentationBase<T, ImageTensor<T>> → SpatialAugmentationBase<T, ImageTensor<T>> → SpatialImageAugmenterBase<T> → RandomSizedBBoxSafeCrop<T>

Constructors

Constructor Summary
RandomSizedBBoxSafeCrop(int targetHeight, int targetWidth, double minCropScale, double maxCropScale, double probability)

Properties

Property Summary
double MaxCropScale { get; }
double MinCropScale { get; }
int TargetHeight { get; }
int TargetWidth { get; }

Methods

Method Summary
IDictionary<string, object> GetParameters()