Abstract
In this paper, we study the solutions to two types of unit dual quaternion equations, namely \(\varvec{a}\check{x} = \check{x}\varvec{b}\) and \(\varvec{a}\check{x} = \check{z}\varvec{b}\). Due to the \(2\)-norm of the dual quaternion vector, there may exist multiple potential solutions for these equations. The main contribution of this study is the introduction of a novel formulation for subspace constrained least squares solutions to these two unit dual quaternion equations, along with the derivation of closed-form expressions for these solutions. We develop and implement numerical algorithms to address the robot-world and hand-eye calibration problems. Our findings demonstrate that the proposed subspace constrained least squares solution can avoid discussing the ambiguities associated with the non-uniqueness of signs that arise when mapping from rotation matrices to quaternions. Furthermore, we establish that when the transformation matrix equation related to the robot-world or hand-eye calibration problem possesses a solution, the corresponding unit dual quaternion is indeed a subspace constrained least squares solution to the equations \(\varvec{a}\check{x} =\check{x}\varvec{b}\) and \(\varvec{a}\check{x} = \check{z}\varvec{b}\), respectively. The experimental results demonstrate that the proposed subspace constrained least squares solutions are competitive when compared to existing solution methods.









Similar content being viewed by others
Data Availability
The data that support the findings of this study are available from the author upon reasonable request.
Notes
All numerical experiments are implemented in MATLAB R2023a running on a computer with an Intel(R) Core(TM) i7 CPU @ 2.20GHz and 16GB of RAM.
The Matlab code of comparison methods are downloaded from https://github.com/soheilsarabandi/Hand-Eye-Calibration.
References
Andreff, N., Horaud, R., Espiau, B.: Robot hand-eye calibration using structure-from-motion. Int. J. Rob. Res. 20(3), 228–248 (2001)
Blaschke, W.: Kinematik und quaternionen (mathematische monographien). In: Deutscher Verlag der Wissenschaften, Berlin (1960)
Brambley, G., Kim, J.: Unit dual quaternion-based pose optimisation for visual runway observations. IET Cyber-Syst. Robot. 2(4), 181–189 (2020)
Chen, H.: A screw motion approach to uniqueness analysis of head-eye geometry. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pp. 145–151 (1991)
Chen, Z., Ling, C., Qi, L., Yang, H.: A regularization-patching dual quaternion optimization method for solving the hand-eye calibration problem. J. Optim. Theory Appl. 200, 1193–1215 (2024)
Cheng, J., Kim, J., Jiang, Z., Che, W.: Dual quaternion-based graphical slam. Robot. Auton. Syst. 77, 15–24 (2016)
Chou, C.J., Kamel, S.M.: Finding the position and orientation of a sensor on a robot manipulator using quaternions. Int. J. Robot. Res. 3, 240–253 (1991)
Chrystal, G.: Clifford’s mathematical papers. Nature 26, 217–219 (1882)
Clifford, M.A.: Preliminary sketch of biquaternons. In: Proceedings of the London Mathematical Society, vol. s1–4, pp. 381–395 (1873)
Condurache, D., Burlacu, A.: Orthogonal dual tensor method for solving the ax = xb sensor calibration problem. Mech. Mach. Theory 104, 382–404 (2016)
Daniilidis, K.: Hand-eye calibration using dual quaternions. Int. J. Robot. Res. 18(3), 286–298 (1999)
Dornaika, F., Horaud, R.: Simultaneous robot-world and hand-eye calibration. IEEE Trans. Robot. Autom. 14(4), 617–622 (1998)
Emika, K.: The panda robot description (2022)
Ernst, F., Richter, L., Matthäus, L., Martens, V., Bruder, R., Schlaefer, A., Schweikard, A.: Non-orthogonal tool/flange and robot/world calibration. Int. J. Med. Robot. Comput. Assist. Surg. 8(aop), 407–420 (2012)
Gwak, S., Kim, J., Park, F.C.: Numerical optimization on the Euclidean group with applications to camera calibration. IEEE Trans. Robot. Autom. 19(1), 65–74 (2003)
Ha, J., Kang, D., Park, F.C.: A stochastic global optimization algorithm for the two-frame sensor calibration problem. IEEE Trans. Ind. Electron. 63(4), 2434–2446 (2016)
Heller, J., Henrion, D., Pajdla, T.: Hand-eye and robot-world calibration by global polynomial optimization. In: IEEE International Conference on Robotics and Automation, pp. 3157–3164 (2014)
Hirsh, R., DeSouza, G., Kak, A.: An iterative approach to the hand-eye and base-world calibration problem. In: IEEE International Conference on Robotics and Automation, vol. 3, pp. 2171–2176 (2001)
Horaud, R., Dornaika, F.: Hand-eye calibration. Int. J. Robot. Res. 14(3), 195–210 (1995)
Horn, A.R., Johnson, R.C.: Matrix Analysis, 2nd edn. Cambridge University Press (2013)
Jia, Z.: The Eigenvalue Problem of Quaternion Matrix: Structure-Preserving Algorithms and Applications. Science Press, Beijing (2019)
Kavan, L., Collins, S., Žára, J., O’Sullivan, C.: Geometric skinning with approximate dual quaternion blending. ACM Trans. Graph. 27(4) (2008)
Kenwright, B.: A beginners guide to dual-quaternions: what they are, how they work, and how to use them for 3D character hierarchies. In: International Conference in Central Europe on Computer Graphics and Visualization (2012)
Kim, S.J., Jeong, M.H., Lee, J.J., Lee, J.Y., Kim, K.G., You, B.J., Oh, S.R.: Robot head-eye calibration using the minimum variance method. In: IEEE International Conference on Robotics and Biomimetics, pp. 1446–1451 (2010)
Kuipers, B.J.: Quaternions and Rotation Sequences: A Primer with Applications to Orbits, Aerospace and Virtual Reality. Princeton University Press (1999)
Lachat, E., Macher, H., Landes, T., Grussenmeyer, P.: Assessment and calibration of a RGB-D camera (Kinect v2 Sensor) towards a potential use for close-range 3D modeling. Remote Sens. 7(10), 13070–13097 (2015)
Li, A., Wang, L., Wu, D.: Simultaneous robot-world and hand-eye calibration using dual-quaternions and Kronecker product. Int. J. Phys. Sci. 5(10), 1530–1536 (2010)
Liang, R.H., Mao, J.F.: Hand-eye calibration with a new linear decomposition algorithm. J. Zhejiang Univ. Sci. A 9, 1363–1368 (2008)
Lu, Y.C., Chou, J.C.K.: Eight-space quaternion approach for robotic hand-eye calibration. In: IEEE International Conference on Systems, Man and Cybernetics. Intelligent Systems for the 21st Century, vol. 4, pp. 3316–3321 (1995)
Malti, A., Barreto, P.J.: Robust hand-eye calibration for computer aided medical endoscopy. In: IEEE International Conference on Robotics and Automation, pp. 5543–5549 (2010)
Pan, J., Ng, M.: Separable quaternion matrix factorization for polarization images. SIAM J. Imaging Sci. 16(3), 1281–1307 (2023)
Park, C.F., Martin, J.B.: Robot sensor calibration: solving ax=xb on the Euclidean group. IEEE Trans. Robot. Autom. 10(5), 717–721 (1994)
Qi, L.: Standard dual quaternion optimization and its applications in hand-eye calibration and slam. Commun. Appl. Math. Comput. 5, 1469–1483 (2023)
Qi, L., Ling, C., Yan, H.: Dual quaternions and dual quaternion vectors. Commun. Appl. Math. Comput. 4, 1494–1508 (2022)
Rodman, L.: Topics in Quaternion Linear Algebra. Princeton University Press, Princeton (2014)
Sarabandi, S., Porta, J.M., Thomas, F.: Hand-eye calibration made easy through a closed-form two-stage method. IEEE Robot. Autom. Lett. 7(2), 3679–3686 (2022)
Selig, J.M.: Rational Interpolation of Rigid-Body Motions, pp. 213–224. Springer, Berlin (2011)
Shah, M.: Solving the robot-world/hand-eye calibration problem using the Kronecker product. J. Mech. Robot. 5(3), 031007 (2013)
Shiu, Y., Ahmad, S.: Calibration of wrist-mounted robotic sensors by solving homogeneous transform equations of the form ax=xb. IEEE Trans. Robot. Auto. 5(1), 16–29 (1989)
Study, E.: Von den Bewegungen und Umlegungen. Math. Ann. 39, 441–565 (1891)
Tabb, A., Yousef, A.K.M.: Solving the robot-world hand-eye(s) calibration problem with iterative methods. Mach. Vis. Appl. 28(5–6), 569–590 (2017)
Tsai, Y.R., Lenz, K.R.: A new technique for fully autonomous and efficient 3D robotics hand/eye calibration. IEEE Trans. Robot. Autom. 5(3), 345–358 (1989)
Vince, A.J.: Rotation Transforms for Computer Graphics. Springer, London (2011)
Wang, C.C.: Extrinsic calibration of a vision sensor mounted on a robot. IEEE Trans. Robot. Autom. 8(2), 161–175 (1992)
Wang, Q.W., Woude, J.W.V.D., Hai-Xia, C.: A system of real quaternion matrix equations with applications. Linear Algebra Appl. 431, 2291–2303 (2009)
Wang, X., Huang, J., Song, H.: Simultaneous robot-world and hand-eye calibration based on a pair of dual equations. Measurement 181, 109623 (2021)
Wang, X., Huang, J., Song, H.: Robot-world and hand-eye calibration based on quaternion: a new method and an extension of classic methods, with their comparisons. Mech. Mach. Theory 179, 105–127 (2023)
Wang, X., Yu, C., Lin, Z.: A dual quaternion solution to attitude and position control for rigid-body coordination. IEEE Trans. Robot. 28(5), 1162–1170 (2012)
Wu, J., Sarabandi, S., Porta, M.J., Liu, M., Thomas, F.: Yet a better closed-form formula for the 3-D nearest rotation matrix problem. Institute of Robotics and Industrial Informatics, Technical Report IRI-TR-21-01 (2021)
Wu, J., Sun, Y., Wang, M., Liu, M.: Hand-eye calibration: 4-D procrustes analysis approach. IEEE Trans. Instrum. Meas. 69(6), 2966–2981 (2020)
Zhang, F.: Quaternions and matrices of quaternions. Linear Algebra Appl. 251, 21–57 (1997)
Zhang, F., Zhao, J., Wei, M., Li, Y.: Quaternion Matrix Computations. Nova Science Publisher, New York (2018)
Zhang, Z.: A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 22(11), 1330–1334 (2000)
Zhang, Z.: Cameras and inertial/magnetic sensor units alignment calibration. IEEE Trans. Instrum. Meas. 65(6), 1495–1502 (2016)
Zhang, Z., Zhang, L., Yang, G.: A computationally efficient method for hand-eye calibration. Int. J. Comput. Assist. Radiol. Surg. 12(10), 1775–1787 (2017)
Zhao, Z.: Simultaneous robot-world and hand-eye calibration by the alternative linear programming. IEEE Robot. Autom. Lett. 127, 174–180 (2019)
Zhao, Z., Liu, Y.: Hand-eye calibration based on screw motions. In: 18th International Conference on Pattern Recognition, vol. 3, pp. 1022–1026 (2006)
Zhuang, H., Roth, Z.S., Sudhakar, R.: Simultaneous robot/world and tool/flange calibration by solving homogeneous transformation equations of the form ax=yb. IEEE Trans. Robot. Autom. 10(4), 549–554 (1994)
Acknowledgements
The authors are very grateful to two anonymous referees for their helpful comments and suggestions.
Funding
The first author’s research was partially supported by the National Natural Science Foundation of China Grant (No. 12271217, 12471307). M. Ng was supported by the National Key Research and Development Program of China under Grant 2024YFE0202900, HKRGC GRF 17300021, C7004-21GF and Joint NSFC-RGC N-HKU76921.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Zhu, H., Ng, M.K. The Subspace Constrained Least Squares Solution of Unit Dual Quaternion Vector Equations and Its Application to Hand-Eye Calibration. J Sci Comput 103, 49 (2025). https://doi.org/10.1007/s10915-025-02866-5
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-025-02866-5
Keywords
- Unit dual quaternion vector equation
- Dual quaternions
- Dual number
- Robot-world calibration
- Hand-eye calibration