[Paper Review] Efficient conversion from rotating matrix to rotation axis and angle by extending Rodrigues' formula
This paper proposes a simple extension to Rodrigues' rotation formula that enables direct and unambiguous computation of the rotation angle from a rotation matrix and a given rotation axis, using the trace of the product of the axis's antisymmetric matrix and the rotation matrix to extract sinθ. The method resolves the sign ambiguity in angle recovery without manual intervention, significantly improving efficiency and correctness in 3D geometric computations.
In computational 3D geometric problems involving rotations, it is often that people have to convert back and forth between a rotational matrix and a rotation described by an axis and a corresponding angle. For this purpose, Rodrigues' rotation formula is a very popular expression to use because of its simplicity and efficiency. Nevertheless, while converting a rotation matrix to an axis of rotation and the rotation angle, there exists ambiguity. Further judgement or even manual interference may be necessary in some situations. An extension of the Rodrigues' formula helps to find the sine and cosine values of the rotation angle with respect to a given rotation axis is found and this simple extension may help to accelerate many applications.
Motivation & Objective
- Address the ambiguity in recovering the rotation angle from a rotation matrix when using Rodrigues' formula.
- Eliminate the need for manual or heuristic judgment in selecting the correct rotation angle when the rotation axis is known.
- Provide a computationally efficient and unambiguous method to convert rotation matrices to rotation axis-angle representation.
- Simplify and clarify code in applications requiring repeated conversion between rotation matrix and axis-angle representations.
Proposed method
- Extend Rodrigues' formula by deriving an expression for sinθ using the trace of the product of the antisymmetric matrix N (derived from the rotation axis n) and the rotation matrix R.
- Use the standard Rodrigues formula to compute cosθ from Tr(R) and the identity Tr(NR) = -2sinθ to compute sinθ.
- Leverage the two-argument arctangent function (atan2) to uniquely determine θ from both sinθ and cosθ, resolving sign ambiguity.
- Ensure the method is computationally lightweight, requiring only standard matrix operations and trace computations.
- Apply the method to recover both the rotation axis and angle from a given rotation matrix, using eigensystem analysis to identify the axis.
- Demonstrate the method's robustness through numerical examples using Mathematica, showing correct angle recovery without manual selection.
Experimental results
Research questions
- RQ1How can the sign ambiguity in rotation angle recovery from a rotation matrix be resolved when the rotation axis is known?
- RQ2What extension to Rodrigues' formula enables direct and unambiguous computation of the rotation angle using only matrix traces?
- RQ3Can the proposed method reduce or eliminate the need for manual judgment or complex heuristics in axis-angle conversion?
- RQ4How does the computational cost of the proposed method compare to conventional approaches in practical applications?
- RQ5What is the impact of this extension on code clarity, correctness, and performance in 3D geometric and robotic applications?
Key findings
- The proposed extension uses Tr(NR) = -2sinθ to compute sinθ directly from the rotation matrix R and the antisymmetric matrix N derived from the rotation axis n.
- By combining sinθ from Tr(NR) and cosθ from Tr(R), the correct rotation angle θ is uniquely determined using the atan2 function, eliminating ambiguity.
- The method requires minimal computational overhead, as N and R are already computed in standard Rodrigues' formula applications.
- Numerical examples confirm that the method correctly recovers θ = π/6 for a given axis n = (1/√2, 1/√2, 0), even when -n is also an eigenvector.
- The approach allows automatic selection of the correct axis-angle pair without requiring prior knowledge of the rotation direction or manual intervention.
- The method is general and applicable to any 3D rotation matrix, providing a robust and efficient solution for axis-angle conversion in robotics, computer graphics, and geometric computing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.