Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread Rustom Mody
On Tuesday, May 20, 2014 7:13:42 AM UTC+5:30, Chris Angelico wrote:

> On a separate topic, you're posting through Google Groups with its
> abhorrent bugs. Can you please either edit your posts before sending
> (removing the blank lines, wrapping to a sane width, and trimming the
> quoted text), or switch to a better newsreader (or the mailing list)?
> You'll find that a lot of people here either filter your message to
> /dev/null automatically, or take one look and just move on to the next
> post. Remember, never offend people with form when you can offend them
> with substance :)

This https://wiki.python.org/moin/GoogleGroupsPython
shows the problems and possible solutions

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread Chris Angelico
On Tue, May 20, 2014 at 11:30 AM,   wrote:
> 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.
>

Yeah, and that's what makes it hard. This is outside my area of
expertise, so all I can say is that these sorts of programs do exist,
but restricting yourself to Python libraries may make your life
unnecessarily hard.

On a separate topic, you're posting through Google Groups with its
abhorrent bugs. Can you please either edit your posts before sending
(removing the blank lines, wrapping to a sane width, and trimming the
quoted text), or switch to a better newsreader (or the mailing list)?
You'll find that a lot of people here either filter your message to
/dev/null automatically, or take one look and just move on to the next
post. Remember, never offend people with form when you can offend them
with substance :)

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread mikejohnryan08
On Monday, May 19, 2014 9:17:05 PM UTC-4, Chris Angelico wrote:
> On Tue, May 20, 2014 at 11:05 AM,   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.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread Chris Angelico
On Tue, May 20, 2014 at 11:05 AM,   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
-- 
https://mail.python.org/mailman/listinfo/python-list