indexed_img.h

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 /* ********************** indexed_img.h ******************************  */
00020 /*                                                                      */
00021 /*      descripteurs et prototypes associes a l'operateur indexed_img   */
00022 /*                                                                      */
00023 /*  Derniere modif : B. IONESCU, 15/05/00                               */
00024 /* ******************************************************************** */
00025 
00026 #include "image.h"
00027 #include "proto2D.h"
00028 #include "rasterfile.h"
00029 #include <stdlib.h>
00030 #include <fcntl.h>
00031 #include <sys/types.h>
00032 #include <sys/stat.h>
00033 #include <math.h>
00034 
00037 typedef struct {
00038     int nrcouches;
00039     int nrepochs;
00040     imadb Dist;
00041     imadb TrainingData;
00042     imadb Weight1;
00043     imadb Weight2;
00044     imau1 T;
00045 } kohonenstruct;
00046 
00047 param *indexed_img_lect(kohonenstruct *des, param *ptp, char *debq);
00048 int indexed_img_init(kohonenstruct *des, imarvb im0, imau1 *imres);
00049 int indexed_img_calc(kohonenstruct *des, imarvb im0, imau1 *imres);
00050 
00051 int alloc_lut_u12(imau1 *im);
00052 int free_lut_u12(imau1 *im1);
00053 
00054 
00055 

Generated on Tue Apr 22 13:31:04 2008 for ima2D by  doxygen 1.5.3