Skip to content

Commit fd863d9

Browse files
authored
Create README.md
1 parent 67701da commit fd863d9

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# CLAHE GUI
2+
3+
This is supposed to ba a simple GUI to demonstrate the effect of Constrastive Limited Adaptive Histogram Equilization on any type of input image.
4+
5+
## What is Contrastive Limited Adaptive Histogram Equilization (CLAHE)
6+
7+
A CLAHE actually takes the LAB components of the image and calculated a histogram decomposition for each channel for a specific patch size.
8+
For each patch:
9+
10+
- take histogram distribution
11+
- calculate the excess from the clip limit
12+
- distribute this excess equally over all non-excessing pixels
13+
- overlay with gaussian frame
14+
15+
Then it takes the overlapp average over all patches, reconstructing the original image equalizes.
16+
17+
This app additionally reconverts the color space back to BGR and displays the result.
18+
19+
![image of CLAHE steps](./img/CLAHE.png)
20+
*Demonstration of CLAHE processon images (MATLAB (c))*
21+
22+
## Requirements
23+
24+
- OpenCV
25+
- Spring

0 commit comments

Comments
 (0)