Fast Iterative Five point Relative Pose Estimation

Johan Hedborg, Michael Felsberg · DOI

TL;DR

This paper introduces a fast iterative method based on Powell's Dog Leg algorithm to solve the classic five-point relative pose problem in computer vision. By directly minimizing a geometric error based on epipolar distance, the algorithm matches the precision of the state-of-the-art algebraic solver while running roughly twice as fast and naturally generalizing to overdetermined ($N > 5$) point scenarios.

What Problem Does This Paper Address?

Relative pose estimation—finding the rotation and translation between two calibrated camera views based on image content—is a foundational step in Structure from Motion (SfM), visual odometry, and robotic navigation.

The minimal case requires five point correspondences. Traditionally, this is solved inside a robust RANSAC loop using closed-form algebraic solvers (such as Nistér’s algorithm). Because RANSAC's accuracy directly depends on how many iterations it can run within a given time budget, the computational speed of the underlying 5-point solver is a critical bottleneck for real-time video applications.

While non-linear iterative solvers (like Gauss-Newton) exist, they historically suffer from instability when the underlying mathematical matrices are ill-conditioned, making them orders of magnitude slower and less practical than algebraic alternatives. The authors set out to prove that a properly parameterized iterative solver can actually outperform the fastest algebraic methods.

Methods

The authors break away from traditional algebraic root-finding and instead formulate relative pose estimation as a non-linear least-squares optimization problem using the following components:

  • Minimal Parametrization: The essential matrix is parameterized using exactly five angles ($w = [\alpha, \beta, \gamma, \theta, \phi]$)—three for rotation and two for the translation direction on a unit sphere. This minimal representation avoids the computational overhead of managing extra constraints or quaternions.
  • Geometric Error Metric: Instead of minimizing an algebraic error or a computationally heavy 3D reconstruction error, the algorithm minimizes the epipolar distance (the distance from a point to its corresponding epipolar line). This completely bypasses the need to estimate 3D structure parameters.
  • Powell's Dog Leg (DL) Optimization: To solve the non-linear system, the authors use the Dog Leg method. It dynamically combines the stability of the Steepest Descent method (used when far from the solution) with the rapid quadratic convergence of the Newton-Raphson method (used when close to the solution) within a regulated trust region.
  • Smart Initialization: For video sequences, the solver predicts the next camera pose based on a constant-motion assumption from previous frames (DLinit). For unsequenced images where no prior motion is known, it initializes with a standard forward-motion vector and refines it using the best RANSAC consensus set (DLconst).

Datasets

The algorithm was evaluated on three distinct types of data:

  1. Synthetic Dataset: 1,000 randomly positioned 3D points viewed under both forward and sideways camera motions, corrupted with varying levels of zero-mean Gaussian noise (0 to 1 pixel standard deviation).
  2. Real Image Sequences: A custom real-world dataset captured using a DSLR camera mounted on a stable wagon to ensure smooth trajectories. High-accuracy ground truth was established by running a dense 10,000-iteration RANSAC baseline on high-resolution images with over 10,000 tracked points.
  3. The Notre Dame Dataset: A popular public dataset consisting of 715 images and over 127,000 3D points refined via bundle adjustment, utilized here to test how well the algorithm scales to $N$-point problems.

Key Insights and Ideas

  • Iterative Can Beat Algebraic: Closed-form algebraic solvers are usually preferred for minimal problems because they guarantee finding all mathematical roots. However, the authors demonstrate that an optimized iterative solver can be faster because it avoids the heavy polynomial root-finding or 10x10 eigenvector decompositions required by algebraic methods.
  • Seamless $N$-Point Generalization: Closed-form 5-point solvers are strictly locked to exactly five points. To utilize more points, engineers typically have to switch to an entirely different algorithm. Because the Dog Leg approach is a least-squares optimizer, extending it to $N$ points ($N > 5$) simply requires switching to a standard normal equations system ($J^T J h = -J^T r$). This makes it uniquely suited to act as both a minimal solver and a post-RANSAC refinement step.
  • Trigonometric Optimization: A key engineering insight behind the method's speed is the reduction of expensive trigonometric instructions. By utilizing sum-of-angles formulas and Taylor expansions for small update steps, the authors eliminated significant computational overhead.

Key Results

  • Speed: On a modern Intel i7 CPU, the proposed method takes an average of 7.0 $\mu$s, compared to 16.5 $\mu$s for the fastest available implementation of Nistér's algebraic method—achieving a 2x to 2.5x speedup.
  • Precision: Across both synthetic and real datasets, the precision of the Dog Leg method is virtually identical to Nistér's method, with median error differences hovering near zero ($10^{-6}$ to $10^{-8}$ degrees).
Synthetic data performance comparison across noise levels
  • $N$-Point Generalization: When scaled to use all available points on the Notre Dame dataset, the proposed method processed the entire dataset in 22 seconds, compared to 168 seconds for Hartley's state-of-the-art $L_1$ rotation averaging method (a 7.5x speedup), while delivering slightly higher precision relative to full 2-view bundle adjustment.

Limitations and Future Work

As an iterative method, its success is inherently tied to its initialization. In highly challenging scenarios—such as forward camera motion combined with extreme image noise—the solver can occasionally suffer from slow convergence or get trapped in local minima, leading to sporadic RANSAC failures.

For future work, the authors note that the DLinit strategy makes individual RANSAC iterations completely data-independent, opening up promising opportunities for massive parallelization on GPUs.

Summary updated

BibTeX
@misc{hedborg2026fast,
  author = {Johan Hedborg and Michael Felsberg},
  title = {{Fast Iterative Five point Relative Pose Estimation}},
  year = {2026},
  eprint = {2608.13114},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.13114},
}
Figure