mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
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:
parent
ab8cf31ae9
commit
20b3261204
@ -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…
Reference in New Issue
Block a user