getGaussianKernelAsync function
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);
},
);
}