Invert<T>
Models & Types · AiDotNet.Augmentation.Image
Inverts all pixel values in the image (creates a negative).
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → Invert<T>
How It Works
Each pixel value is replaced with (max - value), where max is 255 for uint8 images or 1.0 for normalized images. This creates a photographic negative effect.
Constructors
| Constructor | Summary |
|---|---|
Invert(double probability) |