提交 2aab7b29 编写于 作者: A Andrey Pavlenko 提交者: OpenCV Buildbot

Merge pull request #2557 from ilya-lavrenov:tapi_fnlm_fix

......@@ -72,7 +72,7 @@ static bool ocl_fastNlMeansDenoising(InputArray _src, OutputArray _dst, float h,
int type = _src.type(), cn = CV_MAT_CN(type);
Size size = _src.size();
if ( type != CV_8UC1 || type != CV_8UC2 || type != CV_8UC4 )
if ( type != CV_8UC1 && type != CV_8UC2 && type != CV_8UC4 )
return false;
int templateWindowHalfWize = templateWindowSize / 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册