Solarize<T>
Models & Types · AiDotNet.Augmentation.Image
Inverts all pixel values above a threshold, creating a solarization effect.
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → Solarize<T>
For Beginners
Bright parts of the image get inverted (made dark) while dark parts stay the same, creating a surreal effect. Used as augmentation in AutoAugment.
How It Works
Solarization was originally a photographic darkroom effect. Pixels above the threshold are inverted (value = max - value), while pixels below remain unchanged.
Constructors
| Constructor | Summary |
|---|---|
Solarize(double threshold, double probability) |
Properties
| Property | Summary |
|---|---|
double Threshold { get; } |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |