Histogram equalization

Histogram equalization is a method in image processing of contrast adjustment using the image's histogram.

A histogram which is zero apart from a central area containing strong peaks is transformed by stretching the peaked area to fill the entire x-axis.
Histograms of an image before and after equalization.