How to use cv::meanShift (C++)

asked 2013-03-11 10:19:57 -0600

alykhantejani gravatar image


I have a vector of 2-D points, I am trying to use the meanshift algorithm to detect multiple modes in the data but am a bit confused by the method signature.

1) Can I pass in my vector (if so in what form) or must I conver to cv::Mat (if so how? if I have points with negative values).

2) How do I extract the multiple modes, from what I can see the function only returns an int


edit retag flag offensive close merge delete