Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_fft2d< T > Class Template Reference

#include <vnl_fft2d.h>

Inheritance diagram for vnl_fft2d:

Inheritance graph
[legend]
Collaboration diagram for vnl_fft2d< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vnl_matrix< vcl_complex<
T > > 
base

Public Methods

 vnl_fft2d (const vnl_matrix< T > &real)
 vnl_fft2d (const vnl_matrix< vcl_complex< T > > &z, int dir)
 vnl_fft2d (const vnl_matrix< T > &r, const vnl_matrix< T > &i, const vnl_fftxd_prime_factors< T > &oPFx, const vnl_fftxd_prime_factors< T > &oPFy, int dir)
 vnl_fft2d (const vnl_matrix< T > &r, const vnl_fftxd_prime_factors< T > &oPFx, const vnl_fftxd_prime_factors< T > &oPFy, int dir)
 vnl_fft2d (const T *realdata, const T *imagdata, unsigned int iRows, unsigned int iCols, const vnl_fftxd_prime_factors< T > &oPFx, const vnl_fftxd_prime_factors< T > &oPFy, int dir)
 vnl_fft2d (const T *data, unsigned int iRows, unsigned int iCols, const vnl_fftxd_prime_factors< T > &oPFx, const vnl_fftxd_prime_factors< T > &oPFy, int dir)
 vnl_fft2d (const vnl_matrix< vcl_complex< T > > &c, const vnl_fftxd_prime_factors< T > &oPFx, const vnl_fftxd_prime_factors< T > &oPFy, int dir)
 vnl_fft2d (const vcl_complex< T > *cdata, unsigned int iRows, unsigned int iCols, const vnl_fftxd_prime_factors< T > &oPFx, const vnl_fftxd_prime_factors< T > &oPFy, int dir)

Static Public Methods

int doFFT_IP (vcl_complex< T > *cdata, unsigned int rows, unsigned int cols, const vnl_fftxd_prime_factors< T > &oPFx, const vnl_fftxd_prime_factors< T > &oPFy, int dir)

Detailed Description

template<class T>
class vnl_fft2d< T >

Templated 2D FFT class based on Temperton FFT routines.

C TEMPERTON A GENERALIZED PRIME FACTOR FFT ALGORITHM FOR ANY SIAM J. SCI. STAT. COMP., MAY 1992.)

original temperton-code (fortran) converted using f2c with -C++ option. Two versions created: float and double.

subclassed from vnl_matrix<vnl_complex>, i.e. internally uses vnl_matrix<vnl_complex> for storing the data

one super-simple constructor, all it takes as input is an vnl_matrix<float> for which it will compute the FFT. For efficiency, all other constructors take as an argument two PrimeFactors<T>-objects which have to be initialised before the call do doFFT. These PrimeFactors<T> objects contain the prime-factors of the 'number' (the size of the array) to be FFT'd. (integral part of Temperton's algorithm)

Definition at line 39 of file vnl_fft2d.h.


Member Typedef Documentation

template<class T>
typedef vnl_matrix<vcl_complex<T> > vnl_fft2d< T >::base
 

Definition at line 41 of file vnl_fft2d.h.


Constructor & Destructor Documentation

template<class T>
vnl_fft2d< T >::vnl_fft2d const vnl_matrix< T > &    real
 

template<class T>
vnl_fft2d< T >::vnl_fft2d const vnl_matrix< vcl_complex< T > > &    z,
int    dir
 

template<class T>
vnl_fft2d< T >::vnl_fft2d const vnl_matrix< T > &    r,
const vnl_matrix< T > &    i,
const vnl_fftxd_prime_factors< T > &    oPFx,
const vnl_fftxd_prime_factors< T > &    oPFy,
int    dir
 

(real,imag)-constructors.

template<class T>
vnl_fft2d< T >::vnl_fft2d const vnl_matrix< T > &    r,
const vnl_fftxd_prime_factors< T > &    oPFx,
const vnl_fftxd_prime_factors< T > &    oPFy,
int    dir
 

template<class T>
vnl_fft2d< T >::vnl_fft2d const T *    realdata,
const T *    imagdata,
unsigned int    iRows,
unsigned int    iCols,
const vnl_fftxd_prime_factors< T > &    oPFx,
const vnl_fftxd_prime_factors< T > &    oPFy,
int    dir
 

template<class T>
vnl_fft2d< T >::vnl_fft2d const T *    data,
unsigned int    iRows,
unsigned int    iCols,
const vnl_fftxd_prime_factors< T > &    oPFx,
const vnl_fftxd_prime_factors< T > &    oPFy,
int    dir
 

template<class T>
vnl_fft2d< T >::vnl_fft2d const vnl_matrix< vcl_complex< T > > &    c,
const vnl_fftxd_prime_factors< T > &    oPFx,
const vnl_fftxd_prime_factors< T > &    oPFy,
int    dir
 

complex-constructor.

template<class T>
vnl_fft2d< T >::vnl_fft2d const vcl_complex< T > *    cdata,
unsigned int    iRows,
unsigned int    iCols,
const vnl_fftxd_prime_factors< T > &    oPFx,
const vnl_fftxd_prime_factors< T > &    oPFy,
int    dir
 

complex-constructor.


Member Function Documentation

template<class T>
int vnl_fft2d< T >::doFFT_IP vcl_complex< T > *    cdata,
unsigned int    rows,
unsigned int    cols,
const vnl_fftxd_prime_factors< T > &    oPFx,
const vnl_fftxd_prime_factors< T > &    oPFy,
int    dir
[static]
 

static member function: avoid copy-overhead.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:13:29 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000