Totoro97 / f2-nerf

Fast neural radiance field training with free camera trajectories
https://totoro97.github.io/projects/f2-nerf/
Apache License 2.0
933 stars 69 forks source link

how calculate camera parameter ? #102

Open goometasoft opened 1 year ago

goometasoft commented 1 year ago

colmap generated cameras.json

maliksyria commented 1 year ago

I refer you to the code https://github.com/Totoro97/f2-nerf/blob/main/scripts/inter_poses.py There is a function that can generate the needed amount of poses (in your case 1) between two poses by interpolation tthe values.

maliksyria commented 1 year ago

Add your position as fourth col to the rotation so that it will be 3,4 instead of 3,3