kmeans and user defined initial centers
I'm using OpenCV 2.4.9 and I could not find any way how to stat kmeans algorithm with predefined initial centers position. Is it possible? And if not is it planned in future versions? Thanks.
you can supply the labels. (afaik, the centers are interpolated from those)
Like berak said. There is no initial centring in Kmeans in OpenCV. It just starts from the interpolated centers of the labels. It should however be a nice addition to the library but it has to be implemented.
Yes, I knew about labels. But I want specifically centers. Thanks anyway :).