Commit 961dc4e3 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed build error (Linux)

parent 230cc3e0
...@@ -507,7 +507,7 @@ void GraphCutSeamFinderGpu::findInPair(size_t first, size_t second, Rect roi) ...@@ -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); gpu::graphcut(terminals_d, leftT_d, rightT_d, top_d, bottom_d, labels_d, buf_d);
Mat_<uchar> labels = labels_d; Mat_<uchar> labels = (Mat)labels_d;
for (int y = 0; y < roi.height; ++y) for (int y = 0; y < roi.height; ++y)
{ {
for (int x = 0; x < roi.width; ++x) for (int x = 0; x < roi.width; ++x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment