Image effect components#
SynthTIGER Copyright (c) 2021-present NAVER Corp. MIT license
- class synthtiger.components.image_effect.AdditiveGaussianNoise(scale=(8, 32), per_channel=0.5)#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.Brightness(beta=(-32, 32))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.CoarseDropout(p=(0.05, 0.25), size_px=None, size_percent=None, per_channel=0.5, only_alpha=0)#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.Contrast(alpha=(0.5, 1.5))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.Dilate(k=(1, 3))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.ElasticDistortion(alpha=(10, 15), sigma=(3, 3))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.Erode(k=(1, 3))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.Grayscale(*args, **kwargs)#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.GaussianBlur(sigma=(1, 2))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.ImageRotate(angle=(-45, 45), ccw=0, mode='constant')#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.JpegCompression(compression=(5, 30))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.MedianBlur(k=(1, 3))#
- sample(meta=None)#
- apply(layers, meta=None)#
- class synthtiger.components.image_effect.MotionBlur(k=(3, 7), angle=(0, 360))#
- sample(meta=None)#
- apply(layers, meta=None)#