Clip Raster Image Pair by Overlapping Area using Python

Chris Angelico rosuav at gmail.com
Mon May 19 21:17:05 EDT 2014


On Tue, May 20, 2014 at 11:05 AM,  <mikejohnryan08 at 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



More information about the Python-list mailing list