#include <FourierTransform.h>
Public Methods | |
FourierTransform (FloatImage &input) | |
FourierTransform (FloatImage &input_real, FloatImage &input_imag) | |
void | fft () |
void | ifft () |
void | showMagnitude (int log_values) |
void | showPhase (int log_values) |
void | closeWindows () |
FloatImage | getReal () |
FloatImage | getImag () |
However, if the FFTW package is installed, the FFT can be applied on images with arbitrary dimensions. In this case padding to even width and height is performed for speeding-up the transform. Another reason for padding is that TiP uses the FFT to perform convolution with floating point convolution kernels which have to be aligned before the Fourier transformation takes place. For more information about "FFTW" library (The Fastest Fourier Transform in the West), please consult http://www.fftw.org.
test_fft.cpp, and test_timer.cpp.
Definition at line 28 of file FourierTransform.h.
|
Constructor that takes as argument the representation of an image in space domain. Definition at line 61 of file FourierTransform.cpp. |
|
Constructor which takes as argument the representation of an image in Fourier domain; the first argument represents the real part, while the second argument is the imaginary part. Definition at line 89 of file FourierTransform.cpp. |
|
Closes the magnitude and the phase windows.
Definition at line 265 of file FourierTransform.cpp. |
|
Performs Direct Fast Fourier Transform.
Definition at line 131 of file FourierTransform.cpp. Referenced by fft().
|
|
Gets the imaginary part of the values.
Definition at line 68 of file FourierTransform.h. Referenced by fft().
|
|
Gets the real part of the values.
Definition at line 65 of file FourierTransform.h. Referenced by fft(), and ifft().
|
|
Performs Inverse Fast Fourier Transform.
Definition at line 180 of file FourierTransform.cpp. Referenced by ifft().
|
|
Displays:
Definition at line 223 of file FourierTransform.cpp. |
|
Displays:
Definition at line 245 of file FourierTransform.cpp. |