<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I tried to apply your example about using FFT. It works well, actually. </DIV>
<DIV> </DIV>
<DIV>However, it seems to have something wrong with the regression. </DIV>
<DIV> </DIV>
<DIV>To apply the FFT, each dimension of the input image should be a multiple of 2, right? </DIV>
<DIV> </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> </DIV>
<DIV>here is the code:</DIV>
<DIV> </DIV>
<DIV>int n=0;</DIV>
<DIV>worksize[0] = inputsize[0]; //inputsize[0] = 1024</DIV>
<DIV>while(worksize[i] >> = 1) n++;</DIV>
<DIV>worksize[0] = 1 << (n+1); //worksize[0] = 2048</DIV>
<DIV> </DIV>
<DIV>Isabelle</DIV>
<DIV> </DIV>
<DIV><BR><BR><B><I>Luis Ibanez <luis.ibanez@kitware.com></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>> Hi Luis,<BR>> <BR>> Thanks for helping me.<BR>> <BR>> I
can have access to the ITKsoftware but I don't have CVS installed on <BR>> my computer. Is it possible to you to send me?<BR>> <BR>> Isabelle<BR>> <BR>> <BR>> <BR>> */Luis Ibanez <LUIS.IBANEZ@KITWARE.COM>/* a écrit :<BR>> <BR>> <BR>> Hi Isabelle,<BR>> <BR>> <BR>> You will find an example on Fourier Domain filtering<BR>> in the ITK Software Guide<BR>> <BR>> <BR>> http://www.itk.org/ItkSoftwareGuide.pdf<BR>> <BR>> <BR>> In Section 6.10 "Frequency Domain", pdf-page 279.<BR>> <BR>> The corresponding source code examples are<BR>> available in the directory:<BR>> <BR>> <BR>> Insight/Examples/Filtering<BR>> <BR>> <BR>> Note that those examples are recent, so you will<BR>> have to use a CVS checkout of ITK in order to<BR>> find them.<BR>> <BR>> <BR>> <BR>> Regards,<BR>> <BR>> <BR>> Luis<BR>> <BR>> <BR>> <BR>> -----------------------<BR>> Renaud Isabelle
wrote:<BR>> <BR>> > Hi Remi,<BR>> ><BR>> > Sorry to bother you. I see your posted email to insight-users<BR>> list about<BR>> > how to compute FFT and delete some frequencies.<BR>> ><BR>> > This is exactly what I have to do now. I have to compute FFT of each<BR>> > lign of my 2D image and then, delete negative frequencie! s. But<BR>> I don't<BR>> > know how to do it. Can you advice me? I'm really lost.<BR>> ><BR>> > Thanks for help,<BR>> ><BR>> > Isabelle<BR>> ><BR>> > remi.charrier at cpe.fr<BR>> ><BR>> > /Wed Apr 13 17:39:34 EDT 2005/<BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> ><BR>> > hi all,<BR>> > I try to use the itk FFT and its inverse to delete some<BR>> frequencies in an<BR>> > image<BR>> > but the itk filters seem to not work.<BR>> > To know what is not working, I
tried to apply the FFT to my image<BR>> and just<BR>> > after I apply the FFT inverse to the result. It should give me<BR>> the same image<BR>> > than the initial one, but it does not.<BR>> > I am using<BR>> > #include "itkVnlFFTRealToComplexConjugateImageFilter.h"<BR>> > and<BR>> > #include "itkVnlFFTComplexConjugateToRealImageFilter.h"<BR>> > Does some! one know why it is not working or what I should do to<BR>> make it work?<BR>> ><BR>> > Thanks<BR>> > remi charrier<BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> > *Appel audio GRATUIT partout dans le monde* avec le nouveau<BR>> Yahoo! Messenger<BR>> > Téléchargez le ici !<BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> ------------------------------------------------------------------------<BR>> ><BR>> >
_______________________________________________<BR>> > Insight-users mailing list<BR>> > Insight-users@itk.org<BR>> > http://www.itk.org/mailman/listinfo/insight-users<BR>> <BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> *Appel audio GRATUIT partout dans le monde* avec le nouveau Yahoo! Messenger<BR>> Téléchargez le ici ! <BR>> <HTTP: fr.messenger.yahoo.com *http: default mail_taglines messenger us.rd.yahoo.com><BR>> <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>