00001 00002 // File : FFT.h 00004 // 00005 // Copyright 2006 00006 // The University of North Carolina at Chapel Hill 00007 // 00009 // 00010 // Permission to use, copy, modify, distribute and sell this software and its 00011 // documentation for any purpose is hereby granted without fee, provided that 00012 // the above copyright notice appear in all copies and that both that copyright 00013 // notice and this permission notice appear in supporting documentation. 00014 // Binaries may be compiled with this software without any royalties or 00015 // restrictions. 00016 // 00017 // The University of North Carolina at Chapel Hill makes no representations 00018 // about the suitability of this software for any purpose. It is provided 00019 // "as is" without express or implied warranty. 00020 // 00021 00022 #ifndef FFT_H 00023 #define FFT_H 00024 00025 #include <fftw3.h> 00026 #include <iostream> 00027 00028 using namespace std; 00029 00033 class FFT 00034 { 00035 public: 00036 FFT(); 00037 virtual ~FFT(); 00048 static bool convolve(float* source, float* kernel, int xSource, int ySource, int xKernel, int yKernel); 00049 }; 00050 00051 #endif
1.4.6