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 */ 00021 /* *************************reggrow.h ***********************************/ 00022 /* */ 00023 /* descripteurs et prototypes associes a l'operateur croissance de regions*/ 00024 /* */ 00025 /* Derniere modif : G. Marinescu, 29.04.03 */ 00026 /* ***********************************************************************/ 00027 /*pas de code avant cette ligne */ 00028 #ifndef __reggrow 00029 #define __reggrow 00030 00031 00032 #include "image.h" 00033 #include "proto2D.h" 00034 00035 00040 typedef struct { 00041 int nb_loop; 00042 int seuil0; 00043 int step; 00044 int taille; 00045 } reggrow_t; 00046 00047 00048 00049 // Prototype des fonctions utilisées 00050 param* reggrow_lect(reggrow_t* reg, param* ptp, char* debq); 00051 int reggrow_init(reggrow_t* reg, imau1 *im0, imau1* imres); 00052 int reggrow_calc(reggrow_t* reg, imau1 *im0, imau1* imres); 00053 00054 00055 00056 /*pas de code aprés cette ligne*/ 00057 #endif