** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: fourier.h,v 1.7 2001/03/21 21:45:31 kevin Exp $
+** $Id$
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
******************************************************************************/
#include <complex>
+#ifdef HAVE_FFTW
+#include <fftw3.h>
+#endif
class ImageFile;
static void shuffleFourierToNaturalOrder (ImageFile& im);
static void shuffleNaturalToFourierOrder (ImageFile& im);
+#ifdef HAVE_FFTW
+ static void shuffleFourierToNaturalOrder (fftw_complex* pc, const int n);
+ static void shuffleNaturalToFourierOrder (fftw_complex* pc, const int n);
+#endif
+
// Odd Number of Points
// Natural Frequency Order: -(n-1)/2...-1,0,1...(n-1)/2
// Fourier Frequency Order: 0, 1..(n-1)/2,-(n-1)/2...-1