Hello,
cv::kmeans(data, 8, labels, cv::TermCriteria(CV_TERMCRIT_ITER, 10, 1.0), 3, cv::KMEANS_PP_CENTERS, ¢ers);
In kmeans Opencv, I have the following questions :
1)- What is the format of the mat labels? INT * 3 /pixel ? 2)- What is the format of centers ? 3)- For the TermCriteria, Some use CV_TERMCRIT_ITER|CV_TERMCRIT_EPS, so which to use for color reduction, and the two parametere, some enters 10000, 0.0001
Thank you, cjacquel