The Flutter Shutter Code Optimizer
|
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. |
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.
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 :
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. |
double | s : motion model parameter (sdt-dev here); |
double | proba_handcrafted_0 : (0)=proba_handcrafted_0 (the probability of v=0 is proba_handcrafted_0) |
int | code_length : length of the code L; |
double | deltat : time step of the flutter shutter; |
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.
double handcrafted_w | ( | double | s, |
double | proba_handcrafted_0, | ||
double | deltat, | ||
double | xi | ||
) |
Computes the W() function; handcrafted motion model.
double | s : motion model parameter (sdt-dev here); |
double | proba_handcrafted_0 : (0)=proba_handcrafted_0 (the probability of v=0 is proba_handcrafted_0) |
double | deltat : time step of the flutter shutter; |
double | xi : frequency; |
Definition at line 200 of file flutter_optimizer_handcrafted.cpp.