Hi,<br> I am using ITK for my project. When using AdaptiveHistogramEqualizationImageFilter, I had execution problems. The code takes too long time to execute and it stops.<br><pre style="font-family: trebuchet ms,sans-serif;">
<font style="font-family: times new roman,serif;" size="2">typedef itk::AdaptiveHistogramEqualizationImageFilter&lt;WorkImageType&gt; HistogramEqualizationType; <br>HistogramEqualizationType::Pointer hst = HistogramEqualizationType::New();</font><span style="font-family: trebuchet ms,sans-serif;"></span><br>
</pre>hst =<font><font style="font-family: times new roman,serif;" size="2">HistogramEqualizationType</font></font>::New();<br>hst-&gt;SetInput(img1);<br>hst-&gt;Update();<br>m_GainFilter-&gt;SetInput(hst-&gt;GetOutput());<br>
m_GainFilter-&gt;Update();<br><br>When I checked for the HistogramEqualization methods, get output seems to be inherited from 2 classed <a class="el" href="http://www.itk.org/Doxygen314/html/classitk_1_1ImageSource.html#63840a3f4d1f4da6e9675da2d4404c52">BoxImageFilter&lt; TImageType, TImageType &gt;::GetOutput</a>(void), <a class="el" href="http://www.itk.org/Doxygen314/html/classitk_1_1ImageSource.html#63840a3f4d1f4da6e9675da2d4404c52">ImageToImageFilter&lt; TImageType, TImageType &gt;::GetOutput</a>(void).<br>
  <br> So is ITK getting confused between which method to call and getting stuck there. <br><br> I saw the same kind of question posted on mail list Aug 3, 2005 by Isebelle. But it wasn&#39;t answered. I am facing the same problem.<br>
<br clear="all">Regards,<br>Shankar Narayana (Nasa)<br>