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

Clahe operation #216

Open LeninGF opened 4 years ago

LeninGF commented 4 years ago

Hi, In this branch I have found a way to include CLAHE algorithm in the Augmentor PipeLine, hope it will be of help.

The operation could be used randomly by defining a minimum and maximum value for clip limit. If the value is the same the function can be used as a pre-processing step. I have tested with some images of my research and seems to work fine

LeninGF commented 4 years ago

Hi, In this branch I have found a way to include CLAHE algorithm in the Augmentor PipeLine, hope it will be of help.

The operation could be used randomly by defining a minimum and maximum value for clip limit. If the value is the same the function can be used as a pre-processing step. I have tested with some images of my research and seems to work fine

LeninGF commented 4 years ago

Hi, I have added open cv to the install requirements I Think the errors were due to lack of that installation. Hope that solves the problem and it turns usefull.