Searched refs:shape1 (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/shape/src/ |
D | aff_trans.cpp | 109 static Mat _localAffineEstimate(const std::vector<Point2f>& shape1, const std::vector<Point2f>& sha… in _localAffineEstimate() argument 113 int siz=2*(int)shape1.size(); in _localAffineEstimate() 125 therow.at<float>(0,0)=shape1[contPt].x; in _localAffineEstimate() 126 therow.at<float>(0,1)=shape1[contPt].y; in _localAffineEstimate() 133 therow.at<float>(0,3)=shape1[contPt].x; in _localAffineEstimate() 134 therow.at<float>(0,4)=shape1[contPt].y; in _localAffineEstimate() 155 therow.at<float>(0,0)=shape1[contPt].x; in _localAffineEstimate() 156 therow.at<float>(0,1)=shape1[contPt].y; in _localAffineEstimate() 163 therow.at<float>(0,0)=-shape1[contPt].y; in _localAffineEstimate() 164 therow.at<float>(0,1)=shape1[contPt].x; in _localAffineEstimate() [all …]
|
D | tps_trans.cpp | 213 Mat shape1((int)matches.size(),2,CV_32F); // transforming shape in estimateTransformation() local 218 shape1.at<float>(i,0) = pt1.x; in estimateTransformation() 219 shape1.at<float>(i,1) = pt1.y; in estimateTransformation() 225 shape1.copyTo(shapeReference); in estimateTransformation() 242 matK.at<float>(i,j) = distance(Point2f(shape1.at<float>(i,0),shape1.at<float>(i,1)), in estimateTransformation() 243 … Point2f(shape1.at<float>(j,0),shape1.at<float>(j,1))); in estimateTransformation() 247 matP.at<float>(i,1) = shape1.at<float>(i,0); in estimateTransformation() 248 matP.at<float>(i,2) = shape1.at<float>(i,1); in estimateTransformation()
|