Lines Matching defs:x1
127 int x1 = roi.x - tl1.x + x;
128 if (y1 >= 0 && x1 >= 0 && y1 < img1.height && x1 < img1.width)
129 submask1.at<uchar>(y + gap, x + gap) = mask1.at<uchar>(y1, x1);
464 int x0 = tls_[c[i]].x, x1 = brs_[c[i]].x;
473 for (int x = x0; x < x1; ++x)
690 float diffL2Square3(const Mat &image1, int y1, int x1, const Mat &image2, int y2, int x2)
694 return static_cast<float>(sqr(r1[3*x1] - r2[3*x2]) + sqr(r1[3*x1+1] - r2[3*x2+1]) +
695 sqr(r1[3*x1+2] - r2[3*x2+2]));
700 float diffL2Square4(const Mat &image1, int y1, int x1, const Mat &image2, int y2, int x2)
704 return static_cast<float>(sqr(r1[4*x1] - r2[4*x2]) + sqr(r1[4*x1+1] - r2[4*x2+1]) +
705 sqr(r1[4*x1+2] - r2[4*x2+2]));
1242 int x1 = roi.x - tl1.x + x;
1243 if (y1 >= 0 && x1 >= 0 && y1 < img1.rows && x1 < img1.cols)
1245 subimg1.at<Point3f>(y + gap, x + gap) = img1.at<Point3f>(y1, x1);
1246 submask1.at<uchar>(y + gap, x + gap) = mask1.at<uchar>(y1, x1);
1247 subdx1.at<float>(y + gap, x + gap) = dx1.at<float>(y1, x1);
1248 subdy1.at<float>(y + gap, x + gap) = dy1.at<float>(y1, x1);
1385 int x1 = roi.x - tl1.x + x;
1386 if (y1 >= 0 && x1 >= 0 && y1 < img1.rows && x1 < img1.cols)
1388 subimg1.at<Point3f>(y + gap, x + gap) = img1.at<Point3f>(y1, x1);
1389 submask1.at<uchar>(y + gap, x + gap) = mask1.at<uchar>(y1, x1);
1390 subdx1.at<float>(y + gap, x + gap) = dx1.at<float>(y1, x1);
1391 subdy1.at<float>(y + gap, x + gap) = dy1.at<float>(y1, x1);