canny function
Canny finds edges in an image using the Canny algorithm. The function finds edges in the input image image and marks them in the output map edges using the Canny algorithm. The smallest value between threshold1 and threshold2 is used for edge linking. The largest value is used to find initial segments of strong edges. See http:///en.wikipedia.org/wiki/Canny_edge_detector
For further details, please see: http:///docs.opencv.org/master/dd/d1a/group__imgproc__feature.html#ga04723e007ed888ddf11d9ba04e2232de
Implementation
Mat canny(
Mat image,
double threshold1,
double threshold2, {
OutputArray? edges,
int apertureSize = 3,
bool l2gradient = false,
}) {
edges ??= Mat.empty();
cvRun(() => cffi.Canny(image.ref, edges!.ref, threshold1, threshold2, apertureSize, l2gradient));
return edges;
}