enabled 3-channels support for cv::createSuperResolution_BTVL1
This commit is contained in:
@@ -1014,10 +1014,8 @@ namespace
|
||||
return;
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
if (isUmat_ && curFrame_.channels() == 1)
|
||||
if (isUmat_)
|
||||
curFrame_.copyTo(ucurFrame_);
|
||||
else
|
||||
isUmat_ = false;
|
||||
#endif
|
||||
++storePos_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user