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

On the implementation of neighborhood search #29

Open
HyHuang1995 opened this issue Apr 21, 2021 · 1 comment
Open

On the implementation of neighborhood search #29

HyHuang1995 opened this issue Apr 21, 2021 · 1 comment

Comments

@HyHuang1995
Copy link

Hi,

I am quite curious about the implementation in neighborhood search. As stated in this comment, radius search by kd-tree is experimentally faster than direct search by voxel hashing. This is quite different from the intuition that complexity for searching with kd-tree and voxel hashing are O(log(n)) and O(1), respectively. Any hints for this?

@koide3
Copy link
Owner

koide3 commented May 7, 2021

That comment was written by the author of the original NDT code in PCL. In that code, a strange neighborhood pattern was used for direct search (26 voxels: 3x3x3 except for center), and it largely affected the processing speed. I tried to replace it with more reasonable patterns (DIRECT1/7) and observed that in this setting direct search works better than radius search.

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

2 participants