Registered Member
|
Hi,
I very newbie question but how can I get rotation and scaling matrices using SVD decomposition? I am sorry but I didn't find any example. Thanks in advance. |
Registered Member
|
The page on the JacobiSVD class in the API documentation comes with an example showing its basic usage. The rotation matrices is built from the singular vectors, and the scaling matrix from the singular values. I hope that is enough explanation for you. |
Moderator
|
You can simply put your matrix into an Affine3d (or similar) object and use computeRotationScaling:
http://eigen.tuxfamily.org/dox-devel/cl ... a9db9f8b4c It does what you want for you. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]