Lines Matching refs:Point2f
105 static float distance(Point2f p, Point2f q) in distance()
107 Point2f diff = p - q; in distance()
115 static Point2f _applyTransformation(const Mat &shapeRef, const Point2f point, const Mat &tpsParamet… in _applyTransformation()
117 Point2f out; in _applyTransformation()
129 distance(Point2f(shapeRef.at<float>(j,0),shapeRef.at<float>(j,1)), in _applyTransformation()
158 … Point2f pt = _applyTransformation(shapeReference, Point2f(float(col), float(row)), tpsParameters); in warpImage()
180 Point2f pt=pts1.at<Point2f>(0,i); in applyTransformation()
181 outMat.at<Point2f>(0,i)=_applyTransformation(shapeReference, pt, tpsParameters); in applyTransformation()
217 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx); in estimateTransformation()
221 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx); 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()