Transfer coordinates from one triangle to another triangle
Let you have unknown affine transformation matrix | a c e | M =| b d f | | 0 0 1 | The first triangle vertices are (xa1, ya1), (xa2, ya2), (xa3, ya3), and the second triangle vertices have coordinates (xb1, yb1), (xb2, yb2), (xb3, yb3). Then affine transformation M that transforms the first … Read more