<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I would like to use <STRONG>itkAdaptiveHistogramEqualizationImageFilter</STRONG> to compute a standard histogram equalization of my image.</DIV>
<DIV> </DIV>
<DIV>After having read Stark's article, I understood that I have to set up my filter such as:</DIV>
<DIV> </DIV>
<DIV><STRONG>typedef itk::AdaptiveHistogramEqualizationImageFilter<WorkImageType> HistogramEqualizationType;</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><STRONG>HistogramEqualizationType::Pointer histeqFilter = HistogramEqualizationType::New();</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV>
<DIV><STRONG>//provide minimum info</STRONG></DIV>
<DIV><STRONG>histeqFilter->GetOutput()->ReleaseDataFlagOn(); </STRONG></DIV>
<DIV>
<DIV><STRONG>HistogramEqualizationType::ImageSizeType radius;<BR>radius.Fill(0);<BR>histeqFilter->SetRadius(radius); </STRONG></DIV><STRONG>histeqFilter->SetAlpha(0);<BR>histeqFilter->SetBeta(0); </STRONG></DIV></DIV>
<DIV> </DIV>
<DIV><STRONG>histeqFilter->SetInput(image_initiale);<BR>rescaleFilter->SetInput(histeqFilter->GetOutput());</STRONG></DIV>
<DIV><STRONG>rescaleFilter->Update();</STRONG></DIV>
<DIV> </DIV>
<DIV>-- However, it seems that such a thing takes a real long time, and I don't know why. So did I miss something?</DIV>
<DIV> </DIV>
<DIV>-- Moreover, my result, if any, is a dark image. so I am wondering if my input image (image_initiale) should be a rescaled image (gray values in [0 255])</DIV>
<DIV> </DIV>
<DIV>Please help,</DIV>
<DIV> </DIV>
<DIV>Isabelle</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> <BR><BR><I><STRONG>Glen Lehmann <glehmann@imaging.robarts.ca></STRONG></I> a écrit :</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hey,<BR><BR>The best and most comprehensive itk and/or vtk example can be found <BR>here:<BR><BR>http://www.itk.org/Doxygen/html/ <BR>classitk_1_1AdaptiveHistogramEqualizationImageFilter.html<BR><BR>AHE's kinka tricky but J.A. Stark does a pretty good job of explaining <BR>it in the original paper.<BR><BR>HTH,<BR>g<BR><BR>On Aug 2, 2005, at 4:09 PM, Peter G Carswell wrote:<BR><BR>> Renaud Isabelle wrote:<BR>><BR>>> Hi guys,<BR>>> I am wondering if ITK/VTK has already an implemented function whichs <BR>>> applies an histogram equalization on an image.<BR>>> I read something on internet but didn't find nothing related to it.<BR>>> Thanks in advance,<BR>>> Isabelle<BR>>><BR>>> ---------------------------------------------------------------------- <BR>>> --<BR>>> *Appel audio GRATUIT partout dans le monde* avec le nouveau
Yahoo! <BR>>> Messenger<BR>>> Téléchargez le ici ! <BR>>> <HTTP: <br *http: default mail_taglines messenger us.rd.yahoo.com>>> fr.messenger.yahoo.com><BR>>><BR>>> ---------------------------------------------------------------------- <BR>>> --<BR>>><BR>>> _______________________________________________<BR>>> This is the private VTK discussion list. Please keep messages <BR>>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>>> Follow this link to subscribe/unsubscribe:<BR>>> http://www.vtk.org/mailman/listinfo/vtkusers<BR>>><BR>> Page 360 and Figure 10-8 mention Histogram Equalization, that is used <BR>> in "HistogramEqualization.tcl". I could not locate this file in my <BR>> distribution. Nor could I find, in the documentation, any mention of a <BR>> vtkImageHistogramEqualization object. It might be named something <BR>> else, but that would best be exhibited in
"HistogramEqualization.tcl".<BR>><BR>> pete<BR>><BR>> -- <BR>> Peter G. Carswell The Ohio Supercomputer Center<BR>> pete@osc.edu<BR>> work: 614.292.1091 fax: 614.292.XXXX<BR>> "DOC NOTE, I DISSENT. A FAST NEVER PREVENTS A FATNESS. I DIET ON COD."<BR>> -Peter Hilton<BR>><BR>><BR>> _______________________________________________<BR>> This is the private VTK discussion list. Please keep messages <BR>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>> Follow this link to subscribe/unsubscribe:<BR>> http://www.vtk.org/mailman/listinfo/vtkusers<BR>><BR><BR></BLOCKQUOTE><p>
                <hr size=1>
<b><font color=#FF0000>Appel audio GRATUIT</font> partout dans le monde</b> avec le nouveau Yahoo! Messenger<br>
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com">Téléchargez le ici !</a>