PIL.Image进行图像融合显示
raw_img = raw_img.resize((512,512))
raw_img = raw_img.convert('RGBA')
show_label = show_label.resize((512,512))
show_label = show_label.convert('RGBA')
blendImg = Image.blend(raw_img, show_label, alpha=0.3)
blendImg.show()
PIL.Image进行图像融合显示(Image.blend)
阅读 141
2022-11-12
raw_img = raw_img.resize((512,512))
raw_img = raw_img.convert('RGBA')
show_label = show_label.resize((512,512))
show_label = show_label.convert('RGBA')
blendImg = Image.blend(raw_img, show_label, alpha=0.3)
blendImg.show()
相关推荐
精彩评论(0)