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 p = calloc<ccontrib.Mat>();
cvRun(
() => ccontrib.ximgproc_StructuredEdgeDetection_edgesNms(
ref,
edgeImage.ref,
orientationImage.ref,
p,
r,
s,
m,
isParallel,
),
);
return Mat.fromPointer(p);
}