MediaX v1.1.2 [7554dd3]
Video streaming for military vehicles
Loading...
Searching...
No Matches
fft.h
1#ifndef CVTRACK_FFT_H_
2#define CVTRACK_FFT_H_
3
4#include <complex>
5#include <vector>
6
7namespace cvtrack
8{
9 namespace fft
10 {
11
12 // Computes the 1D Fast Fourier Transform (FFT) of a sequence of complex numbers.
13 void fft(std::vector<std::complex<double>> &x);
14
15 // Computes the 2D FFT of a 2D array of complex numbers.
16 void fft2d(std::vector<std::vector<std::complex<double>>> &x);
17
18 } // namespace fft
19} // namespace cvtrack
20
21#endif // CVTRACK_FFT_H_