UMat access flags (fixes #5095)

pull/5795/head
Alexander Alekhin 9 years ago
parent 5cdf0e3e89
commit 5c15461595
  1. 2
      modules/stitching/src/seam_finders.cpp

@ -115,7 +115,7 @@ void VoronoiSeamFinder::findInPair(size_t first, size_t second, Rect roi)
Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U); Mat submask2(roi.height + 2 * gap, roi.width + 2 * gap, CV_8U);
Size img1 = sizes_[first], img2 = sizes_[second]; Size img1 = sizes_[first], img2 = sizes_[second];
Mat mask1 = masks_[first].getMat(ACCESS_READ), mask2 = masks_[second].getMat(ACCESS_READ); Mat mask1 = masks_[first].getMat(ACCESS_RW), mask2 = masks_[second].getMat(ACCESS_RW);
Point tl1 = corners_[first], tl2 = corners_[second]; Point tl1 = corners_[first], tl2 = corners_[second];
// Cut submasks with some gap // Cut submasks with some gap

Loading…
Cancel
Save