TL;DR
This paper introduces a novel iterative algorithm for camera calibration that significantly improves accuracy by directly compensating for lens distortion without relying on a predefined mathematical model. By leveraging a dense phase target and an iterative refinement process, the method achieves over 100% greater accuracy than conventional approaches, making it robust for complex distortion scenarios.
What Problem Does This Paper Address?
Accurate camera calibration is fundamental for 3D measurement systems like stereo vision and fringe projection. A major hurdle in achieving high calibration accuracy is camera lens distortion, which causes nonlinear projections from 3D world points to 2D image points. While traditional methods use mathematical models to compensate for distortion, these models often struggle to perfectly capture the complex, cumulative effects of real-world lenses, leading to inaccuracies. Existing non-parametric methods also have limitations, such as assumptions about the distortion center or inability to calibrate internal camera parameters. This paper aims to bridge this gap by proposing a flexible, stable, and highly accurate method for calibrating internal parameters, external parameters, and distortion simultaneously, without being constrained by a specific distortion model.
Methods
The core of the proposed method is an iterative distortion compensation algorithm. Here's a breakdown of the key techniques:
- Phase Target: Instead of traditional checkerboards, the paper utilizes a dense phase target displayed on an LCD screen. This target provides a continuous and dense set of feature points, allowing for precise localization of corresponding world coordinates based on phase values. This is crucial for the iterative process, as it enables the camera to find world points for the same pixel across different poses.
- Initial Calibration: The process begins by capturing images of the phase target at multiple poses. Full-field camera pixels and their corresponding world coordinates (derived from phase values) are used to obtain initial camera parameters (internal and external) and an initial estimate of distortion.
- Iterative Distortion Compensation: The algorithm calculates the deviation between the real pixel and the reprojection pixel predicted by a linear projection model. This deviation is attributed to distortion. A corrected coordinate for the pixel is then obtained by compensating for this deviation.
- Levenberg-Marquardt Optimization: The initial calibration parameters and the estimated distortion deviations are then iteratively optimized using the Levenberg-Marquardt algorithm. The objective is to minimize the difference between the corrected pixel coordinates and the reprojection pixels, effectively refining both the camera model and the distortion compensation.
- Phase Target Error Refinement: To further enhance the accuracy of the phase target input, the paper proposes techniques to refine the phase map. This includes using a Gaussian filter (though the authors note difficulty in determining filter size) and, more practically, fitting and interpolation methods. A windowed fitting approach (specifically, a 5x5 window was found to be optimal through simulation) is used to smooth phase data and interpolate values, reducing noise and improving the accuracy of the phase-based world coordinate extraction.
Datasets
The paper uses simulated data for its initial testing and then evaluates the method on experimental data.
- Simulated Data: A simulated camera with known parameters and distortion coefficients (radial, eccentric, and thin prism) was used to generate synthetic image data.
- Experimental Data: Real-world calibration experiments were conducted using a Lumenera CCD camera and a Dell LCD monitor as the phase target.
Key Insights and Ideas
- Model-Free Distortion Compensation: The most significant insight is the ability to compensate for complex, pixel-by-pixel distortions without relying on a pre-defined mathematical model. This makes the method more adaptable to various lens types and distortion characteristics.
- Dense Phase Target Advantage: The use of a dense phase target is critical. It provides a continuous mapping between image pixels and world coordinates across multiple poses, which is essential for the iterative refinement of distortion. Traditional sparse targets would struggle with this.
- Iterative Refinement is Key: The iterative nature of the algorithm allows for a progressive reduction in error. By repeatedly calculating deviations and correcting them, the method converges to a highly accurate calibration.
- Phase Map Smoothing is Crucial: The paper highlights that raw phase data can be noisy. Employing fitting and interpolation techniques to smooth the phase map significantly improves the accuracy of the extracted world coordinates, which in turn benefits the overall calibration.
Key Results
- Accuracy Improvement: The proposed method achieved over 100% greater accuracy compared to conventional calibration methods.
- Reprojection Error: In experimental studies, the RMS reprojection error was 0.015 pixels after applying the fitting method, compared to 0.025 pixels for a conventional method (Zhang's approach) after fitting. Before fitting, the proposed method achieved 0.025 pixels, while the conventional method had 0.033 pixels.
- Robustness: The simulation study demonstrated that the method can effectively handle complex distortion conditions, including radial, eccentric, and thin prism distortions, which are challenging for traditional models.
Limitations and Future Work
- Comparison Scope: The authors acknowledge that comparing their method to all other non-parameter-based distortion compensation approaches was difficult due to the lack of open-source code and the reliance of some methods on specific calibration targets. However, they argue their simulation study demonstrates superiority over methods that cannot handle certain distortion types or internal parameter calibration.
- Future Work: The paper suggests that next steps will include applying the proposed calibration method in a deflectometry system. This indicates a potential for broader applications in advanced optical measurement.
Summary updated