Ashton Six
Ashton Six

Reputation: 513

Python: troubleshooting scikit-image module installation

I've been using python for a while but want to extend it's capabilities. I've installed SciPy and it's related packages via Anaconda, created the py3k environment as per these instructions, and every module I tested seems to work fine - except for one I particularly want to use.

When I try to run the Getting Started example on the frontpage of scikit-image I end up with this error. I tried installing scikit-image (and it's dependencies) separately, when I did the script ran without errors but no image appeared.

from skimage import data, io, filter

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

Upvotes: 0

Views: 1206

Answers (1)

Stefan van der Walt
Stefan van der Walt

Reputation: 7253

Also call io.show to bring up the display window. Otherwise, use matplotlib to visualise the image. Please see the examples gallery on http://scikit-image.org.

Upvotes: 1

Related Questions