Operator Overview

Basic Operators

Customized Operators

  • Contributors:

    • TextFlow: Zhifei Zhang @zzhang

    • HidePatch: Krishna kumar Singh @krishsin

BA.{CustomizedOperator}(library="custom")

KeepSizeCrop

TextFlow

HidePatch

JpegCompression

OverlayText

_images/KeepSizeCrop-custom.jpeg _images/TextFlow-custom.jpeg _images/HidePatch-custom.jpeg _images/JpegCompression-custom.jpeg _images/OverlayText-custom.jpeg

Standard Operators:

Beacon_aug support all the operators in all standard libraries

BA.{StandardOperator}(library={library}})
  • Check this list for the operators supporting one library

  • Check the chart blow for the operators supporting multiple libraries

Library

albumentations

imgaug

torchvision

keras

augly

mmcv

imagenet_c

kornia

Affine

_images/Affine-albumentations.jpeg _images/Affine-imgaug.jpeg _images/Affine-torchvision.jpeg _images/Affine-keras.jpeg

PiecewiseAffine

_images/PiecewiseAffine-albumentations.jpeg _images/PiecewiseAffine-imgaug.jpeg

Cutout

_images/Cutout-albumentations.jpeg _images/Cutout-imgaug.jpeg _images/Cutout-torchvision.jpeg

Crop

_images/Crop-imgaug.jpeg _images/Crop-augly.jpeg

RandomCrop

_images/RandomCrop-albumentations.jpeg _images/RandomCrop-imgaug.jpeg _images/RandomCrop-torchvision.jpeg _images/RandomCrop-mmcv.jpeg

CenterCrop

_images/CenterCrop-albumentations.jpeg _images/CenterCrop-torchvision.jpeg

RandomSizedCrop

_images/RandomSizedCrop-albumentations.jpeg _images/RandomSizedCrop-torchvision.jpeg

RandomResizedCrop

_images/RandomResizedCrop-albumentations.jpeg _images/RandomResizedCrop-torchvision.jpeg

Resize

_images/Resize-albumentations.jpeg _images/Resize-imgaug.jpeg _images/Resize-torchvision.jpeg _images/Resize-augly.jpeg _images/Resize-mmcv.jpeg

CropAndPad

_images/CropAndPad-albumentations.jpeg _images/CropAndPad-imgaug.jpeg

Rotate

_images/Rotate-albumentations.jpeg _images/Rotate-imgaug.jpeg _images/Rotate-torchvision.jpeg _images/Rotate-keras.jpeg _images/Rotate-augly.jpeg _images/Rotate-mmcv.jpeg

Pad

_images/Pad-imgaug.jpeg _images/Pad-torchvision.jpeg _images/Pad-augly.jpeg _images/Pad-mmcv.jpeg

Normalize

_images/Normalize-albumentations.jpeg _images/Normalize-mmcv.jpeg

HorizontalFlip

_images/HorizontalFlip-albumentations.jpeg _images/HorizontalFlip-imgaug.jpeg _images/HorizontalFlip-torchvision.jpeg _images/HorizontalFlip-keras.jpeg _images/HorizontalFlip-augly.jpeg

VerticalFlip

_images/VerticalFlip-albumentations.jpeg _images/VerticalFlip-imgaug.jpeg _images/VerticalFlip-torchvision.jpeg _images/VerticalFlip-keras.jpeg _images/VerticalFlip-augly.jpeg

ChannelShuffle

_images/ChannelShuffle-albumentations.jpeg _images/ChannelShuffle-imgaug.jpeg

Lambda

_images/Lambda-albumentations.jpeg _images/Lambda-imgaug.jpeg _images/Lambda-torchvision.jpeg _images/Lambda-augly.jpeg

Autocontrast

_images/Autocontrast-imgaug.jpeg _images/Autocontrast-torchvision.jpeg

Blur

_images/Blur-albumentations.jpeg _images/Blur-imgaug.jpeg _images/Blur-augly.jpeg

MedianBlur

_images/MedianBlur-albumentations.jpeg _images/MedianBlur-imgaug.jpeg

Grayscale

_images/Grayscale-imgaug.jpeg _images/Grayscale-torchvision.jpeg _images/Grayscale-augly.jpeg

Scale

