7ce6ab2b22bdf6e27c88cb0839768e0458f00e51,imgaug/augmentables/normalization.py,,invert_normalize_images,#Any#Any#,356
Before Change
return images[..., 0]
else:
return images
elif ia.is_iterable(images_old):
if isinstance(images_old, tuple):
return tuple(images)
else:
After Change
return images[..., 0]
else:
return images
elif ia.is_iterable(images_old):
result = []
for image, image_old in zip(images, images_old):
if image_old.ndim == 2:
assert image.shape[2] == 1
result.append(image[:, :, 0])
else:
assert image.ndim == 3
assert image_old.ndim == 3
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: aleju/imgaug
Commit Name: 7ce6ab2b22bdf6e27c88cb0839768e0458f00e51
Time: 2019-03-30
Author: kontakt@ajung.name
File Name: imgaug/augmentables/normalization.py
Class Name:
Method Name: invert_normalize_images
Project Name: aleju/imgaug
Commit Name: 7ce6ab2b22bdf6e27c88cb0839768e0458f00e51
Time: 2019-03-30
Author: kontakt@ajung.name
File Name: imgaug/augmentables/normalization.py
Class Name:
Method Name: normalize_images
Project Name: aleju/imgaug
Commit Name: 1aaa17e4ec9c87b53cb02ea333e2bc8e6074fc59
Time: 2018-06-16
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: ElasticTransformation
Method Name: __init__