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

voxelgrid #429

Closed
nrj127 opened this issue Jul 4, 2018 · 4 comments
Closed

voxelgrid #429

nrj127 opened this issue Jul 4, 2018 · 4 comments
Labels

Comments

@nrj127
Copy link

nrj127 commented Jul 4, 2018

Is there a way to get the points inside a voxel. I would like to convert my point cloud into a voxel grid and do some statistical analysis on points inside every voxel.

@syncle
Copy link
Contributor

syncle commented Jul 4, 2018

Hi. Could you elaborate bit more? To answer the following question:

Is there a way to get the points inside a voxel.

You can use voxel downsampling
http://www.open3d.org/docs/tutorial/Basic/pointcloud.html#voxel-downsampling

@syncle syncle added the question label Jul 4, 2018
@nrj127
Copy link
Author

nrj127 commented Jul 4, 2018

I have a point cloud and I am trying to segment out the vertical planes in my point cloud. For this I though to create small voxels , estimate the normals based on the points inside a particular voxel and use RANSAC to fit a model for vertical plane. However, the downsampled point cloud gives me only the average of the points inside the voxel. I was wondering if there is a way extract all the points inside a particular voxel, which could be represented by some id.

@qianyizh
Copy link
Collaborator

qianyizh commented Jul 5, 2018

Umm, the python interface does not have a function for it. You need to write a C++ function to do it.
The other option is to use EstimateNormals to compute the normals directly then write a RANSAC for plane extraction.

@nrj127
Copy link
Author

nrj127 commented Jul 5, 2018

Okay, Thanks

@qianyizh qianyizh closed this as completed Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants