Input:
![Image](http://www.fmwconcepts.com/misc_tests/adaptivegamma/49228938-c2277f80-f3ec-11e8-8476-2c352741e49f.jpg)
CLAHE:
Code: Select all
magick 49228938-c2277f80-f3ec-11e8-8476-2c352741e49f.jpg -clahe 16x16+256+2.5 49228938-c2277f80-f3ec-11e8-8476-2c352741e49f_clahe_16x16+256+2p5.jpg
![Image](http://www.fmwconcepts.com/misc_tests/adaptivegamma/49228938-c2277f80-f3ec-11e8-8476-2c352741e49f_clahe_16x16+256+2p5.jpg)
For comparison, here are two results from my adaptivegamma script:
Adaptivegamma:
Code: Select all
adaptivegamma -m 0 -b 1.5 -s 5 adaptivegamma/49228938-c2277f80-f3ec-11e8-8476-2c352741e49f.jpg 49228938-c2277f80-f3ec-11e8-8476-2c352741e49f_adaptivegamma_m0_b1p5.jpg
![Image](http://www.fmwconcepts.com/misc_tests/adaptivegamma/49228938-c2277f80-f3ec-11e8-8476-2c352741e49f_adaptivegamma_m0_b1p5_s5.jpg)
Code: Select all
adaptivegamma -m 0 -b 1.5 -s 50 adaptivegamma/49228938-c2277f80-f3ec-11e8-8476-2c352741e49f.jpg 49228938-c2277f80-f3ec-11e8-8476-2c352741e49f_adaptivegamma_m0_b1p5_s50.jpg
![Image](http://www.fmwconcepts.com/misc_tests/adaptivegamma/49228938-c2277f80-f3ec-11e8-8476-2c352741e49f_adaptivegamma_m0_b1p5_s50.jpg)
The adaptive gamma does not seem to have quite the contrast as the CLAHE.