chenhsuanlin / bundle-adjusting-NeRF

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

LLFF data preprocess #61

Closed Xiaxia1997 closed 2 years ago

Xiaxia1997 commented 2 years ago

llff.py contains center_camera_poses function that applies right multiply poses = camera.pose.compose([poses, camera.pose.invert(pose_avg)]). However, it is different from nerf which applies left multiply :https://github.com/bmild/nerf/blob/master/load_llff.py line175 poses = np.linalg.inv(c2w) @ poses. Will it affect final result?

Xiaxia1997 commented 2 years ago

Sry, both of them are left multiply.