GestureRecognitionToolkit
Version: 0.1.0
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
|
The FFT class computes the Fourier transform of an N dimensional signal using a Fast Fourier Transform algorithm. More...
Go to the source code of this file.
Classes | |
class | FFT |
The FFT class computes the Fourier transform of an N dimensional signal using a Fast Fourier Transform algorithm.
The FFT class computes N independent FFTs, one for each dimension in the input signal. The FFT is computed using the previous M samples input to the FFT instance, where M is equal to the FFT Window Size parameter, which is set by the user when they initialize the FFT. The FFT Window Size parameter must be a power of two (16,32,64,128,256,512,1024,2048,4096,etc.). Note that, because of the symmetries within the FFT computation, the results of an FFT will be half the FFT Window Size. This means that if you create an FFT with a Window Size of 256, the resulting vectors that you will get (such as the magnitude and phase) will each have 128 elements in them.
For each N dimensional input signal, the FFT will output:
Definition in file FFT.h.