00001 /* 00002 * Copyright (c) 2007. The BATI team. All right reserved. 00003 * 00004 * This file is part of BATI library. 00005 * 00006 * BATI library is free software: you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation, either version 3 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * BATI library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with BATI library. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 /***************************************************************************/ 00020 /* TRAITEMENT BIDIMENSIONNEL (D'UNE IMAGE) PAR LA METHODE DE L'HISTOGRAMME */ 00021 /* AVEC UNE FENETRE RECTANGULAIRE (TRAITEMENT NON SEPARABLE) */ 00022 /***************************************************************************/ 00023 /*pas de code avant cette ligne */ 00024 #ifndef __medhist 00025 #define __medhist 00026 00027 00028 #include <stdio.h> 00029 #include <math.h> 00030 #include <sys/param.h> 00031 #include "image.h" 00032 #include "proto2D.h" 00033 #include "rasterfile.h" 00034 00035 00037 typedef struct { 00038 int tf; 00039 } median_hist_t; 00040 00041 00042 00043 param *medhist_lect(median_hist_t *des, param *ptp, char *debq); 00044 int medhist_init(median_hist_t *des, imau1 im0, imau1 *imres); 00045 int medhist_calc(median_hist_t *des, imau1 im0, imau1 *imres); 00046 00047 00048 /*pas de code aprés cette ligne*/ 00049 #endif