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 dst = Mat.empty();
cvRun(() => ccontrib.cv_ximgproc_StructuredEdgeDetection_detectEdges(ref, src.ref, dst.ref, ffi.nullptr));
return dst;
}