Hi Josiane,<br><br>The first thing that you should verify is the<br>values of the optimizerscales array.<br><br>The scale the proportion between the <br>rotation parameters (usually in the range<br>of  -1.0 to +1.0) and the translation <br>
parameters (usually in the range of<br>(-100.0 to +100.)<br><br>Please post to the list your source code <br>and the output generated by the command<br>observer that monitors the metric value<br>and Transform parameters at every iteration<br>
of the optimizer.<br><br>Note: <br>You don&#39;t need to rescale the images<br>in order to do registration with ITK.  <br>Just need to make sure that their <br>pixel spacing is correct.<br><br><br>     Thanks<br><br><br>          Luis<br>
<br><br>---------------------------------------------------<br><div class="gmail_quote">On Mon, Oct 18, 2010 at 10:26 AM, Josiane NJIWA <span dir="ltr">&lt;<a href="mailto:njiwa@biomed.ee.ethz.ch">njiwa@biomed.ee.ethz.ch</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Dear all,<br>
<br>
<br>
I am trying to registered sagittal views of mouse brain. For that i am using 3d versor rigid transform. I have tried to reduce at possible the translation scale and StepLength of the optimizer but i still cannot solve the problem. I guess that is due to the scale.<br>

I am just wondering if somedy can help me by telling how to do to rescale images before starting the registration process.<br>
<br>
Thanks,<br>
<br>
Josiane.<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>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<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>