From 961dc4e3487fb88900519e63fdd8a1d69492774a Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 26 Sep 2011 11:05:56 +0000 Subject: [PATCH] Fixed build error (Linux) --- modules/stitching/src/seam_finders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stitching/src/seam_finders.cpp b/modules/stitching/src/seam_finders.cpp index 00b6426b86..ef854e4e74 100644 --- a/modules/stitching/src/seam_finders.cpp +++ b/modules/stitching/src/seam_finders.cpp @@ -507,7 +507,7 @@ void GraphCutSeamFinderGpu::findInPair(size_t first, size_t second, Rect roi) gpu::graphcut(terminals_d, leftT_d, rightT_d, top_d, bottom_d, labels_d, buf_d); - Mat_ labels = labels_d; + Mat_ labels = (Mat)labels_d; for (int y = 0; y < roi.height; ++y) { for (int x = 0; x < roi.width; ++x)