
int normalize(ImagePtr* dest, ImagePtr imsource,int size);
/*Normalizes the brightness of the source image
  to use all values between 0 and 255
  and saves this into dest
  averages over <size> pixels when calculating
  minimum and maximum to disregard errors
  */

