Skip to content
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

In fast k-nearest-neighbor search, do you use approximate methods? #35

Closed
nimajam41 opened this issue Nov 7, 2021 · 3 comments
Closed

Comments

@nimajam41
Copy link

Hello!
The term "fast" made me confused a little. Does it mean that the nearest neighbors are searched using approximate methods? It will be nice if you can provide some information about this function.

@dancergraham
Copy link

Hello. the documentation says that the KNN search is 'based on' nanoflann, which says that it does not use approximate methods but is fast because it uses KD trees https://github.com/jlblancoc/nanoflann

@fwilliams
Copy link
Owner

@dancergraham is correct. Point-Cloud-Utils uses nanoflann under the hood which does not implement approximate knn. Nanoflann's implementation is considered fast relative to other knn implementations. If you are looking for a library which implements approximate knn methods, then FAISS is a pretty good (though it can be a bit of a pain to install).

@nimajam41
Copy link
Author

@fwilliams and @dancergraham , thanks for your guidance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants