Lynkeos  1.2
Defines | Functions
fourier.h File Reference
#include "processing_core.h"
Include dependency graph for fourier.h:
This graph shows which files directly or indirectly include this file:

Defines

#define FOR_DIRECT   1
#define FOR_INVERSE   2
#define FFT_MALLOC   fftw_malloc
#define FFT_PLAN_R2C   fftw_plan_many_dft_r2c
#define FFT_PLAN_C2R   fftw_plan_many_dft_r2c
#define FFT_EXECUTE   fftw_execute
#define FFT_FREE   fftw_free
#define FFT_DESTROY_PLAN   fftw_destroy_plan
#define RED_PLANE   0
#define GREEN_PLANE   1
#define BLUE_PLANE   2
#define redValue(s, x, y)   colorValue(s,x,y,RED_PLANE)
#define greenValue(s, x, y)   colorValue(s,x,y,GREEN_PLANE)
#define blueValue(s, x, y)   colorValue(s,x,y,BLUE_PLANE)

Functions

void FFT_DATA_INIT (FFT_DATA *d)
short log_2 (short val)
void free_spectrum (FFT_DATA *s)
void allocate_spectrum (FFT_DATA *s, u_short w, u_short h, u_char nplanes, u_char goal)
void fourier (FFT_DATA sample)
void fourier_inverse (FFT_DATA sample, REAL *vmin, REAL *vmax)
void * rgbPlane (FFT_DATA sample, u_char c)
REALcolorValue (FFT_DATA sample, u_short x, u_short y, u_char c)

Define Documentation

#define BLUE_PLANE   2
#define blueValue (   s,
  x,
 
)    colorValue(s,x,y,BLUE_PLANE)

Referenced by prepareImageSpectrum().

#define FFT_DESTROY_PLAN   fftw_destroy_plan

Referenced by free_spectrum().

#define FFT_EXECUTE   fftw_execute

Referenced by fourier(), and fourier_inverse().

#define FFT_FREE   fftw_free

Referenced by free_spectrum().

#define FFT_MALLOC   fftw_malloc

Referenced by allocate_spectrum().

#define FFT_PLAN_C2R   fftw_plan_many_dft_r2c

Referenced by allocate_spectrum().

#define FFT_PLAN_R2C   fftw_plan_many_dft_r2c

Referenced by allocate_spectrum().

#define FOR_DIRECT   1
#define FOR_INVERSE   2
#define GREEN_PLANE   1
#define greenValue (   s,
  x,
 
)    colorValue(s,x,y,GREEN_PLANE)

Referenced by prepareImageSpectrum().

#define RED_PLANE   0
#define redValue (   s,
  x,
 
)    colorValue(s,x,y,RED_PLANE)

Referenced by prepareImageSpectrum().


Function Documentation

void allocate_spectrum ( FFT_DATA s,
u_short  w,
u_short  h,
u_char  nplanes,
u_char  goal 
)
REAL* colorValue ( FFT_DATA  sample,
u_short  x,
u_short  y,
u_char  c 
) [inline]
void FFT_DATA_INIT ( FFT_DATA d) [inline]
void fourier ( FFT_DATA  sample)
void fourier_inverse ( FFT_DATA  sample,
REAL vmin,
REAL vmax 
)
void free_spectrum ( FFT_DATA s)
short log_2 ( short  val)
void* rgbPlane ( FFT_DATA  sample,
u_char  c 
) [inline]