您的位置:首页 > 其它

临时保存

2014-08-25 20:08 106 查看
//人工选点
points[0].push_back(Point2f(194,42));
points[0].push_back(Point2f(183,80));
points[0].push_back(Point2f(225,61));
points[1].push_back(Point2f(174,41));
points[1].push_back(Point2f(162,81));
points[1].push_back(Point2f(208,62));

//手动设置仿射矩阵参数

warp_mat.at<float>(0,0)=0.5;
warp_mat.at<float>(0,1)=0.5;
warp_mat.at<float>(0,2)=0;
warp_mat.at<float>(1,0)=0.6;
warp_mat.at<float>(1,1)=0.2;
warp_mat.at<float>(1,2)=0;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: