pycolmap icon indicating copy to clipboard operation
pycolmap copied to clipboard

absolute_pose_estimation

Open Bin-ze opened this issue 1 year ago • 1 comments

I try to use absolute_pose_estimation to calculate the camera pose of the newly added scene. I want to know whether BA is used to optimize the camera pose after calling absolute_pose_estimation, or whether it follows the PnP settings and calculates the analytical solution of the camera pose.

Bin-ze avatar Mar 28 '24 14:03 Bin-ze

Yes, the pose is refined with least-squares optimization following PnP+RANSAC. https://github.com/colmap/colmap/blob/0ea2d5ceee1360bba427b2ef61f1351e59a46f91/src/pycolmap/estimators/absolute_pose.cc#L42-L51

sarlinpe avatar Mar 28 '24 14:03 sarlinpe