Abstract
Camera pose estimation is key to the proper functioning of robotic systems, supporting critical tasks such as robot navigation, target tracking, camera calibration, etc.Whilemultiple algorithms solving this problem have been proposed, their correctness has rarely been validated using formal techniques. This is true despite the fact that the adoption of formal verification is essential for the reliability of safety-critical systems, and for their certification to high assurance levels. In this article, we present an effort in formally verifying an algorithm for camera pose estimation in an interactive theorem prover. The algorithm leverages the power of Rodrigues formula to solve the pose estimation problem under conditions for which existing solutions cannot be applied. The technical ingredients include (but are not limited to) mechanized proofs of the Rodrigues formula (along with its Cayley decomposition form) and the least squares method for fitting data. Based on the formalization of the algorithm, we formally derive and verify its general solution and unique solution.
Similar content being viewed by others
References
Affeldt R, Cohen C (2017) Formal foundations of 3d geometry to model robot manipulators. In: ACM Sigplan conference on certified programs and proofs, pp 30–42
Brockett, R.W.: Robotic manipulators and the product of exponentials formula. Springer, Berlin (1984)
Curtright Thomas, L., Fairlie David, B., Zachos Cosmas, K.: A compact formula for rotations as spin matrix polynomials. High Energy Phys Div 10, 084 (2014)
Yang, Guo: A novel solution to the p4p problem for an uncalibrated camera. J Math Imaging Vis 45(2), 186–198 (2013)
John, Harrison: Formal proof–theory and practice. Not Am Math Soc 55(11), 1–2 (2008)
John, Harrison: The HOL light theory of euclidean space. J Autom Reason 50(2), 173–190 (2013)
Hall, B.C.: Lie groups, lie algebras, and representations. Springer (2013)
Kamali, M., Dennis, L.A., McAree, O., Fisher, M., Veres, S.M.: Formal verification of autonomous vehicle platooning. Sci Comput Program 148, 88–106 (2017)
Khan, S., Hasan, O., Mashkoor, A., (2018) Formal verification and safety assessment of a hemodialysis machine. SOFSEM, : volume 10706 LNCS, pp. 241–254. Krems, Austria (2018)
Li B, Heng L, Lee GH, Pollefeys M (2013) A 4-point algorithm for relative pose estimation of a calibrated camera with a known relative rotation angle. In: IEEE/RSJ international conference on intelligent robots and systems
Lepetit, V., Moreno-Noguer, F., Fua, P.: Epnp: an accurate o(n) solution to the pnp problem. Int J Comput Vis 81(2), 155–166 (2009)
Luvizon DC, Picard D, Tabia H (2018) 2d/3d pose estimation and action recognition using multitask deep learning. In: Proceedings of the IEEE computer society conference on computer vision and pattern recognition. Salt Lake City, UT, United states, pp 5137–5146
Murray, R.M., Shankar, S.S., Li, Z.: A mathematical introduction to robotic manipulation. CRC Press Inc (1994)
Multivariable calculus libraries (2020) https://github.com/jrh13/hol-light/tree/master/Multivariate
Noll, T., Pagani, A., Stricker, D.: Markerless camera pose estimation–an overview. OpenAccess Ser Inf 19, 45–54 (2010)
Peng C (2017) An iterative camera pose estimation algorithm based on epnp. In: Chinese intelligent automation conference
Pavllo D, Feichtenhofer C, Grangier D, Auli M (2018) 3d human pose estimation in video with temporal convolutions and semi-supervised training
Projections onto subspaces (2011). https://ocw.mit.edu/courses/mathematics/18-06sc-linear-algebra-fall-2011/least-squares-determinants-and-eigenvalues/projections-onto-subspaces/MIT18_06SCF11_Ses2.2sum.pdf
Rashid A, Hasan O (2018) Formal modeling of robotic cell injection systems in higher-order logic. In: CEUR workshop proceedings, vol 2307, Hagenberg, Austria
Roy, K.K.: Elements of vector analysis. Springer, Berlin (2008)
Sun, C., Dong, H., Zhang, B., Wang, P.: An orthogonal iteration pose estimation algorithm based on an incident ray tracking model. Meas Sci Technol 29(9), (2018)
Schaub, H., Junkins, J.L.: Aas 95–137 stereographic orientation parameters for attitude dynamics: a generalization of the rodrigues parameters. J Astron Sci 44, 13–15 (1996)
Schaub H, Tsiotras P, Junkins JL (1995) Principal rotation representations of proper nxn orthogonal matrices. Int J Eng Sci 33(15):2277–2295. The Edelen Symposium
Sun, F., Wang, B.: The solution distribution analysis of the p3p problem, pp. 2033–2036. Istanbul, Turkey (2010)
Shi Z, Yan Z, Liu Z, Kang X, Yong G, Jie Z, Song X (2014) Formalization of matrix theory in hol4. Adv Mech Eng (2014-8-28) 2014:195276–195276
Tang, J., Chen, W., Wang, J.: A novel linear algorithm for p5p problem. Appl Math Comput 205(2), 628–634 (2008)
Terzakis, G., Lourakis, M., Ait-Boudaoud, D.: Modified rodrigues parameters: an efficient representation of orientation in 3d vision and graphics. J Math Imaging Vis 2, 1–21 (2017)
Zhao Z (2014) Research on videometrics technology in the aircraft transformation collision avoidance system. Master thesis, National University of Defense Technology
Acknowledgements
This work was supported by the National Key R&D Plan (2019YFB1309900),National Natural Science Foundation of China (61876111, 61602325, 61877040), the National Technology Innovation Special Zone (18-163-11-ZT-005-038-05), Academy for Multidisciplinary Studies, Capital Normal University (19530012005), the Project of Beijing Municipal Education Commission (KM20190028005), and Capacity Building for Sci-Tech Innovation—Fundamental Scientific Research Funds (006195305000).
Author information
Authors and Affiliations
Corresponding author
Additional information
Naijun Zhan
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Chen, S., Wang, G., Li, X. et al. Formalization of Camera Pose Estimation Algorithm based on Rodrigues Formula. Form Asp Comp 32, 417–437 (2020). https://doi.org/10.1007/s00165-020-00520-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00165-020-00520-5