我如何用python显示3d IRM图像?

问题描述 投票:-1回答:1

我需要使用python显示3d IRM图像我尝试使用plt.show()mlab.show(),但它不起作用。

有人可以使用另一种方法吗?

python show
1个回答
0
投票

如果只是要显示的图像,则需要先阅读然后显示:

import matplotlib.pyplot as plt
img = plt.imread('image.jpg')
plt.imshow(img)
plt.show()
© www.soinside.com 2019 - 2024. All rights reserved.