Results 1 to 24 of 24

Thread: [RESOLVED] Register by rotation: a tough one (thawing out though)

Threaded View

  1. #1

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Resolved [RESOLVED] Register by rotation: a tough one (thawing out though)

    I want to register 2 polygons P and P' of arbitrary shapes with vertices of coordinates
    (xk, yk) and (x'k, y'k), k=1,...,N
    such that
    x'k = xk + a
    y'k = yk + b
    for all k, where a and b are unknown, i.e. P' has the same shape as P but it is displaced.

    However, because the coordinates x' and y' for polygon P' come from experimental measurements they do not exactly match the theoretically calculated (x,y) but they are very close. Therefore, what I do is calculate the center of mass for both polygons to find average values for a and b as the difference of the CoM coordinates.

    So far so good. Now the difficult part is that sometimes the P' polygon is slightly rotated with respect to P. So the question is, what parameter could I check to guess the approximate angle of rotation (in a similar manner to the center of mass calculation to account for the shift)?
    Last edited by krtxmrtz; Aug 30th, 2005 at 07:11 AM.
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width