How To Convert Rgb Images To Grayscale In Python