Documentation fix on py_tutorials
authoreltermann <felipe.eltermann@gmail.com>
Sat, 4 Oct 2014 22:14:11 +0000 (19:14 -0300)
committereltermann <felipe.eltermann@gmail.com>
Sat, 4 Oct 2014 22:14:11 +0000 (19:14 -0300)
doc/py_tutorials/py_imgproc/py_histograms/py_histogram_begins/py_histogram_begins.rst

index 4a637b0..0937749 100644 (file)
@@ -45,7 +45,7 @@ So now we use **cv2.calcHist()** function to find the histogram. Let's familiari
 .. centered:: *cv2.calcHist(images, channels, mask, histSize, ranges[, hist[, accumulate]])*
 
 #. images : it is the source image of type uint8 or float32. it should be given in square brackets, ie, "[img]".
-#. channels : it is also given in square brackets. It the index of channel for which we calculate histogram. For example, if input is grayscale image, its value is [0]. For color image, you can pass [0],[1] or [2] to calculate histogram of blue,green or red channel respectively.
+#. channels : it is also given in square brackets. It is the index of channel for which we calculate histogram. For example, if input is grayscale image, its value is [0]. For color image, you can pass [0], [1] or [2] to calculate histogram of blue, green or red channel respectively.
 #. mask : mask image. To find histogram of full image, it is given as "None". But if you want to find histogram of particular region of image, you have to create a mask image for that and give it as mask. (I will show an example later.)
 #. histSize : this represents our BIN count. Need to be given in square brackets. For full scale, we pass [256].
 #. ranges : this is our RANGE. Normally, it is [0,256].