I am trying to create a 16-bit image like so:
import skimage import random from random import randint xrow=raw_input("Enter the
Try this
plt.imshow(im.reshape(im.shape[0], im.shape[1]), cmap=plt.cm.Greys)
It would help in some cases.