I\'m trying to use matplotlib to read in an RGB image and convert it to grayscale.
matplotlib
In matlab I use this:
img = rgb2gray(imread(\'image.p
If you're using NumPy/SciPy already you may as well use:
scipy.ndimage.imread(file_name, mode='L')