[vtkusers] Kmeans Clustering

Polly Pui polly_sukting at hotmail.com
Thu Mar 15 02:22:21 EDT 2018


Hi,
I would like to cluster my 3D polydata using KMeansStatistics.
I could get the outcome by following exactly the example in https://lorensen.github.io/VTKExamples/site/Cxx/InfoVis/KMeansClustering/
Any clue that how i can read my .vtk data into this coding?
I tried to convert my .vtk data to .csv data and called vtkTextDelimiterReader. But I only get the coordinates printer without clustering.

Thank you so much.

Best,
Polly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180315/6aeda692/attachment.html>


More information about the vtkusers mailing list