[Insight-users] QuaternionRigidTransform SetRotation

Luis Ibanez luis.ibanez at kitware.com
Sat Mar 31 12:33:28 EST 2007


Hi Tony,

Are you doing this for Initializing the transform
before starting the registration process ?


Please look at the documentation of this class:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1QuaternionRigidTransform.html

You can call the SetRotationMatrix() method.




    Regards,


       Luis



--------------------
tony hakki wrote:
> Hello;
> I am trying to implement pointsettoimageregistration and I use 
> QuaternionRigidTransform class. How should I set the rotation of this 
> transform?for example I set the translation like that  
> *finalTransform->SetTranslation( centerMovingimage - centerFixedpointset 
> );*  translation works fine ,but i also have to set rotation  . how can 
> I calculate the rotation matrix? I hope somebody will help me.
> Thank you very but very much
> Tony
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list