Abstract
Recent advances in monocular depth estimation methods (MDE) and their improved accuracy open new possibilities for their applications. In this paper, we investigate how monocular depth estimates can be used for relative pose estimation. In particular, we are interested in answering the question whether using MDEs improves results over traditional point-based methods. We propose a novel framework for estimating the relative pose of two cameras from point correspondences with associated monocular depths. Since depth predictions are typically defined up to an unknown scale or even both unknown scale and shift parameters, our solvers jointly estimate the scale or both the scale and shift parameters along with the relative pose. We derive efficient solvers considering different types of depths for three camera configurations: (1) two calibrated cameras, (2) two cameras with an unknown shared focal length, and (3) two cameras with unknown different focal lengths. Our new solvers outperform state-of-the-art depth-aware solvers in terms of speed and accuracy. In extensive real experiments on multiple datasets and with various MDEs, we discuss which depth-aware solvers are preferable in which situation. The code will be made publicly available.
Introduction
Relative pose estimation—determining the position and orientation of two cameras relative to each other—is a foundational task in computer vision, essential for Structure-from-Motion (SfM) and autonomous navigation. Traditionally, the "5-point algorithm" is used with 2D-2D point correspondences. However, the rise of Monocular Depth Estimation (MDE) allows for dense depth maps from single images. The RePoseD framework investigates how to effectively integrate this depth information to make relative pose solvers faster, more robust, and more accurate.
The standard RANSAC-style framework hypothesizes poses from a minimal set of point matches. Requiring fewer points (e.g., 3 instead of 5) exponentially reduces the number of RANSAC iterations needed, especially in the presence of outliers. RePoseD introduces efficient minimal solvers that jointly estimate relative camera pose and the unknown scale/shift parameters of MDE maps, which are often scale-invariant or affine-invariant rather than metric.
Methodology
The RePoseD framework uses 3D-3D constraints derived from depth maps to "lift" 2D image coordinates into 3D.
The core contribution is a suite of minimal solvers for three camera setups:
- Two calibrated cameras: Requires only 3 point correspondences (the 3PT solver).
- Two cameras with an unknown shared focal length: Requires 3 or 4 points.
- Two cameras with unknown different focal lengths: Requires 3 or 4 points.
These solvers handle different MDE outputs. For affine-invariant depths (e.g., MiDas), they jointly estimate relative pose, relative scale ($s$), and shifts ($u, v$). By formulating these as polynomial systems solved via small eigenvalue problems or closed forms, they achieve high speeds suitable for real-time RANSAC loops.
Experiments and Results
The solvers were evaluated on Phototourism, ETH3D, and ScanNet datasets using MDE models like MoGe, UniDepth, Depth Anything (DA v2), and MiDas. RePoseD consistently outperformed traditional point-based methods and previous depth-aware solvers like Madpose.
Key findings include:
- Accuracy: On ETH3D, using RePoseD with high-quality MDEs (like MoGe) significantly improved mean Average Accuracy (mAA) compared to the standard 5-point algorithm.
- Efficiency: The 3PT affine-invariant solver is approximately 3x faster than comparable solvers in Madpose. Figure 2 demonstrates the superior speed-accuracy tradeoff of the proposed approach.
- Robustness: Jointly solving for scale and shift parameters makes the system robust to MDE biases.
- Optimization: Sampson error is generally more robust for local optimization across varying depth qualities than reprojection error.
Conclusion
RePoseD demonstrates that monocular depth is a powerful signal for improving core geometric engines. By reducing the minimal sample size and accounting for depth ambiguities, the proposed solvers offer a superior speed-accuracy tradeoff for relative pose estimation in modern vision pipelines. The code will be made publicly available.
Summary updated