Abstract: A new closed-form solver is proposed minimizing the algebraic error optimally, in the least squares sense, to estimate the relative planar motion of two calibrated cameras. The main objective is to solve the over-determined case, i.e., when a larger-than-minimal sample of point correspondences is given - thus, estimating the motion from at least three correspondences. The algorithm requires the camera movement to be constrained to a plane, e.g. mounted to a vehicle, and the image plane to be orthogonal to the ground. The solver obtains the motion parameters as the roots of a 6th degree polynomial. It is validated both in synthetic experiments and on publicly available real-world datasets that using the proposed solver leads to results superior to the state-of-the-art in terms of geometric accuracy with no noticeable deterioration in the processing time.
Introduction
In the rapidly evolving field of autonomous vehicles and mobile robotics, precise self-localization is paramount. A core component of this is "relative pose estimation"—the process of determining how a camera has moved between two consecutive image frames. While general-purpose algorithms like the five-point method are designed for arbitrary 3D motion, they often overlook the inherent physical constraints of ground vehicles. Cars and robots typically operate on a 2D plane, such as a road or floor. This paper introduces a mathematically elegant solver that exploits this planar constraint to achieve superior accuracy in motion estimation.
The Challenge of Over-determined Motion
Standard planar solvers are often optimized for the "minimal case," requiring only two point correspondences to find a solution. These are ideal for the initial stages of a RANSAC (Random Sample Consensus) loop where speed is critical. However, once a set of "inlier" points is identified, a more robust estimation using all available points—the "over-determined case"—is necessary for high precision. Traditionally, systems have either used general 3D solvers, which ignore the planar constraint, or non-optimal linear approximations. This research fills that gap by providing a least-squares optimal solver specifically for over-determined planar motion.
Methodology and Geometric Constraints
The proposed algorithm assumes that the camera's motion is restricted to the XZ plane and that its vertical axis remains parallel to the gravity vector (the "upright" assumption). This reduces the complex six-degree-of-freedom 3D motion problem to just two critical angles: the rotation of the vehicle ($\alpha$) and the direction of its translation ($\beta$).
To find the optimal values for these angles, the authors formulate a quadratic cost function based on the algebraic error of the epipolar constraints across all point correspondences. To ensure the solution respects fundamental trigonometric identities (e.g., $\sin^2\theta + \cos^2\theta = 1$), they employ Lagrangian multipliers. The resulting system of equations is solved by finding the roots of a 6th-degree polynomial. This "closed-form" approach is significant because it guarantees finding the global optimum for the defined error metric without the need for slow, iterative optimization techniques like Levenberg-Marquardt.
Experimental Evaluation
The solver's performance was rigorously tested using both synthetic and real-world data. Synthetic experiments allowed for precise control over image noise and "planar noise"—simulating scenarios where the vehicle might drive over slight inclines or uneven terrain (1° to 3° slopes). Real-world validation utilized the Malaga Urban Dataset, a benchmark containing over 9,000 image pairs from a car navigating urban streets, paired with high-precision GPS ground truth.
Key Results and Insights
The results demonstrate that the proposed solver consistently outperforms both the general five-point algorithm and existing planar solvers. A key insight is the "Power of Priors": even when the planar assumption is slightly violated by road gradients, the specialized solver remains more accurate than a general 3D model because the planar constraint acts as a powerful filter against image noise.
In terms of computational efficiency, the solver is remarkably fast. Processing a set of points takes approximately 0.4ms. While this is slightly slower than the simplest linear planar solvers, it is nearly twice as fast as the standard five-point algorithm (~0.9ms). This makes it an ideal candidate for real-time SLAM (Simultaneous Localization and Mapping) pipelines. On the Malaga dataset, the method achieved a 90% probability of estimating translation within a 20° error margin, a significant improvement over the 75% achieved by competing state-of-the-art methods.
Conclusion and Future Directions
The proposed least-squares optimal solver provides a robust, efficient, and mathematically grounded solution for vehicle-mounted camera motion estimation. By effectively bridging the gap between minimal solvers and general 3D optimization, it offers a significant accuracy upgrade for autonomous systems. Future work will focus on integrating this solver into full-scale Visual Odometry systems to measure its impact on long-term drift reduction and exploring ways to relax the upright camera assumption through tighter IMU integration.
Summary updated