edgesNms method
Mat
edgesNms(
- InputArray edgeImage,
- InputArray orientationImage, {
- int r = 2,
- int s = 0,
- double m = 1,
- bool isParallel = true,
The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
Implementation
Mat edgesNms(
InputArray edgeImage,
InputArray orientationImage, {
int r = 2,
int s = 0,
double m = 1,
bool isParallel = true,
}) {
final dst = Mat.empty();
cvRun(
() => ccontrib.cv_ximgproc_StructuredEdgeDetection_edgesNms(
ref,
edgeImage.ref,
orientationImage.ref,
dst.ref,
r,
s,
m,
isParallel,
ffi.nullptr,
),
);
return dst;
}