RgbShift<T>
Models & Types · AiDotNet.Augmentation.Image
Independently shifts each RGB channel by a random amount.
Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → RgbShift<T>
How It Works
RgbShift adds different random offsets to the R, G, and B channels independently, creating subtle color cast effects. This simulates white balance variations and color calibration differences between cameras.
Constructors
| Constructor | Summary |
|---|---|
RgbShift(double redShiftLimit, double greenShiftLimit, double blueShiftLimit, double probability) |
Properties
| Property | Summary |
|---|---|
double BlueShiftLimit { get; } |
|
double GreenShiftLimit { get; } |
|
double RedShiftLimit { get; } |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |