nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
8.93k stars 1.19k forks source link

Aerial modeling for drone data #1967

Open Yaodizhao opened 1 year ago

Yaodizhao commented 1 year ago

Thank you very much for your outstanding work! I have some questions about modeling photos taken by drones. How can I determine the size of the scene box and which parameter can I use to set it? Due to the fact that the shooting point of the drone data is in the air, the actual distance to the model is relatively far. Although there is no problem rendering the image, when exporting point clouds, only the point clouds inside the scene box can be exported. May I ask how to set the center of the model range to be controlled at the target model for aerial photography data? Currently, the results use the position of the drone as the center. Looking forward to your answer

tancik commented 1 year ago

You can change the size and position of the bounding box for the pointcloud with --bounding-box-min and --bounding-box-max. Full list of options are here - https://docs.nerf.studio/en/latest/reference/cli/ns_export.html#pointcloud

f-dy commented 1 year ago

By default, the center of the scene will be the center of your camera poses, which may be up in the sky for drone imagery. If your drone images are (roughly) looking at what you consider to be the center of the scene, you can also try --center-method focus. But if all you images are looking in the same direction, "focus" may not give you the right centering method either. You can also try --center-method none if you know that the (0,0,0) of the camera poses is approximately at the scene center.

Yaodizhao commented 1 year ago

Thank you very much for your answers. I will give it a try