<DIV>Hi,</DIV> <DIV> </DIV> <DIV>- You are right Julien: </DIV> <DIV>#define USE_FFTWD 1</DIV> <DIV>#include "itkFFTWRealToComplexConjugateImageFilter.h" removes the error that FFTWRealToConjugateComplexImageFilter is not a member of ITK. </DIV> <DIV> </DIV> <DIV>However, it is still not simple for me. Now, I have this kind of linking errors: </DIV> <DIV> </DIV> <DIV><STRONG><EM>"error LNK2019: symbole externe non résolu _fftw_destroy_plan référencé for</EM></STRONG></DIV> <DIV><FONT face="Courier New" size=2> <div><STRONG><EM>fftw_destroy_plan</EM></STRONG></div> <div><STRONG><EM>fftwf_destroy_plan</EM></STRONG></div> <div><STRONG><EM>fftw_execute</EM></STRONG></div> <div><STRONG><EM>fftw_plan_dft_r2c</EM></STRONG></div><FONT face="Courier New" size=2> <div><STRONG><EM>fftw_plan_dft_r2c_1d</EM></STRONG></div> <div><STRONG><EM>fftw_plan_dft_r2c_2d</EM></STRONG></div> <div></FONT><STRONG><EM>fftw_plan_dft_r2c_3d"</EM></STRONG></div>
<div><STRONG><EM></EM></STRONG> </div> <div>I believe that, maybe, <STRONG>ITK fftw librairies have not been built</STRONG>. Are there some ITK fftw librairies to build? Or do I have just to mention where are fftw.h and fftwd.lib as configuring ITK with CMake? As looking at FindFFTW.cmake, I find words about <STRONG>"libfftw.a-->double, libfftwf.a-->float":</STRONG> are there the names of ITK librairies for FFTW? If so, I made a search for these files in my ITK bin directory, and I didn't find them..... </div> <div> </div> <div>Isabelle</div> <div><EM></EM> </div> <div><EM> </div></EM> <div> </div> <div> </div></FONT><BR><B><I>Julien Jomier <jjomier@cs.unc.edu></I></B> a écrit :</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Isabelle,<BR><BR>you need to add:<BR><BR>#define USE_FFTWD 1<BR><BR>before including itkFFTWRealToComplexConjugateImageFilter.h in your
code<BR><BR>Hope that helps,<BR><BR>Julien<BR><BR>Renaud Isabelle wrote:<BR>> Hi,<BR>> <BR>> It's still concerning how to use FFTW witk ITK.<BR>> <BR>> Before, I was using Microsoft Visual C++ 6.0 whose compilator was buggy <BR>> to build fftw librairies. Since today, I have Microsoft Visual C++ 7.1. <BR>> So I downloaded from the official website and build without problem the <BR>> FFTW library (I got my *fftwd.lib* built with MSVC7.1).<BR>> <BR>> Then I have to rebuild ITK and VTK with CMake and MSVC7.1.<BR>> <BR>> As building ITK 2.2 witk CMake, I set *USE_FFTWD to ON*. I have no error <BR>> when compiling. So now, I supposed that I could use <BR>> itkFFTWRealToComplexImageFilter in my own project. However, introducing <BR>> the instruction "typedef <BR>> itk::FFTWRealToComplexConjugateImageFilter<DOUBLE, 2> FFTFilter; " in my <BR>> code still generates an error: <BR>> *"FFTWRealToComplexComplexConjugateImageFilter is not a
member of ITK"*. <BR>> *What do I have to do to make it a member of ITK???? Am I missing a step? *<BR>> <BR>> <BR>> - BTW, I would like to say that I tried another ways to compute my FFT <BR>> (with Numerical Recipes and Vnl) but it didn't work (zero padding caused <BR>> wrap problems and Vnl ifft computed module ). That is why I have to <BR>> insist. Actually, I make my boss buy Microsoft Visual C++ 7.1 software <BR>> in order to use itkFFTW, and it is still not working. I really need help.<BR>> <BR>> Isabelle<BR>> <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>> <BR>>
_______________________________________________<BR>> Insight-users mailing list<BR>> Insight-users@itk.org<BR>> http://www.itk.org/mailman/listinfo/insight-users<BR></BLOCKQUOTE> <DIV><BR></DIV><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>