Hi Michael,<br><br>The values that are printed by the CommandIterationUpdate<br>are not relative to the initial Transform values. They are indeed<br>the current transform values.<br><br>The common mistakes in registration are:<br>
<br>   1)  Failing to initialize the Transform properly<br>        (Are you using the transform initializer ?)<br><br>   2)  Failing to set the parameter scales properly.<br>        (are you scaling rotations with respect to translations?)<br>
<br>   3)  Using unbalanced values in the settings of the optimizer<br>        E.g. a step length that is too large..<br><br><br>If you want more details...<br>then we were need more details about your registration setup   :-)<br>
<br><br> Regards,<br><br><br>       Luis<br><br><br>----------------------------------------------------------------------<br><div class="gmail_quote">On Tue, Jul 28, 2009 at 12:22 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am running some code and I am not sure I am interpreting the results correctly:<br>
<br>
 I have a CenteredRigid2DTransform that I use to register a pair of images. During setup I have access to values for the rotation that put me &quot;in the ballpark&quot; and so I use that to set the initial transform parameters. (lets say for argument sake that the value for the rotation is 0.6 radians).<br>

<br>
  As the registration proceeds I use a CommandIterationUpdate object (straight out of the Itk guide) to monitor the registration. What concerns me is that the rotation shown during the output of the registration is a value like 2.21E-5.<br>

<br>
  Question 1: Is the value that I see during the registration (as printed to the screen through the CommandIterationUpdate object) _relative_ to the initial rotation?<br>
<br>
  If Question 1 answer is, &quot;No it is absolute&quot; then what might I be doing wrong?<br>
<br>
If code is needed to elaborate on my question I can try and strip things down to try and show what I am doing.<br>
<br>
Thanks for any help.<br>
_________________________________________________________<br>
Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software                    <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer                  Dayton, Ohio<br>
<br>
<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br>