Error in plot_matching.py example

Ankit Agrawal aaaagrawal at gmail.com
Thu Jul 11 13:03:01 EDT 2013


Hi Stefan,

     It returns the image correctly as expected :

>>> from skimage import data
>>> data.checkerboard()
Image([[255, 255, 255, ...,   0,   0,   0],
       [255, 255, 255, ...,   0,   0,   0],
       [255, 255, 255, ...,   0,   0,   0],
       ...,
       [  0,   0,   0, ..., 255, 255, 255],
       [  0,   0,   0, ..., 255, 255, 255],
       [  0,   0,   0, ..., 255, 255, 255]], dtype=uint8)


Regards,
Ankit Agrawal,
Communication and Signal Processing,
IIT Bombay.


On Fri, Jul 12, 2013 at 12:59 AM, Stéfan van der Walt <stefan at sun.ac.za>wrote:

> Hi Ankit
>
> On Thu, Jul 11, 2013 at 3:32 PM, Ankit Agrawal <aaaagrawal at gmail.com>
> wrote:
> >
> "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/io/_plugins/plugin.py",
> > line 47, in _scan_plugins
> >     name = cp.sections()[0]
> > IndexError: list index out of range
>
> That's odd--the error is with your plugins, not with that specific
> example.  Can you try
>
> from skimage import data
> data.checkerboard()
>
> ?
>
> Stéfan
>
> --
> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130712/9a2ea654/attachment.html>


More information about the scikit-image mailing list