I got a lab report to make in an image processing course in my university, and I was asked a question about the OpenCV camshift algorithm (for video tracking):

the camshift algorithm works on the hue component of the HSV color space. I need to explain why working on this component should give better results than working in the RGB color space.

I must admit that I'm not familiar with OpenCV at all, and basically I'm leaning all the color model theory specifically for this course, so please consider that...thanks.

  • 1
    $\begingroup$ answers.opencv.org/question/18311/… $\endgroup$
    – Atul Ingle
    Dec 4 '16 at 17:32
  • $\begingroup$ "should give better results"... what kind of results are these -- what is the application? $\endgroup$
    – MBaz
    Dec 4 '16 at 17:32
  • $\begingroup$ video tracking. $\endgroup$
    – noamgot
    Dec 4 '16 at 17:50

According to SR who posted here http://answers.opencv.org/question/18311/why-use-hue-channel-of-hsv-for-mean-shift-tracking/ the H channel in HSV

"... is not influenced by the image brightness and saturation. You get the "pure" color disregarding the actual lighting (which might change over time)."


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.