stupid question: Why is imshow in io module?
Michael Aye
kmichael.aye at gmail.com
Mon Nov 25 17:53:28 EST 2013
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... at 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... at 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... at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20131125/0d9687ac/attachment.html>
More information about the scikit-image
mailing list