You are here: Start » AVL.NET » Invoke.DetectEdges_AsRegion
Extracts a pixel-precise region of continuous edges.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void DetectEdges_AsRegion ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.EdgeFilter inEdgeFilter, float inStdDevX, Optional<float> inStdDevY, float inEdgeThreshold, float inEdgeHysteresis, float inMaxJoiningDistance, int inMinBlobArea, Avl.Region outEdgeRegion, Diagnostic<Avl.Image> diagGradientMagnitudeImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Image from which edges will be extracted. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Region of the image from which edges will be extracted. Default value: atl::NIL. | ||
![]() | inEdgeFilter | Avl.EdgeFilter | Type of edge filter used for computing gradients. | ||
![]() | inStdDevX | float | <0.0f, INF> | 2.0f | Amount of horizontal smoothing used by the edge filter. Default value: 2.0f. |
![]() | inStdDevY | Atl.Optional<float> | <0.0f, INF> | Amount of vertical smoothing used by the edge filter. Default value: atl::NIL. | |
![]() | inEdgeThreshold | float | <0.0f, INF> | 15.0f | Sufficient edge strength; edges of that strength will always be detected. Default value: 15.0f. |
![]() | inEdgeHysteresis | float | <0.0f, INF> | 5.0f | Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 5.0f. |
![]() | inMaxJoiningDistance | float | <0.0f, INF> | 0.0f | Maximal distance between edges that can be joined. Default value: 0.0f. |
![]() | inMinBlobArea | int | <0, INF> | 1 | Minimal area of an edge blob. Default value: 1. |
![]() | outEdgeRegion | Avl.Region | Region of the found edges. | ||
![]() | diagGradientMagnitudeImage | Avl.Diagnostic<Avl.Image> | Visualization of the gradient magnitude. |