kube-gustavson-fft.hpp File Reference

#include <cmath>

Include dependency graph for kube-gustavson-fft.hpp:

base referer

This graph shows which files directly or indirectly include this file:

base refererrect $stdalgorithm_8hpp.html 396,6 670,30rect $stdalgorithm_8cpp.html 738,32 1013,56rect $kube-gustavson-fft_8cpp.html 377,105 689,129

Go to the source code of this file.

Classes

struct  COMPLEX
struct  DCOMPLEX

Defines

#define ERROR   -1
#define NO_ERROR   0
#define FFT_FORWARD   0
#define FFT_INVERSE   1
#define PI   3.1415926535897932
#define TWOPI   6.2831853071795865
#define HALFPI   1.5707963267948966
#define PI8   0.392699081698724
#define RT2   1.4142135623731
#define IRT2   0.707106781186548

Functions

COMPLEX operator* (const COMPLEX &c, float mult)
COMPLEX operator* (float mult, const COMPLEX &c)
COMPLEX operator* (const COMPLEX &a, const COMPLEX &b)
COMPLEXoperator*= (COMPLEX &c, float mult)
float abs (const COMPLEX &c)
float norm (const COMPLEX &c)
int forward_fft2f (COMPLEX *array, int rows, int cols)
int inverse_fft2f (COMPLEX *array, int rows, int cols)
int forward_fft2d (DCOMPLEX *array, int rows, int cols)
int inverse_fft2d (DCOMPLEX *array, int rows, int cols)


Define Documentation

#define ERROR   -1

Definition at line 114 of file kube-gustavson-fft.hpp.

Referenced by allocateBuffer(), fft2d(), and fft2f().

#define FFT_FORWARD   0

Definition at line 118 of file kube-gustavson-fft.hpp.

Referenced by FFT842(), forward_fft2d(), and forward_fft2f().

#define FFT_INVERSE   1

Definition at line 119 of file kube-gustavson-fft.hpp.

Referenced by FFT842(), inverse_fft2d(), and inverse_fft2f().

#define HALFPI   1.5707963267948966

Definition at line 123 of file kube-gustavson-fft.hpp.

#define IRT2   0.707106781186548

Definition at line 126 of file kube-gustavson-fft.hpp.

Referenced by R8TX().

#define NO_ERROR   0

Definition at line 115 of file kube-gustavson-fft.hpp.

Referenced by allocateBuffer(), fft2d(), and fft2f().

#define PI   3.1415926535897932

Definition at line 121 of file kube-gustavson-fft.hpp.

#define PI8   0.392699081698724

Definition at line 124 of file kube-gustavson-fft.hpp.

#define RT2   1.4142135623731

Definition at line 125 of file kube-gustavson-fft.hpp.

#define TWOPI   6.2831853071795865

Definition at line 122 of file kube-gustavson-fft.hpp.

Referenced by R8TX().


Function Documentation

float abs ( const COMPLEX c  )  [inline]

int forward_fft2d ( DCOMPLEX array,
int  rows,
int  cols 
)

Perform forward 2D transform on a DCOMPLEX array.

Definition at line 597 of file kube-gustavson-fft.cpp.

References fft2d(), and FFT_FORWARD.

int forward_fft2f ( COMPLEX array,
int  rows,
int  cols 
)

Perform forward 2D transform on a COMPLEX array.

Definition at line 585 of file kube-gustavson-fft.cpp.

References fft2f(), and FFT_FORWARD.

Referenced by bildcomplex::FFT_forward().

int inverse_fft2d ( DCOMPLEX array,
int  rows,
int  cols 
)

Perform inverse 2D transform on a DCOMPLEX array.

Definition at line 603 of file kube-gustavson-fft.cpp.

References fft2d(), and FFT_INVERSE.

int inverse_fft2f ( COMPLEX array,
int  rows,
int  cols 
)

Perform inverse 2D transform on a COMPLEX array.

Definition at line 591 of file kube-gustavson-fft.cpp.

References fft2f(), and FFT_INVERSE.

Referenced by bildcomplex::FFT_backward().

float norm ( const COMPLEX c  )  [inline]

Definition at line 106 of file kube-gustavson-fft.hpp.

References COMPLEX::im, and COMPLEX::re.

Referenced by bildfloat::convolve().

COMPLEX operator* ( const COMPLEX a,
const COMPLEX b 
) [inline]

Definition at line 88 of file kube-gustavson-fft.hpp.

References COMPLEX::im, and COMPLEX::re.

COMPLEX operator* ( float  mult,
const COMPLEX c 
) [inline]

Definition at line 80 of file kube-gustavson-fft.hpp.

References COMPLEX::im, and COMPLEX::re.

COMPLEX operator* ( const COMPLEX c,
float  mult 
) [inline]

Definition at line 73 of file kube-gustavson-fft.hpp.

References COMPLEX::im, and COMPLEX::re.

COMPLEX& operator*= ( COMPLEX c,
float  mult 
) [inline]

Definition at line 96 of file kube-gustavson-fft.hpp.

References COMPLEX::im, and COMPLEX::re.


Generated on Fri Jul 24 12:49:17 2009 for Xgrayimg Library by  doxygen 1.5.5