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:
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,