contourRSO.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 /* ************************* contourRSO.h  *****************************/
00020 /*                                                                     */
00021 /*      descripteurs et prototypes associes a l'operateur contour      */
00022 /*                                                                     */
00023 /*  Derniere modif : 15/06/00  F. Bujor, E. Trouve                     */
00024 /* *********************************************************************/
00025 
00026 /* pas de code avant cette ligne*/
00027 #ifndef __contourRSO
00028 #define __contourRSO
00029 
00030 /* contour fin sur 360 degres */
00031 
00034 typedef struct {
00035     char dim;       
00036     char qsauver;   
00037     char maxloc;    
00038     imau1 msqv, msqh, msqdp, msqds;  /* images des masques */
00039     imafl rapv, raph, rapdp, rapds;  /* buffer 3 lignes des rapports */
00040 } contourRSO_t;
00041 
00042 
00043 /* operateur */
00044 param *contourRSO_lect(contourRSO_t *des, param *ptp, char *debq);
00045 int contourRSOu2_init(contourRSO_t *des, imau2 im0, imafl *imval, imau1 *imdir);
00046 int contourRSOu2_calc(contourRSO_t *des, imau2 im0, imafl *imval, imau1 *imdir);
00047 
00048 
00049 /* fonctions locales */
00050 float appl_masque12(imau2 im0, imau1 msq, int i, int j, float *tab);
00051 void valdirmax(float v, float h, float dp, float ds, float *ptval, pixu1 *ptdir);
00052 int maxlocgrad(float val, float dir, int j, contourRSO_t *des);
00053 
00054 
00055 /*pas de code après cette ligne */
00056 #endif

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