Ask Your Question

Revision history [back]

If you want to use histogram, you will need to get a histogram of monochrome frame by converting the image to grayscale. Or you can convert the image to HSV and compute the histogram of V component.

A tutorial on histograms is avaliable in the documentation at http://opencv.itseez.com/doc/tutorials/imgproc/histograms/histogram_calculation/histogram_calculation.html?highlight=histogram

If you want to use histogram, you will need to get a histogram of monochrome frame by converting the image to grayscale. Or you can convert the image to HSV and compute the histogram of V component.

A tutorial on histograms is avaliable available in the documentation at http://opencv.itseez.com/doc/tutorials/imgproc/histograms/histogram_calculation/histogram_calculation.html?highlight=histogram

click to hide/show revision 3
No.3 Revision

If you want to use histogram, you will need to get a histogram of monochrome frame by converting the image to grayscale. Or you can convert the image to HSV and compute the histogram of V component.

A tutorial on histograms is available in the documentation at http://opencv.itseez.com/doc/tutorials/imgproc/histograms/histogram_calculation/histogram_calculation.html?highlight=histogramhttp://docs.opencv.org/doc/tutorials/imgproc/histograms/histogram_calculation/histogram_calculation.html?highlight=histogram