fixed compilation

This commit is contained in:
Vladislav Vinogradov
2013-06-24 16:19:37 +04:00
parent 59edad5a00
commit 39a25115e0
2 changed files with 5 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ static void convertAndResize(const GpuMat& src, GpuMat& gray, GpuMat& resized, d
{
if (src.channels() == 3)
{
gpu::cvtColor( src, gray, COLOR_BGR2GRAY );
cv::gpu::cvtColor( src, gray, COLOR_BGR2GRAY );
}
else
{
@@ -62,7 +62,7 @@ static void convertAndResize(const GpuMat& src, GpuMat& gray, GpuMat& resized, d
if (scale != 1)
{
gpu::resize(gray, resized, sz);
cv::gpu::resize(gray, resized, sz);
}
else
{