Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.095 X-Spam-Evidence: '*H*': 0.81; '*S*': 0.00; 'see:': 0.07; 'parameter': 0.09; 'subject:image': 0.16; '(but': 0.19; 'header:In-Reply-To:1': 0.27; 'robert': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:wiki': 0.31; 'url:wikipedia': 0.31; 'subject: (': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'thank': 0.38; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'solve': 0.60; 'more': 0.64; 'subject:skip:n 10': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=fnypYRhqjeZRiIvKDNIyfj36R+tfwGxNsGfna7C5OLo=; b=KwnIIXYtGhcpZkS2y7qpFGHstOBuWztk6a7X+ci4Q+3U4LQQ7LSQc+vBbiAthHgL9Z SKpS/jaL92K1fgcjv0OPT5rkH8S0vW7sB25Zdnp4rYx7VJvXfqpDXylvQ9EfLDL0cnMI fHkhX4VR0oUguIphWvvt6D2OulIcnEimhV5ce1xdnGtvc7+dpuDloTyRNpAiqKe4sDH2 SseYWh2wqKYoHoTFwy2mOd7DPDozxlG43jy8RONHm+NW/qUQ+3oooBzVQbLmnHtsaYWv 8wnXkRRoHXvuwuJuxPMxfLr3UjddXuYQKb4xUPrgXn3Y9opKDrVlwvBCetRwXt+O5peB 8P6Q== MIME-Version: 1.0 X-Received: by 10.50.195.137 with SMTP id ie9mr7146438igc.46.1367236729332; Mon, 29 Apr 2013 04:58:49 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Apr 2013 13:58:49 +0200 Subject: Re: Shear image (numpy.ndarray) From: Radek Machulka To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367236732 news.xs4all.nl 15867 [2001:888:2000:d::a6]:55371 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44497 Yes, I already find that scipy.ndimage.interpolation.affine_transform will solve this (but thank you Robert anyway!). Just for others (if somebody will find this thread): The 'matrix' parameter is transformation matrix for shear transformation. For more detailes see: http://en.wikipedia.org/wiki/Shear_matrix Radek