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


Groups > comp.lang.python > #81021

scipy shape

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <abdul.sw84@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'here?': 0.09; 'pixels': 0.09; 'starts': 0.20; 'thanks.': 0.20; 'example': 0.22; 'import': 0.22; 'to:name:python-list@python.org': 0.22; 'second': 0.26; 'message-id:@mail.gmail.com': 0.30; 'img': 0.31; 'received:google.com': 0.35; 'skip:& 10': 0.38; 'follows:': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=z6voSzNW+u2vR8d3aRANLf+7wtdvXJlVC50xDSfaMyA=; b=x4VlJIS2lbkxeiBFFjrojRSqdxY4seXqPgxjNxf74oJD3kjFk+GuKCWeVnaEwnD14x w8k+D/9IbYjAzYgPFP8x8oy/WpxVJBH4JQ+T8Fbmoz6ZlyodwyO/VI6QOUHN4nKMWjkZ RebvUGKzJfHHors75WV1hSctYIZYv6fc/1UhmmTj4vzaEch2AFIGrAaTIsJxjnmzb2dm pjKp5jmGT1zduICFp3+WxjWVXMJHwoLIW6c5eZUAXma6KXT6hE+qpvmXvTTTVtXUAr2q /DdXjQ6gM9Tr37PHhnPHr0z01V8mZ4CZ6WjGRl3t3qpum+jWYjeWMqDTQJXCL1sSGTek EXPA==
MIME-Version 1.0
X-Received by 10.182.135.170 with SMTP id pt10mr10893681obb.30.1416364234606; Tue, 18 Nov 2014 18:30:34 -0800 (PST)
Date Wed, 19 Nov 2014 03:30:34 +0100
Subject scipy shape
From Abdul Abdul <abdul.sw84@gmail.com>
To "python-list@python.org" <python-list@python.org>
Content-Type multipart/alternative; boundary=089e01294054138cf305082cffa2
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15986.1416364237.18130.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416364237 news.xs4all.nl 2951 [2001:888:2000:d::a6]:60173
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81021

Show key headers only | 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