SpatialAugmentationBase<T, TData>
Base Classes ยท AiDotNet.Augmentation
Base class for augmentations that transform spatial targets (bounding boxes, keypoints, masks).
Inheritance: AugmentationBase<T, TData> โ SpatialAugmentationBase<T, TData>
Implements: ISpatialAugmentation<T, TData>
Known derived types: Affine<T>, HorizontalFlip<T>, RandomCrop<T>, Rotation<T>, Scale<T>, SpatialImageAugmenterBase<T>, VerticalFlip<T>
Properties
| Property | Summary |
|---|---|
bool SupportsBoundingBoxes { get; } |
Gets whether this augmentation supports bounding box transformation. |
bool SupportsKeypoints { get; } |
Gets whether this augmentation supports keypoint transformation. |
bool SupportsMasks { get; } |
Gets whether this augmentation supports mask transformation. |
Methods
| Method | Summary |
|---|---|
AugmentedSample<T, TData> ApplyWithTargets(AugmentedSample<T, TData> sample, AugmentationContext<T> context) |
Applies the augmentation to data and all spatial targets. |