Changed data types for color image and greyscale image vectors