Function Name

Histogram Contrast


Increases or decreases the contrast of the image using its histogram to determine the median brightness as opposed to using an arbitrary value of 128. This function finds the median brightness of the image, then brightens the pixels with values above the median and darkens the pixels with values below the median.


Increase or decrease the contrast of an image.

Before After

Histogram Contrast Before/After Example