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 VIL_FFT_INSTANTIATE | ( | T | ) |
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.
| 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.
| void vil_fft_2d_fwd | ( | vil_image_view< vcl_complex< T > > & | img | ) |
1.5.1