Reputation: 33
I want to try view the image using spyder python as in:
skydrive share the image is:
What python script is suitable?
Thanks.
Upvotes: 3
Views: 32761
Reputation: 7014
Here is one way.
Start with imports
from matplotlib import pyplot as plt
import numpy as np
Now allocate the space
image = np.empty((1376,960), np.uint16)
Read the image into your array:
image.data[:] = open('20_1-20ms.raw').read()
Display it:
plt.imshow(image)
Upvotes: 4