RandomErasing<T>
Models & Types · AiDotNet.Augmentation.Image
Random Erasing augmentation (Zhong et al. 2020) that randomly erases rectangular regions.
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → RandomErasing<T>
Constructors
| Constructor | Summary |
|---|---|
RandomErasing(double minArea, double maxArea, double minAspectRatio, double maxAspectRatio, double fillValue, bool fillWithNoise, int maxAttempts, double probability) |
Properties
| Property | Summary |
|---|---|
bool FillWithNoise { get; } |
|
double FillValue { get; } |
|
double MaxArea { get; } |
|
double MaxAspectRatio { get; } |
|
double MinArea { get; } |
|
double MinAspectRatio { get; } |
|
int MaxAttempts { get; } |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |