Page 1 of 1

Re: Merging / overlapping several images

Posted: 2007-09-04T06:35:04-07:00
by anthony
Assuming by 'collage' you mean generating a panorama like image from multiple images.
You are not exactly clear....

Oh it is posible. However in this sort of thing each image will be slightly distorted in different ways and also have slight color changes. This means you need to
1/ find common points bettween images, a process known as image registration
2/ perspective distort images so teh common points will fit together
3/ adjust colors of images in overlap areas so the bland smoothly together.
4/ overlay them into a larger image.

All steps have there problems. IM can do steps 2 and 4, and we are slowly working to improve things for multiple registration points beyond the minimal 4 points needed.
Other things will also be looked at in due course.

In Summary... IM is working toward this, slowly but surely!

For lots of info look at the online course notes of a Computation Photography
This explains the process quite well by looking at the assignments and examples they given there students.
http://graphics.cs.cmu.edu/courses/15-4 ... l/463.html

You may also be interest in this video...
http://www.ted.com/index.php/talks/view/id/129

Re: Merging / overlapping several images

Posted: 2007-09-04T07:26:52-07:00
by Bonzo
I have been looking at something similar using php - http://www.rubblewebs.co.uk/imagemagick ... mbined.jpg

You could probably modify the code to what you want. I am making my images look missaligned on purpose !

I am still working on the code for automaticaly aligning the images.

You can use a comand in ImageMagick called Mosaic which may do what you want, I have a couple of examples on my site.

I suppose it would be good if you can post an example of what you want.

Finished code/example - http://www.rubblewebs.co.uk/imagemagick ... mbined.jpg