2
我有以下的乳房X线照片图像和我想读这个使用PIL图像,然后使用matplotlib绘制它:PIL图像和matplotlib阴谋被饱和的黑色和白色png图片
代码我现在用的就是:
%matplotlib inline
from PIL import Image
from matplotlib.pyplot import imshow
from scipy.misc import imread
path = './sample.png'
image = Image.open(path).convert('RGB')
imshow(image)
但我得到这个图片:
为什么它不显示正确的图像?