Class SpatialImageAugmenterBase<T>
- Namespace
- AiDotNet.Augmentation.Image
- Assembly
- AiDotNet.dll
Base class for image augmentations that transform spatial targets.
public abstract class SpatialImageAugmenterBase<T> : SpatialAugmentationBase<T, ImageTensor<T>>, ISpatialAugmentation<T, ImageTensor<T>>, IAugmentation<T, ImageTensor<T>>
Type Parameters
TThe numeric type for calculations.
- Inheritance
-
AugmentationBase<T, ImageTensor<T>>SpatialImageAugmenterBase<T>
- Implements
-
ISpatialAugmentation<T, ImageTensor<T>>IAugmentation<T, ImageTensor<T>>
- Inherited Members
Remarks
Use this base class for augmentations that need to also transform bounding boxes, keypoints, or segmentation masks along with the image.
Constructors
SpatialImageAugmenterBase(double)
Initializes a new spatial image augmentation.
protected SpatialImageAugmenterBase(double probability = 1)
Parameters
probabilitydoubleThe probability of applying this augmentation.