GridMask<T>

Models & Types · AiDotNet.Augmentation.Image

GridMask augmentation (Chen et al. 2020) that masks grid-shaped regions.

Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → GridMask<T>

Constructors

Constructor Summary
GridMask(double minRatio, double maxRatio, int gridDMin, int gridDMax, bool rotate, double fillValue, double probability)

Properties

Property Summary
bool Rotate { get; }
double FillValue { get; }
double MaxRatio { get; }
double MinRatio { get; }
int GridDMax { get; }
int GridDMin { get; }

Methods

Method Summary
IDictionary<string, object> GetParameters()