<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried to apply your example about using FFT. It works well, actually. </DIV>
<DIV>&nbsp;</DIV>
<DIV>However, it seems to have something wrong with the regression. </DIV>
<DIV>&nbsp;</DIV>
<DIV>To apply the FFT, each dimension of the input image should be a multiple of 2, right? </DIV>
<DIV>&nbsp;</DIV>
<DIV>In one of my test image, it seems that the regression will find 2048 as the nearest multiple of 2 of my real dimension 1024. Is it correct? What not use 1024 instead? </DIV>
<DIV>&nbsp;</DIV>
<DIV>here is the code:</DIV>
<DIV>&nbsp;</DIV>
<DIV>int n=0;</DIV>
<DIV>worksize[0] = inputsize[0]; //inputsize[0] = 1024</DIV>
<DIV>while(worksize[i] &gt;&gt; = 1) n++;</DIV>
<DIV>worksize[0] = 1 &lt;&lt; (n+1); //worksize[0] = 2048</DIV>
<DIV>&nbsp;</DIV>
<DIV>Isabelle</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR><B><I>Luis Ibanez &lt;luis.ibanez@kitware.com&gt;</I></B> a écrit :</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Isabelle,<BR><BR>You can get the examples from the Web CVS portal.<BR><BR>http://www.itk.org/cgi-bin/viewcvs.cgi/?cvsroot=Insight<BR><BR><BR>Note that CVS access is a fundamental need for<BR>participating of an Open Source community.<BR><BR>I would *strongly* encourage you to expose your institution<BR>to the importance of CVS and how it enables you to take<BR>advantage of the abundant free resources the Open Source<BR>movement is making available.<BR><BR>If you oppose resistance from stubborn or retrograde<BR>system administrators that are fearful of opening<BR>CVS ports in a firewall, then please let us know,<BR>we will be glad of helping you educate your system<BR>administrator.<BR><BR><BR><BR>Best regards,<BR><BR><BR><BR>Luis<BR><BR><BR><BR><BR>-----------------------<BR>Renaud Isabelle wrote:<BR><BR>&gt; Hi Luis,<BR>&gt; <BR>&gt; Thanks for helping me.<BR>&gt; <BR>&gt; I
 can have access to the ITKsoftware but I don't have CVS installed on <BR>&gt; my computer. Is it possible to you to send me?<BR>&gt; <BR>&gt; Isabelle<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; */Luis Ibanez <LUIS.IBANEZ@KITWARE.COM>/* a écrit :<BR>&gt; <BR>&gt; <BR>&gt; Hi Isabelle,<BR>&gt; <BR>&gt; <BR>&gt; You will find an example on Fourier Domain filtering<BR>&gt; in the ITK Software Guide<BR>&gt; <BR>&gt; <BR>&gt; http://www.itk.org/ItkSoftwareGuide.pdf<BR>&gt; <BR>&gt; <BR>&gt; In Section 6.10 "Frequency Domain", pdf-page 279.<BR>&gt; <BR>&gt; The corresponding source code examples are<BR>&gt; available in the directory:<BR>&gt; <BR>&gt; <BR>&gt; Insight/Examples/Filtering<BR>&gt; <BR>&gt; <BR>&gt; Note that those examples are recent, so you will<BR>&gt; have to use a CVS checkout of ITK in order to<BR>&gt; find them.<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Regards,<BR>&gt; <BR>&gt; <BR>&gt; Luis<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; -----------------------<BR>&gt; Renaud Isabelle
 wrote:<BR>&gt; <BR>&gt; &gt; Hi Remi,<BR>&gt; &gt;<BR>&gt; &gt; Sorry to bother you. I see your posted email to insight-users<BR>&gt; list about<BR>&gt; &gt; how to compute FFT and delete some frequencies.<BR>&gt; &gt;<BR>&gt; &gt; This is exactly what I have to do now. I have to compute FFT of each<BR>&gt; &gt; lign of my 2D image and then, delete negative frequencie! s. But<BR>&gt; I don't<BR>&gt; &gt; know how to do it. Can you advice me? I'm really lost.<BR>&gt; &gt;<BR>&gt; &gt; Thanks for help,<BR>&gt; &gt;<BR>&gt; &gt; Isabelle<BR>&gt; &gt;<BR>&gt; &gt; remi.charrier at cpe.fr<BR>&gt; &gt;<BR>&gt; &gt; /Wed Apr 13 17:39:34 EDT 2005/<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; &gt;<BR>&gt; &gt; hi all,<BR>&gt; &gt; I try to use the itk FFT and its inverse to delete some<BR>&gt; frequencies in an<BR>&gt; &gt; image<BR>&gt; &gt; but the itk filters seem to not work.<BR>&gt; &gt; To know what is not working, I
 tried to apply the FFT to my image<BR>&gt; and just<BR>&gt; &gt; after I apply the FFT inverse to the result. It should give me<BR>&gt; the same image<BR>&gt; &gt; than the initial one, but it does not.<BR>&gt; &gt; I am using<BR>&gt; &gt; #include "itkVnlFFTRealToComplexConjugateImageFilter.h"<BR>&gt; &gt; and<BR>&gt; &gt; #include "itkVnlFFTComplexConjugateToRealImageFilter.h"<BR>&gt; &gt; Does some! one know why it is not working or what I should do to<BR>&gt; make it work?<BR>&gt; &gt;<BR>&gt; &gt; Thanks<BR>&gt; &gt; remi charrier<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; &gt; *Appel audio GRATUIT partout dans le monde* avec le nouveau<BR>&gt; Yahoo! Messenger<BR>&gt; &gt; Téléchargez le ici !<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; &gt;<BR>&gt; &gt;
 _______________________________________________<BR>&gt; &gt; Insight-users mailing list<BR>&gt; &gt; Insight-users@itk.org<BR>&gt; &gt; http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; *Appel audio GRATUIT partout dans le monde* avec le nouveau Yahoo! Messenger<BR>&gt; Téléchargez le ici ! <BR>&gt; <HTTP: fr.messenger.yahoo.com *http: default mail_taglines messenger us.rd.yahoo.com><BR>&gt; <BR><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>