Abstract
This paper introduces the first minimal solvers capable of jointly estimating radial lens distortion and affine rectification using only repeated coplanar patterns. By leveraging the geometric invariant that repeated features must have the same scale in a rectified space, the authors provide a fully automatic way to fix distorted, oblique photos from wide-angle and fisheye lenses without needing straight lines or manual calibration.
Introduction
Image rectification—the process of transforming an image so a slanted plane appears head-on—is a fundamental task in computer vision, essential for 3D reconstruction and image editing. However, most existing methods suffer from two major limitations: the pinhole assumption, which ignores significant radial distortion in consumer cameras like GoPros, and the plumb-line assumption, which requires long straight edges in the scene.
The authors address these gaps by using repeated textures (e.g., windows, tiles, or logos) as the primary cue for simultaneously fixing lens "warp" and perspective "slant."
Methodology: The Equal-Scale Invariant
The core of the proposed approach is the equal-scale invariant: the principle that two identical objects on a plane must occupy the same area once the image is properly rectified. Two families of minimal solvers were developed:
- Directly-Encoded Scale (DES) Solvers: These explicitly calculate the area of triangles formed by feature points in the rectified space, solving for the vanishing line and distortion parameter by ensuring area equality across pattern instances.
- Change-of-Scale (CS) Solvers: These utilize the Jacobian determinant of the rectification transformation to measure local area "stretch." By matching the relative change of scale between points to observed image data, the solvers recover camera parameters.
Technically, these solvers were generated using the Gröbner basis method. To ensure numerical stability, the authors employed a "basis sampling" approach, testing thousands of potential mathematical paths to find the one most robust to rounding errors and image noise.
Key Insights and Results
A major finding is that scale alone is sufficient for rectification. Knowing that two features are the same size provides enough algebraic constraints to solve for both lens distortion and perspective slant. Furthermore, the authors found that a first-order linearization (the CS solver) is surprisingly effective even for highly non-linear fisheye distortion.
Performance Highlights
- Robustness: The solvers outperformed state-of-the-art methods in the presence of noise, particularly when the pinhole model was violated.
- Fisheye Capability: The method successfully rectified images where straight lines appeared as circles, rendering traditional "plumb-line" methods unusable.
- Efficiency: With runtimes between 0.2ms and 2.2ms, the solvers are ideal for integration into RANSAC loops for real-time applications.
- Feasibility: In 97% of test cases, the solvers returned only one mathematically feasible solution, minimizing ambiguity.
Conclusion and Future Work
While highly effective, the solvers face limitations in degenerate configurations, such as when the vanishing line passes through the image center. Future work may involve hybrid approaches that combine scale-based constraints with other geometric cues, like translational symmetry, to create even more robust solvers for complex, unstructured environments.
Summary updated