计算仿射变换矩阵。
1 | cv::Mat SimilarityTransform::Transform(const std::vector<cv::Point2f> &srcPoint, const std::vector<cv::Point2f> &dstPoint) const |
参数名 |
输入/输出 |
说明 |
---|---|---|
srcPoint |
输入 |
转换前数组。向量中point个数不超过10000,坐标范围为[0,8192]。 |
dstPoint |
输入 |
转换后数组。 长度需要与srcPoint一致。向量中point个数不超过10000,坐标范围为[0,8192]。 |
数据结构 |
说明 |
---|---|
cv::Mat |
返回仿射变换矩阵。 |