Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81021

scipy shape

Date 2014-11-19 03:30 +0100
Subject scipy shape
From Abdul Abdul <abdul.sw84@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15986.1416364237.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

scipy shape Abdul Abdul <abdul.sw84@gmail.com> - 2014-11-19 03:30 +0100

csiph-web