Table of Contents

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

T

The numeric type for calculations.

Inheritance
SpatialImageAugmenterBase<T>
Implements
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

probability double

The probability of applying this augmentation.