DSPRelated.com
Forums

FFTW usage on images

Started by rech...@consolidated.net February 19, 2009
I'm new to using FFTw but have experience with other FFT routines.

My questions about FFTw software are:

In this call planForward = fftw_plan_dft_r2c_2d ( iyLeng, ixLeng, fftInFor, fftOutFor, FFTW_ESTIMATE ); can fftInFor and fftOutFor share memory as in an in-place transform.

In previous ffts I've used, they returned normalized data. In fftw it looks like I must scale the forward by 1/(iyLeng * ixLeng) if I wish the amplitude spectrum to be same as magnitude as input. I need the zero position value in the transform to be the value as the DC in the data. If I scale the forward transform do I need to scale the inverse also (haven't gotten code to this level yet to test).

At present, I am using the double precision version of fftw and would like to use the float version fftwf. I have the a dll and lib file for the latest fftwf. I wish to include them physically within my dll on Windows using VS2005 C (not .net). What happens now is that the fftwf dll has to be installed in the System32 folder to run the program. The previous version of the double version actually was included in my dll but can't get float version to do it.

RON C