Given an arbitrary 4×4 transformation matrix, how do I find out the center of rotation?
m = [m11 m12 m13 m14;
m21 m22 m23 m24;
m31 m32 m33 m34;
m41 m42 m43 m44]
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you know that
mis purely a rotation matrix, and not the aggregation of multiple transformations of different types, you can find the axis of rotation (vectorv) by solving the following equation:This works because rotating a vector about itself does not change the vector. (Note there are multiple solutions to this equation, but they all differ only by a scalar factor.)
Unfortunately, if you cannot be sure that
mdoes not include other transformations, I don’t know if you can find the axis of the rotation, or even if there is a unique axis of rotation to be found.