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 de croissance de région */ 00022 /* */ 00023 /* Derniere modif : L. Valet, 13.12.2004 */ 00024 /* *****************************************************************************/ 00025 /*pas de code avant cette ligne */ 00026 #ifndef __reggr3d 00027 #define __reggr3d 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 00037 00038 typedef struct{ 00039 unsigned char nb_loop; 00040 unsigned char seuil0; 00041 unsigned char step; 00042 unsigned long int nb_etiq; /*nombre d'étiquettes utilisées dans l'algorithme*/ 00043 unsigned long int nb_label; /* Nombre de labels effectifs obtenus apres simplification des étiquettes*/ 00044 } reggr3d_t; 00045 00046 00047 /* Prototype des fonctions utilisées dans lreggr3d.c*/ 00048 param* reggr3d_lect(reggr3d_t* des, param* ptp, char* debq); 00049 int reggr3d_init(reggr3d_t* des, ima3Du1* im0, ima3Du4* imres); 00050 int reggr3d_calc(reggr3d_t* des, ima3Du1* im0, ima3Du4* imres); 00051 00052 00053 00054 00055 /*pas de code aprés cette ligne*/ 00056 #endif