diff --git a/docs/histogram/histogram.rst b/docs/histogram/histogram.rst index 4636d70..01c436a 100644 --- a/docs/histogram/histogram.rst +++ b/docs/histogram/histogram.rst @@ -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)