enabled 3-channels support for cv::createSuperResolution_BTVL1

This commit is contained in:
Ilya Lavrenov
2014-03-19 19:12:37 +04:00
parent 291458a859
commit 63d8a61b9b
3 changed files with 9 additions and 14 deletions

View File

@@ -1014,10 +1014,8 @@ namespace
return;
#ifdef HAVE_OPENCL
if (isUmat_ && curFrame_.channels() == 1)
if (isUmat_)
curFrame_.copyTo(ucurFrame_);
else
isUmat_ = false;
#endif
++storePos_;