Jan. 21, 2016
11:46 a.m.
I'm trying to convert a color image to a grayscale image, as follows: from skimage import iofrom skimage.color import rgb2gray img = io.imread('baboon.png') img_grayscale = rgb2gray(img) io.imshow(img_grayscale) The code works fine, but the image does not get displayed, why is that? Thanks.