CLAHE - no real value for clip-limit?
Posted: 2019-01-07T06:50:26-07:00
I have just noticed that IM obviously accepts only integer values for the clip-limit, i.e. the contrast limit. Why that? I have used values between 2.0 and 3.0 quite frequently with Fiji in the past, with 2.0 producing a rather natural look, 3.0 a significantly artificial look and anything between, well, something in-between.
I applied CLAHE to my tire example:
With the binary compare yielding no difference:
I applied CLAHE to my tire example:
Code: Select all
magick tire.jpg -clahe 25%x25%+128+2 tire_C2.0.jpg
magick tire.jpg -clahe 25%x25%+128+2.5 tire_C2.5.jpg
fc /b tire_C2.0.jpg tire_c2.5.jpg
Code: Select all
Version: ImageMagick 7.0.8-23 Q16 x64 2019-01-02 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib