This guide explains how to apply the contrast limited adaptive histogram equalization (CLAHE) algorithm. The CLAHE algorithm partitions the images into contextual regions and applies the histogram equalization to each one. This evens out the distribution of used grey values and thus makes hidden features of the image more visible. The full grey spectrum is used to express the image. CLAHE is an improved version of AHE, or Adaptive Histogram Equalization. Both overcome the limitations of standard histogram equalization.