getGaussianKernel function
GetGaussianKernel returns Gaussian filter coefficients.
For further details, please see: https:///docs.opencv.org/master/d4/d86/group__imgproc__filter.html#gac05a120c1ae92a6060dd0db190a61afa
Implementation
Mat getGaussianKernel(int ksize, double sigma, {int ktype = 6}) {
final r = calloc<cimgproc.Mat>();
cvRun(() => cimgproc.GetGaussianKernel(ksize, sigma, ktype, r));
return Mat.fromPointer(r);
}