Mapping Irregular Quadrilateral to a Rectangle I have a camera looking at a computer monitor from varying angles. Since the camera is a grid of pixels, I can define the bounds of the monitor in the camera image as:

I hope that makes sense. What I want to do is come up with an algorithm to translate points within this shape to this:

I have points within the same domain as ABCD, as determined from the camera, but I need to draw these points in the domain of the monitor's resolution.
Does that makes sense? Any ideas?

HINT
$A,B,C,D$ are not in the same plane.
A very approximate rectangular projection ratio ... by area projections with extended boundary length), may be obtained considering boundary vector lenghts.
$$\frac{\frac12(|u \times v|+|w \times a|)}{(|u|+|v|+|w|+|a|)^2}$$

The rectangle can be now re-sized.
