Public Types | Public Member Functions | Protected Attributes
vnl_fft_2d< T > Struct Template Reference

In-place 2D fast Fourier transform. More...

#include <vnl_fft_2d.h>

Inheritance diagram for vnl_fft_2d< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef vnl_fft_base< 2, T > base

Public Member Functions

 vnl_fft_2d (int M, int N)
 constructor takes size of signal.
void transform (vnl_matrix< vcl_complex< T > > &signal, int dir)
 dir = +1/-1 according to direction of transform.
void fwd_transform (vnl_matrix< vcl_complex< T > > &signal)
 forward FFT.
void bwd_transform (vnl_matrix< vcl_complex< T > > &signal)
 backward (inverse) FFT.
unsigned rows () const
 return size of signal.
unsigned cols () const
void transform (vcl_complex< T > *signal, int dir)
 dir = +1/-1 according to direction of transform.

Protected Attributes

vnl_fft_prime_factors< T > factors_ [D]
 prime factorizations of signal dimensions.

Detailed Description

template<class T>
struct vnl_fft_2d< T >

In-place 2D fast Fourier transform.

Definition at line 18 of file vnl_fft_2d.h.


Member Typedef Documentation

template<class T >
typedef vnl_fft_base<2, T> vnl_fft_2d< T >::base

Definition at line 20 of file vnl_fft_2d.h.


Constructor & Destructor Documentation

template<class T >
vnl_fft_2d< T >::vnl_fft_2d ( int  M,
int  N 
) [inline]

constructor takes size of signal.

Definition at line 23 of file vnl_fft_2d.h.


Member Function Documentation

template<class T >
void vnl_fft_2d< T >::bwd_transform ( vnl_matrix< vcl_complex< T > > &  signal) [inline]

backward (inverse) FFT.

Definition at line 37 of file vnl_fft_2d.h.

template<class T >
unsigned vnl_fft_2d< T >::cols ( ) const [inline]

Definition at line 42 of file vnl_fft_2d.h.

template<class T >
void vnl_fft_2d< T >::fwd_transform ( vnl_matrix< vcl_complex< T > > &  signal) [inline]

forward FFT.

Definition at line 33 of file vnl_fft_2d.h.

template<class T >
unsigned vnl_fft_2d< T >::rows ( ) const [inline]

return size of signal.

Definition at line 41 of file vnl_fft_2d.h.

void vnl_fft_base< D, T >::transform ( vcl_complex< T > *  signal,
int  dir 
) [inherited]

dir = +1/-1 according to direction of transform.

template<class T >
void vnl_fft_2d< T >::transform ( vnl_matrix< vcl_complex< T > > &  signal,
int  dir 
) [inline]

dir = +1/-1 according to direction of transform.

Definition at line 29 of file vnl_fft_2d.h.


Member Data Documentation

vnl_fft_prime_factors<T> vnl_fft_base< D, T >::factors_[D] [protected, inherited]

prime factorizations of signal dimensions.

Definition at line 27 of file vnl_fft_base.h.


The documentation for this struct was generated from the following file: