From 20b326120493889e0b73245dcc170e45da5420ec Mon Sep 17 00:00:00 2001 From: Woody Chow Date: Tue, 16 Jan 2018 23:15:23 +0900 Subject: [PATCH] Propagate calculated Gaussian kernel size(ref). Otherwise, ipp_GaussianBlur will fail if user doesn't specify a kernel size. (#10579) --- modules/imgproc/src/smooth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/smooth.cpp b/modules/imgproc/src/smooth.cpp index d55c06b815..8ff072eb2b 100644 --- a/modules/imgproc/src/smooth.cpp +++ b/modules/imgproc/src/smooth.cpp @@ -1763,7 +1763,7 @@ cv::Mat cv::getGaussianKernel( int n, double sigma, int ktype ) namespace cv { -static void createGaussianKernels( Mat & kx, Mat & ky, int type, Size ksize, +static void createGaussianKernels( Mat & kx, Mat & ky, int type, Size & ksize, double sigma1, double sigma2 ) { int depth = CV_MAT_DEPTH(type);