From 4f4d825ea51485dffd2b46ea4c41612609e36c1c Mon Sep 17 00:00:00 2001 From: Kanderi Jashwanth <85885830+Jashwanthkanderi@users.noreply.github.com> Date: Fri, 8 Dec 2023 11:52:25 +0530 Subject: [PATCH] Update histogram.rst unfinished definition --- docs/histogram/histogram.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)