<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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">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">http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv4_2MultiResImageRegistration1_8cxx-example.html</a><br><div><div>On Feb 11, 2015, at 8:50 AM, Matias Montroull <<a href="mailto:matimontg@gmail.com">matimontg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><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>
_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/insight-users<br></blockquote></div><br></div></body></html>