scipy shape

Abdul Abdul abdul.sw84 at gmail.com
Tue Nov 18 21:30:34 EST 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