oa::image::perspective_transform
Solve the 3x3 perspective transform mapping four [x, y] source points to four destination points, matching getPerspectiveTransform. Both inputs must be [4, 2] F32 matrices. Errors Returns an error unless both inputs are [4, 2] F32 matrices yielding a nonsingular 8x8 system (no three collinear source points).
Function Documentation
Solve the 3x3 perspective transform mapping four [x, y] source points to four destination points, matching getPerspectiveTransform. Both inputs must be [4, 2] F32 matrices. Errors Returns an error unless both inputs are [4, 2] F32 matrices yielding a nonsingular 8x8 system (no three collinear source points).