JA EN

Histogram

A graphical representation showing the distribution of pixel intensities in an image. Used to objectively assess exposure, contrast, and tonal range.

An image histogram is a bar chart plotting pixel count (vertical axis) against intensity values (horizontal axis, typically 0-255 for 8-bit images). It provides an at-a-glance view of an image's tonal distribution, enabling objective assessment of exposure and contrast. Histograms appear in camera viewfinders, RAW processors, and image editing software as a fundamental diagnostic tool.

In image processing code, OpenCV's cv2.calcHist() computes histograms efficiently, while JavaScript developers can iterate over Canvas ImageData pixel arrays. Histogram equalization (cv2.equalizeHist()) and histogram matching are standard algorithms for contrast enhancement and tonal consistency across image sets.

Related Terms

Related Articles