#include (stdio.h)
#include (stdlib.h)
#include (math.h)
#include (alloc.h)

/*-------STRUCTURES---------*/
typedef struct {int rows; int cols; unsigned char* data;} sImage;
...