Table of Contents

Method EdgesNms

Namespace
OpenCvSharp.XImgProc
Assembly
OpenCvSharp.dll

EdgesNms(InputArray, InputArray, OutputArray, int, int, float, bool)

The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.

public virtual void EdgesNms(InputArray edgeImage, InputArray orientationImage, OutputArray dst, int r = 2, int s = 0, float m = 1, bool isParallel = true)

Parameters

edgeImage InputArray

edge image from detectEdges function.

orientationImage InputArray

orientation image from computeOrientation function.

dst OutputArray

suppressed image (grayscale, float, in [0;1])

r int

radius for NMS suppression.

s int

radius for boundary suppression.

m float

multiplier for conservative suppression.

isParallel bool

enables/disables parallel computing.