Transform
Function Usage
Calculates the affine transformation matrix.
Prototype
cv::Mat Transform(const std::vector<cv::Point2f> &srcPoint, const std::vector<cv::Point2f> &dstPoint) const;
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
srcPoint |
Input |
Array before conversion. The number of points in the vector cannot exceed 10000, and the coordinate range is [0, 8192]. |
dstPoint |
Input |
Array after conversion. The length must be the same as that of srcPoint. The number of points in the vector cannot exceed 10000, and the coordinate range is [0, 8192]. |
Return Parameter Description
Data Structure |
Description |
|---|---|
cv::Mat |
Returned affine transformation matrix. |
Parent topic: SimilarityTransform