sobel function
Sobel calculates the first, second, third, or mixed image derivatives using an extended Sobel operator
For further details, please see: https:///docs.opencv.org/master/d4/d86/group__imgproc__filter.html#gacea54f142e81b6758cb6f375ce782c8d
Implementation
Mat sobel(
Mat src,
int ddepth,
int dx,
int dy, {
Mat? dst,
int ksize = 3,
double scale = 1,
double delta = 0,
int borderType = BORDER_DEFAULT,
}) {
dst ??= Mat.empty();
cvRun(() => cffi.Sobel(src.ref, dst!.ref, ddepth, dx, dy, ksize, scale, delta, borderType));
return dst;
}