Display Image From Matlab Mat File On Python
I'm currently trying to display an image from a Mat file downloaded from this site. It's a .mat file so I tried loading it using spicy.io's load mat function but I can't seem to pl
Solution 1:
You need a complete 3D slice and hence you should be using images[:,:,0]
. i.e
imgplot = plt.imshow(images[:,:,0])
which gives:
Post a Comment for "Display Image From Matlab Mat File On Python"