c91b67c710d20755d04166b7b5e41d430aef9662,albumentations/imgaug/transforms.py,IAASharpen,__init__,#IAASharpen#Any#Any#Any#Any#,191
Before Change
def __init__(self, alpha=(0.2, 0.5), lightness=(0.5, 1.0), always_apply=False, p=0.5):
super(IAASharpen, self).__init__(always_apply, p)
self.alpha = to_tuple(alpha, 0)
self.lightness = to_tuple(lightness, 0)
@property
def processor(self):
return iaa.Sharpen(self.alpha, self.lightness)
After Change
def __init__(self, alpha=(0.2, 0.5), lightness=(0.5, 1.0), always_apply=False, p=0.5):
warnings.warn("This augmentation is deprecated. Please use Sharpen instead")
super().__init__(alpha=alpha, lightness=lightness, always_apply=always_apply, p=p)
class IAAAdditiveGaussianNoise(ImageOnlyIAATransform):
Add gaussian noise to the input image.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
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: 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: 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: c91b67c710d20755d04166b7b5e41d430aef9662
Time: 2020-12-17
Author: klmail98@gmail.com
File Name: albumentations/imgaug/transforms.py
Class Name: IAASharpen
Method Name: __init__