GLTree:Fast K-Nearest Neighbors Search
Downloads:
- 2D version Download Now
- 3D version Download Now
- 2D version precompiled Win32
- 3D version precompiled Win32
Popularity: 7% [?]
Related Posts
Comments
8 Comments on GLTree:Fast K-Nearest Neighbors Search
-
Andrew on
Tue, 3rd Nov 2009 22:42
-
Tobias on
Thu, 3rd Dec 2009 09:34
-
John Kua on
Mon, 8th Mar 2010 23:07
-
Luigi Giaccari on
Tue, 9th Mar 2010 08:54
-
fakaza on
Fri, 23rd Apr 2010 12:31
-
Andrew on
Fri, 9th Jul 2010 05:15
When I run mex DeleteGLTree.cpp on version R2009a with Mac OS 10.6 (Snow Leopard), I get the following message:
Undefined symbols:
“_mexFunction”, referenced from:
-exported_symbols_list command line option
ld: symbol(s) not found
collect2: ld returned 1 exit status
mex: link of ‘ “DeleteGLTree.mexmaci”‘ failed.
This turns out to be a problem with the declaration of mexFunction. For the solution, see
http://www.mathworks.co.kr/matlabcentral/newsreader/view_thread/173095
[Reply]
Hi
I’ve been using this code under windows but I also would like it to work under Linux. At first the TestMexFiles stopped right away and complained about this line in KNNSearch.cpp:
#include “GLtree.cpp”
where I changed the lower case t to a T.
But there seems to be something else wrong with the DeleteGLTree. This is what happens when I run TestMexFiles now:
…
DELETING THE TREE Mex file entry point is missing. Please check the (case-sensitive) spelling of mexFunction (for C MEX-files), or the (case-insensitive) spelling of MEXFUNCTION (for FORTRAN MEX-files). ??? Invalid MEX-file '/home/tfy05/tfy05thd/edu/Optronic/Matlabkod/GLTree230909/DeleteGLTree.mexglx': . Error in ==> TestMexFiles at 75 DeleteGLTree(ptrtree);"
Do you know what the problem is?
/Tobias
[Reply]
Luigi Giaccari Reply:
December 3rd, 2009 at 11:17
I am sorry but I am very busy this days.
I hope I can fix this problem in the next release which is scheduled for early 2010.
I don’t have a MAC nor a Linux system but I thing I know what the problem is.
Thank you
[Reply]
A new more efficient version of the KNN and radius search can be found here.
Understood the potential of this library, I decided to give it for a symbolic price in order to have support to enlarge it.
[Reply]
hi
I want to run KNN on windows vista and by Dev C++ 4.9.9.2
but it doesn’t run
what shoud I do?
shouldn’t it want from me an input?
I have a text file which contains points coordinate.
Is this an input or the input is something else?
whould you please send me something which describe the KNN algorithm?
maybe I have not understood it rightly?
thanks
bye
[Reply]
@Tobias: You can fix this error by removing the erroneous “const” modifier from the second argument to “mexFunction”
[Reply]
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!
Include MATLAB code in your comment by doing the following:
<pre lang="MATLAB">
%insert code here
</pre>


















































Luigi Giaccari Reply:
November 3rd, 2009 at 22:44
Thank you for your report, it will be fixed in the next release.
[Reply]