Table of Contents

Namespace AiDotNet.Augmentation.Image

Classes

Affine<T>

Applies random affine transformations (rotation, scale, shear, translation) to an image.

AugmentedSample<T, TData>

Represents a sample with its data and associated spatial targets.

BoundingBox<T>

Represents a bounding box annotation for object detection.

Brightness<T>

Adjusts the brightness of an image by adding a random offset to all pixel values.

ColorJitter<T>

Applies random combinations of brightness, contrast, saturation, and hue adjustments.

Contrast<T>

Adjusts the contrast of an image by scaling pixel values around the mean.

CutMix<T>

Cuts a rectangular region from one image and pastes it onto another (CutMix augmentation).

Cutout<T>

Randomly masks out (cuts out) rectangular regions of an image.

GaussianBlur<T>

Applies Gaussian blur to an image.

GaussianNoise<T>

Adds Gaussian noise to an image.

HorizontalFlip<T>

Flips an image horizontally (left-right mirror).

ImageAugmenterBase<T>

Base class for image data augmentations.

ImageMixingAugmenterBase<T>

Base class for image augmentations that mix multiple images together.

ImageTensor<T>

Represents an image as a tensor with image-specific metadata and operations.

Keypoint<T>

Represents a keypoint annotation for pose estimation and landmark detection.

MixUp<T>

Blends two images together by weighted averaging (MixUp augmentation).

RandomCrop<T>

Randomly crops a region from the image.

Rotation<T>

Rotates an image by a random angle within a specified range.

Saturation<T>

Adjusts the saturation (color intensity) of an image.

Scale<T>

Scales an image by a random factor within a specified range.

SegmentationMask<T>

Represents a segmentation mask for pixel-level annotations.

SkeletonDefinition

Represents a skeleton definition for pose estimation.

SpatialImageAugmenterBase<T>

Base class for image augmentations that transform spatial targets.

VerticalFlip<T>

Flips an image vertically (top-bottom mirror).

Enums

BorderMode

Specifies how to handle pixels that fall outside the image bounds during transformation.

BoundingBoxFormat

Specifies the format of bounding box coordinates.

ChannelOrder

Specifies the channel ordering of an image tensor.

ColorSpace

Specifies the color space of an image.

InterpolationMode

Specifies the interpolation method for image resizing.

MaskEncoding

Specifies the encoding format for segmentation masks.

MaskType

Specifies the type of segmentation mask.