Spaces:
Sleeping
Sleeping
TWEAK
#4
by
nishanth-saka - opened
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def clahe_uniform(image):
|
|
| 11 |
L, A, B = cv2.split(lab)
|
| 12 |
|
| 13 |
# --- Apply CLAHE (Contrast Limited Adaptive Histogram Equalization) ---
|
| 14 |
-
clahe = cv2.createCLAHE(clipLimit=
|
| 15 |
L2 = clahe.apply(L)
|
| 16 |
|
| 17 |
# --- Merge back channels and convert to RGB ---
|
|
|
|
| 11 |
L, A, B = cv2.split(lab)
|
| 12 |
|
| 13 |
# --- Apply CLAHE (Contrast Limited Adaptive Histogram Equalization) ---
|
| 14 |
+
clahe = cv2.createCLAHE(clipLimit=1.0, tileGridSize=(18,18))
|
| 15 |
L2 = clahe.apply(L)
|
| 16 |
|
| 17 |
# --- Merge back channels and convert to RGB ---
|