Functions
vil_fft.h File Reference

Functions to apply the FFT to an image. More...

#include <complex>
#include <vil/vil_image_view.h>

Go to the source code of this file.

Functions

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

Detailed Description

Functions to apply the FFT to an image.

Author
Fred Wheeler

Definition in file vil_fft.h.

Function Documentation

◆ vil_fft_2d_bwd()

template<class T >
void vil_fft_2d_bwd ( vil_image_view< std::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 79 of file vil_fft.hxx.

◆ vil_fft_2d_fwd()

template<class T >
void vil_fft_2d_fwd ( vil_image_view< std::complex< T > > &  img)

Perform in place forward FFT.

Definition at line 63 of file vil_fft.hxx.