aa2d3a1779da5da0cdb018141400302e45bad47a,albumentations/imgaug/transforms.py,IAAEmboss,__init__,#IAAEmboss#Any#Any#Any#Any#,140

Before Change


    

    def __init__(self, alpha=(0.2, 0.5), strength=(0.2, 0.7), always_apply=False, p=0.5):
        super(IAAEmboss, self).__init__(always_apply, p)
        self.alpha = to_tuple(alpha, 0.0)
        self.strength = to_tuple(strength, 0.0)

    @property
    def processor(self):
        return iaa.Emboss(self.alpha, self.strength)

After Change


    

    def __init__(self, alpha=(0.2, 0.5), strength=(0.2, 0.7), always_apply=False, p=0.5):
        warnings.warn("This augmentation is deprecated. Please use Emboss instead")
        super().__init__(alpha=alpha, strength=strength, always_apply=always_apply, p=p)


class IAASuperpixels(ImageOnlyIAATransform):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: albu/albumentations
Commit Name: aa2d3a1779da5da0cdb018141400302e45bad47a
Time: 2020-12-18
Author: klmail98@gmail.com
File Name: albumentations/imgaug/transforms.py
Class Name: IAAEmboss
Method Name: __init__


Project Name: albu/albumentations
Commit Name: c91b67c710d20755d04166b7b5e41d430aef9662
Time: 2020-12-17
Author: klmail98@gmail.com
File Name: albumentations/imgaug/transforms.py
Class Name: IAASharpen
Method Name: __init__


Project Name: albu/albumentations
Commit Name: 97acaa447e9a8d81223e0b8591493b4ed691f9f6
Time: 2020-12-16
Author: dipetm@gmail.com
File Name: albumentations/imgaug/transforms.py
Class Name: IAAPerspective
Method Name: __init__


Project Name: albu/albumentations
Commit Name: aa2d3a1779da5da0cdb018141400302e45bad47a
Time: 2020-12-18
Author: klmail98@gmail.com
File Name: albumentations/imgaug/transforms.py
Class Name: IAAEmboss
Method Name: __init__