gradient_organisation.h

Go to the documentation of this file.
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 /* ************************* gradient_organisation.h  ***************************                                     descripteurs et prototypes associes a l'operateur du calcul de l'organisation 
00020    des gradients dans l'images 3D                                      
00021                                                                                 
00022   Derniere modif : L. Valet, 22.11.2006                                        */
00023 /* *****************************************************************************/
00024 /*pas de code avant cette ligne */
00025 #ifndef __grad_orga_3d
00026 #define __grad_orga_3d
00027 
00028 #include <stdio.h>
00029 #include "volume.h"   /* descripteurs et prototypes des fonctions de ima3D */
00030 #include "image.h"
00031 #include "proto2D.h"
00032 
00033 typedef struct{
00034   float alpha; /*filtrage de deriche*/
00035   int ax,ay,az; /*dimension pour le calcul de l'ACP des gradients*/
00036   int tgrad; /*dimension pour le calcul des gradients d'intensité*/
00037   int type; /*type de la sortie*/
00038   float normalisation;
00039   short **gradx, **grady, **gradz;
00040   float *acp_x, *acp_y, *acp_z;
00041   float *conf1, *conf2, *conf3; 
00042   float alp;
00043 } ogi_t; /*organisation des gradients d'intensité*/
00044 
00045 
00046 
00047 param* gradient_organisation_lect(ogi_t* des, param* ptp, char* debq);
00048 int gradient_organisation_init(ogi_t* des, ima3Du1 * ima);
00049 int gradient_organisation_calc(ogi_t* des, ima3Du1 * imaIn,  ima3Du1 * imaOut);
00050 int gradient_organisation_ferm(ogi_t* des);
00051 
00052 
00053 
00054 /*pas de code aprés cette ligne*/
00055 #endif

Generated on Tue Apr 22 13:31:06 2008 for volume by  doxygen 1.5.3