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


Groups > comp.lang.python > #81021 > unrolled thread

scipy shape

Started byAbdul Abdul <abdul.sw84@gmail.com>
First post2014-11-19 03:30 +0100
Last post2014-11-19 03:30 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#81021 — scipy shape

FromAbdul Abdul <abdul.sw84@gmail.com>
Date2014-11-19 03:30 +0100
Subjectscipy shape
Message-ID<mailman.15986.1416364237.18130.python-list@python.org>

[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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web