[Paper Review] Learning to Calibrate Straight Lines for Fisheye Image Rectification
This paper proposes a deep learning method that jointly calibrates fisheye lens intrinsic parameters and rectifies distorted images by leveraging the geometric constraint that distorted lines in fisheye images should become straight after rectification. The approach uses a multi-scale, end-to-end neural network with a line-guided parameter estimation module, a distorted line perception module, and a differentiable rectification layer, achieving state-of-the-art performance with a reprojection error below 0.5 pixels and PSNR of 27.61 on synthetic and real fisheye images.
This paper presents a new deep-learning based method to simultaneously calibrate the intrinsic parameters of fisheye lens and rectify the distorted images. Assuming that the distorted lines generated by fisheye projection should be straight after rectification, we propose a novel deep neural network to impose explicit geometry constraints onto processes of the fisheye lens calibration and the distorted image rectification. In addition, considering the nonlinearity of distortion distribution in fisheye images, the proposed network fully exploits multi-scale perception to equalize the rectification effects on the whole image. To train and evaluate the proposed model, we also create a new largescale dataset labeled with corresponding distortion parameters and well-annotated distorted lines. Compared with the state-of-the-art methods, our model achieves the best published rectification quality and the most accurate estimation of distortion parameters on a large set of synthetic and real fisheye images.
Motivation & Objective
- To develop an end-to-end deep learning method that simultaneously calibrates fisheye lens parameters and rectifies distorted images without requiring manual calibration patterns.
- To exploit the geometric constraint that straight lines in the real world should project as straight lines after rectification, even when distorted by fisheye projection.
- To overcome limitations of prior methods that rely on detecting geometric objects (e.g., conics or lines) in distorted images, which are challenging tasks in themselves.
- To improve rectification quality and distortion parameter estimation accuracy by incorporating multi-scale perception and curvature constraints into the network architecture.
- To create a large-scale synthetic dataset with annotated distorted lines and ground-truth distortion parameters for training and evaluation.
Proposed method
- The network consists of three main modules: a distorted line detection module that identifies lines expected to be straight after rectification, a line-guided parameter estimation (LPE) module that estimates global and local distortion parameters using multi-scale perception, and a differentiable rectification layer that applies the estimated parameters to correct distortion.
- The LPE module takes as input the original RGB fisheye image and a detected map of distorted lines, enabling the network to learn geometry-aware features from both image content and line structure.
- A curvature constraint (CVC) is enforced during training to ensure that the detected distorted lines are transformed into straight lines in the rectified output, directly embedding geometric prior knowledge into the loss function.
- Multi-scale perception (MSP) is integrated into the LPE module to handle the non-uniform distortion distribution across fisheye images, improving robustness and accuracy in both central and peripheral regions.
- The entire network is trained end-to-end using a composite loss function combining multi-scale perception loss for distortion parameters and curvature constraint loss for line rectification.
- A new large-scale synthetic dataset is created by distorting wireframe scenes from the [17] dataset using known fisheye projection models, with ground-truth distortion parameters and annotated distorted lines.
Experimental results
Research questions
- RQ1Can a deep neural network effectively learn to detect distorted lines in fisheye images that should become straight after rectification?
- RQ2Can explicit geometric constraints—specifically, the preservation of line straightness—be effectively embedded into a deep learning model for fisheye calibration and rectification?
- RQ3Does multi-scale perception improve the accuracy of distortion parameter estimation across regions with varying distortion intensity in fisheye images?
- RQ4Can a single end-to-end network achieve superior rectification quality and parameter estimation accuracy compared to existing methods that rely on separate detection or optimization steps?
- RQ5How does the combination of RGB input and line map input affect the performance of the network in terms of geometric fidelity and visual quality?
Key findings
- The proposed method achieves a reprojection error (RPE) of 0.4761 pixels on the test set, which is significantly lower than all compared methods and within one pixel, indicating highly accurate distortion parameter estimation.
- The method achieves a PSNR of 27.61 and SSIM of 0.8746 on the test set, outperforming all state-of-the-art methods in both image quality and structural preservation.
- Ablation studies show that removing the curvature constraint (CVC) or multi-scale perception (MSP) leads to unstable rectification, with RPE increasing to 4.326 and 3.175 respectively, demonstrating their critical role.
- The model with four-dimensional input (RGB + line map) achieves the best performance, with PSNR 27.61 and RPE 0.4761, outperforming models using only RGB (PSNR 21.35) or only line maps (PSNR 22.41).
- The method generalizes well to real fisheye images, achieving visually superior rectification results even without ground-truth camera parameters, confirming strong generalization capability.
- The network's performance is robust across different fisheye types, including full-frame, full-circle, and drum projections, as demonstrated on diverse datasets like D-Wireframe and Fish-SUNCG.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.