Relative Pose Estimation through Affine Corrections of Monocular Depth Priors
Yifan Yu, Shaohui Liu, Rémi Pautrat, Marc Pollefeys, Viktor Larsson
TL;DR
This work tackles how to leverage monocular depth priors for relative pose estimation by acknowledging affine ambiguities in depth predictions. It introduces three solvers that jointly estimate the relative pose $(\mathbf{R}, \mathbf{t})$ and depth-affine parameters $(\alpha, \beta_1, \beta_2)$, under calibrated and uncalibrated camera setups, with optional focal-lengths. A hybrid LO-MSAC framework is then proposed to fuse depth-aware solvers with classic point-based and epipolar constraints, using depth-induced reprojection errors alongside Sampson errors for robust scoring and optimization. Experimental results on ScanNet-1500, MegaDepth-1500, ETH3D, and related datasets show consistent improvements over baselines across settings, and ablations confirm the benefit of incorporating depth affine shifts as well as the proposed hybrid estimation strategy. The approach is model-agnostic with respect to the depth priors and image matchers, and the authors provide open-source code to facilitate integration into existing pipelines.
Abstract
Monocular depth estimation (MDE) models have undergone significant advancements over recent years. Many MDE models aim to predict affine-invariant relative depth from monocular images, while recent developments in large-scale training and vision foundation models enable reasonable estimation of metric (absolute) depth. However, effectively leveraging these predictions for geometric vision tasks, in particular relative pose estimation, remains relatively under explored. While depths provide rich constraints for cross-view image alignment, the intrinsic noise and ambiguity from the monocular depth priors present practical challenges to improving upon classic keypoint-based solutions. In this paper, we develop three solvers for relative pose estimation that explicitly account for independent affine (scale and shift) ambiguities, covering both calibrated and uncalibrated conditions. We further propose a hybrid estimation pipeline that combines our proposed solvers with classic point-based solvers and epipolar constraints. We find that the affine correction modeling is beneficial to not only the relative depth priors but also, surprisingly, the "metric" ones. Results across multiple datasets demonstrate large improvements of our approach over classic keypoint-based baselines and PnP-based solutions, under both calibrated and uncalibrated setups. We also show that our method improves consistently with different feature matchers and MDE models, and can further benefit from very recent advances on both modules. Code is available at https://github.com/MarkYu98/madpose.
