Propagate calculated Gaussian kernel size(ref). Otherwise, ipp_GaussianBlur will fail if user doesn't specify a kernel size. (#10579)

pull/10613/head
Woody Chow 7 years ago committed by Vadim Pisarevsky
parent ab8cf31ae9
commit 20b3261204
  1. 2
      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);

Loading…
Cancel
Save