Lynkeos  1.2
Macros | 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:

Macros

#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)
 

Macro Definition Documentation

◆ BLUE_PLANE

#define BLUE_PLANE   2

◆ blueValue

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

◆ FFT_DESTROY_PLAN

#define FFT_DESTROY_PLAN   fftw_destroy_plan

◆ FFT_EXECUTE

#define FFT_EXECUTE   fftw_execute

◆ FFT_FREE

#define FFT_FREE   fftw_free

◆ FFT_MALLOC

#define FFT_MALLOC   fftw_malloc

◆ FFT_PLAN_C2R

#define FFT_PLAN_C2R   fftw_plan_many_dft_r2c

◆ FFT_PLAN_R2C

#define FFT_PLAN_R2C   fftw_plan_many_dft_r2c

◆ FOR_DIRECT

#define FOR_DIRECT   1

◆ FOR_INVERSE

#define FOR_INVERSE   2

◆ GREEN_PLANE

#define GREEN_PLANE   1

◆ greenValue

#define greenValue (   s,
  x,
 
)    colorValue(s,x,y,GREEN_PLANE)

◆ RED_PLANE

#define RED_PLANE   0

◆ redValue

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

Function Documentation

◆ allocate_spectrum()

void allocate_spectrum ( FFT_DATA s,
u_short  w,
u_short  h,
u_char  nplanes,
u_char  goal 
)

◆ colorValue()

REAL* colorValue ( FFT_DATA  sample,
u_short  x,
u_short  y,
u_char  c 
)
inline

Access to the color sample (spatial data)

References FFT_DATA::h, FFT_DATA::pw, and FFT_DATA::spectrum.

Referenced by corelation_peak(), correlate_spectrums(), makeGaussianSpectrum(), and MyPostProcessing::makeImageWithMin:Max:.

Here is the caller graph for this function:

◆ FFT_DATA_INIT()

void FFT_DATA_INIT ( FFT_DATA d)
inline

◆ fourier()

void fourier ( FFT_DATA  sample)

◆ fourier_inverse()

void fourier_inverse ( FFT_DATA  sample,
REAL vmin,
REAL vmax 
)

◆ free_spectrum()

void free_spectrum ( FFT_DATA s)

◆ log_2()

short log_2 ( short  val)

◆ rgbPlane()

void* rgbPlane ( FFT_DATA  sample,
u_char  c 
)
inline

Access to the color plane

References FFT_DATA::h, FFT_DATA::spectrum, and FFT_DATA::w.

Referenced by MyPostProcessing::process:seqnb:width:height:deconvRadius:deconvThreshold:unsharpRadius:unsharpGain:.

Here is the caller graph for this function: