[Insight-users] Question about getting current angle in eachiteration

Julien Jomier jjomier at cs.unc.edu
Thu Jul 29 19:44:33 EDT 2004


Hi Jay,

The observer in the registration process has access to the parameters of the
transformation. For instance, if you are using itkEuler3DTransform, the
first three parameters represents the current angles (around X,Y and Z). So
you can do something like:

double currentRotationAngleX = optimizer->GetCurrentPosition()[0];

and this will return the current angle around the X axis.

Hope this helps,

Julien

-----Original Message-----
From: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org]
On Behalf Of Jay Li
Sent: Thursday, July 29, 2004 5:41 PM
To: insight-users at itk.org
Subject: [Insight-users] Question about getting current angle in
eachiteration


Dear All,

I have a simple question about the observer in the process of registration.
Can I get the current rotation angle from each iteration? Does ITK have
GetCurrentAngle() this kind of function? 

Thanks.

Jay


Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.



More information about the Insight-users mailing list