stupid question: Why is imshow in io module?

Thomas A Caswell tcaswell at uchicago.edu
Mon Nov 25 17:29:26 EST 2013


I would argue that showing an image is the 'out' part of I/O.

On Mon, Nov 25, 2013 at 4:24 PM, Michael Aye <kmichael.aye at gmail.com> 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+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



-- 
Thomas A Caswell
PhD Candidate University of Chicago
Nagel and Gardel labs
tcaswell at uchicago.edu
jfi.uchicago.edu/~tcaswell
o: 773.702.7204



More information about the scikit-image mailing list