The Flutter Shutter Code Optimizer
|
00001 /*gain_evaluation.h*/ 00002 /* 00003 * Copyright 2014 IPOL Image Processing On Line http://www.ipol.im/ 00004 * 00005 * This program is free software: you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation, either version 3 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 double MSE_snapshot_of_velocity_integrand(double velocity, 00020 double tilde_deltat, double xi); 00021 00022 double MSE_snapshot_of_velocity(double velocity,double tilde_deltat); 00023 00024 double MSE_flutter_of_velocity_integrand(double* code, int code_length, 00025 double velocity, double tilde_deltat, double xi); 00026 00027 double MSE_flutter_of_velocity(double* code, int code_length,double velocity, 00028 double tilde_deltat); 00029 00030 double abs_hat_alpha(double* code, int code_length, double xi, double deltat); 00031 00032 double gain_in_terms_of_RMSE_at_velocity_v(double* code, int code_length, 00033 double tilde_deltat, double velocity, double deltat); 00034 00035 double probability_density(double velocity, int flag_motion_model, double s); 00036 00037 void average_gain_in_terms_of_RMSE(double* code, int code_length, 00038 double tilde_deltat_star, 00039 int flag_motion_model, 00040 double motion_model_parameter,double deltat, 00041 int num_plot_points, 00042 double *gain_of_v_equation_22, 00043 double *average_gain_equation_23); 00044 00045 void std_dev_gain_in_terms_of_RMSE(int flag_motion_model, 00046 double motion_model_parameter, 00047 int num_plot_points, 00048 double *gain_of_v_equation_22, 00049 double *average_gain_equation_23, 00050 double *std_dev_gain_equation_24);