|
Lynkeos
1.2
|
#include "processing_core.h"

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) |
| REAL * | colorValue (FFT_DATA sample, u_short x, u_short y, u_char c) |
| #define BLUE_PLANE 2 |
| #define blueValue | ( | s, | |
| x, | |||
| y | |||
| ) | colorValue(s,x,y,BLUE_PLANE) |
| #define FFT_DESTROY_PLAN fftw_destroy_plan |
| #define FFT_EXECUTE fftw_execute |
| #define FFT_FREE fftw_free |
| #define FFT_MALLOC fftw_malloc |
| #define FFT_PLAN_C2R fftw_plan_many_dft_r2c |
| #define FFT_PLAN_R2C fftw_plan_many_dft_r2c |
| #define FOR_DIRECT 1 |
| #define FOR_INVERSE 2 |
| #define GREEN_PLANE 1 |
| #define greenValue | ( | s, | |
| x, | |||
| y | |||
| ) | colorValue(s,x,y,GREEN_PLANE) |
| #define RED_PLANE 0 |
| #define redValue | ( | s, | |
| x, | |||
| y | |||
| ) | colorValue(s,x,y,RED_PLANE) |
| void allocate_spectrum | ( | FFT_DATA * | s, |
| u_short | w, | ||
| u_short | h, | ||
| u_char | nplanes, | ||
| u_char | goal | ||
| ) |
References FFT_DATA::direct, FFT_MALLOC, FFT_PLAN_C2R, FFT_PLAN_R2C, fftwDefaultFlag, fftwLock, FOR_DIRECT, FOR_INVERSE, free_spectrum(), FFT_DATA::goal, FFT_DATA::h, FFT_DATA::inverse, FFT_DATA::nplanes, FFT_DATA::pw, FFT_DATA::spectrum, and FFT_DATA::w.
Referenced by MyImageAligner::alignWithList:reference:refBuffer:lock:darkFrame:flatField:rectangle:cutOff:precisionThreshold:, MyImageAnalyzer::analyzeWithList:darkFrame:flatField:rectangle:method:lowCutoff:highCutoff:, and MyPostProcessing::process:seqnb:width:height:deconvRadius:deconvThreshold:unsharpRadius:unsharpGain:.

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:.

|
inline |
References FFT_DATA::goal, and FFT_DATA::spectrum.
| void fourier | ( | FFT_DATA | sample | ) |
References FFT_DATA::direct, FFT_EXECUTE, FOR_DIRECT, and FFT_DATA::goal.
Referenced by MyImageAligner::alignWithList:reference:refBuffer:lock:darkFrame:flatField:rectangle:cutOff:precisionThreshold:, correlate(), makeGaussianSpectrum(), and MyPostProcessing::process:seqnb:width:height:deconvRadius:deconvThreshold:unsharpRadius:unsharpGain:.

References FFT_EXECUTE, FOR_INVERSE, FFT_DATA::goal, FFT_DATA::h, FFT_DATA::inverse, max, min, FFT_DATA::nplanes, FFT_DATA::pw, FFT_DATA::spectrum, and FFT_DATA::w.
Referenced by correlate_spectrums(), and MyPostProcessing::process:seqnb:width:height:deconvRadius:deconvThreshold:unsharpRadius:unsharpGain:.

| void free_spectrum | ( | FFT_DATA * | s | ) |
References FFT_DATA::direct, FFT_DESTROY_PLAN, FFT_FREE, fftwLock, FOR_DIRECT, FOR_INVERSE, FFT_DATA::goal, FFT_DATA::inverse, and FFT_DATA::spectrum.
Referenced by allocate_spectrum(), and MyPostProcessing::process:seqnb:width:height:deconvRadius:deconvThreshold:unsharpRadius:unsharpGain:.

| short log_2 | ( | short | val | ) |
|
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:.

1.8.15