Fixed build error (Linux)

This commit is contained in:
Andrey Kamaev 2011-09-26 11:05:56 +00:00
parent 230cc3e0c3
commit 961dc4e348

View File

@ -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_<uchar> labels = labels_d;
Mat_<uchar> labels = (Mat)labels_d;
for (int y = 0; y < roi.height; ++y)
{
for (int x = 0; x < roi.width; ++x)