Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/histogram/histogram.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Histograms
==========

Histograms are
A histogram is a graphical representation of the intensity distribution of pixels in an image. It provides valuable insight into the image's tonal range, color balance, and contrast.

Grayscale histogram
-------------------

For grayscale images, each pixel intensity value ranges from 0 (black) to 255 (white). The histogram shows the number of pixels for each intensity value.

The ``calcHist`` function takes these arguments::

cv.calcHist([img], channels, mask, bins, ranges)
Expand Down