ChannelDropout<T>

Models & Types · AiDotNet.Augmentation.Image

Randomly zeros out one or more color channels.

Inheritance: AugmentationBase<T, ImageTensor<T>> → ImageAugmenterBase<T> → ChannelDropout<T>

How It Works

ChannelDropout sets entire color channels to a fill value (default 0), forcing the model to learn from the remaining channels. This prevents over-reliance on any single color channel.

Constructors

Constructor Summary
ChannelDropout(int minChannelsToDrop, int maxChannelsToDrop, double fillValue, double probability)

Properties

Property Summary
double FillValue { get; }
int MaxChannelsToDrop { get; }
int MinChannelsToDrop { get; }

Methods

Method Summary
IDictionary<string, object> GetParameters()