Introduction
Determining the position and orientation of a camera—a task known as pose estimation or space resection—is a fundamental problem in computer vision and photogrammetry. Given a set of known 3D points in the world and their corresponding 2D projections in an image, one must calculate the camera's extrinsic parameters. While the 3-point problem (P3P) is well-understood, it often yields multiple solutions. To achieve a unique and robust solution, researchers typically utilize four or more points ($N \ge 4$).
Historically, solutions for $N \ge 4$ have been either iterative, requiring precise initial guesses, or algebraically complex and numerically unstable. This paper introduces a direct linear approach that transforms the nonlinear polynomial constraints of the Perspective-n-Point (PnP) problem into a system solvable via Singular Value Decomposition (SVD).
Problem Geometry
The core of the PnP problem lies in the geometric relationship between the camera center, the image plane, and the 3D world points.
As shown in the figure above, the distance between any two 3D points $p_i$ and $p_j$ is fixed. Using the Law of Cosines at the camera center $c$, this distance can be related to the depths of the points along the projection rays. This leads to a set of polynomial equations where the unknowns are the distances (depths) from the camera center to each 3D point.
Methodology: Linearization via SVD
The authors propose a "linearization" strategy to solve these polynomial systems without iterative optimization.
The 4-Point Case
For $N=4$, the system results in 4th-degree polynomial equations. The authors treat the powers of the unknown depths (e.g., $x, x^2, x^3, x^4$) as independent variables. By constructing a matrix $A$ from these terms, the problem becomes a linear system $Ax = 0$.
- Null Space Computation: SVD is used to find the null space of $A$, which typically defines a 2D space of potential solutions.
- Consistency Step: A second step enforces the original algebraic relationships between the powers (e.g., ensuring the variable representing $x^2$ is indeed the square of the variable representing $x$), leading to a unique physical solution.
The $N \ge 5$ Case
With five or more points, the system becomes highly overdetermined. This redundancy allows the solution to be found in a single linear step using SVD, significantly increasing resilience to image noise.
Experimental Results
The algorithm was validated using both simulated environments and real-world datasets. In simulations with 2.0 pixels of Gaussian noise, the method maintained a median relative depth error of approximately 0.1%.
The table above illustrates the performance on real-world data from a calibration field. In most "positions," the median relative error remains exceptionally low (between 0.03% and 0.09%). However, the data also highlights the algorithm's sensitivity to "critical configurations." For instance, in test case 3 for "pos. 3," the error spikes to 152%, occurring when the geometric arrangement of points becomes nearly degenerate (e.g., collinearity or specific cylindrical alignments).
Conclusion
This linear approach to the $N \ge 4$ pose determination problem offers a compelling alternative to traditional iterative methods. By leveraging redundancy and SVD-based linearization, it provides a computationally efficient, non-iterative solution that is robust for most practical applications. While certain geometric configurations remain challenging, the method's speed and general accuracy make it a valuable tool for real-time computer vision tasks.
Reference: Quan, L., & Lan, Z. D. (1998). Linear N $\ge$ 4-point pose determination. Proceedings of the Sixth International Conference on Computer Vision (ICCV), 778-783.
Summary updated