VideoColorJitter<T>
Models & Types · AiDotNet.Augmentation.Video
Applies color jitter (brightness, contrast, saturation) to video frames.
Inheritance: AugmentationBase<T, ImageTensor<T>[]> → VideoAugmenterBase<T> → SpatialVideoAugmenterBase<T> → VideoColorJitter<T>
For Beginners
Color jitter randomly adjusts brightness, contrast, and saturation of video frames. This helps models become robust to different lighting conditions and camera settings.
How It Works
When to use:
- Videos captured with different cameras or lighting
- Outdoor videos with varying light conditions
- Reducing overfitting to specific color characteristics
Constructors
| Constructor | Summary |
|---|---|
VideoColorJitter(double brightnessRange, double contrastRange, double saturationRange, double probability, double frameRate) |
Creates a new video color jitter augmentation. |
Properties
| Property | Summary |
|---|---|
double BrightnessRange { get; } |
Gets the maximum brightness adjustment. |
double ContrastRange { get; } |
Gets the maximum contrast adjustment. |
double SaturationRange { get; } |
Gets the maximum saturation adjustment. |
Methods
| Method | Summary |
|---|---|
IDictionary<string, object> GetParameters() |