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.

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

I am trying to map the position of an object in one image to another. I have four points in one image with corresponding points in another image so as to bound an area say A. Now, if I have points in A from one image, how do I get the coordinate of the points in the second image.

It must be noted that the first image has oblique coordinates while the second one is orthogonal. Also, I do not have any other information such as the angle between the two coordinate systems. I only have four points in both the images that encompass all my required points (in area A) within them.

share|cite|improve this question

It depends on the coordinate systems and how they are related to one another. For example, if they are related by a linear transformation then you need to construct the change of basis matrix.

More work is required for other coordinate systems, e.g. changing from to polar coordinates to Cartesian coordinates. If a point has polar coordinates $(r,\theta)$ then it has Cartesian coordinates $$(x,y) = (r\cos\theta,r\sin\theta).$$

Perhaps you might like to give more information about the coordinate systems you're using. In the meantime, take a look at this chapter on Changes of Coordinates in 2D.

share|cite|improve this answer
+1 The links were useful – Stat-R Oct 23 '12 at 20:25

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.