我有一个plt的图像输出。显示我想保存到一个数组中。我试图保存到列表中的图像是原始图像及其覆盖的结果
differencesList = []
for i in range(len(imagesArrayMerged)):
if(imagesArrayMerged[i]!=imagesArrayCorrupt[i]):
background = imagesArrayCorrupt[i]
overlay = imagesArrayMerged[i]
#creates the image of the background and overlay image
plt.imshow(background)
plt.imshow(overlay, cmap='jet', alpha=0.4)
#want to put the output of the prior two lines into a list
differencesList.append(imshow_result_goes_here)
目前没有回答
相关问题 更多 >
编程相关推荐