Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70917
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-05-04 17:56 -0700 |
| References | <e12705fa-8f47-4046-8382-a52a9c17281b@googlegroups.com> <lk5en0$uir$1@ger.gmane.org> <mailman.9674.1399218711.18130.python-list@python.org> |
| Message-ID | <9886ebf9-ba2c-48dc-aed0-81437c68faf2@googlegroups.com> (permalink) |
| Subject | Re: Python Image Registration and Cropping? |
| From | mikejohnryan08@gmail.com |
On Sunday, May 4, 2014 11:51:00 AM UTC-4, Ian wrote: > On Sun, May 4, 2014 at 7:24 AM, Dave Angel <davea@davea.name> wrote: > > > mikejohnryan08@gmail.com Wrote in message: > > >> Hello, > > >> > > >> Is there a Python tool or function that can register two images together (line them up visually), and then crop them to the common overlap area? I'm assuming this can probably be done with Python Imaging Library but I'm not very familiar with it yet. > > >> > > >> Any help or advice is appreciated! > > >> > > >> Thanks! > > >> > > > > > > Without some context I'd call the problem intractable. I've done > > > such things using Photoshop to insert elements of one image into > > > another. But even describing an algorithm is difficult, never > > > mind trying to code it. > > > > Well, fortunately there are known algorithms already: > > http://en.wikipedia.org/wiki/Image_registration > > > > > If I had such a challenge, I'd probably use Pillow, but not till > > > I knew what subset I was solving. > > > > I don't think Pillow has any support for registration. I'd probably > > start by looking for Python bindings of a library that does handle it, > > like ITK. Searching for "itk python" turns up a number of results. Thanks for the responses. More specifically, my scenario is that I have many aerial image stereo-pairs, and need to register each pair together and crop them to their overlapping area. The output should produce two images with the same field-of-view; and the only difference will be the perspective. Still searching for a suitable module that can easily do this sort of thing.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python Image Registration and Cropping? mikejohnryan08@gmail.com - 2014-05-03 14:47 -0700
Re: Python Image Registration and Cropping? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-05-03 23:04 +0100
Re:Python Image Registration and Cropping? Dave Angel <davea@davea.name> - 2014-05-04 09:24 -0400
Re: Python Image Registration and Cropping? Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-04 09:51 -0600
Re: Python Image Registration and Cropping? mikejohnryan08@gmail.com - 2014-05-04 17:56 -0700
Re: Python Image Registration and Cropping? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-05-06 20:09 -0400
csiph-web