<div>Hi Luis,</div>
<div> </div>
<div> No, the images have (1,0,0/0,1,0/0,0,1) as direction cosines. Also, the images are from an in-line system which has identical slice spacing, so they are more or less registered already. I found that the 1.3 version of the same optimizer gave much better results. </div>

<div> </div>
<div>And no - I have not turned ON REVIEW or ITK_USE_OPTIMIZED_REGISTRATION_METHODS. Will they help ? I only found that I was not setting the direction in the resampler, but setting it only made things worse for the rotation values.</div>

<div> </div>
<div>regards</div>
<div>uma<br><br></div>
<div class="gmail_quote">On Sat, Mar 27, 2010 at 11:32 PM, Luis Ibanez <span dir="ltr">&lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Hi Uma,<br><br>Do your images have Orientation ?<br><br>That is, the value of their Direction matrix,<br>is it different from Identity ?<br><br>If so, the behavior of ITK 3.14 will be more<br>appropriate than the behavior of ITK 3.4.<br>
<br>Also:<br><br>Have you turned ON the use of the REVIEW<br>directory ?<br><br>are you using the flag<br><br>ITK_USE_OPTIMIZED_REGISTRATION_METHODS  ?<br><br><br>---<br><br>To assist you better, we will need more details<br>
about the registration that you are performing.<br><br><br>     Thanks<br><br><br>            Luis<br><br><br>-----------------------------------------------------------------------<br>On Sat, Mar 27, 2010 at 1:26 PM, Uma Ranjan &lt;<a href="mailto:usranjan@gmail.com">usranjan@gmail.com</a>&gt; wrote:<br>
</div>
<div>
<div></div>
<div class="h5">&gt; Dear all,<br>&gt;<br>&gt;<br>&gt;  I see a difference in the transform values (and visual performance) between<br>&gt; ITK 3.4 and 3.14 versions for the same images and identical parameters.<br>&gt;<br>
&gt;<br>&gt;<br>&gt;  I use VersorRigid3DTransform  with LinearInterpolateImageFunction as<br>&gt; interpolator,  MattesMutualInformationImageToImageMetric as metric and<br>&gt; VersorRigid3DTransformOptimizer as optimizer.<br>
&gt;<br>&gt; The performance seemed to be better in 3.4. Is there anything additional<br>&gt; that I need to specify between the two versions ?<br>&gt;<br>&gt; I have set the following parameters for the optimizer :<br>&gt;    SetScales(optimizerScales), setMaximumStepLength(.),<br>
&gt; setMinimumStepLength(.),SetNumberOfIterations(.), setRelaxationFactor(.),<br>&gt; MinimizeOn() ;<br>&gt;<br>&gt; For the Metric, I set the following :<br>&gt;<br>&gt;  SetNumberOfHistogramBins(), SetNumberOfSpatialSamples(.),<br>
&gt; ReiniitalizeSeed(.),<br>&gt;<br>&gt; Best regards<br>&gt;<br>&gt; Uma Ranjan<br>&gt;<br></div></div>
<div>
<div></div>
<div class="h5">&gt; _____________________________________<br>&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>&gt; Kitware offers ITK Training Courses, for more information visit:<br>&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;<br>&gt;<br></div></div></blockquote></div><br>