29 #ifndef GRT_FFT_FEATURES_HEADER
30 #define GRT_FFT_FEATURES_HEADER
32 #include "../../CoreModules/FeatureExtraction.h"
52 FFTFeatures(UINT fftWindowSize=512,UINT numChannelsInFFTSignal=1,
bool computeMaxFreqFeature =
true,
bool computeMaxFreqSpectrumRatio =
true,
bool computeCentroidFeature =
true,
bool computeTopNFreqFeatures =
true,UINT N = 10);
100 virtual bool reset();
150 bool init(UINT fftWindowSize,UINT numChannelsInFFTSignal,
bool computeMaxFreqFeature,
bool computeMaxFreqSpectrumRatio,
bool computeCentroidFeature,
bool computeTopNFreqFeatures,UINT N);
156 UINT numChannelsInFFTSignal;
157 bool computeMaxFreqFeature;
158 bool computeMaxFreqSpectrumRatio;
159 bool computeCentroidFeature;
160 bool computeTopNFreqFeatures;
163 Float maxFreqFeature;
164 Float maxFreqSpectrumRatio;
165 Float centroidFeature;
175 #endif //GRT_FFT_FEATURES_HEADER
The FFT class computes the Fourier transform of an N dimensional signal using a Fast Fourier Transfor...