The Flutter Shutter Code Optimizer
|
00001 /*flutter_optimizer_handcrafted.h*/ 00002 /* 00003 * Copyright 2013 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 */ 00019 void handcrafted_optimisator(double* code,double s,double proba_handcrafted_0, 00020 int code_length, double deltat); 00021 //Main fonction for opimizing the Flutter shutter assuming a the handcrafted 00022 //distribution of the motion model. 00023 00024 double handcrafted_integrand(double s, double proba_handcrafted_0, 00025 double deltat, double xi, int k); 00026 //Function to integrate in order to compute the best code (based on thm 5.1) 00027 //of the technical repport. 00028 00029 00030 double handcrafted_w(double s, double proba_handcrafted_0, double deltat, 00031 double xi); 00032 //Compute the w function for a handcrafted motio model. w^{\frac 1 4}(\xi) 00033 //represents the ideal Fourier transform of the flutter shutter function.