19reborn / NeuS2

[ICCV 2023] Official code for NeuS2
Other
639 stars 42 forks source link

Marching Cubes Quality #22

Open cheind opened 1 year ago

cheind commented 1 year 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 1 year ago

might be related to #17

19reborn commented 1 year ago

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

cheind commented 1 year 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).