Lines Matching defs:x1
1031 double x1 = p1.at<Point2d>(i).x;
1035 double n1 = 1./sqrt(x1*x1 + y1*y1 + 1);
1037 double t0 = fabs(f0[0]*x2*x1 + f0[1]*x2*y1 + f0[2]*x2 +
1038 f0[3]*y2*x1 + f0[4]*y2*y1 + f0[5]*y2 +
1039 f0[6]*x1 + f0[7]*y1 + f0[8])*n1*n2;
1040 double t = fabs(f[0]*x2*x1 + f[1]*x2*y1 + f[2]*x2 +
1041 f[3]*y2*x1 + f[4]*y2*y1 + f[5]*y2 +
1042 f[6]*x1 + f[7]*y1 + f[8])*n1*n2;
1070 double sampson_error(const double* f, double x1, double y1, double x2, double y2);
1302 double CV_EssentialMatTest::sampson_error(const double * f, double x1, double y1, double x2, double y2)
1305 f[0] * x1 + f[1] * y1 + f[2],
1306 f[3] * x1 + f[4] * y1 + f[5],
1307 f[6] * x1 + f[7] * y1 + f[8]
1367 double x1 = p1.at<Point2d>(i).x;
1371 // double t0 = sampson_error(f0, x1, y1, x2, y2);
1372 // double t = sampson_error(f, x1, y1, x2, y2);
1373 double n1 = 1./sqrt(x1*x1 + y1*y1 + 1);
1375 double t0 = fabs(f0[0]*x2*x1 + f0[1]*x2*y1 + f0[2]*x2 +
1376 f0[3]*y2*x1 + f0[4]*y2*y1 + f0[5]*y2 +
1377 f0[6]*x1 + f0[7]*y1 + f0[8])*n1*n2;
1378 double t = fabs(f[0]*x2*x1 + f[1]*x2*y1 + f[2]*x2 +
1379 f[3]*y2*x1 + f[4]*y2*y1 + f[5]*y2 +
1380 f[6]*x1 + f[7]*y1 + f[8])*n1*n2;