[ITK] [ITK-users] reference for setting versor components

Yaniv, Ziv Rafael (NIH/NLM/LHC) [C] zivrafael.yaniv at nih.gov
Fri May 12 10:18:31 EDT 2017


As far as I remember this class has a SetMatrix method, just be careful as the rotation will be around a given center.

The ITK global domain transformations are all of the form A(x-c) + t + c  , with the nomenclature being A: matrix, c: center, t: translation, and offset: t+c-Ac

     hope this helps
           Ziv


From: Andrew Harris <aharr8 at uwo.ca>
Date: Friday, May 12, 2017 at 10:06 AM
To: Insight-users <insight-users at itk.org>
Subject: [ITK-users] [ITK] reference for setting versor components

Hello,
I'm hoping someone has a reference that will allow me to convert from a 3X3 rotation matrix to a 3-member versor rotation for the purposes of setting a known rotation about one axis as an initialization.  For instance, if I wanted the equivalent of a 10 degree rotation about the x-axis, I can build a 3X3 rotation matrix using sines and cosines, but the project I'm working on is using VersorRigid3DTransform as the transform type for the registration, so I'd like to use that for the initial transform.

Any help is appreciated, thanks.

--

AH



-----------------------------------------------------------------------------------------------

This email and any attachments thereto may contain private, confidential, and privileged materials for the sole use of the intended recipient. Any reviewing, copying, or distribution of this email (or any attachments thereto) by other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently destroy this email and any attachments thereto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170512/bb920968/attachment-0001.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list