core/vil/algo/vil_fft.txx File Reference


Detailed Description

Functions to apply the FFT to an image.

Author:
Fred Wheeler

Definition in file vil_fft.txx.

#include "vil_fft.h"
#include <vcl_complex.h>
#include <vcl_vector.h>
#include <vil/vil_image_view.h>
#include <vnl/algo/vnl_fft_1d.h>

Go to the source code of this file.


Defines

#define VIL_FFT_INSTANTIATE(T)

Functions

template<class T>
void vil_fft_2d_fwd (vil_image_view< vcl_complex< T > > &img)
 Perform in place forward FFT.
template<class T>
void vil_fft_2d_bwd (vil_image_view< vcl_complex< T > > &img)
 Perform in place backward FFT.

Define Documentation

#define VIL_FFT_INSTANTIATE (  ) 

Value:

template void vil_fft_2d_base(vcl_complex<T >* data, \
                              unsigned n0, vcl_ptrdiff_t step0, \
                              unsigned n1, vcl_ptrdiff_t step1, \
                              unsigned n2, vcl_ptrdiff_t step2, \
                              int dir); \
template void vil_fft_2d_fwd(vil_image_view<vcl_complex<T > >& img); \
template void vil_fft_2d_bwd(vil_image_view<vcl_complex<T > >& img)

Definition at line 91 of file vil_fft.txx.


Function Documentation

template<class T>
void vil_fft_2d_bwd ( vil_image_view< vcl_complex< T > > &  img  ) 

Perform in place backward FFT.

Unlike vnl_fft_2d, scaling is done properly, so using vil_fft_2d_fwd(), then vil_fft_2d_bwd() gets back the original image.

Definition at line 76 of file vil_fft.txx.

template<class T>
void vil_fft_2d_fwd ( vil_image_view< vcl_complex< T > > &  img  ) 

Perform in place forward FFT.

Definition at line 60 of file vil_fft.txx.


Generated on Mon Mar 8 05:08:51 2010 for core/vil by  doxygen 1.5.1