-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLANN] "Discussion around FLANN maintenance, possibility to use nanoflann" #4699
Comments
Sounds interesting. Some first questions that come to my mind:
|
Yes mostly search related ones, but there is quite some stuff to change.
It the performance are better and there are no major implementation issues, we should replace it altogether, it's getting old.
Only has a 'source package' for now : https://launchpad.net/ubuntu/+source/nanoflann Since PCL uses CMake, I strongly suggest letting developer choose wether to use 'ExternalProject' feature and download/build it on the fly: https://cmake.org/cmake/help/latest/module/ExternalProject.html
Agree, This is mandatory
Same BSD as PCL : https://github.com/jlblancoc/nanoflann/blob/master/COPYING |
As noted in the thread you opened over at the flann project, I'm taking over as maintainer. It's definitely possible or even likely that nanoflann has better single-thread CPU performance, but most of us don't want to use a kNN algorithm that isn't GPU-accelerated. |
Hi, I have compared the performance of different KNN libraries using modified nanoflann random benchmark tool. The test was to find 7 NN for 100k points in another cloud of the same size. Performance rating from best to worst:
A few comments:
So I think the best option would be to create libnabo-cpu and flann-cuda implementation of KdTree. |
I've been diving in those codebases a bit, indeed @tkircher concern over CPU vs GPU is a real issue depending on the application. |
Hello! Have you saved the code for the benchmark and can you share it with me? Thank you! |
@BaltashovIlia where i can access the flann-cuda code? |
Is your feature request related to a problem? Please describe.
FLANN library is not maintained anymore, it hardly had any commit since April 2019, as mandatory dependency for PCL It just seems a bit odd.
People have brought this issue in the past at least once: #84
Describe alternatives you've considered
No one around here is not unfamiliar with the direct fork https://github.com/jlblancoc/nanoflann, that offers better performance and flexibility.
I am curious whether people have ever considered this ? would we face any problems ?
A complete port is no small feat, but I would be happy to help.
The text was updated successfully, but these errors were encountered: