Lines Matching refs:Point2f
59 void writeOpticalFlowToFile(const Mat_<Point2f>& flow, const string& fileName) in writeOpticalFlowToFile()
73 const Point2f u = flow(i, j); in writeOpticalFlowToFile()
84 void readOpticalFlowFromFile(Mat_<Point2f>& flow, const string& fileName) in readOpticalFlowFromFile()
103 Point2f u; in readOpticalFlowFromFile()
113 bool isFlowCorrect(Point2f u) in isFlowCorrect()
118 double calcRMSE(const Mat_<Point2f>& flow1, const Mat_<Point2f>& flow2) in calcRMSE()
127 const Point2f u1 = flow1(i, j); in calcRMSE()
128 const Point2f u2 = flow2(i, j); in calcRMSE()
132 const Point2f diff = u1 - u2; in calcRMSE()
155 Mat_<Point2f> flow; in TEST()
163 Mat_<Point2f> gold; in TEST()