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

This commit is contained in:
Woody Chow 2018-01-16 23:15:23 +09:00 committed by Vadim Pisarevsky
parent ab8cf31ae9
commit 20b3261204

View File

@ -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);