mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 05:56:36 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sigma2 <= 0)
|
||||||
|
sigma2 = sigma1;
|
||||||
|
|
||||||
bool useOpenCL = ocl::isOpenCLActivated() && _dst.isUMat() && _src.dims() <= 2 &&
|
bool useOpenCL = ocl::isOpenCLActivated() && _dst.isUMat() && _src.dims() <= 2 &&
|
||||||
_src.rows() >= ksize.height && _src.cols() >= ksize.width &&
|
_src.rows() >= ksize.height && _src.cols() >= ksize.width &&
|
||||||
ksize.width > 1 && ksize.height > 1;
|
ksize.width > 1 && ksize.height > 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user