[Insight-users] Warning for KdTree::Search()
Tobias Heimann
t.heimann at dkfz-heidelberg.de
Thu May 24 04:11:19 EDT 2007
Hi all,
I've noticed yesterday that the search for nearest neighbors does not
work reliably, at least in my test case: I've got a large number
(>100.000) of 3D points in the tree, and if I query the 1 nearest
neigbhors for a point that is itself part of the tree, the returned
neighbor sometimes is a different point with a distance noticeably
larger than zero. Even querying the 3 nearest neighbors does not always
include the correct closest point. So be careful if you use this method
to generate statistics!
Tobias
PS: I already filed a bug report here:
http://www.itk.org/Bug/bug.php?op=show&bugid=5082&pos=1
--
Dipl.-Inform. Med. Tobias Heimann
Deutsches Krebsforschungszentrum (German Cancer Research Center)
Div. Medical and Biological Informatics E130 Tel: (+49) 6221-423548
Im Neuenheimer Feld 280 Fax: (+49) 6221-422345
D-69120 Heidelberg email: T.Heimann at dkfz.de
Germany http://www.dkfz.de/mbi/people/tobiash.html
More information about the Insight-users
mailing list