<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"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></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 <<a href="mailto:usranjan@gmail.com">usranjan@gmail.com</a>> wrote:<br>
</div>
<div>
<div></div>
<div class="h5">> Dear all,<br>><br>><br>> I see a difference in the transform values (and visual performance) between<br>> ITK 3.4 and 3.14 versions for the same images and identical parameters.<br>><br>
><br>><br>> I use VersorRigid3DTransform with LinearInterpolateImageFunction as<br>> interpolator, MattesMutualInformationImageToImageMetric as metric and<br>> VersorRigid3DTransformOptimizer as optimizer.<br>
><br>> The performance seemed to be better in 3.4. Is there anything additional<br>> that I need to specify between the two versions ?<br>><br>> I have set the following parameters for the optimizer :<br>> SetScales(optimizerScales), setMaximumStepLength(.),<br>
> setMinimumStepLength(.),SetNumberOfIterations(.), setRelaxationFactor(.),<br>> MinimizeOn() ;<br>><br>> For the Metric, I set the following :<br>><br>> SetNumberOfHistogramBins(), SetNumberOfSpatialSamples(.),<br>
> ReiniitalizeSeed(.),<br>><br>> Best regards<br>><br>> Uma Ranjan<br>><br></div></div>
<div>
<div></div>
<div class="h5">> _____________________________________<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>><br>><br></div></div></blockquote></div><br>