Home | History | Annotate | Download | only in src

Lines Matching refs:Point2f

105 static float distance(Point2f p, Point2f q)
107 Point2f diff = p - q;
115 static Point2f _applyTransformation(const Mat &shapeRef, const Point2f point, const Mat &tpsParameters)
117 Point2f out;
129 distance(Point2f(shapeRef.at<float>(j,0),shapeRef.at<float>(j,1)),
158 Point2f pt = _applyTransformation(shapeReference, Point2f(float(col), float(row)), tpsParameters);
180 Point2f pt=pts1.at<Point2f>(0,i);
181 outMat.at<Point2f>(0,i)=_applyTransformation(shapeReference, pt, tpsParameters);
217 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx);
221 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx);
242 matK.at<float>(i,j) = distance(Point2f(shape1.at<float>(i,0),shape1.at<float>(i,1)),
243 Point2f(shape1.at<float>(j,0),shape1.at<float>(j,1)));