1. Background
Rotational motion [
1] in the three-dimensional physical world refers to the circular movement of an object around a fixed axis [
2]. It is a basic concept and commonly used in physics, computer graphics, computer vision, robotics, aerospace, and other scientific fields [
3,
4,
5,
6]. More specifically, in many practical applications, rotational motion is not only an important means of constructing the motion of the target system [
7,
8] but also an important state parameter to be estimated [
9,
10,
11]. However, rotation motion is typically formulated as a non-linear and non-convex process [
11,
12]. It not only makes some linear algorithms, such as Kalman filter [
13,
14], impossible to directly apply [
15], but also makes solving the related problem more sophisticated and difficult [
12,
16].
In this paper, a new perspective is proposed that
the rotation motion can be linearized without dropping any constraints and increasing any singularities. It is particularly worth pointing out that there are no special and advanced techniques, such as Lie groups and Lie algebras [
17,
18], for the methods used in this paper. Only some basic knowledge of linear algebra [
19,
20,
21] is required to understand the ideas presented in this paper.
2. Rotation Motion
Mathematically, given a point
, if it is rotated about a fixed unit vector
through the origin and the rotated angle is
, then the rotation motion can be formulated by multiplication of a matrix and a vector,
where
is the rotated point by
and
is a
rotation matrix. There are some properties regarding the rotation motion [
22],
At first glance, the rotation motion is a linear process, which might be misled by the matrix representation Eq.(
1). Unfortunately,
is not a regular matrix in
. A rotation only has three degrees of freedom, since it can be determined by a rotation axis
and a rotation angle
. Formally,
, and a rotation can be represented by a matrix and non-linear constraints,
According to the famous Rodrigues’ rotation formula [
27,
28], given the rotation axis
and rotation angle
, the matrix can be constructed by
Moreover, a rotation matrix can be represented by a quaternion vector with unit length [
29,
30], such that
. Specifically,
It is worth noting that many different forms of parameter representation can represent the same rotation, and each form of representation has its appropriate application scenario [
2,
31,
32,
33]. For example, since a rotation can be determined by a fixed rotation axis
and a rotation angle
, then the rotation can be represented by axis–angle representation
[
34], which geometrically is a point in a 3D ball of radius
[
28] and has been widely used in pose estimation problems [
28,
35,
36]. Nonetheless, throughout most of this paper, quaternions are used to represent rotations [
29,
30] and thus to illustrate the proposed linearization theory.
Anyone who has ever used any other parametrization of the rotation group will, within hours of taking up the quaternion parametrization, lament his or her misspent youth [
2,
31].
3. Linear Expressions for Rotation Motion
Given
and a rotation
, the rotation motion can be formulated as
where
is rotated by
. This formulation is a special case of the next expression for rotational motion. Formally, given
and
whose quaternion expression is
,
Here
is constructed by
and
[
29,
37]. Specifically,
When
, Eq.(
7) degenerates back to Eq.(
6).
By conducting eigendecomposition of the real symmetric matrix
[
21,
38], where and
is an orthogonal matrix
. Observe
Therefore, the eigenvalue of
is
Accordingly,
. Let
, then
. Observe
Therefore, the possible rotation
can be reformulated linearly
where
. This result clearly shows that the rotational motion can be expressed in linear forms.
Geometrically, if
, then all possible rotation
that satisfy the constraint will be in a torus in
. For better understanding, we draw some special cases, i.e.,
via stereographic projection [
39,
40], as in
Figure 1. It is worth noting that when
, i.e.,
, the torus in
is degenerated into a one-dimensional circle, more specifically, a great circle [
41] in
. Formally,
In addition, when
, the torus is becoming to the Clifford torus in
[
42,
43], since it has the equal
diameters in cross directions. Specifically,
These special cases will be discussed in depth in subsequent sections.
4. Special Case I: Great Circle in
If , which means , it is one of the most common cases in practical applications. It is worth noting that there are two facts regarding ,
Then according to Eq. (
14) all rotations that satisfy
should be in
where
and
are the basis vectors in
, and they depend on
, i.e.,
and
. Geometrically speaking,
is a unit vector in
, which is a linear combination of the two vectors
and
. In addition,
, which means
is on the surface of the unit quaternion sphere. Therefore, the region where all possible rotations satisfy a specific rotation motion is a great circle in
[
41]. Moreover, since
, there will be
Up until this point, the rotation motion is linearly expressed, which is closely related to .
It is easy to confirm [
44,
45],
Therefore, any row of can be the eigenvector of with eigenvalue . Similarly, any row of can be the eigenvector of with eigenvalue 1.
Accordingly, (1) any row of
is a linear combination of
and
. (2) any row of
is a linear combination of
and
. Consequently,
;
and
are not orthogonal matrices. Therefore,
, more specifically,
Now the linear expression of is constructed.
Furthermore, if more than one rotation motion constraints are given, such that
Eventually, the corresponding linear system is constructed. It must be acknowledged that there is still a constraint of length 1, i.e., . However, the scale is not particularly important for homogeneous linear equations.
4.1. Alternative Way to Obtain Great Circle in
In this part, a geometrical approach to obtain a great circle in
is presented. Given the rotation motion
, the possible rotation can be formulated as [
9,
34]
where
is a rotation around rotated axis is
and rotated angle is
;
is a rotation that can rotate
to
. To use quaternion to represent rotation [
30],
The formula for the multiplication of two quaternions is [
29]
Therefore,
and
are two orthonormal bases in
, which can be considered as
and
in Eq. (
16). Consequently,
lies in the great circle in
.
5. Special Case II: Clifford Torus in
5.1. Alternative Way to Obtain Clifford Torus in
In the previous text, we provide a general derivation for the connection between rotation constraint, i.e., and Clifford torus. Here we show an alternative way to obtain Clifford torus from rotation constraint.
Given a rotation constraint
, the possible rotation
can be (see
Figure 2)
where
,
and
;
is a rotation that rotates
to
;
and
are rotations around directions
and
, respectively. The rotation motion can be as follows,
To use quaternion to represent rotation [
30]
The formula for the multiplication of two quaternions is [
29]
Define
, then
In addition, let
and
,
Geometrically, Eq. (
44) describes a Clifford torus [
42,
46] in
.
5.2. Intersections of Two Different Clifford Tori
Given two rotation constraints
and
, the possible rotation can be considered in the intersections of two Clifford tori (see
Figure 3). Here, a solution to solve the intersection line is presented. Specifically,
where
and
is an arbitrary vector and satisfies
;
is a specific arbitrary rotation that can rotate
to
;
and
.
According to Rodrigues’ rotation formula [
3], we have
Clearly, Eq.(
55) shows a one-dimensional curve constructed by
and
(see
Figure 4).
Specifically, given a
,
would be computed by Eq. (
55). Intuitively, one should solve the following equation
where
,
and
. According to the tangent half-angle formula, when
,
Accordingly,
can be computed and rotation
can be computed as well. Formally,
5.3. Intersections of Three Different Clifford Tori
Given three rotation constraints
,
and
, the possible rotation can be considered in the intersections of three Clifford tori. Note that it belongs to the famous E3Q3 problem [
47], and there are many solutions have been proposed to solve it [
48,
49,
50,
51,
52]. Here this paper provides a more straight linear way. Specifically,
There are two unknown variables and for two constraints, and the intersections can be computed.
According to tangent half-angle formula (a.k.a. Weierstrass substitution formulas),
Let
, and
, and when
,
,
The system of equations can be reformulated as
where
and
, Specifically,
and * is to calculate the matrix item by item. Geometrically, if only considering real solutions, it describes the intersections of two cures computed by observations in
plane (see
Figure 5).
Algebraically, it is a polynomial system containing two equations in two variables, which can be generally solved by resultant-based method [
53,
54,
55]. We donate
Both sides of the equations are multiplied by
x,
To solve
y, it is to solve
. This determinant is also known as a hidden-variable resultant in computer vision filed [
56,
57], and it is an univariate polynomial with degree 8 of the hidden variable
y.
In fact, the problem is not very complex, one can directly calculate the explicit expression of each term for the resultant-based method using symbolic math. Practically, one can obtain explicit coefficients
by the function
resultant in Matlab [
55] or the function
sympy.polys.polytools.resultant in SymPy
1, and this paper will not list all details to avoid long-and-tedious expressions for readability. Nonetheless, the solution of
y can be directly computed by solving roots of a univariate polynomial [
58,
59]. After solving
y, it is easy to calculate
x.
5.3.1. Linear Solution to Solve Intersections of Three Different Clifford Tori
Alternatively, Eq. (
70) can be rewritten as a quadratic eigenvalue problem, i.e.,
[
56,
57,
60].
where
,
and
. Specifically,
Notably, there is no
x and
y in
,
and
. Accordingly, it is easy to solve the system of polynomial equations by linear way [
60].
Specifically, the to-be-solved eigenvector of this problem is
and corresponding eigenvalue is
. Furthermore, the quadratic eigenvalue problem can be transformed into a generalized eigenvalue problem, i.e.,
[
61], which has been extensively studied [
57,
61,
62,
63]. Specifically,
Therefore, there will be 8 eigenvalues of this linear problem. The easiest way to solve this problem is using the Matlab function built-in
polyeig2. SciPy also provides a function
scipy.linalg.eig3 to solve generalized eigenvalue problems.
References
- Epp, R.J.; Mann, R.B.; McGrath, P.L. Rigid motion revisited: rigid quasilocal frames. Classical and Quantum Gravity 2009, 26, 035015. [Google Scholar] [CrossRef]
- Altmann, S.L. Rotations, quaternions, and double groups; Courier Corporation, 2005.
- Hartley, R.; Zisserman, A. Multiple view geometry in computer vision; Cambridge university press, 2003.
- Goel, R.; Gupta, P. Robotics and industry 4.0. A Roadmap to Industry 4.0: Smart Production, Sharp Business and Sustainable Development 2020, pp. 157–169.
- Teed, Z.; Deng, J. Raft-3d: Scene flow using rigid-motion embeddings. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2021, pp. 8375–8384.
- Kisantal, M.; Sharma, S.; Park, T.H.; Izzo, D.; Märtens, M.; D’Amico, S. Satellite pose estimation challenge: Dataset, competition design, and results. IEEE Transactions on Aerospace and Electronic Systems 2020, 56, 4083–4098. [Google Scholar] [CrossRef]
- Gul, F.; Rahiman, W.; Nazli Alhady, S.S. A comprehensive study for robot navigation techniques. Cogent Engineering 2019, 6, 1632046. [Google Scholar] [CrossRef]
- Huang, C.; Mees, O.; Zeng, A.; Burgard, W. Visual language maps for robot navigation. 2023 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2023, pp. 10608–10615.
- Bustos, A.P.; Chin, T.J. Guaranteed Outlier Removal for Point Cloud Registration with Correspondences. IEEE transactions on pattern analysis and machine intelligence 2018, 40, 2868–2882. [Google Scholar] [CrossRef]
- Eriksson, A.; Olsson, C.; Kahl, F.; Chin, T.J. Rotation averaging and strong duality. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018, pp. 127–135.
- Crassidis, J.L.; Markley, F.L.; Cheng, Y. Survey of nonlinear attitude estimation methods. Journal of guidance, control, and dynamics 2007, 30, 12–28. [Google Scholar] [CrossRef]
- Carlone, L.; others. Estimation Contracts for Outlier-Robust Geometric Perception. Foundations and Trends® in Robotics 2023, 11, 90–224. [Google Scholar] [CrossRef]
- Mathavaraj, S.; Butcher, E.A. SE (3)-constrained extended Kalman filtering for rigid body pose estimation. IEEE Transactions on Aerospace and Electronic Systems 2021, 58, 2482–2492. [Google Scholar] [CrossRef]
- Welch, G.F. Kalman filter. Computer Vision: A Reference Guide 2020, pp. 1–3.
- Trawny, N.; Roumeliotis, S.I. Indirect Kalman filter for 3D attitude estimation. University of Minnesota, Dept. of Comp. Sci. & Eng., Tech. Rep 2005, 2, 2005. [Google Scholar]
- Chin, T.J.; Suter, D. The maximum consensus problem: recent algorithmic advances; Springer Nature, 2022.
- Etingof, P. Lie groups and Lie algebras. arXiv arXiv:2201.09397.
- Dehmamy, N.; Walters, R.; Liu, Y.; Wang, D.; Yu, R. Automatic symmetry discovery with lie algebra convolutional network. Advances in Neural Information Processing Systems 2021, 34, 2503–2515. [Google Scholar]
- Gill, P.E.; Murray, W.; Wright, M.H. Numerical linear algebra and optimization; SIAM, 2021.
- Farin, G.; Hansford, D. Practical linear algebra: a geometry toolbox; Chapman and Hall/CRC, 2021.
- Horn, R.A.; Johnson, C.R. Matrix analysis; Cambridge university press, 2012.
- Taubin, G. 3D Rotations. IEEE Computer Graphics and Applications 2011, 31, 84–89. [Google Scholar] [CrossRef] [PubMed]
- Ball, R.S. The theory of screws: A study in the dynamics of a rigid body. Mathematische Annalen 1876, 9, 541–553. [Google Scholar] [CrossRef]
- Palais, B.; Palais, R. Euler’s fixed point theorem: The axis of a rotation. Journal of fixed point theory and applications 2007, 2, 215–220. [Google Scholar] [CrossRef]
- Kumar, V. The Theorems of Euler and Chasles. University of Pennsylvania School of Engineering and Applied Science, I-Net, USA 2000.
- Joseph, T. An alternative proof of Euler’s rotation theorem. The Mathematical Intelligencer 2020, 42, 44–49. [Google Scholar] [CrossRef]
- Fraiture, L. A history of the description of the three-dimensional finite rotation. The Journal of the Astronautical Sciences 2009, 57, 207–232. [Google Scholar] [CrossRef]
- Hartley, R.I.; Kahl, F. Global optimization through rotation space search. International Journal of Computer Vision 2009, 82, 64–79. [Google Scholar] [CrossRef]
- Jia, Y.B. Quaternions and rotations. Com S 2008, 477, 15. [Google Scholar]
- Quaternions and Spatial Rotation. [Online]. Available: https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation.
- Hartley, R.; Trumpf, J.; Dai, Y.; Li, H. Rotation averaging. International journal of computer vision 2013, 103, 267–305. [Google Scholar] [CrossRef]
- Kim, S.; Kim, M. Rotation representations and their conversions. IEEE Access 2023, 11, 6682–6699. [Google Scholar] [CrossRef]
- Shuster, M.D. A survey of attitude representation. Journal of The Astronautical Sciences 1993, 41, 439–517. [Google Scholar]
- Liu, Y. Globally Optimal Solutions for Unit-Norm Constrained Computer Vision Problems. PhD thesis, Technische Universität München, 2022.
- Liu, Y.; Dong, Y.; Song, Z.; Wang, M. 2d-3d point set registration based on global rotation search. IEEE Transactions on Image Processing 2018, 28, 2599–2613. [Google Scholar] [CrossRef] [PubMed]
- Yang, J.; Li, H.; Campbell, D.; Jia, Y. Go-ICP: A globally optimal solution to 3D ICP point-set registration. IEEE transactions on pattern analysis and machine intelligence 2015, 38, 2241–2254. [Google Scholar] [CrossRef]
- HORN, B.P. Closed-form solution of absolute orientation using unit quaternions. Journal of the Optical Society of America. A, Optics and image science 1987, 4, 629–642. [Google Scholar] [CrossRef]
- Peng, L.; Tsakiris, M.C.; Vidal, R. Arcs: Accurate rotation and correspondence search. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022, pp. 11153–11163.
- McClintock, P. Relating plane transformations with stereographic projection. PhD thesis, 2022.
- Wilkins, D.R. Möbius transformations and stereographic projection, 2017.
- Gluck, H. Great circle fibrations and contact structures on the 3-sphere. Geometriae Dedicata 2022, 216, 72. [Google Scholar] [CrossRef]
- Flat torus. [Online]. Available: https://en.wikipedia.org/wiki/Torus.
- Ayzenberg, A. Torus action on quaternionic projective plane and related spaces. Arnold Mathematical Journal 2021, 7, 243–266. [Google Scholar] [CrossRef]
- Srivatsan, R.A.; Rosen, G.T.; Mohamed, D.F.N.; Choset, H. Estimating SE (3) elements using a dual quaternion based linear Kalman filter. Robotics: Science and systems, 2016.
- Arun Srivatsan, R.; Zevallos, N.; Vagdargi, P.; Choset, H. Registration with a small number of sparse measurements. The International Journal of Robotics Research 2019, 38, 1403–1419. [Google Scholar] [CrossRef]
- Andersson, O.; Bengtsson, I. Clifford tori and unbiased vectors. Reports on mathematical physics 2017, 79, 33–51. [Google Scholar] [CrossRef]
- Kukelova, Z.; Heller, J.; Fitzgibbon, A. Efficient intersection of three quadrics and applications in computer vision. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 1799–1808.
- Xu, C.; Zhang, L.; Cheng, L.; Koch, R. Pose estimation from line correspondences: A complete analysis and a series of solutions. IEEE transactions on pattern analysis and machine intelligence 2016, 39, 1209–1222. [Google Scholar] [CrossRef]
- Yu, Q.; Xu, G.; Cheng, Y. An efficient and globally optimal method for camera pose estimation using line features. Machine Vision and Applications 2020, 31, 1–11. [Google Scholar] [CrossRef]
- Wang, P.; Xu, G.; Cheng, Y.; Yu, Q. Camera pose estimation from lines: a fast, robust and general method. Machine Vision and Applications 2019, 30, 603–614. [Google Scholar] [CrossRef]
- Chan, K. A simple mathematical approach for determining intersection of quadratic surfaces. In Multiscale optimization methods and applications; Springer, 2006; pp. 271–298.
- Sarraga, R.F. Algebraic methods for intersections of quadric surfaces in GMSOLID. Computer Vision, Graphics, and Image Processing 1983, 22, 222–238. [Google Scholar] [CrossRef]
- Sturmfels, B. Introduction to resultants. Proceedings of Symposia in Applied Mathematics. American Mathematical Society, 1998, Vol. 53, pp. 25–40.
- Woody, H. Polynomial resultants. GNU operating system 2016. [Google Scholar]
- MathWorks. Resultant of two polynomials. [Online]. Available: https://www.mathworks.com/help/symbolic/sym.resultant.html.
- Hartley, R.; Li, H. An efficient hidden variable approach to minimal-case camera motion estimation. IEEE transactions on pattern analysis and machine intelligence 2012, 34, 2303–2314. [Google Scholar] [CrossRef] [PubMed]
- Kukelova, Z.; Bujnak, M.; Pajdla, T. Polynomial eigenvalue solutions to minimal problems in computer vision. IEEE Transactions on Pattern Analysis and Machine Intelligence 2011, 34, 1381–1393. [Google Scholar] [CrossRef] [PubMed]
- Pan, V.Y. Good News for Polynomial Root-finding. arXiv arXiv:1805.12042.
- Kalantari, B. Polynomial root-finding and polynomiography; World Scientific, 2008.
- Tisseur, F.; Meerbergen, K. The quadratic eigenvalue problem. SIAM review 2001, 43, 235–286. [Google Scholar] [CrossRef]
- Ghojogh, B.; Karray, F.; Crowley, M. Eigenvalue and Generalized Eigenvalue Problems: Tutorial, 2023, [arXiv:stat.ML/1903.11240].
- Williams, M.P. Solving polynomial equations using linear algebra. Johns Hopkins APL Technical Digest 2010, 28, 354–363. [Google Scholar]
- Lancaster, P.; Zaballa, I. Diagonalizable quadratic eigenvalue problems. Mechanical Systems and Signal Processing 2009, 23, 1134–1144. [Google Scholar] [CrossRef]
|
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. |
© 2024 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 (http://creativecommons.org/licenses/by/4.0/).