#include "Image/FourierEngine.H"
#include "rutz/trace.h"
Go to the source code of this file.
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. | |
template Image< float > | magnitude (const Image< std::complex< float > > &) |
template Image< float > | logmagnitude (const Image< std::complex< float > > &) |
template Image< float > | phase (const Image< std::complex< float > > &) |
template Image< float > | cartesian (const Image< float > &, const Dims &) |
template Image< double > | magnitude (const Image< std::complex< double > > &) |
template Image< double > | logmagnitude (const Image< std::complex< double > > &) |
template Image< double > | phase (const Image< std::complex< double > > &) |
template Image< double > | cartesian (const Image< double > &, const Dims &) |
Thin wrapper around the fftw3 library
Definition in file FourierEngine.C.
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().