Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

Image transforms


Compounds

class  FourierTransform
class  WaveletTransform

Functions

void fft (FloatImage &input, FloatImage &output_real, FloatImage &output_imag)
void ifft (FloatImage &input_real, FloatImage &input_imag, FloatImage &output)
void fwt (FloatImage &input, int levels, WAVELET_TYPE wave_type=HAAR)
void ifwt (FloatImage &input, int levels, WAVELET_TYPE wave_type=HAAR)

Detailed Description

This group contains classes and stand-alone functions implementing the Fast Fourier Transform and the Fast Wavelet Transform.

Function Documentation

void fft ( FloatImage & input,
FloatImage & output_real,
FloatImage & output_imag )
 

Performs a Fast Fourier Transform (FFT) on the input image; the result is a complex-valued image, whose real and imaginary parts are stored as output images in output_real and output_imag, respectively. For more functionality please refer to the FourierTransform class.

Examples:
test_fft2.cpp.

Definition at line 279 of file FourierTransform.cpp.

void fwt ( FloatImage & input,
int levels,
WAVELET_TYPE wave_type = HAAR )
 

Performs a Fast Wavelet Transform (FWT) on the input image using the number of levels of decomposition specified by parameter levels and the wavelet type specified by parameter wave_type. The FWT is performed "in-place", i.e. the initial input image will be overwritten. Currently supported wavelet types are:

  • HAAR - The Haar wavelet (default);
  • DAUB_2, DAUB_3, DAUB_4, DAUB_5, DAUB_6, DAUB_7, DAUB_8, DAUB_9 - Daubechies wavelets;
  • BIOR_1_3, BIOR_1_5, BIOR_2_2, BIOR_2_8, BIOR_3_1 - Bi-orthogonal wavelets. For more functionality regarding the wavelet transform, please refer to the WaveletTransform class.
Examples:
test_wavelet2.cpp.

Definition at line 405 of file WaveletTransform.cpp.

void ifft ( FloatImage & input_real,
FloatImage & input_imag,
FloatImage & output )
 

Performs an Inverse Fast Fourier Transform (IFFT) on a complex-valued image whose real and imaginary parts are denoted by the parameters input_real and input_imag. The real part of the output is returned in output. For more functionality please refer to the FourierTransform class.

Examples:
test_fft2.cpp.

Definition at line 287 of file FourierTransform.cpp.

void ifwt ( FloatImage & input,
int levels,
WAVELET_TYPE wave_type = HAAR )
 

Performs an Inverse Fast Wavelet Transform (IFWT) on the input image using the number of levels of reconstruction specified by the parameter levels and the wavelet type specified by the parameter wave_type. The IFWT is performed "in-place", i.e. the initial input image will be overwritten. Currently supported wavelet types are:

  • HAAR - The Haar wavelet (default);
  • DAUB_2, DAUB_3, DAUB_4, DAUB_5, DAUB_6, DAUB_7, DAUB_8, DAUB_9 - Daubechies wavelets;
  • BIOR_1_3, BIOR_1_5, BIOR_2_2, BIOR_2_8, BIOR_3_1 - Bi-orthogonal wavelets. For more functionality regarding the wavelet transform, please refer to the WaveletTransform class.
Examples:
test_wavelet2.cpp.

Definition at line 411 of file WaveletTransform.cpp.