laplacian 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
Mat laplacian(
Mat src,
int ddepth, {
Mat? dst,
int ksize = 1,
double scale = 1,
double delta = 0,
int borderType = BORDER_DEFAULT,
}) {
dst ??= Mat.empty();
cvRun(() => cimgproc.Laplacian(src.ref, dst!.ref, ddepth, ksize, scale, delta, borderType));
return dst;
}