Calculating transformation matrix for perspective transform

asked 2020-02-20 17:27:44 -0500

Hello

I'm using the getPerspectiveTransform() method of OpenCV. This method calculates a perspective transform from four pairs of the corresponding points. So we have to specify four start (source) points and 4 end (destination) points.

How is the 3×3 transformation matrix calculated (in mathematical notation) from the 4 start and end points?

edit retag flag offensive close merge delete