stupid question: Why is imshow in io module?

Michael Aye kmichael.aye at gmail.com
Mon Nov 25 17:24:18 EST 2013


I just stumbled over the 3 lines of code on scikits' title page:


from skimage import data, io, filter
image = data.coins() # or any NumPy array!
edges = filter.sobel(image)
io.imshow(edges)

and wondered: Isn't it a bit funny to require an I/O module to show an 
image that is already loaded?

My apologies if that has been discussed before.

Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20131125/df0a32c1/attachment.html>


More information about the scikit-image mailing list