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<WorkImageType> 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->SetInput(img1);<br>hst->Update();<br>m_GainFilter->SetInput(hst->GetOutput());<br>
m_GainFilter->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< TImageType, TImageType >::GetOutput</a>(void), <a class="el" href="http://www.itk.org/Doxygen314/html/classitk_1_1ImageSource.html#63840a3f4d1f4da6e9675da2d4404c52">ImageToImageFilter< TImageType, TImageType >::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't answered. I am facing the same problem.<br>
<br clear="all">Regards,<br>Shankar Narayana (Nasa)<br>