PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
10k stars 4.62k forks source link

SphericalVoxelGrid Filter Contribution #2044

Open sddavis14 opened 7 years ago

sddavis14 commented 7 years ago

I've been working on a project involving a LiDAR which has significant noise imposed on its returns. The angles are quite accurate, but the lengths of the returns are not. This noise does not lend itself well to a standard voxel grid because so much of the angular resolution of the point cloud must be sacrificed to accurately contain all of the points belonging to a given surface. I have implemented a new filter which downsamples the cloud using what I am calling a SphericalVoxelGrid. It takes a horizontal angular, a vertical angular, and a radial resolution as parameters and downsamples the cloud. Essentially, the filter is a voxel grid where the leaf size is specified in spherical coordinates instead of cartesian. This filter has delivered good results in my application because the radial resolution parameter can be set very low (long voxels) while maintaining a reasonable angular resolution.

Would this feature be a valuable contribution to PCL? If so, I will submit this feature as a pull request in the near future.

Thanks.

SergioRAgostinho commented 7 years ago

Given the context sounds like a worthy contribution. Some comments regarding the actual implementation:

That being said, good luck and once you submit the PR just wait for our feedback. We take some time to review things, it normally goes on for a couple of rounds but we always come back to revisit things :)

If you have any implementation questions at some point, just write them here.

sddavis14 commented 7 years ago

Great. Thanks and expect a pull request within a month or so.

stale[bot] commented 4 years ago

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

themightyoarfish commented 1 year ago

Has there been any progress on this? Sounds like a shame to have this useful feature linger.