laplacianAsync function
Laplacian calculates the Laplacian of an image.
For further details, please see: https:///docs.opencv.org/master/d4/d86/group__imgproc__filter.html#gad78703e4c8fe703d479c1860d76429e6
Implementation
Future<Mat> laplacianAsync(
Mat src,
int ddepth, {
Mat? dst,
int ksize = 1,
double scale = 1,
double delta = 0,
int borderType = BORDER_DEFAULT,
}) {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => cimgproc.cv_Laplacian(src.ref, dst!.ref, ddepth, ksize, scale, delta, borderType, callback),
(c) {
return c.complete(dst);
},
);
}