Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想尝试使用 spyder python 查看图像,如下所示:
skydrive 分享 的图片是:
什么python脚本适合?
谢谢。
这是一种方法。
从进口开始
from matplotlib import pyplot as plt import numpy as np
现在分配空间
image = np.empty((1376,960), np.uint16)
将图像读入数组:
image.data[:] = open('20_1-20ms.raw').read()
显示它:
plt.imshow(image)