Updated by Alexander Shishkov about 13 years ago

cv::kmeans last parameter changed from:

Mat* centers

to

OutputArray [[OutputArray]] centers=noArray()

which are incompatible between them, to the old version one should pass a pointer to cv::Mat and to the new version one should pass a cv::Mat object directly.

Best regards,

Andres Hurtis
www.visiondepatentes.com.ar

Back