Rank: 97588 based on 0 downloads (last 30 days) and 0 file submitted
photo

Alastair Harrison

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Alastair Harrison
Updated File Comments Rating
10 Feb 2010 kd-tree for matlab A kd-tree mex lib which allows for nearest neighbor, k-nearest neighbor, range and ball queries Author: Andrea Tagliasacchi

This is a really nice implementation. It's worked very well for me and is much faster than other implementations I've tried.

If I accidentally call kdtree_delete twice on the same handle, matlab quits immediately. Would it be possible for the library to maintain an internal list of handles to avoid this problem?

It would also allow implementation of a 'kdtree_delete_all' function, to free up all trees that have been created in a session. That's useful because if a piece of matlab code crashes before it gets to kdtree_delete then you can end up with an orphaned tree.

It would be nice to have a 'kdtree_delete_all' function to free up all trees that have been created. Of course, this would require a list of trees to be maintained within the library.

Contact us