autonomousvision / sdfstudio

A Unified Framework for Surface Reconstruction
Apache License 2.0
1.95k stars 183 forks source link

Mesh extraction (for BakedSDF) #229

Open AndreaCastiella opened 1 year ago

AndreaCastiella commented 1 year ago

Hello! First of all, congratulations for the work done! I am testing BakedSDF and I have a doubt regarding mesh extraction. When extracting the mesh using ns-extract-mesh what method is being used, is it the one described in the BakedSDF paper or is it a general method based on another work or paper?

niujinshuchong commented 11 months ago

Hi, we support different way to extract a mesh from and a sdf field or an occupancy field. For the sdf field, we implemented marching cube algorithm with sliding windows and a hierarchical strategy to support high resolution mesh and speed up the extraction by skipping the inference of sdf field on the empty space. We also implemented the BakedSDF's method of mesh extraction where an occupancy grid/visibility grid is computed using training images.