_images/Scale-torchvision.jpeg _images/Scale-augly.jpeg

RandomGrayscale

_images/RandomGrayscale-torchvision.jpeg

Equalize

_images/Equalize-albumentations.jpeg _images/Equalize-imgaug.jpeg _images/Equalize-torchvision.jpeg

Brightness

_images/Brightness-albumentations.jpeg _images/Brightness-imgaug.jpeg _images/Brightness-torchvision.jpeg _images/Brightness-keras.jpeg _images/Brightness-augly.jpeg _images/Brightness-imagenet_c.jpeg

Contrast

_images/Contrast-albumentations.jpeg _images/Contrast-imgaug.jpeg _images/Contrast-torchvision.jpeg _images/Contrast-augly.jpeg _images/Contrast-imagenet_c.jpeg

Emboss

_images/Emboss-albumentations.jpeg _images/Emboss-imgaug.jpeg

CLAHE

_images/CLAHE-albumentations.jpeg _images/CLAHE-imgaug.jpeg _images/CLAHE-mmcv.jpeg

Invert

_images/Invert-albumentations.jpeg _images/Invert-imgaug.jpeg _images/Invert-torchvision.jpeg

Posterize

_images/Posterize-albumentations.jpeg _images/Posterize-imgaug.jpeg _images/Posterize-torchvision.jpeg

Saturation

_images/Saturation-albumentations.jpeg _images/Saturation-imgaug.jpeg _images/Saturation-torchvision.jpeg _images/Saturation-augly.jpeg _images/Saturation-imagenet_c.jpeg

Sharpen

_images/Sharpen-albumentations.jpeg _images/Sharpen-imgaug.jpeg _images/Sharpen-torchvision.jpeg _images/Sharpen-augly.jpeg

Solarize

_images/Solarize-albumentations.jpeg _images/Solarize-imgaug.jpeg _images/Solarize-torchvision.jpeg

PerspectiveTransform

_images/PerspectiveTransform-imgaug.jpeg _images/PerspectiveTransform-augly.jpeg

CoarseDropout

_images/CoarseDropout-albumentations.jpeg _images/CoarseDropout-imgaug.jpeg

OverlayText

_images/OverlayText-augly.jpeg

JpegCompression

_images/JpegCompression-albumentations.jpeg _images/JpegCompression-imgaug.jpeg _images/JpegCompression-imagenet_c.jpeg

ColorJitter

_images/ColorJitter-albumentations.jpeg _images/ColorJitter-torchvision.jpeg _images/ColorJitter-augly.jpeg

Superpixels

_images/Superpixels-albumentations.jpeg _images/Superpixels-imgaug.jpeg

GaussianNoise

_images/GaussianNoise-imgaug.jpeg _images/GaussianNoise-imagenet_c.jpeg

ShotNoise

_images/ShotNoise-imagenet_c.jpeg

ImpulseNoise

_images/ImpulseNoise-imgaug.jpeg _images/ImpulseNoise-imagenet_c.jpeg

GlassBlur

_images/GlassBlur-albumentations.jpeg _images/GlassBlur-imagenet_c.jpeg

MotionBlur

_images/MotionBlur-albumentations.jpeg _images/MotionBlur-imgaug.jpeg _images/MotionBlur-imagenet_c.jpeg

GaussianBlur

_images/GaussianBlur-albumentations.jpeg _images/GaussianBlur-imgaug.jpeg _images/GaussianBlur-torchvision.jpeg _images/GaussianBlur-imagenet_c.jpeg

Snow

_images/Snow-albumentations.jpeg _images/Snow-imagenet_c.jpeg

Fog

_images/Fog-albumentations.jpeg _images/Fog-imgaug.jpeg _images/Fog-imagenet_c.jpeg

ElasticTransform

_images/ElasticTransform-albumentations.jpeg _images/ElasticTransform-imgaug.jpeg _images/ElasticTransform-imagenet_c.jpeg

Pixelization

_images/Pixelization-augly.jpeg _images/Pixelization-imagenet_c.jpeg

Advanced Operators

  • Check here for user instruction

AutoAugment

_images/autoaugment.png

RandAugment

_images/RandAugment.png

ColorJitter

_images/collections-color.png

GeometricJitter

_images/collections-geometric.png

Benign Transformations