Clip Raster Image Pair by Overlapping Area using Python

mikejohnryan08 at gmail.com mikejohnryan08 at gmail.com
Mon May 19 21:30:48 EDT 2014


On Monday, May 19, 2014 9:17:05 PM UTC-4, Chris Angelico wrote:
> 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


Chris,

Thanks for your response.  For my purpose, the images won't have to be 'perfectly' matched, but hopefully as close as possible.  Registration algorithms won't work for this reason--the images aren't identical to each other because of the different perspectives.



More information about the Python-list mailing list