chenhsuanlin / bundle-adjusting-NeRF

BARF: Bundle-Adjusting Neural Radiance Fields 🤮 (ICCV 2021 oral)
MIT License
788 stars 114 forks source link

initial camera parameters #59

Closed shidilrzf closed 2 years ago

shidilrzf commented 2 years ago

Hi @chenhsuanlin,

Thanks for great work. I have some initial estimates of camera parameters from some of my own images. I wanted to use the blender dataset and I was wondering if I understand correctly that the transform_matrix in transforms_train.json for each frame is the camera extrinsic parameter in the form of [R | t], right?

chenhsuanlin commented 2 years ago

Hi @shidilrzf, the camera extrinsic matrices ([R|t]) correspond to the output of get_camera(). The entry transform_matrix from the Blender dataset is in another convention. Please see the NeRF repo for details.