MathOverflow is a question and answer site for professional mathematicians. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose I have the following image (i.e. I have the coordinates of all points in 2d so I can regenerate lines and check where they cross each other)

Now suppose I have another image of what I know to be the same lines:

How can I determine plane rotation and Z depth on second image (asuming first one's center was in point (0,0,0) with no rotation)?

share|cite|improve this question
Start here: – Dan Piponi Apr 2 '10 at 23:11

What you see in the second image is a projection of the first, after a rotation. So treat it exactly like that. Meaning, you have 4 lines in $\mathbb{R}^3$. You know their equations. Furthermore, you have another 4 lines in $\mathbb{R}^2$ corresponding to the second image.

To solve, parameterize the family of possible 4 lines in $\mathbb{R}^3$ that project onto the 4 lines in $\mathbb{R}^2$. Find the matrix that takes the original 4 lines to generic quadruple in the mentioned family. Now write equations to ensure that matrix is actually a rotation. You should have enough information for there to be at most one quadruple that can actually be gotten from the original lines. If not, then your question has multiple answers.

share|cite|improve this answer

Your Answer


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.