본문 바로가기

Python

How to show an image : skimage library

반응형

In matlab, it is very easy to show an image. However, in python, you need to know which library do I have to import before plotting the graph.


In python, skimage library supports showing an image like matlab.


Here is an example. Enjoy!


import skimage.io as io

img = io.imread(file_name)
io.imshow(img)
io.show()