mdbloice / Augmentor

Image augmentation library in Python for machine learning.
https://augmentor.readthedocs.io/en/stable
MIT License
5.08k stars 866 forks source link

How to apply 'random_brightness' function to each image at multiple mask/image augmentation?? #212

Open moonjongsul opened 4 years ago

moonjongsul commented 4 years ago

I did augment the [original image / mask 1 / mask2] using 'random_birghtness' and 'random_contrast' functions at multiple mask/image augmentation. Now 3 images are augmented simultaneously. But I want the mask1 and mask2 colors are shouldn't be changed.

How can I apply those functions to only original image at multiple mask/image augmentation? Is there any document here?

Thanks! :)