schwarz und weiß gesättigt Ich habe folgendes Mammogrammbild und ich versuche, dies mit PIL Bild zu lesen und es dann matplotlib mit Grundstück:PIL Bild und matplotlib Grundstück werden für PNG-Bild
Der Code ich verwende ist:
%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)
Aber ich bin immer dieses Bild:
Warum zeigt es nicht das richtige Bild?