kd-tree for matlab
by Andrea Tagliasacchi
22 Sep 2008
(Updated 01 Sep 2010)
A kd-tree mex lib which allows for nearest neighbor, k-nearest neighbor, range and ball queries
|
Watch this File
|
| File Information |
| Description |
kdtree provides a minimalistic implementation of kd-tree. The implementation can be used either inside MATLAB by means of MEX calls, or as a standalone tool, directly from a C/C++ program. The image on the website has been creaed with "fulltest.m"
This implementation offers the following functionalities:
- kdtree_build: k-d tree construction O( n log^2(n) )
- kdtree_delete: frees memory allocated by kdtree
- kdtree_nearest_neighbor: nearest neighbor query (for one or more points)
- kdtree_k_nearest_neighbors: kNN for a single query point
- kdtree_range_query: rectangular range query
- kdtree_ball_query: queries samples withing distance delta from a point
For more information, please refer to the following page:
https://sites.google.com/site/andreatagliasacchi/software/matlabkd-treelibrary |
| Acknowledgements |
K D Tree
inspired this file.
This file inspired
Kdtree Implementation In Matlab.
|
| MATLAB release |
MATLAB 7.6 (R2008a)
|
| Other requirements |
Requires a working MEX compiler.
Runs on all platforms. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 24 Sep 2008 |
The makefile was implying an underlying .mexmaci initialization which is valid only for mac/OSX environments. The mexext program is now used to determine the extension of the build products according to your architecture. |
| 12 Nov 2008 |
Corrected few bugs in parameter passing
Greatly enhanced the preprocessing speed (tree construction) 10x
Improved examples and makefile structure.
More info in "CHANGES" |
| 08 Dec 2008 |
Updates some interface bugs and the bugs on distances (second argument) returned by the query functions. |
| 01 Sep 2010 |
Redirected documentation to my personal page |
|
Contact us