comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » similarity of two images, identifying overlapping regions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: similarity of two images, identifying overlapping regions [message #54976 is a reply to message #54931] Sun, 22 July 2007 00:07 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
thomas.nehls@tu-berlin.de writes:
> Hi there,
>
>
> the case: There are two different images from X-Ray imagery showing
> both parts, but not exactly the same, of a soil sample. The two images
> were taken with different wavelengths L1 and L2, showing the
> distribution of different elements.
> The purpose is to calculate with these element distributions later.
...
> I thought about holding one of the images and moving the other before
> the first row by row, then column by column (like the doctors do it on
> the light screen with the photograps of our bones or brains :-)

You are talking about doing an image cross correlation, which can be
done quickly using an FFT. The trick to using the FFT will be to
zero-pad the images to at least double their original size.

Such an FFT can handle a shift but not a rotation or scale factor.
You also mention that the images may be distorted.

I believe that cartographers have to deal with this kind of situation
-- matching distorted images -- and I believe they solve it by
brute-force. Namely, picking and matching a good sample of control
points in both images, and spline-resampling one image to the grid of
the other.

Good luck!
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Previous Topic: I've got rings around my iPlot!
Next Topic: who ate my byte?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 15 13:48:04 PDT 2025

Total time taken to generate the page: 1.35992 seconds