Probabilistic Camera Distortion Correction Using Deep Gaussian Processes
Abstract
1. Introduction
- A Deep Gaussian Process framework for modelling highly irregular, non-stationary camera distortion fields.
- A device-specific calibration approach based on a limited structured acquisition, avoiding the large image collections typically required by generic learning-based rectification methods.
- Per-pixel uncertainty estimates for the corrected image.
2. Related Work
3. Methods
3.1. From Real Image to Virtual Grid
3.2. Deep Gaussian Processes
4. Experiments
4.1. Datasets and Models
4.2. Non-Stationarity
4.3. Qualitative Results



4.4. Pixel Uncertainty
4.5. Numerical Results
4.6. Training Time
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A. Details of the Data-Driven Models per Dataset
| Dataset Model | Row and Column Nr Divisible by | Nr of Datapoints | Nr Iterations | Learning Rate | Time Per Iteration (s) | Nr Inducing Points |
|---|---|---|---|---|---|---|
| RPI GP 32 | 16 | 117 | 500 | 0.010 | 0.0188 | NA |
| RPI GP 64 | 8 | 486 | 500 | 0.010 | 0.0170 | NA |
| RPI GP 128 | 4 | 1890 | 500 | 0.010 | 0.6950 | NA |
| RPI GP 256 | 2 | 7383 | 250 | 0.010 | 9.9974 | NA |
| RPI DGP 32 | 16 | 117 | 2500 | 0.020 | 0.0485 | 50 |
| RPI DGP 64 | 8 | 486 | 2500 | 0.020 | 0.0515 | 50 |
| RPI DGP 128 | 4 | 1890 | 2500 | 0.020 | 0.0663 | 50 |
| RPI DGP 256 | 2 | 7383 | 2500 | 0.020 | 0.2570 | 50 |
| RPI DGP 512 | 1 | 29,532 | 2500 | 0.020 | 2.8495 | 50 |
| RPI DGP2 32 | 16 | 117 | 2500 | 0.010 | 0.0453 | 50 |
| RPI DGP2 64 | 8 | 486 | 2500 | 0.010 | 0.0999 | 50 |
| RPI DGP2 128 | 4 | 1890 | 2500 | 0.010 | 0.1189 | 50 |
| RPI DGP2 256 | 2 | 7383 | 2500 | 0.010 | 0.3290 | 50 |
| RPI DGP2 512 | 1 | 29,532 | 2500 | 0.010 | 1.6186 | 50 |
| RPI MLP 32 | 16 | 117 | 500 | 0.005 | 0.0007 | NA |
| RPI MLP 64 | 8 | 486 | 500 | 0.005 | 0.0007 | NA |
| RPI MLP 128 | 4 | 1890 | 500 | 0.005 | 0.0006 | NA |
| RPI MLP 256 | 2 | 7383 | 500 | 0.005 | 0.0006 | NA |
| RPI MLP 512 | 1 | 29,532 | 500 | 0.005 | 0.0006 | NA |
| Dataset Model | Row and Column Nr Divisible by | Nr of Datapoints | Nr Iterations | Learning Rate | Time Per Iteration (s) | Nr Inducing Points |
|---|---|---|---|---|---|---|
| Theta GP 32 | 16 | 36 | 500 | 0.020 | 0.0124 | NA |
| Theta GP 64 | 8 | 156 | 500 | 0.020 | 0.0149 | NA |
| Theta GP 128 | 4 | 675 | 500 | 0.020 | 0.0196 | NA |
| Theta GP 256 | 2 | 2750 | 500 | 0.020 | 0.1964 | NA |
| Theta GP 512 | 1 | 11,311 | 500 | 0.020 | 0.6781 | NA |
| Theta DGP 32 | 16 | 36 | 5000 | 0.020 | 0.0515 | 36 |
| Theta DGP 64 | 8 | 156 | 5000 | 0.020 | 0.0464 | 50 |
| Theta DGP 128 | 4 | 675 | 5000 | 0.020 | 0.0546 | 50 |
| Theta DGP 256 | 2 | 2750 | 5000 | 0.020 | 0.0857 | 50 |
| Theta DGP 512 | 1 | 11,311 | 5000 | 0.020 | 0.4767 | 50 |
| Theta DGP2 32 | 16 | 36 | 5000 | 0.010 | 0.0479 | 36 |
| Theta DGP2 64 | 8 | 156 | 5000 | 0.005 | 0.0451 | 50 |
| Theta DGP2 128 | 4 | 675 | 5000 | 0.005 | 0.0941 | 50 |
| Theta DGP2 256 | 2 | 2750 | 5000 | 0.005 | 0.0855 | 50 |
| Theta DGP2 512 | 1 | 11,311 | 5000 | 0.005 | 0.4960 | 50 |
| Theta MLP 32 | 16 | 36 | 2000 | 0.005 | 0.0014 | NA |
| Theta MLP 64 | 8 | 156 | 2000 | 0.005 | 0.0013 | NA |
| Theta MLP 128 | 4 | 675 | 2000 | 0.005 | 0.0013 | NA |
| Theta MLP 256 | 2 | 2750 | 2000 | 0.005 | 0.0013 | NA |
| Theta MLP 512 | 1 | 11,311 | 2000 | 0.005 | 0.0014 | NA |
| Dataset Model | Row and Column Nr Divisible by | Nr of Datapoints | Nr Iterations | Learning Rate | Time Per Iteration (s) | Nr Inducing Points |
|---|---|---|---|---|---|---|
| Pillcam GP 32 | 16 | 119 | 500 | 0.010 | 0.0111 | NA |
| Pillcam GP 64 | 8 | 534 | 500 | 0.010 | 0.0138 | NA |
| Pillcam GP 128 | 4 | 2070 | 250 | 0.010 | 0.2054 | NA |
| Pillcam GP 256 | 2 | 8095 | 250 | 0.010 | 0.8548 | NA |
| Pillcam DGP 32 | 16 | 119 | 5000 | 0.020 | 0.0523 | 50 |
| Pillcam DGP 64 | 8 | 534 | 5000 | 0.020 | 0.0535 | 50 |
| Pillcam DGP 128 | 4 | 2070 | 5000 | 0.020 | 0.0747 | 50 |
| Pillcam DGP 256 | 2 | 8095 | 5000 | 0.020 | 0.2722 | 50 |
| Pillcam DGP 512 | 1 | 31,686 | 1800 | 0.020 | 3.9022 | 50 |
| Pillcam DGP2 32 | 16 | 119 | 5000 | 0.010 | 0.0561 | 119 |
| Pillcam DGP2 64 | 8 | 534 | 5000 | 0.010 | 0.0849 | 150 |
| Pillcam DGP2 128 | 4 | 2070 | 5000 | 0.010 | 0.4073 | 150 |
| Pillcam DGP2 256 | 2 | 8095 | 5000 | 0.010 | 0.8257 | 150 |
| Pillcam DGP2 512 | 1 | 31,686 | 2500 | 0.010 | 4.0370 | 150 |
| Pillcam MLP 32 | 16 | 119 | 500 | 0.005 | 0.0006 | NA |
| Pillcam MLP 64 | 8 | 534 | 500 | 0.005 | 0.0006 | NA |
| Pillcam MLP 128 | 4 | 2070 | 500 | 0.005 | 0.0006 | NA |
| Pillcam MLP 256 | 2 | 8095 | 500 | 0.005 | 0.0005 | NA |
| Pillcam MLP 512 | 1 | 31,686 | 500 | 0.005 | 0.0007 | NA |
References
- Xiong, K.; He, X.; Wang, C.; Li, J.; Yang, C. Calibration method of fisheye camera for high-precision collimation measurement. Hongwai Yu Jiguang Gongcheng/Infrared Laser Eng. 2024, 53, 20230549-1–20230549-11. [Google Scholar] [CrossRef]
- Jakab, D.; Deegan, B.M.; Sharma, S.; Grua, E.M.; Horgan, J.; Ward, E.; Van De Ven, P.; Scanlan, A.; Eising, C. Surround-View Fisheye Optics in Computer Vision and Simulation: Survey and Challenges. IEEE Trans. Intell. Transp. Syst. 2024, 25, 10542–10563. [Google Scholar] [CrossRef]
- Wang, J.; Luvizon, D.; Xu, W.; Liu, L.; Sarkar, K.; Theobalt, C. Scene-Aware Egocentric 3D Human Pose Estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 18–22 June 2023. [Google Scholar] [CrossRef]
- Zhang, Y.; You, S.; Karaoglu, S.; Gevers, T. 3D human pose estimation and action recognition using fisheye cameras: A survey and benchmark. Pattern Recognit. 2025, 162, 111334. [Google Scholar] [CrossRef]
- Kannala, J.; Brandt, S.S. A Generic Camera Model and Calibration Method for Conventional, Wide-Angle, and Fish-Eye Lenses. IEEE Trans. Pattern Anal. Mach. Intell. 2006, 28, 1335–1340. [Google Scholar] [CrossRef] [PubMed]
- Hillen, M.; De Boi, I.; De Kerf, T.; Sels, S.; Cardenas De La Hoz, E.; Gladines, J.; Steenackers, G.; Penne, R.; Vanlanduit, S. Enhanced Checkerboard Detection Using Gaussian Processes. Mathematics 2023, 11, 4568. [Google Scholar] [CrossRef]
- Liao, K.; Nie, L.; Huang, S.; Lin, C.; Zhang, J.; Zhao, Y.; Gabbouj, M.; Tao, D. Deep Learning for Camera Calibration and Beyond: A Survey. arXiv 2023. http://arxiv.org/abs/2303.10559.
- Münzer, B.; Schoeffmann, K.; Böszörmenyi, L. Content-based processing and analysis of endoscopic images and videos: A survey. Multimed. Tools Appl. 2018, 77, 1323–1362. [Google Scholar] [CrossRef]
- Boers, T.G.W.; Fockens, K.N.; van der Putten, J.A.; Jaspers, T.J.M.; Kusters, C.H.J.; Jukema, J.B.; Jong, M.R.; Struyvenberg, M.R.; de Groof, J.; Bergman, J.J.; et al. Foundation models in gastrointestinal endoscopic AI: Impact of architecture, pre-training approach and data efficiency. Med. Image Anal. 2024, 98, 103298. [Google Scholar] [CrossRef] [PubMed]
- Jaspers, T.J.M.; Boers, T.G.W.; Kusters, C.H.J.; Jong, M.R.; Jukema, J.B.; de Groof, A.J.; Bergman, J.J.; de With, P.H.N.; van der Sommen, F. Robustness evaluation of deep neural networks for endoscopic image analysis: Insights and strategies. Med. Image Anal. 2024, 94, 103157. [Google Scholar] [CrossRef] [PubMed]
- Ozyoruk, K.B.; Gokceler, G.I.; Bobrow, T.L.; Coskun, G.; Incetan, K.; Almalioglu, Y.; Mahmood, F.; Curto, E.; Perdigoto, L.; Oliveira, M.; et al. EndoSLAM dataset and an unsupervised monocular visual odometry and depth estimation approach for endoscopic videos. Med. Image Anal. 2021, 71, 102058. [Google Scholar] [CrossRef] [PubMed]
- Oliveira, M.; Araujo, H.; Figueiredo, I.N.; Pinto, L.; Curto, E.; Perdigoto, L. Registration of Consecutive Frames from Wireless Capsule Endoscopy for 3D Motion Estimation. IEEE Access 2021, 9, 103256–103269. [Google Scholar] [CrossRef]
- Li, L.; Mazomenos, E.; Chandler, J.H.; Obstein, K.L.; Valdastri, P.; Stoyanov, D.; Vasconcelos, F. Robust endoscopic image mosaicking via fusion of multimodal estimation. Med. Image Anal. 2023, 84, 102709. [Google Scholar] [CrossRef] [PubMed]
- Tsai, R.Y. A Versatile Camera Calibration Technique for High-Accuracy 3D Machine Vision Metrology Using Off-the-Shelf TV Cameras and Lenses. IEEE J. Robot. Autom. 1987, 3, 323–344. [Google Scholar] [CrossRef]
- Zhang, Z. A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1330–1334. [Google Scholar] [CrossRef]
- De Boi, I.; Pathak, S.; Oliveira, M.; Penne, R. How to Turn Your Camera into a Perfect Pinhole Model. In Proceedings of the Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications; Springer Nature: Cham, Switzerland, 2024; pp. 90–107. [Google Scholar]
- Damianou, A.C.; Lawrence, N.D. Deep Gaussian processes. In Proceedings of the Sixteenth International Conference on Artificial Intelligence and Statistics, Scottsdale, AZ, USA, 29 April–1 May 2013, 2013; Volume 31, pp. 207–215. [Google Scholar]
- Sels, S.; Ribbens, B.; Vanlanduit, S.; Penne, R. Camera Calibration Using Gray Code. Sensors 2019, 19, 246. [Google Scholar] [CrossRef] [PubMed]
- Ranganathan, P.; Olson, E. Gaussian Process for lens distortion modeling. In Proceedings of the 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, Vilamoura-Algarve, Portugal, 7–12 October 2012; pp. 3620–3625. [Google Scholar] [CrossRef]
- Van der Jeught, S. Real-time geometric lens distortion correction using a graphics processing unit. Opt. Eng. 2012, 51, 027002. [Google Scholar] [CrossRef]
- Athwale, A.; Shili, I.; Bergeron, E.; Ahmad, O.; Lalonde, J.F. DarSwin-Unet: Distortion Aware Encoder-Decoder Architecture. arXiv 2025. http://arxiv.org/abs/2407.17328.
- Liao, Z.; Feng, H.; Liu, S.; Zhou, W.; Li, H. RoFIR: Robust Fisheye Image Rectification Framework Impervious to Optical Center Deviation. arXiv 2024. http://arxiv.org/abs/2406.18927.
- Feng, H.; Wang, W.; Deng, J.; Zhou, W.; Li, L.; Li, H. SimFIR: A Simple Framework for Fisheye Image Rectification with Self-supervised Representation Learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023. [Google Scholar] [CrossRef]
- Shen, X.; Joo, K.; Oh, J. FishRecGAN: An End to End GAN Based Network for Fisheye Rectification and Calibration. Adv. Artif. Intell. Mach. Learn. 2023, 3, 69. [Google Scholar] [CrossRef]
- Yang, S.; Lin, C.; Liao, K.; Zhao, Y. Innovating Real Fisheye Image Correction with Dual Diffusion Architecture. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023. [Google Scholar] [CrossRef]
- Rasmussen, C.E.; Williams, C.K.I. Gaussian Processes for Machine Learning; MIT Press: Cambridge, MA, USA, 2006. [Google Scholar]
- Murray, I.; Ghahramani, Z. A Note on the Evidence and Bayesian Occam’s Razor. Technical Report GCNU-TR 2005-003, Gatsby Computational Neuroscience Unit, University College London, London, UK, August 2005. Available online: https://homepages.inf.ed.ac.uk/imurray2/pub/05occam/ (accessed on 28 June 2026).
- Noack, M.M.; Luo, H.; Risser, M.D. A unifying perspective on non-stationary kernels for deeper Gaussian processes. APL Mach. Learn. 2024, 2, 010902. [Google Scholar] [CrossRef]
- Dunlop, M.M.; Girolami, M.A.; Stuart, A.M.; Teckentrup, A.L. How deep are deep Gaussian processes? J. Mach. Learn. Res. 2018, 19, 1–46. [Google Scholar]
- Gardner, J.R.; Pleiss, G.; Bindel, D.; Weinberger, K.Q.; Wilson, A.G. GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Acceleration. Adv. Neural Inf. Process. Syst. 2018, 31, 7576–7586. [Google Scholar]














Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
De Boi, I.; Evans, R.G.; Pathak, S.; Kerf, T.D.; Soom, M.V.; Jeught, S.V.d.; Araújo, H.; Penne, R. Probabilistic Camera Distortion Correction Using Deep Gaussian Processes. J. Imaging 2026, 12, 296. https://doi.org/10.3390/jimaging12070296
De Boi I, Evans RG, Pathak S, Kerf TD, Soom MV, Jeught SVd, Araújo H, Penne R. Probabilistic Camera Distortion Correction Using Deep Gaussian Processes. Journal of Imaging. 2026; 12(7):296. https://doi.org/10.3390/jimaging12070296
Chicago/Turabian StyleDe Boi, Ivan, Rhys G. Evans, Stuti Pathak, Thomas De Kerf, Marnix Van Soom, Sam Van der Jeught, Helder Araújo, and Rudi Penne. 2026. "Probabilistic Camera Distortion Correction Using Deep Gaussian Processes" Journal of Imaging 12, no. 7: 296. https://doi.org/10.3390/jimaging12070296
APA StyleDe Boi, I., Evans, R. G., Pathak, S., Kerf, T. D., Soom, M. V., Jeught, S. V. d., Araújo, H., & Penne, R. (2026). Probabilistic Camera Distortion Correction Using Deep Gaussian Processes. Journal of Imaging, 12(7), 296. https://doi.org/10.3390/jimaging12070296

