Counting points in an open3d Voxel
I’m trying to count points inside a VoxelGrid’s Voxels with little success. After a long debugging session and reading this thread my issue is most likely with the different indexing in the voxel_down_sample_and_trace()
method and the VoxelGrid.create_from_point_cloud_within_bounds()
method. My general idea was that If I use these 2 methods with the same given bounding box, it would result in the same VoxelGrid
being inspected, but that is incorrect as the indexes to the individual Voxel
s differ.