Contenu | Menu

cimage

type definition, in [[mw3f kernel/lib/include/cimage.h]] :

typedef struct cimage {
  int nrow;
  int ncol;
  int allocsize;
  unsigned char *gray;    
  float scale;
  char cmt[mw_cmtsize];
  char name[mw_namesize];

  int firstcol;
  int lastcol;
  int firstrow;
  int lastrow;

  struct cimage *previous;
  struct cimage *next;
} *Cimage;

ccimage

type definition, in [[mw3f kernel/lib/include/ccimage.h]] :

typedef struct ccimage {
  int nrow;
  int ncol;
  int allocsize;
  unsigned char *red;    
  unsigned char *green;    
  unsigned char *blue;    
  float scale;
  char cmt[mw_cmtsize];
  char name[mw_namesize];

  int firstcol;
  int lastcol;
  int firstrow;
  int lastrow;

  struct ccimage *previous;
  struct ccimage *next;
} *Ccimage;