mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
fixed condition in cv::FNLM
This commit is contained in:
parent
6ef94b52ad
commit
2cd51c04e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user