zju3dv/object_nerf

How to determine `scale_factor` and `scene_scater` in the config file.

rockywind opened this issue · 2 comments

Hi,
How to determine scale_factor and scene_scater in the config file.
The original value of scale_factor is 5.0, and the value of scene_center is [0.2, 1.4, 7.1].

Hi, we determine the scale factor by measuring the size of the reconstruction target (i.e., room size) with MeshLab, and set the scene center to the reconstruction center (i.e., a desk).
The main reason of using scaling is to make the reconstruction lies inside [-1, 1], so as to make NeRF converge better.
You can also automatically compute these scale_factor using max distances of two cameras with some empirical scaling factors (e.g., 5), or adopting scene contraction like nerfstudio/mipnerf360 does.

Hi, @ybbbbt
Can you share me the code about how to generate the bbox.json?