K d tree in matlab
所属分类:其他
开发工具:matlab
文件大小:15KB
下载次数:6
上传日期:2017-09-25 14:05:47
上 传 者:
mahbob
说明: k d clustering in matlab
文件列表:
kdtree\lib\kdtreeidx.m (2071, 2013-10-29)
kdtree\lib\kdtree.m (2156, 2013-10-29)
kdtree\lib\kdrangequery.m (1481, 2013-10-29)
kdtree\src\kdtreeidx.cc (5483, 2013-10-29)
kdtree\src\kdtree_common.h (2293, 2013-10-29)
kdtree\src\kdtree.cc (5441, 2013-10-29)
kdtree\src\kdrangequery.cc (3828, 2013-10-29)
kdtree\src\kdtree_common.cc (8798, 2013-10-29)
kdtree\kdrange_demo.m (934, 2013-10-29)
kdtree\kdtree_demo.m (1088, 2013-10-29)
license.txt (1312, 2014-02-12)
This distribution contains the KDTREE, KDTREEIDX and KDRANGEQUERY functions.
**** IMPORTANT ***
You will need to compile the code in the kdtree/src library using the
MATLAB mex compiler.
You can simply try to use the following commands or
type "help mex" to learn more about compiling mex-functions.
>> cd kdtree/lib
>> edit ../src/kdtree_common.h % Edit this file to set your system headers.
>> mex ../src/kdtree.cc
>> mex ../src/kdtreeidx.cc
>> mex ../src/kdrangequery.cc
These instructions will make sure that the compiled mex files end up in your
kdtree/lib directory. If they end up elsewhere, move them into the kdtree/lib directory.
Finally, be sure to add the kdtree/lib directory to your MATLAB PATH.
**** IMPORTANT ***
Two demo scripts are provided (kdtree_demo.m & kdrange_demo.m).
Written by / send comments or suggestions to :
Guy Shechter
guy at jhu dot edu
October 2013
Change Log:
October 2013:
+ Updated include file headers in kdtree/src/kdtree_common.h
+ Better mex compilation instructions in the README file
June 2004:
+ You can now use N dimensional data points, where N>3.
+ Use KDTREEIND to return the index value to the closest point,
instead of the closest point values.
+ KDRANGEQUERY can now return these index values as well.
近期下载者:
相关文件:
收藏者: