Enhance Local Contrast (CLAHE)
|Author||Stephan Saalfeld ()|
|Source|| (243 lines)|
|Latest version||November 13th, 2009|
|Development status||stable, active|
The method has three parameters:
- block size
- the size of the local region around a pixel for which the histogram is equalized. This size should be larger than the size of features to be preserved.
- histogram bins
- the number of histogram bins used for histogram equalization. The implementation internally works with byte resolution, so values larger than 256 are not meaningful. This value also limits the quantification of the output when processing 8bit gray or 24bit RGB images. The number of histogram bins should be smaller than the number of pixels in a block.
- max slope
- limits the contrast stretch in the intensity transfer function. Very large values will let the histogram equalization do whatever it wants to do, that is result in maximal local contrast. The value 1 will result in the original image.
- Zuiderveld, Karel (1994), Contrast limited adaptive histogram equalization, Academic Press Professional, Inc., pp. 474-485, PMID 12520305