Targets by Transform

Reference for data targets supported by Albumentations transforms.

Target Compatibility

Use these tables to check whether a transform updates images only or can safely update masks, bounding boxes, keypoints, volumes, and 3D masks.

Image-Only Transforms

Pixel-level transforms modify the image while leaving masks, boxes, and keypoints unchanged.

Dual Transforms

Spatial transforms can update the image and supported annotation targets together.

Nameimagemaskbboxes (HBB)bboxes (OBB)keypointsvolumemask3d
AffineSupportedSupportedSupportedSupportedSupportedSupportedSupported
AtLeastOneBBoxRandomCropSupportedSupportedSupportedSupportedSupportedSupportedSupported
BBoxSafeRandomCropSupportedSupportedSupportedSupportedSupportedSupportedSupported
CenterCropSupportedSupportedSupportedSupportedSupportedSupportedSupported
CoarseDropoutSupportedSupportedSupportedNot supportedSupportedSupportedSupported
ConstrainedCoarseDropoutSupportedSupportedSupportedNot supportedSupportedSupportedSupported
CopyAndPasteSupportedSupportedSupportedNot supportedSupportedNot supportedNot supported
CropSupportedSupportedSupportedSupportedSupportedSupportedSupported
CropAndPadSupportedSupportedSupportedSupportedSupportedSupportedSupported
CropNonEmptyMaskIfExistsSupportedSupportedSupportedSupportedSupportedSupportedSupported
D4SupportedSupportedSupportedSupportedSupportedSupportedSupported
ElasticTransformSupportedSupportedSupportedSupportedSupportedSupportedSupported
ErasingSupportedSupportedSupportedNot supportedSupportedSupportedSupported
FrequencyMaskingSupportedSupportedSupportedNot supportedSupportedSupportedSupported
GridDistortionSupportedSupportedSupportedSupportedSupportedSupportedSupported
GridDropoutSupportedSupportedSupportedNot supportedSupportedSupportedSupported
GridElasticDeformSupportedSupportedSupportedNot supportedSupportedSupportedSupported
GridMaskSupportedSupportedSupportedNot supportedSupportedSupportedSupported
HorizontalFlipSupportedSupportedSupportedSupportedSupportedSupportedSupported
LetterBoxSupportedSupportedSupportedSupportedSupportedSupportedSupported
LongestMaxSizeSupportedSupportedSupportedSupportedSupportedSupportedSupported
MaskDropoutSupportedSupportedSupportedNot supportedSupportedSupportedSupported
MorphologicalSupportedSupportedSupportedNot supportedSupportedSupportedSupported
MosaicSupportedSupportedSupportedSupportedSupportedNot supportedNot supported
NoOpSupportedSupportedSupportedSupportedSupportedSupportedSupported
OpticalDistortionSupportedSupportedSupportedSupportedSupportedSupportedSupported
PadSupportedSupportedSupportedSupportedSupportedSupportedSupported
PadIfNeededSupportedSupportedSupportedSupportedSupportedSupportedSupported
PerspectiveSupportedSupportedSupportedSupportedSupportedSupportedSupported
PixelDropoutSupportedSupportedSupportedSupportedSupportedSupportedSupported
PixelSpreadSupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomCropSupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomCropFromBordersSupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomCropNearBBoxSupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomGridShuffleSupportedSupportedSupportedNot supportedSupportedSupportedSupported
RandomResizedCropSupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomRotate90SupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomScaleSupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomSizedBBoxSafeCropSupportedSupportedSupportedSupportedSupportedSupportedSupported
RandomSizedCropSupportedSupportedSupportedSupportedSupportedSupportedSupported
ResizeSupportedSupportedSupportedSupportedSupportedSupportedSupported
RotateSupportedSupportedSupportedSupportedSupportedSupportedSupported
SafeRotateSupportedSupportedSupportedSupportedSupportedSupportedSupported
ShiftScaleRotateSupportedSupportedSupportedSupportedSupportedSupportedSupported
SmallestMaxSizeSupportedSupportedSupportedSupportedSupportedSupportedSupported
SquareSymmetrySupportedSupportedSupportedSupportedSupportedSupportedSupported
ThinPlateSplineSupportedSupportedSupportedSupportedSupportedSupportedSupported
TimeMaskingSupportedSupportedSupportedNot supportedSupportedSupportedSupported
TimeReverseSupportedSupportedSupportedSupportedSupportedSupportedSupported
TransposeSupportedSupportedSupportedSupportedSupportedSupportedSupported
VerticalFlipSupportedSupportedSupportedSupportedSupportedSupportedSupported
WaterRefractionSupportedSupportedSupportedSupportedSupportedSupportedSupported
XYMaskingSupportedSupportedSupportedNot supportedSupportedSupportedSupported

