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

Augmented Reality scenario: I have a piece of paper on the table and a camera pointed at it, the piece of paper appear to be slanted with two pair of edges going towards two vanishing points.

Say I draw a dot on that paper, how would I calculate its coordinate on the paper-plane, just by knowing the on-screen coords of the four vertices of the paper, as well as the on-screen coords of the dot?

Any point in the right direction will be greatly appreciated :D I don't even know what this process is called.

Thanks! ~Xrave

share|cite|improve this question
You may be interested in this thread:… – Oneiros Jan 5 '12 at 14:51

What you seek to accomplish is to invert the perspective transformation that produced your image. Although I am sure this is not the ideal reference (probably textbooks on image processing and computer vision are more direct), here is one: "Inverse Perspective Transformation for Video Surveillance" by Theo E. Schoutena, and Egon L. van den Broekb, PDF here.

share|cite|improve this answer
Oh, thanks! This means I can use a rectangle to first obtain the "orientation" of the camera - i believe i saw that somewhere before, and then use the algorithm in there to get the dot-position translated... – Xrave Apr 11 '11 at 2:14

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.