CropNonEmptyMaskIfExists<T>
Models & Types · AiDotNet.Augmentation.Image
Crops the image to a region that contains non-empty mask content.
Inheritance: AugmentationBase<T, ImageTensor<T>> → SpatialAugmentationBase<T, ImageTensor<T>> → SpatialImageAugmenterBase<T> → CropNonEmptyMaskIfExists<T>
Constructors
| Constructor | Summary |
|---|---|
CropNonEmptyMaskIfExists(int cropHeight, int cropWidth, int maxAttempts, double probability) |
Properties
| Property | Summary |
|---|---|
int CropHeight { get; } |
|
int CropWidth { get; } |
|
int MaxAttempts { get; } |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |