[Insight-users] How to get Transformation Matrix from VersorRigid3DTransform
Luis Ibanez
luis.ibanez at kitware.com
Tue Feb 23 17:26:23 EST 2010
Hi Aya,
Please read the documentation of the itk::Versor class:
http://www.itk.org/Doxygen/html/classitk_1_1Versor.html
You will find useful the method:
MatrixType GetMatrix (void) const
Regards,
Luis
-----------------------------------------------------------------------------
On Tue, Feb 23, 2010 at 11:25 AM, Aya El Gebeely
<aya.elgebeely at symbyo.com> wrote:
> Thanks Michael,
>
> I just do not know how to use the versor to get from it the Rotation
> matrix..
>
> after transformation is done, we can get the versor through:
> transform->GetVersor()
>
> but after this, how to get the rotation Matrix ... excuse me, but my
> knowledge in this part is limited
>
> Appreciating your kind help,
> Aya
>
> On 23 February 2010 18:14, michiel mentink
> <michael.mentink at st-hughs.ox.ac.uk> wrote:
>>
>> Hi Aya,
>>
>> have you tried looking at the imageRegistration8 example?
>> itk/Examples/Registration/ImageRegistration8
>>
>> cheers, Michael
>>
>>
>> On Tue, Feb 23, 2010 at 3:26 PM, Aya El Gebeely <aya.elgebeely at symbyo.com>
>> wrote:
>>>
>>> Dear All,
>>>
>>> I'm using landMarkBasedTransformation --> VersorRigid3DTransform
>>>
>>> And after transformation is applied on each Land Mark, I need to get the
>>> resultant transformation matrix into an SbMatrix (Open Inventor Matrix) ..or
>>> even the translation/rotation/scale components of the transform..
>>>
>>> I've got the translation easily, but I can not get the rotation and
>>> scale..
>>>
>>> Would anyone help me through please?
>>>
>>> Regards,
>>> Aya R.
>>>
>>> _____________________________________
>>> 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.html
>>>
>>> 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://www.itk.org/mailman/listinfo/insight-users
>>>
>>
>
>
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list