nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.37k stars 113 forks source link

Measuring mesh #210

Closed LHXhh closed 1 year ago

LHXhh commented 1 year ago

Thank you very much for your wonderful work, and now I have a question for you. I have UAV image data of real pose. The mesh range derived after training with nerf has been normalized. What should I do to restore the range of real scene, that is, the result obtained from traditional 3D reconstruction, so that the exported mesh is measurable? Thank you very much !

liruilong940607 commented 1 year ago

For nerf 360 data we normalize the scene like this:

https://github.com/KAIR-BAIR/nerfacc/blob/0be61b2aabdc73bf9d019ff1066404cb29c6ed04/examples/datasets/nerf_360_v2.py#L244-L249

I'm not sure what's your data processing pipeline but if it is like this one, then you just need to /= sscale for the mesh you extracted.

LHXhh commented 1 year ago

Thank you very much.