Lines Matching refs:dx2

502     int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.y;  in resolveConflicts()  local
508 int l = labels_(y - dy2, x - dx2); in resolveConflicts()
509 if (l > 0 && (states_[l-1] & FIRST) && mask1.at<uchar>(y - dy2 + dy1, x - dx2 + dx1)) in resolveConflicts()
519 if (l > 0 && (states_[l-1] & SECOND) && mask2.at<uchar>(y - dy1 + dy2, x - dx1 + dx2)) in resolveConflicts()
735 int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.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()
755 … std::abs(gradx2_(y + dy2, x + dx2)) + std::abs(gradx2_(y + dy2, x + dx2 - 1)) + 1.f; 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()
779 … std::abs(grady2_(y + dy2, x + dx2)) + std::abs(grady2_(y + dy2 - 1, x + dx2)) + 1.f; 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
1192 dx2.at<float>(y, x) + dx2.at<float>(y, x + 1) + weight_eps; in setGraphWeightsColorGrad()
1221 Mat dx1 = dx_[first], dx2 = dx_[second]; in findInPair() local
1264 subdx2.at<float>(y + gap, x + gap) = dx2.at<float>(y2, x2); in findInPair()
1364 Mat dx1 = dx_[first], dx2 = dx_[second]; in findInPair() local
1407 subdx2.at<float>(y + gap, x + gap) = dx2.at<float>(y2, x2); in findInPair()
1556 const Mat &img1, const Mat &img2, const Mat &dx1, const Mat &dx2, in setGraphWeightsColorGrad() argument
1594 dx2.at<float>(y, x - 1) + dx2.at<float>(y, x) + weight_eps; in setGraphWeightsColorGrad()
1609 dx2.at<float>(y, x) + dx2.at<float>(y, x + 1) + weight_eps; in setGraphWeightsColorGrad()