Relative Pose from Deep Learned Depth and a Single Affine Correspondence

Ivan Eichhardt, Daniel BaratharXiv 2020

Introduction

Relative pose estimation—determining the rotation and translation between two camera views—is a fundamental task in computer vision, underpinning Structure-from-Motion (SfM) and SLAM systems. Traditionally, the 5-point algorithm has been the standard solver for this problem. However, when integrated into robust estimation frameworks like RANSAC, the computational cost increases exponentially with the number of points required. This research introduces 1AC+D, a minimal solver that requires only a single affine correspondence and monocular depth information, significantly accelerating the pose estimation process while maintaining high accuracy.

The 1AC+D Solver

The core innovation of this work lies in leveraging additional geometric information to reduce the number of required matches to a single correspondence. The solver utilizes two primary inputs:

  1. Affine Correspondences (ACs): Unlike standard point matches that only provide (x, y) coordinates, ACs provide local shape information. They describe how a small image patch is transformed (stretched, rotated, or sheared) between views, offering more constraints per match.
  2. Monocular Depth (D): The method employs deep-learned depth maps generated by off-the-shelf networks like MegaDepth. A key insight of the paper is that these maps do not need to be "metric" (accurate in absolute units); they only need to be locally consistent to provide a strong enough prior for pose estimation.
The 1AC+D method combines RGB imagery, deep-learned monocular depth, and affine features to estimate camera pose.

By deriving new geometric constraints that link these affine features and depth values directly to camera motion, the authors formulated a closed-form solution. This allows the system to calculate the relative pose directly rather than relying on iterative "guess and check" methods. Consequently, the RANSAC process becomes linear (O(n)) relative to the number of matches, a significant improvement over combinatorial approaches.

Evaluation and Results

The 1AC+D solver was rigorously tested on both synthetic data and large-scale real-world benchmarks. The real-world evaluation utilized the 1DSfM dataset, which contains over 110,000 image pairs from famous landmarks.

Example of a real-world scene (Vienna Cathedral) and its corresponding deep-learned depth map used for pose estimation.

Key findings from the experiments include:

  • Efficiency and Speed: The 1-point solver requires significantly fewer RANSAC iterations—typically between 7 and 44—to achieve 99% confidence, even in scenes with up to 90% outliers. When integrated into modern estimators like Graph-Cut RANSAC, the approach is up to two orders of magnitude faster than the traditional 5-point algorithm.
  • Robustness of Deep Priors: One of the most surprising results is that "imperfect" deep-learned depth maps provide sufficient information to eliminate several degrees of freedom in the pose problem. The authors also found that the orientation of affine features is generally more reliable than their shape, leading to a solver design that prioritizes orientation alignment for better stability.
  • SfM Accuracy: Despite the speed gains, the final 3D reconstructions produced using 1AC+D were of similar accuracy to those generated by traditional, much slower methods.

Conclusion and Future Work

The 1AC+D solver represents a paradigm shift in relative pose estimation. By reducing the minimal sample size to one, it enables extremely fast and robust camera tracking, even in high-outlier environments. While the current implementation requires calibrated cameras and is dependent on the quality of the underlying depth network, it demonstrates the immense potential of combining classical geometry with deep-learned priors. Future work may extend this approach to uncalibrated "wild" imagery and further refine the handling of non-planar local geometries.

Summary updated

BibTeX
@misc{eichhardt2020relative,
  author = {Ivan Eichhardt and Daniel Barath},
  title = {{Relative Pose from Deep Learned Depth and a Single Affine Correspondence}},
  year = {2020},
  eprint = {2007.10082},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.10082},
}
Figure