Normalization of Greyscale images