• Home
  • Raw
  • Download

Lines Matching refs:dx1

501     int dx1 = unionTl_.x - tl1.x, dy1 = unionTl_.y - tl1.y;  in resolveConflicts()  local
509 if (l > 0 && (states_[l-1] & FIRST) && mask1.at<uchar>(y - dy2 + dy1, x - dx2 + dx1)) in resolveConflicts()
518 int l = labels_(y - dy1, x - dx1); in resolveConflicts()
519 if (l > 0 && (states_[l-1] & SECOND) && mask2.at<uchar>(y - dy1 + dy2, x - dx1 + dx2)) in resolveConflicts()
734 int dx1 = unionTl_.x - tl1.x, dy1 = unionTl_.y - tl1.y; in computeCosts() local
748 float costColor = (diff(image1, y + dy1, x + dx1 - 1, image2, y + dy2, x + dx2) + in computeCosts()
749 … diff(image1, y + dy1, x + dx1, image2, y + dy2, x + dx2 - 1)) / 2; in computeCosts()
754 … float costGrad = std::abs(gradx1_(y + dy1, x + dx1)) + std::abs(gradx1_(y + dy1, x + dx1 - 1)) + in computeCosts()
772 float costColor = (diff(image1, y + dy1 - 1, x + dx1, image2, y + dy2, x + dx2) + in computeCosts()
773 … diff(image1, y + dy1, x + dx1, image2, y + dy2 - 1, x + dx2)) / 2; in computeCosts()
778 … float costGrad = std::abs(grady1_(y + dy1, x + dx1)) + std::abs(grady1_(y + dy1 - 1, x + dx1)) + in computeCosts()
1074 void setGraphWeightsColorGrad(const Mat &img1, const Mat &img2, const Mat &dx1, const Mat &dx2,
1165 const Mat &img1, const Mat &img2, const Mat &dx1, const Mat &dx2, in setGraphWeightsColorGrad() argument
1191 float grad = dx1.at<float>(y, x) + dx1.at<float>(y, x + 1) + in setGraphWeightsColorGrad()
1221 Mat dx1 = dx_[first], dx2 = dx_[second]; in findInPair() local
1247 subdx1.at<float>(y + gap, x + gap) = dx1.at<float>(y1, x1); in findInPair()
1364 Mat dx1 = dx_[first], dx2 = dx_[second]; in findInPair() local
1390 subdx1.at<float>(y + gap, x + gap) = dx1.at<float>(y1, x1); in findInPair()
1556 const Mat &img1, const Mat &img2, const Mat &dx1, const Mat &dx2, in setGraphWeightsColorGrad() argument
1593 float grad = dx1.at<float>(y, x - 1) + dx1.at<float>(y, x) + in setGraphWeightsColorGrad()
1608 float grad = dx1.at<float>(y, x) + dx1.at<float>(y, x + 1) + in setGraphWeightsColorGrad()