<div dir="ltr">Thanks Btradley,<div><br></div><div>I'm using ITV4 with compatibility set to V3, not sure if that would be an issue.</div><div><br></div><div>I tried adding the Centeredtransforminitializer to my example but it seems I need to change the transformtype to CenterRigidTransform rather than TranslationTransform, is that true? (I'm getting compilation erros)..</div><div><br></div><div>The example you point is 2D, I don't think there has been a 3D version of the MultiResImageRegistration1 with V4.. I'll try though to see if I can convert to 3D, it was pretty simple with the V3 version example.</div><div><br></div><div>Thanks again.</div><div><br></div><div>Matias.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 11:01 AM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello,<div><br></div><div>This message occurs when the images don't overlap.</div><div><br></div><div>If this error message occurs at the first iteration, its due to the initial parameters. If not then the optimizer is not setup correctly and is miss behaving due to scale, minimizing/maximizing, gradient noise etc..</div><div><br></div><div>Typically the CenterTransformInitializer[1] can be used to get reasonable initial parameters for many cases.</div><div><br></div><div>Also you are using the older ITKv3 registration framework. I would recommend using the v4 version of the example[2], I believe it give a clearer error message for this case.</div><div><br></div><div>Brad</div><div><br></div><div><br></div><div>[1] <a href="http://www.itk.org/Doxygen/html/classitk_1_1CenteredTransformInitializer.html" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1CenteredTransformInitializer.html</a></div><div>[2] <a href="http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv4_2MultiResImageRegistration1_8cxx-example.html" target="_blank">http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv4_2MultiResImageRegistration1_8cxx-example.html</a><br><div><div><div class="h5"><div>On Feb 11, 2015, at 8:50 AM, Matias Montroull <<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I'm trying to do 3D Registration using TranslationTransform as transformtype. I've downloaded MultiResImageRegistration3.cxx and when I run it I get this error:</div><div><br></div><div><b>Description: itk::ERROR: MattesMutualInformationImageToImageMetric(04067A40): Joint PDF summed to zero</b></div><div><b><br></b></div><div>Is this due to the initial parameters?</div><div><br></div><div>Thanks,</div><div><br></div><div>Matias.</div></div></div></div>
_____________________________________<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br></blockquote></div><br></div></div></blockquote></div><br></div>