#include "Image/Image.H"
#include <complex>
#include <fftw3.h>
Go to the source code of this file.
Classes | |
class | FourierEngine< T > |
Thin wrapper around the fftw3 library for the discrete fourier transform. More... | |
class | FourierInvEngine< T > |
Thin wrapper around the fftw3 for computing inverse fourier transforms. More... | |
Typedefs | |
typedef std::complex< double > | complexd |
typedef std::complex< float > | complexf |
Functions | |
template<class T > | |
Image< T > | magnitude (const Image< std::complex< T > > &img) |
Complex magnitude. | |
template<class T > | |
Image< T > | logmagnitude (const Image< std::complex< T > > &img) |
Logarithm of complex magnitude. | |
template<class T > | |
Image< T > | phase (const Image< std::complex< T > > &img) |
Compute the complex phase of the fourier result. | |
template<class T > | |
Image< T > | cartesian (const Image< T > &in, const Dims &dims) |
Morph a fourier result image from polar to cartesian coordinates. |
Thin wrapper around the fftw3 library
Definition in file FourierEngine.H.
Morph a fourier result image from polar to cartesian coordinates.
Definition at line 507 of file FourierEngine.C.
References Image< T >::coordsOk(), Image< T >::getHeight(), Image< T >::getSize(), Image< T >::getWidth(), Dims::h(), sqrt(), Dims::w(), and ZEROS.
Logarithm of complex magnitude.
Definition at line 466 of file FourierEngine.C.
References abs(), log(), min(), and NO_INIT.
Referenced by SpectralResidualChannel::getOutput().
Complex magnitude.
Definition at line 447 of file FourierEngine.C.
References abs(), and NO_INIT.
Referenced by lobot::TTIEstimator::compute_distance(), and PlotBuffer::SimTimeToSI().
Compute the complex phase of the fourier result.
Definition at line 488 of file FourierEngine.C.
References NO_INIT.
Referenced by StereoChannel::buildSubChans(), and SpectralResidualChannel::getOutput().