Superpixels<T>
Models & Types · AiDotNet.Augmentation.Image
Replaces random regions with their superpixel (average color) representation.
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → Superpixels<T>
Constructors
| Constructor | Summary |
|---|---|
Superpixels(int gridSize, double minReplaceRate, double maxReplaceRate, double probability) |
Properties
| Property | Summary |
|---|---|
double MaxReplaceRate { get; } |
|
double MinReplaceRate { get; } |
|
int GridSize { get; } |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |