You need to specify a colormap. Default is 'viridis' which contains the yellow and purple. So, plt.imshow(rgb2gray(im), cm='gray') ...
確定! 回上一頁