Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Count color using calcHist, how exactly to read the histogram ?

Hi, I want to count colors in an image. I read many suggestion to use Histogram, so I followed instruction from OpenCV docs Histogram Calculation. But how exactly to read this histogram to get information about how many unique color is in there ?

Count color using calcHist, how exactly to read the histogram ?

Hi, I want to count colors in an image. I read many suggestion to use Histogram, so I followed instruction from OpenCV docs Histogram Calculation. But how exactly to read this histogram to get information about how many unique color is in there ?