Calculate transformation which is needed to transform a rectangle into its perspective form
问题 I have the same rectangle in an untransformed form and in a perspective form. Both, the coordinates from the untransformed form as well as from the perspective form are in the untransformed coordinate system. Is there a way to reconstruct the transformation matrix which leads to this transformation? I think it should be possible to do that by solving the 4 equations given by the 4 corners but I am not sure where to start. // Edit: It looks like I am victim of a xy problem here. All answers