[vtkusers] Get cluster centers from vtkKMeansStatistics

David Doria daviddoria at gmail.com
Tue Nov 22 10:23:13 EST 2011


I would like to know the resulting cluster centers after running
vtkKMeansStatistics. I don't see an interface to do this - am I
missing it? Or would I have to loop over all of the points and average
the coordinates of points with a particular cluster id?

Thanks,

David



More information about the vtkusers mailing list