Nodes/comfyui_cv/CV Contrast (CLAHE/Equalize)
ComfyUI Node

CV Contrast (CLAHE/Equalize)

Improves contrast via CLAHE (adaptive, recommended) or global histogram equalization.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Contrast (CLAHE/Equalize)
  • image
  • IMAGE
methodCLAHE (adaptive)
channelsluminance only (LAB)
clip_limit2.0
tile_size8
Categoryimage/CV

Inputs (5)

NameTypeDefaultDescription
imageIMAGEInput image. A batch is processed frame by frame.
methodCOMBOCLAHE (adaptive)CLAHE equalizes contrast locally and limits noise amplification (recommended); histogram equalization stretches contrast globally (simpler, can blow out).
channelsCOMBOluminance only (LAB)Luminance-only keeps colors natural; per-channel can shift colors but is more dramatic.
clip_limitFLOAT2.00.1–40CLAHE only: contrast limiting; higher = stronger.
tile_sizeINT81–64CLAHE only: grid size of local regions.

Outputs (1)

NameTypeDescription
IMAGEIMAGE