Skimage: how to show image
You can use skimage and matplotlib.pyplot as follows
from skimage import io, data
from matplotlib import pyplot as plt
# get coin image
coin = data.coins()
# display image
plt.imshow(coin)
plt.show()
Just add matplotlib.pyplot.show()
after the io.imshow(coins)
line.
from skimage import data, io
from matplotlib import pyplot as plt
coins = data.coins()
io.imshow(coins)
plt.show()
To display pending images, you need io.show()
following io.imshow(coins)
images using skikit-image,matplotlib,SciPy,NumPy library
import os
# importing io from skimage
import skimage
from skimage import io
# way to load image from file
file = os.path.join(skimage.data_dir, 'E:/img.jpg')
myimg = io.imread(file)
# way to show the input image
io.imshow(myimg)
io.show()