Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If your perspective mapping matrix is P you can apply this transformation followed by scaling and translation: Simply apply the scaling matrix S and the translation matrix T to the quadrangle points:

P' = T * S * P (matrix multiplications)

If your perspective mapping matrix is P you can apply this transformation followed by scaling and translation: Simply apply the scaling matrix S and the translation matrix T to the quadrangle points:corners:

P' = T * S * P (matrix multiplications)