Re: stupid question: Why is imshow in io module?

On Monday, November 25, 2013 2:29:26 PM UTC-8, Thomas A Caswell wrote:
I would argue that showing an image is the 'out' part of I/O.
I see your point. It is certainly 'some' kind of output, although I'm used to have the output part more dealing with a file than with a display of it, but YMMV. Never mind, carry on. ;)
On Mon, Nov 25, 2013 at 4:24 PM, Michael Aye <kmicha...@gmail.com<javascript:>> wrote:
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
-- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com <javascript:>. For more options, visit https://groups.google.com/groups/opt_out.
-- Thomas A Caswell PhD Candidate University of Chicago Nagel and Gardel labs tcas...@uchicago.edu <javascript:> jfi.uchicago.edu/~tcaswell<http://www.google.com/url?q=http%3A%2F%2Fjfi.uchicago.edu%2F~tcaswell&sa=D&sntz=1&usg=AFQjCNHcm86f2p43M5eOmhzZmuqHBRtZ0w> o: 773.702.7204
participants (1)
-
Michael Aye