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 /* *************************median.h ********************************/ 00020 /* */ 00021 /* descripteurs et prototypes associes a l'operateur Moyenne */ 00022 /* */ 00023 /* Derniere modif : G. Marinescu, 01.04.03 */ 00024 /* *******************************************************************/ 00025 /*pas de code avant cette ligne */ 00026 #ifndef __median3d 00027 #define __median3d 00028 00029 #include "volume.h" /* descripteurs et prototypes des fonctions de ima3D */ 00030 #include "image.h" 00031 #include "proto2D.h" 00032 00033 //#define false 0 00034 //#define true 1 00035 00036 00038 typedef struct { 00039 long winX; 00040 long winY; 00041 long winZ; 00042 } median3d_t; 00043 00044 00045 // Prototype des fonctions utilisées dans median.c 00046 param* median3d_lect(median3d_t* tMasque, param* ptp, char* debq); 00047 int median3d_init(median3d_t* tMasque, ima3Du1 im0, ima3Du1* imres); 00048 int median3d_calc(median3d_t* tMasque, ima3Du1 im0, ima3Du1* imres); 00049 00050 00051 00052 /*pas de code aprés cette ligne*/ 00053 #endif