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

Go to the source code of this file.

Functions

void handcrafted_optimisator (double *code, double s, double proba_handcrafted_0, int code_length, double deltat)
 Functions for the handcrafted case :
double handcrafted_integrand (double s, double proba_handcrafted_0, double deltat, double xi, int k)
double handcrafted_w (double s, double proba_handcrafted_0, double deltat, double xi)
 Computes the W() function; handcrafted motion model.

Function Documentation

double handcrafted_integrand ( double  s,
double  proba_handcrafted_0,
double  deltat,
double  xi,
int  k 
)

Definition at line 159 of file flutter_optimizer_handcrafted.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void handcrafted_optimisator ( double *  code,
double  s,
double  proba_handcrafted_0,
int  code_length,
double  deltat 
)

Functions for the handcrafted case :

Functions for the handcrafted case :

Parameters:
double*code : array of doubles where code[k] contains the Overall description of the a_k computation : We have a_k:=^{} [4]{(s)}{cos(k*s)}{sinc(s/(2))}ds; and (s):= (v) { {1}_{[-_pi |v|, |v|]}(s)}{|v|} dv (v) is the probability density of v (the motion model, trimodal here) (v) and { {1}_{[-_pi |v|, |v|]}(s)}{|v|} are defined in "gaussian_w_integrand" function; the function is defined in "gaussian_w" function; The [4]{(s)}{cos(s(k+0.5))}{sinc(s/(2))}ds is defined in the "gaussian_integrand" function.
doubles : motion model parameter (sdt-dev here);
doubleproba_handcrafted_0 : (0)=proba_handcrafted_0 (the probability of v=0 is proba_handcrafted_0)
intcode_length : length of the code L;
doubledeltat : time step of the flutter shutter;
Returns:
VOID.

Main loop for the computation of a_k

Initalization for integral evaluation

init so the first iteration of the main loop

is always done.

Main loop for the integral evaluation

For code normalization : max(abs(code(:))=1.

Main loop for code normalization : max(abs(code(:))=1.

Definition at line 76 of file flutter_optimizer_handcrafted.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double handcrafted_w ( double  s,
double  proba_handcrafted_0,
double  deltat,
double  xi 
)

Computes the W() function; handcrafted motion model.

Parameters:
doubles : motion model parameter (sdt-dev here);
doubleproba_handcrafted_0 : (0)=proba_handcrafted_0 (the probability of v=0 is proba_handcrafted_0)
doubledeltat : time step of the flutter shutter;
doublexi : frequency;
Returns:
double W().

Definition at line 200 of file flutter_optimizer_handcrafted.cpp.

Here is the caller graph for this function:

 All Files Functions Defines