Class ImageMixingAugmenterBase<T>
- Namespace
- AiDotNet.Augmentation.Image
- Assembly
- AiDotNet.dll
Base class for image augmentations that mix multiple images together.
public abstract class ImageMixingAugmenterBase<T> : LabelMixingAugmentationBase<T, ImageTensor<T>>, ILabelMixingAugmentation<T, ImageTensor<T>>, IAugmentation<T, ImageTensor<T>>
Type Parameters
TThe numeric type for calculations.
- Inheritance
-
AugmentationBase<T, ImageTensor<T>>ImageMixingAugmenterBase<T>
- Implements
-
IAugmentation<T, ImageTensor<T>>
- Inherited Members
Remarks
Use this base class for augmentations like MixUp and CutMix that combine two or more images and their labels.
Constructors
ImageMixingAugmenterBase(double, double)
Initializes a new image mixing augmentation.
protected ImageMixingAugmenterBase(double probability = 1, double alpha = 1)