FourierInvEngine< T > Class Template Reference

Thin wrapper around the fftw3 for computing inverse fourier transforms. More...

#include <Image/FourierEngine.H>

Collaboration diagram for FourierInvEngine< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FourierInvEngine (const Dims &d)
 Set up an engine for computing the inverse fft.
 ~FourierInvEngine ()
 Destructor.
Image< T > ifft (const Image< std::complex< T > > &x)
 Compute the complex->real inverse fourier transform of x.

Detailed Description

template<class T>
class FourierInvEngine< T >

Thin wrapper around the fftw3 for computing inverse fourier transforms.

Definition at line 92 of file FourierEngine.H.


Constructor & Destructor Documentation

template<class T >
FourierInvEngine< T >::FourierInvEngine ( const Dims d  )  [inline]

Set up an engine for computing the inverse fft.

Note that the dimensions passed here should be the dimensions of the expected OUTPUT array, not the dimensions of the input array.

Definition at line 345 of file FourierEngine.C.

References Dims::h(), and Dims::w().

template<class T >
FourierInvEngine< T >::~FourierInvEngine (  )  [inline]

Destructor.

Definition at line 379 of file FourierEngine.C.


Member Function Documentation

template<class T>
Image< T > FourierInvEngine< T >::ifft ( const Image< std::complex< T > > &  x  )  [inline]

Compute the complex->real inverse fourier transform of x.

The input is expected to be in the format/size generated by FourierEngine::fft().

Definition at line 395 of file FourierEngine.C.

References ASSERT, Image< T >::getArrayPtr(), Dims::h(), NO_INIT, and Dims::w().

Referenced by addNoise(), addPowerNoise(), and SpectralResidualChannel::getOutput().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:20 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3