Lines Matching refs:tl2

119     Point tl1 = corners_[first], tl2 = corners_[second];  in findInPair()  local
133 int y2 = roi.y - tl2.y + y; in findInPair()
134 int x2 = roi.x - tl2.x + x; in findInPair()
157 mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0; in findInPair()
203 const Mat &image1, const Mat &image2, Point tl1, Point tl2, in process() argument
209 Point intersectTl(std::max(tl1.x, tl2.x), std::max(tl1.y, tl2.y)); in process()
211 Point intersectBr(std::min(tl1.x + image1.cols, tl2.x + image2.cols), in process()
212 std::min(tl1.y + image1.rows, tl2.y + image2.rows)); in process()
217 unionTl_ = Point(std::min(tl1.x, tl2.x), std::min(tl1.y, tl2.y)); in process()
219 unionBr_ = Point(std::max(tl1.x + image1.cols, tl2.x + image2.cols), in process()
220 std::max(tl1.y + image1.rows, tl2.y + image2.rows)); in process()
230 tmp = mask2_(Rect(tl2.x - unionTl_.x, tl2.y - unionTl_.y, mask2.cols, mask2.rows)); in process()
262 resolveConflicts(image1, image2, tl1, tl2, mask1, mask2); in process()
400 const Mat &image1, const Mat &image2, Point tl1, Point tl2, Mat &mask1, Mat &mask2) in resolveConflicts() argument
450 if (estimateSeam(image1, image2, tl1, tl2, c1, p1, p2, seam, isHorizontalSeam)) in resolveConflicts()
502 int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.y; in resolveConflicts()
712 const Mat &image1, const Mat &image2, Point tl1, Point tl2, in computeCosts() argument
735 int dx2 = unionTl_.x - tl2.x, dy2 = unionTl_.y - tl2.y; in computeCosts()
791 const Mat &image1, const Mat &image2, Point tl1, Point tl2, int comp, in estimateSeam() argument
797 computeCosts(image1, image2, tl1, tl2, comp, costV, costH); in estimateSeam()
1224 Point tl1 = corners_[first], tl2 = corners_[second]; in findInPair() local
1258 int y2 = roi.y - tl2.y + y; in findInPair()
1259 int x2 = roi.x - tl2.x + x; in findInPair()
1304 mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0; in findInPair()
1308 if (mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x)) in findInPair()
1367 Point tl1 = corners_[first], tl2 = corners_[second]; in findInPair() local
1401 int y2 = roi.y - tl2.y + y; in findInPair()
1402 int x2 = roi.x - tl2.x + x; in findInPair()
1453 mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x) = 0; in findInPair()
1457 if (mask2.at<uchar>(roi.y - tl2.y + y, roi.x - tl2.x + x)) in findInPair()