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.
次のようにspyderpythonを使用して画像を表示してみたいと思います。
skydrive共有 画像は次のとおりです。
どのPythonスクリプトが適していますか?
ありがとう。
これが1つの方法です。
輸入から始める
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)