| StructuredEdgeDetectionEdgesNms Method |
The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual void EdgesNms(
InputArray edgeImage,
InputArray orientationImage,
OutputArray dst,
int r = 2,
int s = 0,
float m = 1f,
bool isParallel = true
)
Public Overridable Sub EdgesNms (
edgeImage As InputArray,
orientationImage As InputArray,
dst As OutputArray,
Optional r As Integer = 2,
Optional s As Integer = 0,
Optional m As Single = 1F,
Optional isParallel As Boolean = true
)
public:
virtual void EdgesNms(
InputArray^ edgeImage,
InputArray^ orientationImage,
OutputArray^ dst,
int r = 2,
int s = 0,
float m = 1f,
bool isParallel = true
)
abstract EdgesNms :
edgeImage : InputArray *
orientationImage : InputArray *
dst : OutputArray *
?r : int *
?s : int *
?m : float32 *
?isParallel : bool
(* Defaults:
let _r = defaultArg r 2
let _s = defaultArg s 0
let _m = defaultArg m 1f
let _isParallel = defaultArg isParallel true
*)
-> unit
override EdgesNms :
edgeImage : InputArray *
orientationImage : InputArray *
dst : OutputArray *
?r : int *
?s : int *
?m : float32 *
?isParallel : bool
(* Defaults:
let _r = defaultArg r 2
let _s = defaultArg s 0
let _m = defaultArg m 1f
let _isParallel = defaultArg isParallel true
*)
-> unit
Parameters
- edgeImage
- Type: OpenCvSharpInputArray
edge image from detectEdges function. - orientationImage
- Type: OpenCvSharpInputArray
orientation image from computeOrientation function. - dst
- Type: OpenCvSharpOutputArray
suppressed image (grayscale, float, in [0;1]) - r (Optional)
- Type: SystemInt32
radius for NMS suppression. - s (Optional)
- Type: SystemInt32
radius for boundary suppression. - m (Optional)
- Type: SystemSingle
multiplier for conservative suppression. - isParallel (Optional)
- Type: SystemBoolean
enables/disables parallel computing.
See Also