Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to make a hue distance histogram ?

Hi,

I would like to improve CamShift algorithm by using a Hue distance histogram. It consists to compute a hue reference Href which is the hue value which has the highest frequency in the histogram h(x) obtained from a region of interest at the step 1 of CAMShift. Then using this Href, we compute the distance like that: image description

I know there is a method called CalcHist in Opencv to compute a histogram, but how i can handle with that ?

Thank you in advance,