// Philippos Mordohai, Stevens Institute of Technology, 2009

#ifndef max
#define max(a,b) ((a>b)?a:b)
#endif
#ifndef min
#define min(a,b) ((b>a)?a:b)
#endif
#define sqr(a) ((a)*(a))

unsigned char *read_ppm_image(char *fname, int *nx, int *ny);
int write_ppm_Uimage(unsigned char *image, char *fname, int nx, int ny);

