Three-Dimensional Imaging Based on Refractive Camera Model and Error Calibration for Risley-Prism Imaging System
Abstract
1. Introduction
- A refined refractive camera model is proposed by integrating the pinhole camera model with the vector form of Snell’s law, theoretically eliminating inherent model inaccuracies.
- A forward projection method based on Fermat’s principle is developed to simulate the imaging process systematically.
- A detailed simulation analysis quantifies the impact of various system errors on 3D reconstruction accuracy.
- A novel 3D reconstruction method incorporating error calibration via optimization iteration is introduced, effectively mitigating error influences and significantly enhancing reconstruction quality.
2. Ray Tracing and 3D Reconstruction Methods for the Risley-Prism System
2.1. System Structure and Principle
2.2. Ray Tracing Method Based on the Refractive Camera Model
| Algorithm 1: Ray Tracing Method Based on The Refractive Camera Model |
| Input: Image point , camera’s intrinsic matrix K, rotation angles system parameters |
| Output: Outgoing ray direction dout |
| 1: Correct lens distortion using Equation (3) to obtain the ideal image point p′ |
| 2: Compute initial ray direction d0 using Equation (11) |
| 3: Set ray origin Oc using Equation (12) |
| 4: for each refractive surface i = 1 → 4 do |
| 5: Compute surface normal ni using Equations (5)–(8) |
| 6: Compute intersection point using Equation (13) |
| 7: Update ray direction using Snell’s law in vector form (Equation (4)) |
| 8: end for |
| 9: return final outgoing ray direction dout |
2.3. Triangulation-Based 3D Reconstruction Model for Risley Prisms
3. The Impact of Errors on 3D Reconstruction
3.1. Forward Projection Calculation Method for Risley-Prism 3D Imaging System Based on Fermat’s Principle
| Algorithm 2: Forward Projection Based on Fermat’s Principle |
| Input: 3D point P, prism rotation angles , system parameters, max_iter, tolerance ε |
| Output: Pixel coordinates p |
| 1: Initialize ray direction from P |
| 2: for each candidate direction d do |
| 3: Trace ray through all refractive surfaces using Equations (4) and (13) |
| 4: Compute total optical path length L(d) using Equation (21) |
| 5: end for |
| 6: Select the direction d* that minimizes L(d) |
| 7: while not converged do |
| 8: Refine d using gradient-based optimization with constraint |
| 9: Update ray path and recompute L(d) |
| 10: if or iteration count > max_iter then |
| 11: break |
| 12: end if |
| 13: end while |
| 14: Project final ray onto image plane using Equation (22) to obtain pixel coordinates p |
| 15: return p |
3.2. Error Analysis of the Risley-Prism 3D Imaging System
3.2.1. Sources of Error
3.2.2. Error Model
3.3. Evaluation of Reconstruction Errors
3.4. Simulation Analysis of the Influence of Errors on the Imaging Accuracy
3.4.1. System Parameters
3.4.2. Analysis of the Impact of Angular Errors
3.4.3. Analysis of the Influence of Translation Error
3.4.4. Analysis of Overall Orientation Angle and Noise Impact
3.4.5. Summary of Error Impact
4. Calibration Method of Orientation Errors
5. Experimental Validation
5.1. Experimental Setup
5.2. Experimental Procedure
- (1)
- System Initialization and Image Acquisition: The initial prism orientation was set to . A sequence of seven images was acquired by incrementally rotating both prisms simultaneously by for each subsequent capture. The resulting orientation sets were: , , , , , and
- (2)
- Orientation Error Calibration: The initial image was paired with each of the subsequent six images to form six experimental groups. For each group, the prism orientation errors were calibrated using the optimization-based method outlined in Section 4. The objective function (Equation (40)), minimizing the Euclidean distance between the 3D points obtained from binocular stereo vision (serving as the ground truth) and the points projected using the refractive model, was solved via the Levenberg–Marquardt algorithm.
- (3)
- 3D Reconstruction: Following the calibration of orientation errors for each image pair, the 3D coordinates of the checkerboard corners were reconstructed using the triangulation method for refractive cameras detailed in Section 2.3.
- (4)
- Performance Evaluation: The accuracy of the 3D reconstruction was quantitatively evaluated using the Normalized Root Mean Square Error (NRMSE) and Standard Deviation (SD), as defined in Section 3.3.
5.3. Results and Discussion
6. Conclusions
- (1)
- The current experimental validation is conducted under the controlled lab conditions using a static checkerboard target with a narrow field of view, which may not represent real-world complexity.
- (2)
- Although 16 error sources exist in the system, only orientation errors are calibrated—other error sources may become significant under extreme conditions. Furthermore, imperfections in the prism material (e.g., manufacturing tolerances or material inhomogeneity) are not considered in this study, which may affect the imaging performance.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Li, H.; Duan, H.; Li, S. New progress of the visual system in birds of prey. Sci. Technol. Rev. 2018, 36, 52–67. [Google Scholar]
- Wang, X.; Luo, M.; Wu, H.; Zhang, Z.; Liu, J.; Xu, Z.; Johnson, W.; Sun, Y. A three-dimensional magnetic tweezer system for intraembryonic navigation and measurement. IEEE Trans. Robot. 2017, 34, 240–247. [Google Scholar] [CrossRef]
- Gu, C.; Cong, Y.; Sun, G.; Gao, Y.; Tang, X.; Zhang, T.; Fan, B. MedUCC: Medium-driven underwater camera calibration for refractive 3-D reconstruction. IEEE Trans. Syst. Man Cybern. Syst. 2021, 52, 5937–5948. [Google Scholar] [CrossRef] [Scilit]
- Palomer, A.; Ridao, P.; Youakim, D.; Ribas, D.; Forest, J.; Petillot, Y. 3D laser scanner for underwater manipulation. Sensors 2018, 18, 1086. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Nguyen, T.T.; Slaughter, D.C.; Max, N.; Maloof, J.N.; Sinha, N. Structured light-based 3d reconstruction system for plants. Sensors 2015, 15, 18587–18612. [Google Scholar] [CrossRef] [Scilit]
- Zhang, S. High-speed 3d shape measurement with structured light methods: A review. Opt. Lasers Eng. 2018, 106, 119–131. [Google Scholar] [CrossRef] [Scilit]
- Hansard, M.; Lee, S.; Choi, O.; Horaud, R.P. Time-of-Flight Cameras: Principles, Methods and Applications; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar]
- Stellinga, D.; Phillips, D.B.; Mekhail, S.P.; Selyem, A.; Turtaev, S.; Čižmár, T.; Padgett, M.J. Time-of-flight 3d imaging through multimode optical fibers. Science 2021, 374, 1395–1399. [Google Scholar] [CrossRef] [Scilit]
- Drouin, M.-A.; Beraldin, J.-A. Active triangulation 3d imaging systems for industrial inspection. In 3D Imaging, Analysis and Applications; Springer: Berlin/Heidelberg, Germany, 2020; pp. 109–165. [Google Scholar]
- Hamzah, R.A.; Ibrahim, H. Literature survey on stereo vision disparity map algorithms. J. Sens. 2016, 2016, 8742920. [Google Scholar] [CrossRef] [Scilit]
- Sun, X.; Jiang, Y.; Ji, Y.; Fu, W.; Yan, S.; Chen, Q.; Yu, B.; Gan, X. Distance measurement system based on binocular stereo vision. In Proceedings of the IOP Conference Series: Earth and Environmental Science, Beijing, China, 23–25 May 2019; IOP Publishing: Bristol, UK, 2019; Volume 252, p. 052051. [Google Scholar]
- Westoby, M.J.; Brasington, J.; Glasser, N.F.; Hambrey, M.J.; Reynolds, J.M. ‘Structure-from-motion’ photogrammetry: A low-cost, effective tool for geoscience applications. Geomorphology 2012, 179, 300–314. [Google Scholar] [CrossRef] [Scilit]
- Bao, S.Y.; Savarese, S. Semantic structure from motion. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Colorado Springs, CO, USA, 20–25 June 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 2025–2032. [Google Scholar]
- Pan, B.; Yu, L.; Zhang, Q. Review of single-camera stereo-digital image correlation techniques for full-field 3d shape and deformation measurement. Sci. China Technol. Sci. 2018, 61, 2–20. [Google Scholar] [CrossRef] [Scilit]
- Ying, X.; Peng, K.; Hou, Y.; Guan, S.; Kong, J.; Zha, H. Self-calibration of catadioptric camera with two planar mirrors from silhouettes. IEEE Trans. Pattern Anal. Mach. Intell. 2012, 35, 1206–1220. [Google Scholar] [CrossRef] [Scilit]
- Zhou, F.; Chai, X.; Chen, X.; Song, Y. Omnidirectional stereo vision sensor based on single camera and catoptric system. Appl. Opt. 2016, 55, 6813–6820. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ser, J.-I.; Jang, J.-Y.; Cha, S.; Shin, S.-H. Applicability of diffraction grating to parallax image array generation in integral imaging. Appl. Opt. 2010, 49, 2429–2433. [Google Scholar] [CrossRef] [Scilit]
- Lim, K.B.; Xiao, Y. Virtual stereovision system: New understanding on single-lens stereovision using a biprism. J. Electron. Imaging 2005, 14, 043020. [Google Scholar] [CrossRef] [Scilit]
- Ramírez-Hernández, L.R.; Rodríguez-Quiñonez, J.C.; Castro-Toscano, M.J.; Hernández-Balbuena, D.; Flores-Fuentes, W.; Rascón-Carmona, R.; Lindner, L.; Sergiyenko, O. Improve three- dimensional point localization accuracy in stereo vision systems using a novel camera calibration method. Int. J. Adv. Robot. Syst. 2020, 17, 1729881419896717. [Google Scholar] [CrossRef] [Scilit]
- Schonberger, J.L.; Frahm, J.-M. Structure-from-motion revisited. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 4104–4113. [Google Scholar]
- Liu, X.; Li, A. Multiview three-dimensional imaging using a risley-prism-based spatially adaptive virtual camera field. Appl. Opt. 2022, 61, 3619–3629. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, H.; Cao, J.; Cui, H.; Zhou, D.; Hao, Q. Virtual image array generated by risley prisms for three- dimensional imaging. Opt. Commun. 2022, 517, 128309. [Google Scholar] [CrossRef] [Scilit]
- Zhao, S.; Kang, F.; Li, J.; Gong, J.; Yang, M.; Xie, L. Precision UAV image-to-BIM registration through contour-based matching for concrete dam structural health monitoring. Autom. Constr. 2025, 180, 106536. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.; Qiu, H.; Lu, Y.; Sun, J.; Lan, G. 3D reconstruction and dimension recovery algorithm for architectural structures using sequential images and photography trajectories. Autom. Constr. 2025, 179, 106465. [Google Scholar] [CrossRef] [Scilit]
- Liu, R.; Shao, Z.; Sun, Q.; Yu, Z. Defect detection and 3D reconstruction of complex urban underground pipeline scenes for sewer robots. Sensors 2024, 24, 7557. [Google Scholar] [CrossRef] [Scilit]
- Li, C.; Su, R.K.L. Automatic tiny crack positioning and width measurement with parallel laser line-camera system. Comput.-Aided Civ. Infrastruct. Eng. 2025, 40, 1811–1828. [Google Scholar] [CrossRef] [Scilit]
- Lu, Y.; Zhou, Y.; Hei, M.; Fan, D. Theoretical and experimental determination of steering mechanism for risley prism systems. Appl. Opt. 2013, 52, 1389–1398. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y.; Lu, Y.; Hei, M.; Liu, G.; Fan, D. Pointing error analysis of risley-prism-based beam steering system. Appl. Opt. 2014, 53, 5775–5783. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, J.; Chen, K.; Peng, Q.; Wang, Z.; Jiang, Y.; Fu, C.; Ren, G. Improvement of pointing accuracy for risley prisms by parameter identification. Appl. Opt. 2017, 56, 7358–7366. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Qiu, S.; Sheng, L.; Gao, S.J.; Liu, Y.K.; Song, Y.N. Influence of laser communication risley prism system error on pointing accuracy. Opt. Precis. Eng. 2021, 29, 1281–1290. [Google Scholar] [CrossRef] [Scilit]
- Heikkila, J. Geometric camera calibration using circular control points. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1066–1077. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z. A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1330–1334. [Google Scholar] [CrossRef] [Scilit]
- Glassner, A.S. An Introduction to Ray Tracing; Morgan Kaufmann: San Francisco, CA, USA, 1989. [Google Scholar]
- Agrawal, A.; Ramalingam, S.; Taguchi, Y.; Chari, V. A theory of multi-layer flat refractive geometry. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Providence, RI, USA, 16–21 June 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 3346–3353. [Google Scholar]
- Shen, Y.; Li, L.; Huang, F. Pointing error correction of risley-prism system based on particle swarm algorithm. Acta Opt. Sin. 2021, 41, 2412004. [Google Scholar]
- Huang, F.; Ren, H.; Shen, Y.; Wang, P. Error analysis and optimization for risley-prism imaging distortion correction. Appl. Opt. 2021, 60, 2574–2582. [Google Scholar] [CrossRef] [Scilit]
- Dai, J.S. Euler-Rodrigues formula variations, quaternion conjugation and intrinsic connections. Mech. Mach. Theory 2015, 92, 144–152. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Gibson, G.M.; Hay, R.; Bowman, R.W.; Padgett, M.J.; Edgar, M.P. A fast 3d reconstruction system with a low-cost camera accessory. Sci. Rep. 2015, 5, 10909. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- More, J.J. The Levenberg-Marquardt algorithm: Implementation and theory. In Numerical Analysis; Springer: Berlin/Heidelberg, Germany, 2006; pp. 105–116. [Google Scholar]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the International Conference on Neural Networks, Perth, Australia, 27 November–1 December 1995; IEEE: Piscataway, NJ, USA, 1995; Volume 4, pp. 1942–1948. [Google Scholar]











