The Flutter Shutter Code Optimizer
 All Files Functions Macros Pages
optimal_snapshot.h
Go to the documentation of this file.
1 /*optimal_snpashot.h*/
2 /*
3 * Copyright 2014 IPOL Image Processing On Line http://www.ipol.im/
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 double optimal_snapshot(int flag_motion_model,
19  double motion_model_parameter);
20 
21 double optimal_snapshot_energy(double T, int flag_motion_model,
22  double motion_model_parameter);
23 
24 double optimal_snapshot_integrand(double velocity, double T);
25 
26 double optimal_snapshot_integrand_part2(double xi, double velocity,
27  double T);
28 
29 double proba_motion_model(double velocity, double motion_model_parameter,
30  int flag_motion_model);
double optimal_snapshot_integrand(double velocity, double T)
Given a velocity v and T this function returns the integral in of equation (20), i...
double optimal_snapshot_integrand_part2(double xi, double velocity, double T)
This function implements a part of the integrand in (20).
double optimal_snapshot(int flag_motion_model, double motion_model_parameter)
Given a motion model compute the optimal exposure time for a snaphot. The minimization is done by sca...
double proba_motion_model(double velocity, double motion_model_parameter, int flag_motion_model)
Given a motion model compute the probability of the velocity velocity ((velocity)) ...
double optimal_snapshot_energy(double T, int flag_motion_model, double motion_model_parameter)
Given a motion model computes the energy of Equation (20) for a given Tt.