19reborn / NeuS2

[ICCV 2023] Official code for NeuS2
Other
607 stars 39 forks source link

Marching Cubes Quality #22

Open cheind opened 11 months ago

cheind commented 11 months ago

Hey,

thank you very much for your wonderful contribution!

Issue

We started testing NeuS2 and found that the mesh quality generated from within the UI seems inferior to the results we get from loading the density image and processing it in external marching cubes or dual contouring algorithms. Which is suprising to me, since the density images loses information in part to the mapping from floating point SDF to discrete intensity values. Note, this issue might exist in instant-ngp code basis as well, but we haven't tested.

Results

The following images are generated as follows:

MESH_A:

A

MESH_B:

B

MESH_C:

C

Any feedback is welcome :)

cheind commented 11 months ago

might be related to #17

19reborn commented 11 months ago

Hi @cheind, this is very interesting. Have you tried higher resolution (e.g. 400)?

cheind commented 11 months ago

Hey @19reborn, no we haven't done that yet (at least not extensively). My subjective feeling is, that with higher resolution the error becomes less apparent.

We plan to run reconstruction tests on real/synthetic scenes for which a ground-truth surface model exists and then measure the reconstruction error by comparing surface meshes directly (i.e Hausdorff distance).