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


Groups > comp.lang.python > #71781

Re: Clip Raster Image Pair by Overlapping Area using Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.058
X-Spam-Evidence '*H*': 0.89; '*S*': 0.01; 'subject:Python': 0.06; 'subject:using': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'suggest': 0.14; 'check.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'pil.': 0.16; 'wrote:': 0.18; 'library': 0.18; 'trying': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; 'extract': 0.31; 'libraries': 0.31; 'could': 0.34; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'method': 0.36; 'area': 0.37; "couldn't": 0.39; 'more': 0.64; '20,': 0.68; 'clip': 0.84; 'hard.': 0.84; 'images?': 0.84; 'job;': 0.84; 'absolutely': 0.87; 'subject:Pair': 0.91; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=0PLxIt5ilwLaiBtUDYHaLTcUcZTgvi68UIx6g0jMKs8=; b=iXHOk6fLVAKkZqLwUNe9g5oaydwljviv2jgEIEOBGWRjZyucOTw6FZ+8UW3bfQVz+e jKfFjFfsC1CUR568YWVgTlFdX/2lI3eJjssyYiuax2fkxMAXtTLvVKUCyPMf6ZheX+Ez Egvd1tGIvBcPs7D9bS3Fc9juLqlSCsTai0uHFc/9S4dxkg4Y7cAtpKitqENcRC+Dcap9 3QiFgheOMUXiCUDIqNjYHN7MIc7VCdvgUCEKUo15uIUOsHF3ZaBxilCoHXHIl5Am/fzj DNc3ge9cPu1ZOU+okbh9ZmuFh2NX/IY4KcDwfRoZ4Kuw6XmUiWzxeFsZeSMNtLKzTn/v qAOQ==
MIME-Version 1.0
X-Received by 10.220.69.72 with SMTP id y8mr1023469vci.21.1400548625111; Mon, 19 May 2014 18:17:05 -0700 (PDT)
In-Reply-To <96220021-03b7-4016-bbf1-f660b9590dab@googlegroups.com>
References <96220021-03b7-4016-bbf1-f660b9590dab@googlegroups.com>
Date Tue, 20 May 2014 11:17:05 +1000
Subject Re: Clip Raster Image Pair by Overlapping Area using Python
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <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.10145.1400548633.18130.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1400548633 news.xs4all.nl 2852 [2001:888:2000:d::a6]:41734
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71781

Show key headers only | View raw


On Tue, May 20, 2014 at 11:05 AM,  <mikejohnryan08@gmail.com> wrote:
> I have a set of aerial images which I am trying to clip by their overlapping areas, for use in a more involved program I am writing with PIL.
>
> What would be the best method with Python to extract the overlapping area from a pair of images?  I know there are libraries out there that could do this, but I couldn't find any so far.
>

The problem is that they won't absolutely perfectly match, so you need
some sort of similarity check. That's hard - very hard. I suggest you
find a stand-alone program that will do that part of the job; it'll be
easier than finding a Python library for it.

ChrisA

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


Thread

Clip Raster Image Pair by Overlapping Area using Python mikejohnryan08@gmail.com - 2014-05-19 18:05 -0700
  Re: Clip Raster Image Pair by Overlapping Area using Python Chris Angelico <rosuav@gmail.com> - 2014-05-20 11:17 +1000
    Re: Clip Raster Image Pair by Overlapping Area using Python mikejohnryan08@gmail.com - 2014-05-19 18:30 -0700
      Re: Clip Raster Image Pair by Overlapping Area using Python Chris Angelico <rosuav@gmail.com> - 2014-05-20 11:43 +1000
        Re: Clip Raster Image Pair by Overlapping Area using Python Rustom Mody <rustompmody@gmail.com> - 2014-05-19 21:22 -0700

csiph-web