Files changed (1) hide show
  1. app.py +1 -1
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=2.0, tileGridSize=(8,8))
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 ---