图片名:result_blank
灰度图
fig, ax1 = plt.subplots(1, 1)
ax1.imshow(result_blank, cmap=plt.cm.gray)
ax1.axis('off')
height, width = result_blank.shape
fig.set_size_inches(width / 100.0, height / 100.0)
plt.gca().xaxis.set_major_locator(plt.NullLocator())
plt.gca().yaxis.set_major_locator(plt.NullLocator())
plt.subplots_adjust(top=1, bottom=0, left=0, right=1, hspace=0, wspace=0)
plt.show()