Searched refs:shape2 (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/shape/src/ |
D | aff_trans.cpp | 109 …ic Mat _localAffineEstimate(const std::vector<Point2f>& shape1, const std::vector<Point2f>& shape2, in _localAffineEstimate() argument 129 matP.at<float>(ii,0) = shape2[contPt].x; in _localAffineEstimate() 137 matP.at<float>(ii,0) = shape2[contPt].y; in _localAffineEstimate() 159 matP.at<float>(ii,0) = shape2[contPt].x; in _localAffineEstimate() 167 matP.at<float>(ii,0) = shape2[contPt].y; in _localAffineEstimate() 208 std::vector<Point2f> shape2; // target shape in estimateTransformation() local 215 shape2.push_back(pt2); in estimateTransformation() 220 estimateRigidTransform(shape1, shape2, fullAffine).convertTo(affine, CV_32F); in estimateTransformation() 223 …affine=_localAffineEstimate(shape1, shape2, fullAffine); //In case there is not good solution, jus… in estimateTransformation()
|
D | tps_trans.cpp | 214 Mat shape2((int)matches.size(),2,CV_32F); // target shape in estimateTransformation() local 222 shape2.at<float>(i,0) = pt2.x; in estimateTransformation() 223 shape2.at<float>(i,1) = pt2.y; in estimateTransformation() 266 matB.at<float>(i,0) = shape2.at<float>(i,0); //x's in estimateTransformation() 267 matB.at<float>(i,1) = shape2.at<float>(i,1); //y's in estimateTransformation()
|