Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

imalabel.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include "idima.h"
#include "idmac.h"
#include "iderr.h"
#include "idprint.h"

Go to the source code of this file.

Data Structures

struct  CONNEX
struct  MODELE

Defines

#define Malloc(type)   (type *)malloc(sizeof(type))
#define NB_MAX_TRANS   25 /* Nb maximum de transitions Noir/Blanc par ligne */
#define NB_MAX_COUL   1024 /* Nombre maximum d'objets (en cours) */
#define deb   0 /* 1: Mode debug-suivi - 0 : Mode execution normale */
#define DEBUG(a)

Typedefs

typedef enum BOOL bool
typedef CONNEX connexe
typedef MODELE modele

Enumerations

enum  BOOL { false, true }

Functions

int IdImaLabel (PPIMAGE_UCHAR im, PPIMAGE_SHORT imo, int surf_min, FILE *fich_res, FILE *fich_mod, int connexite)


Define Documentation

#define deb   0 /* 1: Mode debug-suivi - 0 : Mode execution normale */
 

Definition at line 72 of file imalabel.c.

Referenced by DisplayVol(), and IdSigMinMaxInterv().

#define DEBUG  ) 
 

Definition at line 76 of file imalabel.c.

#define Malloc type   )     (type *)malloc(sizeof(type))
 

Definition at line 68 of file imalabel.c.

Referenced by IdImaLabel().

#define NB_MAX_COUL   1024 /* Nombre maximum d'objets (en cours) */
 

Definition at line 70 of file imalabel.c.

Referenced by IdImaLabel().

#define NB_MAX_TRANS   25 /* Nb maximum de transitions Noir/Blanc par ligne */
 

Definition at line 69 of file imalabel.c.


Typedef Documentation

typedef enum BOOL bool
 

typedef struct CONNEX connexe
 

typedef struct MODELE modele
 


Enumeration Type Documentation

enum BOOL
 

Enumeration values:
false 
true 

Definition at line 79 of file imalabel.c.


Function Documentation

int IdImaLabel PPIMAGE_UCHAR  im,
PPIMAGE_SHORT  imo,
int  surf_min,
FILE *  fich_res,
FILE *  fich_mod,
int  connexite
 

Definition at line 166 of file imalabel.c.

References MODELE::coul, DEBUG, IDERR_WRONG_TYPE, IdErrno, IdErrPrintf(), IdExit(), IdImaDimX(), IdImaDimY(), IdImaType(), IdPrintf(), IMA_SHORT, IMA_UCHAR, Malloc, NB_MAX_COUL, MODELE::suivant, CONNEX::suivant, MODELE::surface, CONNEX::trans, and CONNEX::trans_cours.

Referenced by IdImaFill().


Generated on Wed Oct 19 09:28:36 2005 for SIMRI3D by doxygen 1.3.7