scipy shape

Abdul Abdul abdul.sw84 at gmail.com
Wed Nov 19 03:30:34 CET 2014


I came across an example that starts as follows:

from scipy.ndimage import filters
img = zeros(im.shape)

What does the second line mean here? Is it setting the image pixels to
zero? What is "shape" here?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141119/77363f9e/attachment.html>


More information about the Python-list mailing list