The Flutter Shutter Code Optimizer
|
Go to the source code of this file.
Functions | |
void | uniform_optimisator (double *code, double motion_model_parameter, int code_length, double deltat) |
Functions for the uniform motion model: | |
double | uniform_w (double motion_model_parameter, double xi) |
Compute the weight function () for a uniform velocity. | |
double | uniform_w_integrand (double v, double xi) |
Function to integrate in velocity to get the w function; uniform motion model. This is the integrand in equation (15). | |
double | uniform_integrand (double motion_model_parameter, double deltat, double xi, int k) |
Function to integrate (in ) in order to compute the a_k coefficient of the code; uniform motion model. This is the integrand of equation (17). |
double uniform_integrand | ( | double | motion_model_parameter, |
double | deltat, | ||
double | xi, | ||
int | k | ||
) |
Function to integrate (in ) in order to compute the a_k coefficient of the code; uniform motion model. This is the integrand of equation (17).
double | motion_model_parameter : maximum velocity; |
double | deltat : the temporal sampling of the flutter shutter function; |
double | xi : frequency; |
int | : k the k-th coefficient of the code. |
Construct the function to be integrated in order to compute the a_k:
return $[4]{w(0)}$
Definition at line 145 of file flutter_optimizer_uniform.cpp.
void uniform_optimisator | ( | double * | code, |
double | motion_model_parameter, | ||
int | code_length, | ||
double | deltat | ||
) |
Functions for the uniform motion model:
This function just call "uniform_integrand" with the approriate parameters : k, deltat, velocity_{max}, etc.
Main loop for the computation of a_k :
The following evaluate the integrals using Algorithm 3 with a=0, b=velocity_max/1000 (see the above comment on the support of ) and eps=0.001 (see line 32 of this file) Initalization for integral evaluation
A EXPLIQUER.
init so the first iteration of the main loop
is always done.
Main loop for the integral evaluation
Definition at line 65 of file flutter_optimizer_uniform.cpp.
double uniform_w | ( | double | motion_model_parameter, |
double | xi | ||
) |
Compute the weight function () for a uniform velocity.
Construct the function for an uniform motion model,
Initalization.
The following evaluate the integrals using Algorithm 3 with a=motion_model_parameter/1000, b=velocity_max (see the above comment on the support of ) and eps=0.001 (see line 32 of this file)
Main loop for evaluation of
Definition at line 180 of file flutter_optimizer_uniform.cpp.
double uniform_w_integrand | ( | double | velocity, |
double | xi | ||
) |
Function to integrate in velocity to get the w function; uniform motion model. This is the integrand in equation (15).
Unormalized density of probavelocityility of velocity. Notice that the normalization is not required since the code is defined up to a constant multiplication. See also the integrand of (15) and remark 1, page 8.
double | velocity : velocity; |
double | xi : frequency; |
Definition at line 247 of file flutter_optimizer_uniform.cpp.