Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have multiple objects in my lab which are fully described in two coordinate systems. Both systems are Cartesian and in meters. If they had a common origin but were rotated relative to each other I could easily reconcile the two. Additionally, if it was just a displacement it would be even easier. However the two are offset in rotation and displacement.

What I want to do is find how to convert between the two of them. I would think I would just need the coordinates of the same three objects in the two systems. I know how to do this for two coordinate systems that are rotated OR displaced, but I can't figure out how to do it in a scenario with both rotation and displacement. Anyone got a formula for me or (even better) a link describing how it is done?

share|improve this question
    
I assume you are rotating with a 2x2 (in 2D for example), well you can just use 3x3s to get translation involved too. It's called homogeneous coordinates. –  anon Oct 11 '10 at 19:11
    
Do you know the translation and rotation, and want to find the coordinates of the points, or vice versa? –  Rahul Oct 11 '10 at 19:21
1  
First do a displacement so that the origins coincide; then do a rotation after the displacement. That is, compose a displacement and a rotation. –  Arturo Magidin Oct 11 '10 at 19:40

1 Answer 1

up vote 0 down vote accepted

Look at Affine transformation Basically if you know how to do rotations and translations you can chain them together. If you have the coordinates of a few objects you can solve the simultaneous equations to get the matrix.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.