Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. 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

Given set of points in $3D$ ( $X = (x_1, x_2, x_3)$, $Y = (y_1, y_2, y_3)$ ), how can I fit transformation from $X$ to $Y$?

As far as I know this is called projective transformation. Here is example of $X$ and $Y$. Blue and red lines in $X$ are parallel, but they are not parallel in $Y$.

alt text

alt text

share|cite|improve this question
Why do you use the term "projective"? Are the output coordinates constrained in some way? – Tpofofn Dec 26 '10 at 21:17
@Commodore64: At first, I thought it's possible to find appropriate transformation matrix from X to Y. But this transformation is non-linear and it's not possible to represent non-linear transformation matrix in general. There are some tricks, such as using homogenous coordinates or Jacobian matrix, but they make things more complicated. – qutron Dec 27 '10 at 12:34
have you looked at least squares techniques? – Tpofofn Dec 27 '10 at 13:59

Your Answer


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

Browse other questions tagged or ask your own question.