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

Add nearest point to voxel centroid/center as reduction option for PointCloud::VoxelDownSample #6807

Open
3 tasks done
nvandamme opened this issue May 27, 2024 · 0 comments
Open
3 tasks done

Comments

@nvandamme
Copy link

Checklist

Proposed new feature or change

Hi,

We're using extensively Voxel downsampling with nearest point to the voxel centroid and/or center, like exposed by PDAL:

This way remaining points are original points from the source and we can use this method as a non-deforming spatial subsampling (only the nearest point of the voxel center/centroid within the voxel radius is retained)

CloudCompare is also exposing this method as "Spatial subsampling".

References

https://github.com/PDAL/PDAL/blob/master/filters/VoxelCentroidNearestNeighborFilter.cpp
https://github.com/PDAL/PDAL/blob/master/filters/VoxelCenterNearestNeighborFilter.cpp
https://github.com/CloudCompare/CCCoreLib/blob/master/src/CloudSamplingTools.cpp#L241

Additional information

No response

@nvandamme nvandamme changed the title Add nearest point to voxel centroid/center as reduction option for VoxelDownSampling Add nearest point to voxel centroid/center as reduction option for PointCloud::VoxelDownSample May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant