I'm currently trying to compute the fft of an image via fftw_plan_dft_2d.
To use this function, I'm linearizing the image data into an in array and calling the function mentioned above (and detailed below)
ftw_plan fftw_plan_dft_2d(int n0, int n1,
fftw_complex *in, fftw_complex *out,
int sign, unsigned flags);
The func modifies a complex array, out, with a size equal to the number of pixels in the original image.
Do you know if this is the proper way of computing the 2D FFT of an image? If so, what does the data within out represent? IE Where are the high and low frequency values in the array?
Thanks, djs22
I'm pretty sure that would imply that my lowest frequency content would be in the upper left hand corner and higher freq content would be in the bottom right?
With respect to the section in the manual; as you said that's explicitly for the real to complex function, but unfortunately I'm using the fftw_plan_dft_2d. – djs22 Mar 16 '11 at 18:59