[vtkusers] Can a kD-Tree be built for data with > 3 Dimensions

agerlach agerlach at gmail.com
Thu Jun 23 14:47:48 EDT 2011


I was able to get this to work pretty smoothly. I would add an example to the
wiki but I think there is one already there! I used this example:
http://www.vtk.org/Wiki/ITK/Examples/Statistics/KdTreeBasedKMeansClustering_3D

and replaced:
typedef itk::Vector< double, 3 > MeasurementVectorType;

with
typedef itk::Vector< double, n > MeasurementVectorType;

to get an n-D KdTree.



--
View this message in context: http://vtk.1045678.n5.nabble.com/Can-a-kD-Tree-be-built-for-data-with-3-Dimensions-tp4471049p4518593.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list