getGaussianKernel function

Mat getGaussianKernel(
  1. int ksize,
  2. double sigma, {
  3. int ktype = 6,
})

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 mat = Mat.empty();
  cvRun(() => cimgproc.cv_getGaussianKernel(ksize, sigma, ktype, mat.ptr, ffi.nullptr));
  return mat;
}