Changeset 1864 for trunk/psLib/src/image/psImageFFT.c
- Timestamp:
- Sep 23, 2004, 8:31:49 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageFFT.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageFFT.c
r1840 r1864 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2004-09-2 1 22:30:19 $7 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2004-09-23 18:31:49 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 24 24 #include "psImageErrors.h" 25 25 26 #define P _FFTW_PLAN_RIGOR FFTW_ESTIMATE26 #define PS_FFTW_PLAN_RIGOR FFTW_ESTIMATE 27 27 28 28 static bool p_fftwWisdomImported = false; … … 90 90 plan = fftwf_plan_dft_2d(numCols, numRows, 91 91 (fftwf_complex *) out->data.C32[0], 92 (fftwf_complex *) out->data.C32[0], direction, P _FFTW_PLAN_RIGOR);92 (fftwf_complex *) out->data.C32[0], direction, PS_FFTW_PLAN_RIGOR); 93 93 94 94 /* check if a plan exists now -- if not, it is a real problem */ … … 422 422 423 423 for (unsigned int col = 0; col < numCols; col++) { 424 real = creal f(inRow[col]);425 imag = cimag f(inRow[col]);424 real = creal(inRow[col]); 425 imag = cimag(inRow[col]); 426 426 outRow[col] = real * real + imag * imag / numElementsSquared; 427 427 }
Note:
See TracChangeset
for help on using the changeset viewer.
