Thread Subject: Register two images to one another

Subject: Register two images to one another

From: Simon

Date: 15 Mar, 2010 20:49:05

Message: 1 of 4

I have a question about simultaneously registering two images to one another.

Suppose I have two images imA and imB that overlap somewhat (e.g. they’re two halves of a panorama). I want to register them. If I follow the Matlab Image Registration example, I get one that stays unmodified (the base image), and one that gets registered to it, often getting distorted a lot in the case of a projective or affine transformation.

So, is there a way to calculate two transforms AB and BA to register A to B and B to A respectively, then simply apply part of those two transformations so that the images “meet in the middle” so to speak? Do I just divide the two transformation matrices in two?

Thanks.

Subject: Register two images to one another

From: Matt J

Date: 15 Mar, 2010 21:41:05

Message: 2 of 4

"Simon " <spsilk@gmail.com> wrote in message <hnm6g1$49$1@fred.mathworks.com>...
> I have a question about simultaneously registering two images to one another.
>
> Suppose I have two images imA and imB that overlap somewhat (e.g. they’re two halves of a panorama). I want to register them. If I follow the Matlab Image Registration example, I get one that stays unmodified (the base image), and one that gets registered to it, often getting distorted a lot in the case of a projective or affine transformation.
>
> So, is there a way to calculate two transforms AB and BA to register A to B and B to A respectively, then simply apply part of those two transformations so that the images “meet in the middle” so to speak? Do I just divide the two transformation matrices in two?
================

Since the reasons for the distortion are unclear (you've said little about them and why you think they occur), so are the benefits of finding an average transformation.

That said, there is some image registration literature in which, for similarity measure sim(A,B) and transform operator T, people try to minimize

sim(T*A,B)+sim(A,inv(T)*B)

I don't know of any such registration algorithm offered by the Image Processing Toobox, though, so you'd probably have to code it yourself.

Subject: Register two images to one another

From: ImageAnalyst

Date: 16 Mar, 2010 01:00:26

Message: 3 of 4

Simon:
Here you go:
http://www.bing.com/search?q=image+stitching+algorithm&go=&form=QBLH&qs=n
The first link from Microsoft is a good one:

Image Alignment and Stitching: A Tutorial

Richard Szeliski
October 2004

This tutorial reviews image alignment and image stitching algorithms.
Image alignment (registration) algorithms can discover the large-scale
(parametric) correspondence relationships among images with varying
degrees of overlap. They are ideally suited for applications such as
video stabilization, summarization, and the creation of large-scale
panoramic photographs. Image stitching algorithms take the alignment
estimates produced by such registration algorithms and blend the
images in a seamless manner, taking care to deal with potential
problems such as blurring or ghosting caused by parallax and scene
movement as well as varying image exposures. This tutorial reviews the
basic motion models underlying alignment and stitching algorithms,
describes effective direct (pixel-based) and feature-based alignment
algorithms, and describes blending algorithms used to produce seamless
mosaics. It closes with a discussion of open research problems in the
area.

Subject: Register two images to one another

From: ImageAnalyst

Date: 26 Mar, 2010 17:32:27

Message: 4 of 4

Here's a free registration package:

Registax V5 software for alignment/stacking/processing of images
http://www.astronomie.be/registax/

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
image registration Simon Silk 15 Mar, 2010 16:54:06
panorama Simon Silk 15 Mar, 2010 16:54:06
transformation Simon Silk 15 Mar, 2010 16:54:06
rssFeed for this Thread

Contact us at files@mathworks.com