Color Augmentations

class tormentor.Invert(aug_id=None, seed=None)[source]

Performs color inversion in HSV colorspace for some images randomly selected.

_static/example_images/Invert.png
class tormentor.Brightness(aug_id=None, seed=None)[source]

Changes the brightness of the image.

_static/example_images/Brightness.png
class tormentor.Saturation(aug_id=None, seed=None)[source]

Changes the saturation of the image.

_static/example_images/Saturation.png
class tormentor.Contrast(aug_id=None, seed=None)[source]

Changes the contrast of the image.

_static/example_images/Contrast.png
class tormentor.Hue(aug_id=None, seed=None)[source]

Changes the Hue of the image.

_static/example_images/Hue.png
class tormentor.ColorJitter(aug_id=None, seed=None)[source]

Changes hue, contrast, saturation, and brightness of the image.

_static/example_images/ColorJitter.png
class tormentor.PlasmaBrightness(aug_id=None, seed=None)[source]

Changes the brightness of the image locally.

_static/example_images/PlasmaBrightness.png
class tormentor.PlasmaRgbBrightness(aug_id=None, seed=None)[source]

Changes the saturation of the image.

_static/example_images/Saturation.png
class tormentor.PlasmaContrast(aug_id=None, seed=None)[source]

Changes the contrast of the image locally.

_static/example_images/PlasmaContrast.png
class tormentor.PlasmaShadow(aug_id=None, seed=None)[source]

Lowers the brightness of the image over a random mask.

_static/example_images/PlasmaShadow.png