Global Optimization through Searching Rotation Space and Optimal Estimation of the Essential Matrix

Richard I. Hartley, Fredrik Kahl

Abstract

This paper introduces the first guaranteed globally optimal algorithm for estimating the relative pose of two cameras (the essential matrix) and the absolute camera pose problem under the $L_\infty$ (minimax) cost function. By employing a branch-and-bound search over the 3D rotation space, the authors transform traditionally non-convex geometric problems into a series of solvable convex optimization tasks. The approach achieves significant speedups—up to 1000x for essential matrix estimation—and provides a robust alternative to local search methods that are prone to local minima.

Introduction

In computer vision, determining camera pose and relative orientation (the essential matrix) are foundational tasks. While standard algebraic solutions, such as the 8-point algorithm, are computationally efficient, they are notoriously sensitive to noise. Ideally, researchers aim to minimize the geometric distance between measured image points and those predicted by a model.

While the $L_2$ norm (sum of squared errors) is common, it often results in complex, non-convex landscapes. This research focuses on the $L_\infty$ norm, which minimizes the maximum error across all points (the minimax solution). The primary challenge is that the presence of camera rotations makes even the $L_\infty$ optimization non-convex. This paper addresses this by isolating rotation as the core bottleneck and applying a global search strategy.

Methodology

The authors propose a framework that integrates Branch-and-Bound (BnB) search with Convex Optimization. The central insight is that if the rotation ($R$) is known, both the absolute and relative pose problems become convex and can be formulated as Second Order Cone Programming (SOCP) problems.

Since the rotation is unknown, the algorithm searches the space of all 3D rotations, represented as a 3D ball of radius $\pi$. This space is recursively divided into cubes (branching), and a lower bound on the error is calculated for each (bounding). Cubes with a lower bound exceeding the current best solution are discarded.

Geometric representation of the rotation search space and vector constraints.

Optimization Techniques

To enhance performance, the authors implemented several key strategies:

  • First-Order Bounds: Utilizing a first-order approximation of the rotation matrix via the exponential map provides tighter bounds than zero-order checks, drastically reducing the search space.
  • LP Formulation: For the essential matrix problem, the authors replaced slow SOCP solvers with a specialized Linear Programming (LP) feasibility test. This test eliminates 3D point coordinates from the equations, resulting in a 1000x speedup.
  • Feasibility Approach: Instead of direct minimization, the algorithm tests for feasibility: "Is there a solution with an error less than $\epsilon$?" This is particularly effective within the $L_\infty$ framework.

Evaluation and Results

The algorithm was evaluated using synthetic data to visualize rotation space shapes, as well as real-world datasets including Ladybug™ $360^\circ$ panoramic images, the Oxford Corridor sequence, and the Notre Dame dataset.

Performance and error metrics for varying point correspondences (6 to 9 points) in synthetic tests.

Key Findings

  • Global Optimality: The algorithm is guaranteed to find the global minimum within a specified precision, avoiding the local minima that plague methods like Levenberg-Marquardt.
  • Efficiency in Wide FOV: Convergence is significantly faster for wide-angle or $360^\circ$ cameras, as a wider field-of-view (FOV) more strictly constrains possible rotations.
  • Computational Speed: For $360^\circ$ data, the essential matrix can be computed in under 10 seconds. Furthermore, first-order bounds reduced the computation time for a 4-point pose problem from 1 hour to just 2 minutes.

Discussion and Limitations

While providing a breakthrough in global optimization, the $L_\infty$ norm remains sensitive to outliers; a single erroneous data point can significantly skew the estimate. Additionally, the algorithm's performance degrades in narrow FOV scenarios due to the inherent ambiguity between camera rotation and lateral translation. Future work may involve extending this branch-and-bound approach to higher-dimensional problems like full bundle adjustment, though scalability remains a significant hurdle.

Summary updated

BibTeX
@inproceedings{hartley2007global,
  author = {Richard I. Hartley and Fredrik Kahl},
  title = {{Global Optimization through Searching Rotation Space and Optimal Estimation of the Essential Matrix}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2007},
  doi = {10.1109/iccv.2007.4408896},
}
Figure