Hi Xi Liang,<div><br></div><div>Could you share with the list the aspects of this code</div><div>that are not compatible with ITK4 ?</div><div><br></div><div>Also, details on how to replicate your run will be very</div><div>
helpful for use to track the source of the problem.</div><div><br></div><div>Thanks</div><div><br></div><div>   Luis<br><br><br>&quot;Replicate or Perish&quot;<br>--------------------------------------------------------------<br>
<div class="gmail_quote">On Tue, May 22, 2012 at 4:19 AM, Xi Liang <span dir="ltr">&lt;<a href="mailto:xliang.cad@gmail.com" target="_blank">xliang.cad@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am running the groupwise registration code submitted in Insight<br>
Journal <a href="http://www.insight-journal.org/browse/publication/173" target="_blank">http://www.insight-journal.org/browse/publication/173</a><br>
<br>
I build the code using ITK 2.8.1 (with VS2009) as suggested in the<br>
documentation since it is not compatible with ITK4.0. I came across<br>
the following complains about the multi-threads. Do you have any idea<br>
what this message is about?<br>
<br>
message: Starting Registration<br>
message: Registration using UnivariateEntropyMultiImageMetric<br>
message: Transform Type AffineTransform<br>
message: Multiresolution level : 0<br>
message: Number of total parameters : 36<br>
message: Optimizertype : GradientDescentLineSearchOptimizer<br>
message: Optimizer # of Iter. to go : 91<br>
message: Optimizer learning rate : 0.0001<br>
message: Number of total pixels : 55440<br>
message: Number of used pixels : 2288<br>
ExceptionObject caught !<br>
<br>
itk::ExceptionObject (01C3E11C)<br>
Location: &quot;void __thiscall itk::MultiThreader::SingleMethodExecute(void)&quot;<br>
File: ..\..\..\Software\InsightToolkit-2.8.1\InsightToolkit-2.8.1\Code\Common\itkMultiThreader.cxx<br>
Line: 358<br>
Description: itk::ERROR: MultiThreader(0046CFD8): Exception occurred<br>
during SingleMethodExecute<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.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://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>