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;
nrow: number of rows (dy)ncol: number of columns (dx)allocsize: size allocated (in bytes) for the gray planegray: the gray level plane (may be NULL)scale: scale of the picture (should be 1 for original pict.)cmt: commentsname: name of the imagefirstcol: index of the first col not affected by left side effectlastcol: index of the last col not affected by right side effectfirstrow: index of the first col not aff. by upper side effectlastrow: index of the first col not aff. by lower side effectprevious: pointer to the previous image (may be NULL)next: pointer to the next image (may be NULL)
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;
nrow: number of rows (dy)ncol: number of columns (dx)allocsize: size allocated (in bytes) for the gray planered: the red level plane (may be NULL)green: the green level plane (may be NULL)blue: the blue level plane (may be NULL)scale: scale of the picture (should be 1 for original pict.)cmt: commentsname: name of the imagefirstcol: index of the first col not affected by left side effectlastcol: index of the last col not affected by right side effectfirstrow: index of the first col not aff. by upper side effectlastrow: index of the first col not aff. by lower side effectprevious: pointer to the previous image (may be NULL)next: pointer to the next image (may be NULL)