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

Projection transformation calculation is a bit weird #126

Open xubin1994 opened 7 months ago

xubin1994 commented 7 months ago

https://github.com/Totoro97/f2-nerf/blob/98f0daacb80e76724eb91519742c30fb35d0f72d/src/PtsSampler/PersSampler.cpp#L555 Hello author, I am analyzing the source code implementation. I have some questions about the calculation of frame_trans here. Generally speaking, we use a 44 external parameter matrix and a 33 internal parameter matrix to get the projected image coordinates. The calculation here Ways seem to merge in some way? Are there any references? I'm quite confused about focal length here, theoretically focal = (intri.index({ 0, 0 })