The Flutter Shutter Code Optimizer
Functions
flutter_optimizer_gaussian.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void gaussian_optimisator (double *code, double sigma, int code_length, double deltat)
 Functions for the gaussian case :
double gaussian_integrand (double velocity_max, double deltat, double xi, int k)
 Function to integrate in order to compute the a_k coefficient of the code; gaussian motion model. This is the integrand in equation (16).
double gaussian_w (double sigma, double xi)
 Computes the W() function; gaussian motion model. This is equation (12).
double gaussian_w_integrand (double velocity, double sigma, double xi)
 Function to integrate in velocity to get the W function; gaussian motion model. This is the integrand in equation (12).

Function Documentation

double gaussian_integrand ( double  sigma,
double  deltat,
double  xi,
int  k 
)

Function to integrate in order to compute the a_k coefficient of the code; gaussian motion model. This is the integrand in equation (16).

Parameters:
doubles : motion model parameter (sdt-develocity here);
doubledeltat : the temporal sampling of the flutter shutter function;
doublexi : frequency;
int: k the k-th coefficient of the code;
Returns:
double.

Definition at line 144 of file flutter_optimizer_gaussian.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void gaussian_optimisator ( double *  code,
double  sigma,
int  code_length,
double  deltat 
)

Functions for the gaussian case :

Functions for the gaussian case :

Parameters:
double*code : array of doubles where code[k] contains the This function implements equation (17).
doublesigma : motion model parameter (sdt-develocity here);
intcode_length : length of the code L;
doubledeltat : double deltat : the temporal sampling of the flutter shutter function;
Returns:
void.

This function calls "gaussian_integrand" with the approriate parameters : k, deltat, velocity_{max}, etc.

Main loop for the computation of a_k (code coefficient)

Initalization for integral evaluation

init so the first iteration of the main loop is always done.

Main loop for the integral evaluation

Definition at line 68 of file flutter_optimizer_gaussian.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double gaussian_w ( double  sigma,
double  xi 
)

Computes the W() function; gaussian motion model. This is equation (12).

Parameters:
doublesigma : motion model parameter (sdt-develocity here);
doublexi : frequency;
Returns:
double W().

init so the first iteration of the main loop is always done.

Definition at line 182 of file flutter_optimizer_gaussian.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double gaussian_w_integrand ( double  velocity,
double  sigma,
double  xi 
)

Function to integrate in velocity to get the W function; gaussian motion model. This is the integrand in equation (12).

Parameters:
doublevelocity : velocity;
doubles : motion model parameter (sdt-develocity here);
doublexi : frequency;
Returns:
double {exp(-velocity*velocity/(2*s*s)) {1]{[-M_PI*velocity,M_PI*velocity]}(velocity) }{|velocity s|}.

Notice that the normalization is

not required since the code is defined up to a constant multiplication. See also the integrand of (14) and remark 1, page 8.

Definition at line 240 of file flutter_optimizer_gaussian.cpp.

Here is the caller graph for this function:

 All Files Functions Defines