Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

what is the role of mask passed to calcHist argument ?

$
0
0
I have a doubt regarding the **calcHist** function: From [here](http://docs.opencv.org/3.0-beta/modules/imgproc/doc/histograms.html) I read: "Optional mask. If the matrix is not empty, it must be an 8-bit array of the same size as images[i] . The non-zero mask elements mark the array elements counted in the histogram." Is not clear to me how can be used the mask.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>