First time here? Check out the FAQ!
answered 2016-10-04 10:42:07 -0600
Hi,
Do you need the actual pixel coordinates or just the number of pixels?
If the latter you would probably be better off using calcHist to generate a histogram of the hue value. See example here:
calcHist
http://docs.opencv.org/2.4/doc/tutorials/imgproc/histograms/histogram_calculation/histogram_calculation.html
guy