Subtracting Mean value from each image pixel RGB