Page 2 of 2

Re: Native CLAHE support

Posted: 2018-12-08T19:20:29-07:00
by fmw42
Here is the result using IM 7.0.8.16 beta

Input:
Image

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



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

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

The adaptive gamma does not seem to have quite the contrast as the CLAHE.

Re: Native CLAHE support

Posted: 2018-12-11T20:35:12-07:00
by fmw42
It seems to be working fine for me now using tile size in width and height in pixels and also in percent in IM 7.0.8.17 beta.