TunAugmentor.transformations.pixel_transformations module

class TunAugmentor.transformations.pixel_transformations.AddGaussianNoise(mean, var)

Bases: TunAugmentor.transformations.basic_transform.BasicTransform

Adds gaussian noise to the image

meanfloat

mean of the noise

varfloat

variance of the noise

class TunAugmentor.transformations.pixel_transformations.ChangeBrightness(brightness_value)

Bases: TunAugmentor.transformations.basic_transform.BasicTransform

Adds Brightness to the image

brightness_valueint

Brightness value to add. Positive to lighten the image and negative to darken the image

class TunAugmentor.transformations.pixel_transformations.ColorModification(red_shift, green_shift, blue_shift)

Bases: TunAugmentor.transformations.basic_transform.BasicTransform

Modifies the colors on each channel.

red_shiftint

shift on the red channel

green_shiftint

shift on the green channel

blue_shiftint

shift on the blue channel