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

Home » Public Forums » archive » find rotation between two images
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: find rotation between two images [message #40846 is a reply to message #40702] Wed, 01 September 2004 18:01 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Tobi" <tbeetz@yahoo.com> wrote in message news:7f0cc27.0409011354.45cce42f@posting.google.com...
> i have several images where i would like to find the rotation and
> shift compared to a reference image. i use an alignment routine to
> seperate the shifting part. however, there is still the remaining
> problem of image rotation. is there a routine available? thanks!

Cool problem! Ignoring scale (zoom) problems and assuming the shift of
the center of rotation is in the middle (since you did the shift already),
to find a rotation between images I'd
1) clip the corners (since they presumably will not show up in
the rotated image) leaving a circular image.
2) find the edges using a canned routine (with a high threshold) for both
3) then calculate the Radon transform of the edge image for both.
4) read off the angle of particular lines for both, and subtract the two

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Getting Histogram in a Text Format
Next Topic: virtual machine problems

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

Current Time: Sat Oct 11 09:38:22 PDT 2025

Total time taken to generate the page: 0.08181 seconds