Commit 20b32612 authored by Woody Chow's avatar Woody Chow Committed by Vadim Pisarevsky

Propagate calculated Gaussian kernel size(ref). Otherwise, ipp_GaussianBlur will…

Propagate calculated Gaussian kernel size(ref). Otherwise, ipp_GaussianBlur will fail if user doesn't specify a kernel size. (#10579)
parent ab8cf31a
...@@ -1763,7 +1763,7 @@ cv::Mat cv::getGaussianKernel( int n, double sigma, int ktype ) ...@@ -1763,7 +1763,7 @@ cv::Mat cv::getGaussianKernel( int n, double sigma, int ktype )
namespace cv { 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 ) double sigma1, double sigma2 )
{ {
int depth = CV_MAT_DEPTH(type); int depth = CV_MAT_DEPTH(type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment