<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I would like to use <STRONG>itkAdaptiveHistogramEqualizationImageFilter</STRONG> to compute a standard histogram equalization of my image.</DIV>
<DIV>&nbsp;</DIV>
<DIV>After&nbsp;having read Stark's article, I understood that I have to&nbsp;set up my filter such as:</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>typedef itk::AdaptiveHistogramEqualizationImageFilter&lt;WorkImageType&gt; HistogramEqualizationType;</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>HistogramEqualizationType::Pointer histeqFilter = HistogramEqualizationType::New();</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV>
<DIV><STRONG>//provide minimum info</STRONG></DIV>
<DIV><STRONG>histeqFilter-&gt;GetOutput()-&gt;ReleaseDataFlagOn();&nbsp;</STRONG></DIV>
<DIV>
<DIV><STRONG>HistogramEqualizationType::ImageSizeType radius;<BR>radius.Fill(0);<BR>histeqFilter-&gt;SetRadius(radius);&nbsp;&nbsp; </STRONG></DIV><STRONG>histeqFilter-&gt;SetAlpha(0);<BR>histeqFilter-&gt;SetBeta(0); </STRONG></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>histeqFilter-&gt;SetInput(image_initiale);<BR>rescaleFilter-&gt;SetInput(histeqFilter-&gt;GetOutput());</STRONG></DIV>
<DIV><STRONG>rescaleFilter-&gt;Update();</STRONG></DIV>
<DIV>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV>Please help,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Isabelle</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;<BR><BR><I><STRONG>Glen Lehmann &lt;glehmann@imaging.robarts.ca&gt;</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>&gt; Renaud Isabelle wrote:<BR>&gt;<BR>&gt;&gt; Hi guys,<BR>&gt;&gt; I am wondering if ITK/VTK has already an implemented function whichs <BR>&gt;&gt; applies an histogram equalization on an image.<BR>&gt;&gt; I read something on internet but didn't find nothing related to it.<BR>&gt;&gt; Thanks in advance,<BR>&gt;&gt; Isabelle<BR>&gt;&gt;<BR>&gt;&gt; ---------------------------------------------------------------------- <BR>&gt;&gt; --<BR>&gt;&gt; *Appel audio GRATUIT partout dans le monde* avec le nouveau
 Yahoo! <BR>&gt;&gt; Messenger<BR>&gt;&gt; Téléchargez le ici ! <BR>&gt;&gt; <HTTP: <br *http: default mail_taglines messenger us.rd.yahoo.com>&gt;&gt; fr.messenger.yahoo.com&gt;<BR>&gt;&gt;<BR>&gt;&gt; ---------------------------------------------------------------------- <BR>&gt;&gt; --<BR>&gt;&gt;<BR>&gt;&gt; _______________________________________________<BR>&gt;&gt; This is the private VTK discussion list. Please keep messages <BR>&gt;&gt; on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt;&gt; Follow this link to subscribe/unsubscribe:<BR>&gt;&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt;&gt;<BR>&gt; Page 360 and Figure 10-8 mention Histogram Equalization, that is used <BR>&gt; in "HistogramEqualization.tcl". I could not locate this file in my <BR>&gt; distribution. Nor could I find, in the documentation, any mention of a <BR>&gt; vtkImageHistogramEqualization object. It might be named something <BR>&gt; else, but that would best be exhibited in
 "HistogramEqualization.tcl".<BR>&gt;<BR>&gt; pete<BR>&gt;<BR>&gt; -- <BR>&gt; Peter G. Carswell The Ohio Supercomputer Center<BR>&gt; pete@osc.edu<BR>&gt; work: 614.292.1091 fax: 614.292.XXXX<BR>&gt; "DOC NOTE, I DISSENT. A FAST NEVER PREVENTS A FATNESS. I DIET ON COD."<BR>&gt; -Peter Hilton<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; This is the private VTK discussion list. Please keep messages <BR>&gt; on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt;<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>