Skip to main content
. 2021 Dec 17;10(12):1347. doi: 10.3390/biology10121347
Algorithm 4 CLAHE
Input: Image after gamma correction I;
1.  Resizing l to N × N; Decompose l—(n) tiles; (n)—N × N/n × n
2.  Hm—histogram(m); // histogram of a n × n tile;
3.  Clip limit: CLNcl × Navg of Hn using CL;
4.  pixels—distribution over the remaining pixels;
5.  CLAHE(n)—equalization of contrast limited the histogram tile histogram for the image(l)
6.  bc—bilinear interpolation of CLAHE
Output: CLAHE processed image bc