ethz-asl / voxblox

A library for flexible voxel-based mapping, mainly focusing on truncated and Euclidean signed distance fields.
BSD 3-Clause "New" or "Revised" License
1.38k stars 358 forks source link

How to get points or number of points inside a Tsdf voxel #420

Open vovaekb opened 2 months ago

vovaekb commented 2 months ago

I need to calculate a points density in point cloud using some voxel-based representation like Octree. I consider voxblox as a good solution for creating such a representation of point cloud. I observed that voxblox uses Tsdf / Esdf voxels. Is there a way to get the number of points from the original point cloud falling inside a single Tsdf voxel or points itself?