17 #define IMAGEBADFILE 1 19 #define IMAGEALLOCERR 3 20 #define IMAGEREADERR 4 21 #define IMAGEWRITEERR 5 22 #define IMAGENULLDATA 6 24 int readimage(rawimage *); 25 int writeimage(
char * name,
int xres,
int yres,
26 void *imgdata,
int imgbufferformat,
int fileformat);
28 float *min,
float *max);
30 void gamma_rgb96f(
int xres,
int yres,
float *fimg,
float gamma);
34 int szx,
int szy,
int sx,
int sy);
36 int szx,
int szy,
int sx,
int sy);
void minmax_rgb96f(int xres, int yres, const float *fimg, float *min, float *max)
void normalize_rgb96f(int xres, int yres, float *fimg)
unsigned char * image_rgb48bepl_from_rgb96f(int xres, int yres, float *fimg)
void gamma_rgb96f(int xres, int yres, float *fimg, float gamma)
float * image_crop_rgb96f(int xres, int yres, float *fimg, int szx, int szy, int sx, int sy)
int writeimage(char *name, int xres, int yres, void *imgdata, int imgbufferformat, int fileformat)
unsigned char * image_crop_rgb24(int xres, int yres, unsigned char *img, int szx, int szy, int sx, int sy)
unsigned char * image_rgb48be_from_rgb96f(int xres, int yres, float *fimg)