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

Point cloud #9

Open
HelliceSaouli opened this issue Nov 8, 2017 · 3 comments
Open

Point cloud #9

HelliceSaouli opened this issue Nov 8, 2017 · 3 comments

Comments

@HelliceSaouli
Copy link

Hello
I 'm just wondering is there a way to go back from Point cload to a TSDF volume ?

@andyzeng
Copy link
Owner

andyzeng commented Nov 8, 2017

Hello! Yes - one straightforward way would be to construct a voxel grid around your point cloud, where the value of each voxel is the distance to the nearest point in the point cloud. Distance values that are too large are truncated. You can then multiply voxels "inside" the point cloud by -1 and multiply voxels "outside" the point cloud by +1.

If you don't have this notion of "inside" vs "outside", then you won't be able to recover the sign of your distance values, in which case the representation is termed TDF. Matlab and C++/CUDA code to compute TDF volumes from point clouds and meshes can be found in the 3DMatch Toolbox.

shamitlal pushed a commit to shamitlal/tsdf-fusion that referenced this issue Dec 3, 2020
@chuyaqifei
Copy link

Hi~ I just read a paper about this. Before converting a pointcloud to a TSDF volume, the pose at which the point is observed should be saved. Then the ray casting method can be used to recover the occupancy of each volume. The paper is called "Coxgraph ...." published in IROS 2021.

@mpottinger
Copy link

Hi~ I just read a paper about this. Before converting a pointcloud to a TSDF volume, the pose at which the point is observed should be saved. Then the ray casting method can be used to recover the occupancy of each volume. The paper is called "Coxgraph ...." published in IROS 2021.

Yes I have learned something similar from the vdbfusion library. https://github.com/PRBonn/vdbfusion

This repository here was the first that helped me understand how tsdf fusion works, but the disadvantage is that it operates on a fixed size dense voxel grid. Vdbfusion showed me it is possible to do tsdf fusion in a sparse grid with a pointoud and camera pose as input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants