detectEdges method
The function detects edges in src and draw them to dst.
The algorithm underlies this function is much more robust to texture presence, than common approaches, e.g. Sobel
Implementation
Mat detectEdges(InputArray src) {
cvAssert(src.type.depth == MatType.CV_32F);
final p = calloc<ccontrib.Mat>();
cvRun(() => ccontrib.ximgproc_StructuredEdgeDetection_detectEdges(ref, src.ref, p));
return Mat.fromPointer(p);
}