| System Parameters | Error |
|---|---|
| Prism 1 orientation | |
| Prism 2 orientation | |
| Prism 1 tilt axis | |
| Prism 2 tilt axis | |
| Prism 1 tilt angle | |
| Prism 2 tilt angle | |
| Bearing 1 tilt axis | |
| Bearing 2 tilt axis | |
| Bearing 1 tilt angle | |
| Bearing 2 tilt angle | |
| Prism 1 translation | |
| Prism 2 translation |
| NO. | /° | /° |
|---|---|---|
| 1 | 4.91 | −9.09 |
| 2 | 4.82 | −8.77 |
| 3 | 5.04 | −7.96 |
| 4 | 3.53 | −7.59 |
| 5 | 3.67 | −8.03 |
| 6 | 3.80 | −8.09 |
| 7 | 4.43 | −8.87 |
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
Luo, W.; Yang, S.; Huang, D.; Huang, F.; Wang, P. Three-Dimensional Imaging Based on Refractive Camera Model and Error Calibration for Risley-Prism Imaging System. Sensors 2026, 26, 2013. https://doi.org/10.3390/s26072013
Luo W, Yang S, Huang D, Huang F, Wang P. Three-Dimensional Imaging Based on Refractive Camera Model and Error Calibration for Risley-Prism Imaging System. Sensors. 2026; 26(7):2013. https://doi.org/10.3390/s26072013
Chicago/Turabian StyleLuo, Wenjie, Shumin Yang, Duanhao Huang, Feng Huang, and Pengfei Wang. 2026. "Three-Dimensional Imaging Based on Refractive Camera Model and Error Calibration for Risley-Prism Imaging System" Sensors 26, no. 7: 2013. https://doi.org/10.3390/s26072013
APA StyleLuo, W., Yang, S., Huang, D., Huang, F., & Wang, P. (2026). Three-Dimensional Imaging Based on Refractive Camera Model and Error Calibration for Risley-Prism Imaging System. Sensors, 26(7), 2013. https://doi.org/10.3390/s26072013

