<DIV id=RTEContent>Hi,</DIV> <DIV> </DIV> <DIV>Sorry to bother you again with the computation of FFT but I am really trying to understand.</DIV> <DIV> </DIV> <DIV>Actually, I computed the FFT of a 2D matrix with Matlab of one side and ITK on the other side. Then, I have tried to compare the results but I didn't succeed. Yet, I am sure that my inputs of my FFT are the same but despite this, I really don't have the same results, even if I consider a scaling factor.</DIV> <div> </div> <div>- First of all, I am looking for the zero frequency, equalled to the sum of the elements of my input matrix. In matlab, the zero frequency, is the first element returned at the upper left corner of the matrix. But, with the itk Vnl FFT, this isn't corresponding. </div> <div> </div> <DIV>- I have taken a closer look at the vnl fft algorithm. itkVnlFFTRealToComplexConjugateImageFilter calls <STRONG>LegalDim() function that seems to return an error message
if one dimension is not of size of a power of 2</STRONG>. However, while computing the Vnl FFT of a 2D matrice of size 80*20, I got no error message returned. </DIV> <DIV> </DIV> <DIV>Taking a look at the functions <STRONG>vnl_fft_1d and vnl_fft_2d</STRONG>, it seems <STRONG>that fft_1d requires a size of power of 2</STRONG>. </DIV> <DIV> </DIV> <DIV>So my questions is:</DIV> <DIV>- <STRONG>does itkVnlFFTRealToComplexConjugateImageFilter need an input image of size of power of 2?</STRONG> If so, why don't I have any error while executing. </DIV> <DIV> </DIV> <DIV>- BTW, I read that<STRONG> itkVnlComplexConjugateToRealImageFilter returns not the ifft of a complex image but the absolute value of this ifft</STRONG>. Is it still true? Or is there any modification supplied for that? </DIV> <DIV> </DIV> <DIV>I really hope that someone could help me to understand vnl FFT. </DIV> <DIV> </DIV> <DIV>Isabelle</DIV> <DIV> </DIV>
<DIV> </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>