3a2c66702c
Lint / TOML Format (push) Waiting to run
Tests on CPU (scheduled) / check-skip (push) Waiting to run
Tests on CPU (scheduled) / pre-tests (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-ubuntu (float32) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-ubuntu (float64) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float32, 2.5.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float32, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float64, 2.5.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.11, float64, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float32, 2.5.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float32, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float64, 2.5.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.12, float64, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.13, float32, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-windows (3.13, float64, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-mac (3.11, float32, 2.5.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-mac (3.11, float32, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-mac (3.12, float32, 2.5.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-mac (3.12, float32, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / tests-cpu-mac (3.13, float32, 2.9.1) (push) Blocked by required conditions
Tests on CPU (scheduled) / coverage (push) Blocked by required conditions
Tests on CPU (scheduled) / typing (push) Blocked by required conditions
Tests on CPU (scheduled) / tutorials (push) Blocked by required conditions
Tests on CPU (scheduled) / docs (push) Blocked by required conditions
125 lines
3.1 KiB
ReStructuredText
125 lines
3.1 KiB
ReStructuredText
Image Augmentations
|
|
===================
|
|
|
|
.. meta::
|
|
:name: description
|
|
:content: "The Image Augmentations module in Kornia provides a wide range of 2D and 3D data augmentation transforms. It includes intensity-based augmentations, geometric transformations, mix-based augmentations, and normalization operations for both 2D and 3D image tensors. Key functions include random color shifts, rotations, cropping, elastic transformations, and more."
|
|
|
|
.. currentmodule:: kornia.augmentation
|
|
|
|
Transforms2D
|
|
------------
|
|
|
|
Set of operators to perform data augmentation on 2D image tensors.
|
|
|
|
Intensity
|
|
~~~~~~~~~
|
|
|
|
.. autoclass:: ColorJiggle
|
|
.. autoclass:: ColorJitter
|
|
.. autoclass:: RandomAutoContrast
|
|
.. autoclass:: RandomBoxBlur
|
|
.. autoclass:: RandomBrightness
|
|
.. autoclass:: RandomChannelDropout
|
|
.. autoclass:: RandomChannelShuffle
|
|
.. autoclass:: RandomClahe
|
|
.. autoclass:: RandomContrast
|
|
.. autoclass:: RandomEqualize
|
|
.. autoclass:: RandomDissolving
|
|
.. autoclass:: RandomGamma
|
|
.. autoclass:: RandomGaussianBlur
|
|
.. autoclass:: RandomGaussianIllumination
|
|
.. autoclass:: RandomGaussianNoise
|
|
.. autoclass:: RandomGrayscale
|
|
.. autoclass:: RandomHue
|
|
.. autoclass:: RandomInvert
|
|
.. autoclass:: RandomJPEG
|
|
.. autoclass:: RandomLinearCornerIllumination
|
|
.. autoclass:: RandomLinearIllumination
|
|
.. autoclass:: RandomMedianBlur
|
|
.. autoclass:: RandomMotionBlur
|
|
.. autoclass:: RandomPlanckianJitter
|
|
.. autoclass:: RandomPlasmaBrightness
|
|
.. autoclass:: RandomPlasmaContrast
|
|
.. autoclass:: RandomPlasmaShadow
|
|
.. autoclass:: RandomPosterize
|
|
.. autoclass:: RandomRain
|
|
.. autoclass:: RandomRGBShift
|
|
.. autoclass:: RandomSaltAndPepperNoise
|
|
.. autoclass:: RandomSaturation
|
|
.. autoclass:: RandomSharpness
|
|
.. autoclass:: RandomSnow
|
|
.. autoclass:: RandomSolarize
|
|
|
|
|
|
Geometric
|
|
~~~~~~~~~
|
|
|
|
.. autoclass:: CenterCrop
|
|
.. autoclass:: PadTo
|
|
.. autoclass:: RandomAffine
|
|
.. autoclass:: RandomCrop
|
|
.. autoclass:: RandomElasticTransform
|
|
.. autoclass:: RandomErasing
|
|
.. autoclass:: RandomFisheye
|
|
.. autoclass:: RandomHorizontalFlip
|
|
.. autoclass:: RandomPerspective
|
|
.. autoclass:: RandomResizedCrop
|
|
.. autoclass:: RandomRotation90
|
|
.. autoclass:: RandomRotation
|
|
.. autoclass:: RandomShear
|
|
.. autoclass:: RandomThinPlateSpline
|
|
.. autoclass:: RandomVerticalFlip
|
|
|
|
|
|
Mix
|
|
~~~
|
|
|
|
.. autoclass:: RandomCutMixV2
|
|
.. autoclass:: RandomJigsaw
|
|
.. autoclass:: RandomMixUpV2
|
|
.. autoclass:: RandomMosaic
|
|
.. autoclass:: RandomTransplantation
|
|
|
|
Transforms3D
|
|
------------
|
|
|
|
Set of operators to perform data augmentation on 3D volumetric tensors.
|
|
|
|
Geometric
|
|
~~~~~~~~~
|
|
|
|
.. autoclass:: CenterCrop3D
|
|
.. autoclass:: RandomAffine3D
|
|
.. autoclass:: RandomCrop3D
|
|
.. autoclass:: RandomDepthicalFlip3D
|
|
.. autoclass:: RandomHorizontalFlip3D
|
|
.. autoclass:: RandomRotation3D
|
|
.. autoclass:: RandomVerticalFlip3D
|
|
|
|
Intensity
|
|
~~~~~~~~~
|
|
|
|
.. autoclass:: RandomEqualize3D
|
|
.. autoclass:: RandomMotionBlur3D
|
|
|
|
Mix
|
|
~~~
|
|
|
|
.. autoclass:: RandomTransplantation3D
|
|
|
|
Normalizations
|
|
--------------
|
|
|
|
Normalization operations are shape-agnostic for both 2D and 3D tensors.
|
|
|
|
.. autoclass:: Denormalize
|
|
.. autoclass:: Normalize
|
|
|
|
Image Resize
|
|
------------
|
|
|
|
.. autoclass:: LongestMaxSize
|
|
.. autoclass:: Resize
|
|
.. autoclass:: SmallestMaxSize
|