getGaussianKernelAsync function

Future<Mat> getGaussianKernelAsync(
  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

Future<Mat> getGaussianKernelAsync(int ksize, double sigma, {int ktype = 6}) async {
  final mat = Mat.empty();
  return cvRunAsync0(
    (callback) => cimgproc.cv_getGaussianKernel(ksize, sigma, ktype, mat.ptr, callback),
    (c) {
      return c.complete(mat);
    },
  );
}