Keypoint adjustment: before SfM, jointly refine all 2D keypoints that are matched together. Bundle adjustment: after SfM, refine 3D points and camera poses. In each step, we optimize the consistency ...