The flutter shutter camera simulator
|
00001 /* flutter.h */ 00002 /* 00003 * Copyright 2012 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 extern const int num_code; //number of code 00019 extern const int code_length; //Number of coefficients of the code 00020 //extern const float code[(const)code_length][(const)code_length]; 00021 void flutter_kernel(double [], double [], int, 00022 int, int, float, float); 00023 00024 void flutter_restore(double [], int,int, int, 00025 float, double [], 00026 int, float); 00027 00028 float integral_code(int, float); 00029 00030 void flutter_kernel_k(double [], double [], int , 00031 int, int, float, float); 00032 00033 00034 void add_poisson_noise(float [], int, int, float); 00035 00036 void flutter_numerical(double [], int, int, int, 00037 float, float, float); 00038 00039 void flutter_analog(double [], int, int, 00040 int, float, float, 00041 float);