[Insight-users] Versor problem

tony hakki tony2007vtk at yahoo.com
Fri Apr 6 05:14:24 EDT 2007


hello;
I have 2 questions:
 1- When we implement pointSetToImageRegistration Should we Set the center of transform like SetTransform(Center) ,if yes which data's center should it be,PointSet center or image center?

2- I use VersorRigid3DTransform,and I want to set Versor by my self and see the effect of Versor. But I set the versor type like the following then I get the transform parameters to confirm the versor variables it says that versor[0,    0,    -0.26745,   0.963572]  Why do the versor variables not   same what I set at the beginning?and What does the fourth one(  0.963572) indicate?


TransformType::VersorType versor;
versor.SetRotationAroundX( 0.276538 );
versor.SetRotationAroundY( 1.595315);
versor.SetRotationAroundZ( -0.5414906);
transform->SetRotation( versor );


 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070406/4decb030/attachment.htm


More information about the Insight-users mailing list