[Insight-users] KdTreeBasedKmeansEstimator
Karthik Krishnan
Karthik.Krishnan at kitware.com
Tue Mar 7 19:01:09 EST 2006
Please post a minimal example. The class is tested nightly.
Please also look at the documentation
http://www.itk.org/Insight/Doxygen/html/classitk_1_1Statistics_1_1KdTreeBasedKmeansEstimator.html
which mentions the API changes between release ITK-2-0 and ITK-2-2.
(There are others too in the Statistics namespace )
The KdTreeBasedKMeansEstimator gets the dimension of its measurement
vectors from the KdTree, which inturn gets it from the itk::Sample
plugged in as input.
See if the following fix ( from CVS a few weeks ago ) works for you.
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Numerics/Statistics/itkSample.h?root=Insight&sortby=date&r2=1.26&r1=1.25
If not, please post an example.
Thanks
-karthik
Song Zhuang wrote:
>itk::Statistics::KdTreeBasedKmeansEstimator can not
>work with ITK2.2 (core dumping), although it works
>with previous ITK version. can anyone fix the problem?
>
>zhuang
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>
>
More information about the Insight-users
mailing list