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 00021 #include "image.h" /* types des donnees manipulees dans ima2D */ 00022 #include "proto2D.h" /* descripteurs et prototypes des fonctions de ima2D */ 00023 #include "traitement_point_apprentissage.h" /* complement pour les operateurs en cours de developpt */ 00024 #include <stdlib.h> 00025 00026 00027 int main(int argc, char *argv[]){ 00028 00029 param par0, *ptp; /* tete et pointeur pour la chaine de parametres */ 00030 lgr_d a; 00031 learning_set ls; 00032 00033 00034 param_debut(argc, argv, &par0); 00035 ptp = &par0; /* regle : ptp pointe sur la structure du parametre suivant */ 00036 ptp = traitement_donnees_lect(&a, ptp, " "); 00037 param_fin(argc, argv, &par0); 00038 00039 traitement_donnees_init(a, &ls); 00040 00041 traitement_donnees_calc(ls, a); 00042 00043 return(0); 00044 } 00045