X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Ffourier.h;h=5145cae37faebdd2902aa0971a38ca6472dc0351;hp=95aaeb01ed85d02e30ee2a121b9cfe4dd4fd5640;hb=c00c639073653fac7463a88f2b000f263236550d;hpb=23b7ef994fc5d95fcca6d4ae69abbd5971101262 diff --git a/include/fourier.h b/include/fourier.h index 95aaeb0..5145cae 100644 --- a/include/fourier.h +++ b/include/fourier.h @@ -1,45 +1,45 @@ -/***************************************************************************** -** FILE IDENTIFICATION -** -** Name: fourier.h -** Purpose: Header for Fourier transform functions -** Programmer: Kevin Rosenberg -** Date Started: Dec 2000 -** -** This is part of the CTSim program -** Copyright (C) 1983-2001 Kevin Rosenberg -** -** $Id: fourier.h,v 1.1 2001/01/02 06:33:04 kevin Exp $ -** -** 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 -** published by the Free Software Foundation. -** -** This program is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -** GNU General Public License for more details. -** -** You should have received a copy of the GNU General Public License -** along with this program; if not, write to the Free Software -** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -******************************************************************************/ - -#include - -class ImageFile; - -class Fourier { -public: - static void shuffleFourierToNaturalOrder (ImageFile& im); - static void shuffleNaturalToFourierOrder (ImageFile& im); - - static void shuffleNaturalToFourierOrder (float* pdVector, const int n); - static void shuffleNaturalToFourierOrder (double* pdVector, const int n); - static void shuffleNaturalToFourierOrder (std::complex* pdVector, const int n); - static void shuffleFourierToNaturalOrder (float* pdVector, const int n); - static void shuffleFourierToNaturalOrder (double* pdVector, const int n); - static void shuffleFourierToNaturalOrder (std::complex* pdVector, const int n); - -}; // namespace Fourier - +/***************************************************************************** +** FILE IDENTIFICATION +** +** Name: fourier.h +** Purpose: Header for Fourier transform functions +** Programmer: Kevin Rosenberg +** Date Started: Dec 2000 +** +** This is part of the CTSim program +** Copyright (C) 1983-2001 Kevin Rosenberg +** +** $Id: fourier.h,v 1.2 2001/01/02 16:02:12 kevin Exp $ +** +** 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 +** published by the Free Software Foundation. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +******************************************************************************/ + +#include + +class ImageFile; + +class Fourier { +public: + static void shuffleFourierToNaturalOrder (ImageFile& im); + static void shuffleNaturalToFourierOrder (ImageFile& im); + + static void shuffleNaturalToFourierOrder (float* pdVector, const int n); + static void shuffleNaturalToFourierOrder (double* pdVector, const int n); + static void shuffleNaturalToFourierOrder (std::complex* pdVector, const int n); + static void shuffleFourierToNaturalOrder (float* pdVector, const int n); + static void shuffleFourierToNaturalOrder (double* pdVector, const int n); + static void shuffleFourierToNaturalOrder (std::complex* pdVector, const int n); + +}; // namespace Fourier +