3D Transforms

Volumetric transforms operate on 3D volumes and the generated target columns they support.

Nameimagemaskbboxes (HBB)bboxes (OBB)keypointsvolumemask3d
CenterCrop3DNot supportedNot supportedNot supportedNot supportedSupportedSupportedSupported
CoarseDropout3DNot supportedNot supportedNot supportedNot supportedSupportedSupportedSupported
CubicSymmetryNot supportedNot supportedNot supportedNot supportedSupportedSupportedSupported
GridShuffle3DNot supportedNot supportedNot supportedNot supportedSupportedSupportedSupported
Pad3DNot supportedNot supportedNot supportedNot supportedSupportedSupportedSupported
PadIfNeeded3DNot supportedNot supportedNot supportedNot supportedSupportedSupportedSupported
RandomCrop3DNot supportedNot supportedNot supportedNot supportedSupportedSupportedSupported

Browse Transforms by Family

Families group transforms by the visual or geometric problem they address, such as blur, noise, distortions, dropout, weather, color, and crop or pad operations. 129 transforms across 20 families.

ImageOnly appearance

Color

Brightness, contrast, tone, channel, stain, and histogram changes.

29

ImageOnly appearance

Blur/noise

Blur, sharpness, compression artifacts, sensor noise, and resolution artifacts.

21

ImageOnly appearance

Weather

Rain, snow, fog, flare, shadow, gravel, and other scene conditions.

10

ImageOnly appearance

Normalize

Numeric range, dtype, and model-preprocessing transforms.

3

ImageOnly appearance

Channel layout

Channel order, channel dropout, and channel rearrangement transforms.

3

Dual 2D targets

Crop/pad

Crops, pads, resizes, and size-constrained spatial framing transforms.

19

Dual 2D targets

Flips/symmetry

Axis flips, transposes, right-angle rotations, and square symmetries.

6

Dual 2D targets

Affine/projective

Affine, rotation, scale, shear, and perspective transforms.

5

Dual 2D targets

Distortions

Elastic, grid, optical, thin-plate, refraction, and local warp transforms.

7

Dual 2D targets

Dropout/occlusion

Pixel, region, grid, mask, frequency, and time masking transforms.

10

Dual 2D targets

Spatial rearrangement

Transforms that rearrange existing spatial or temporal regions.

2

Dual 2D targets

Morphology

Morphological operations that expand, shrink, or alter target structure.

1

Dual 2D targets

Utility

Pipeline utility transforms that intentionally preserve inputs.

1

Transform3D volumes

3D crop/pad

Volume crops and padding transforms.

4

Transform3D volumes

Cubic symmetry

3D flips and cube symmetries.

1

Transform3D volumes

3D dropout

Volume occlusion and dropout transforms.

1

Transform3D volumes

3D rearrangement

Volume tile and region rearrangement transforms.

1

ImageOnly style mixing

Domain adaptation

Style, histogram, and pixel-distribution adaptation from reference images.

3

Dual object mixing

Mosaic

Multi-image mosaic composition.

1

Dual object mixing

CopyAndPaste

Object-level copy-paste composition.

1

Try Transforms Interactively

Open the transform workbench to tune parameters, run augmentations, and compare outputs in the browser.

Open Explore