r330: Initial CVS import
[ctsim.git] / include / fourier.h
diff --git a/include/fourier.h b/include/fourier.h
new file mode 100644 (file)
index 0000000..95aaeb0
--- /dev/null
@@ -0,0 +1,45 @@
+/*****************************************************************************\r
+** FILE IDENTIFICATION\r
+**\r
+**   Name:          fourier.h\r
+**   Purpose:       Header for Fourier transform functions\r
+**   Programmer:    Kevin Rosenberg\r
+**   Date Started:  Dec 2000\r
+**\r
+**  This is part of the CTSim program\r
+**  Copyright (C) 1983-2001 Kevin Rosenberg\r
+**\r
+**  $Id: fourier.h,v 1.1 2001/01/02 06:33:04 kevin Exp $\r
+**\r
+**  This program is free software; you can redistribute it and/or modify\r
+**  it under the terms of the GNU General Public License (version 2) as\r
+**  published by the Free Software Foundation.\r
+**\r
+**  This program is distributed in the hope that it will be useful,\r
+**  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+**  GNU General Public License for more details.\r
+**\r
+**  You should have received a copy of the GNU General Public License\r
+**  along with this program; if not, write to the Free Software\r
+**  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+******************************************************************************/\r
+\r
+#include <complex>\r
+\r
+class ImageFile;\r
+\r
+class Fourier {\r
+public:\r
+    static void shuffleFourierToNaturalOrder (ImageFile& im);\r
+    static void shuffleNaturalToFourierOrder (ImageFile& im);\r
+\r
+    static void shuffleNaturalToFourierOrder (float* pdVector, const int n);\r
+    static void shuffleNaturalToFourierOrder (double* pdVector, const int n);\r
+    static void shuffleNaturalToFourierOrder (std::complex<double>* pdVector, const int n);\r
+    static void shuffleFourierToNaturalOrder (float* pdVector, const int n);\r
+    static void shuffleFourierToNaturalOrder (double* pdVector, const int n);\r
+    static void shuffleFourierToNaturalOrder (std::complex<double>* pdVector, const int n);\r
+\r
+}; // namespace Fourier\r
+\r