Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

Hi,

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

Thanks