mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Merge pull request #22717 from alalek:issue_22716
This commit is contained in:
commit
b418eb112c
@ -635,6 +635,9 @@ void GaussianBlur(InputArray _src, OutputArray _dst, Size ksize,
|
||||
return;
|
||||
}
|
||||
|
||||
if (sigma2 <= 0)
|
||||
sigma2 = sigma1;
|
||||
|
||||
bool useOpenCL = ocl::isOpenCLActivated() && _dst.isUMat() && _src.dims() <= 2 &&
|
||||
_src.rows() >= ksize.height && _src.cols() >= ksize.width &&
|
||||
ksize.width > 1 && ksize.height > 1;
|
||||
|
Loading…
Reference in New Issue
Block a user