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

The corresponding problem between csf filtered point cloud and original point cloud #47

Open
cama36 opened this issue Jan 9, 2023 · 1 comment

Comments

@cama36
Copy link

cama36 commented Jan 9, 2023

Hello, I want to know the correspondence between the point cloud filtered by csf and the original point cloud. For example, there are 40120 points obtained after csf filtering. Which of these points correspond to among the 81000 points in the original point cloud? How should I modify the code to get the result I want?

@jianboqi
Copy link
Owner

jianboqi commented Feb 3, 2023

Hello, when you perform the ground filtering, you can get a list of indices of ground points with the following code:
ground = CSF.VecInt() # a list to indicate the index of ground points after calculation
non_ground = CSF.VecInt() # a list to indicate the index of non-ground points after calculation
csf.do_filtering(ground, non_ground) # do actual filtering.

The array ground contains the index in the original 81000 points.

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