Abstract
Fisheye lenses are critical for wide-field-of-view applications in robotics and autonomous systems, yet their extreme distortion complicates standard computer vision tasks. This paper introduces a robust, learning-based approach to single-image camera calibration specifically designed for fisheye lenses. By utilizing a novel 3rd-order polynomial "generic" camera model and a self-weighting loss function (HNGBL), the authors achieve state-of-the-art results in recovering both camera rotation and complex lens distortion across a wide variety of off-the-shelf fisheye hardware.
Introduction
Traditional camera calibration requires specialized targets like checkerboards, which is impractical for many real-world scenarios. Deep learning methods attempt to estimate parameters from single natural images but often struggle with fisheye lenses due to model mismatch—assuming a specific projection type—and parameter imbalance during training. This work addresses these issues by proposing a universal camera model and a principled loss weighting strategy that levels the playing field for the optimizer.
Methodology
The proposed solution consists of two primary components: a generic camera model and a specialized loss function.
Generic Camera Model
Instead of relying on a specific fisheye projection model (e.g., stereographic or equisolid angle), the authors employ a 3rd-order polynomial: $$\gamma = f(\eta + k_1 \eta^3)$$ where $\gamma$ represents distortion, $f$ is the focal length, $\eta$ is the incident angle, and $k_1$ is the distortion coefficient. This model serves as a Taylor series expansion capable of approximating standard fisheye projections with minimal error, removing the need to know the specific lens type beforehand.
Harmonic Non-Grid Bearing Loss (HNGBL)
To handle the imbalance between parameters like tilt, roll, focal length, and distortion, the authors introduced HNGBL. By analyzing the "loss landscape" before training, they calculate the area under the loss curve for each parameter to derive optimal joint weights. This ensures the network (a DenseNet-161 backbone with four regressors) pays balanced attention to all parameters regardless of their natural magnitude.
Experimental Results
The model was trained on synthetic fisheye patches generated from the StreetLearn and SP360 panorama datasets and validated on real-world images from various off-the-shelf cameras.
Quantitative Performance
The proposed method significantly outperformed previous state-of-the-art (SOTA) methods. On the StreetLearn dataset, focal length and rotation errors were reduced by approximately 86% compared to previous learning-based approaches. The generic model's ability to approximate different projection types is demonstrated in the comparison of mean absolute errors across standard models.
Qualitative Robustness
Qualitative evaluations on real-world hardware showed the model's ability to straighten lines and level horizons effectively without camera-specific fine-tuning. The method achieved higher PSNR and SSIM scores, indicating superior image reconstruction quality compared to existing deep calibration techniques.
Conclusion and Future Work
This work demonstrates that a simple 3rd-order polynomial can serve as a universal model for fisheye calibration, and that pre-training loss analysis can solve parameter imbalance. While the model shows exceptional performance, a slight domain gap exists between synthetic training data and real-world optics. Future research will focus on closing this gap through advanced data augmentation and unsupervised domain adaptation to make the model even more robust for consumer hardware.
Summary updated