You are here: Start » AVL.NET » AVS.DetectEdges_AsPaths_Mask Method
AVS.DetectEdges_AsPaths_Mask Method
Extracts subpixel-precise paths that represent continuous edges. Faster, yet less accurate version.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void DetectEdges_AsPaths_Mask ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, AvlNet.EdgeMaskFilter inEdgeMaskFilter, float inEdgeThreshold, float inEdgeHysteresis, float? inMaxJoiningDistance, float inMaxJoiningAngle, float inJoiningDistanceBalance, float? inJoiningEndingLength, float inMinEdgeLength, IList<AvlNet.Path> outEdges, AvlNet.Image diagGradientMagnitudeImage, AvlNet.Region diagEdgeRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image from which edges will be extracted. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of the image from which edges will be extracted. Default value: atl::NIL. | |||
inEdgeMaskFilter | AvlNet.EdgeMaskFilter | Type of edge filter used for computing gradients. | |||
inEdgeThreshold | float | <0.0f, INF> | 35.0f | Sufficient edge strength; edges of that strength will always be detected. Default value: 35.0f. | |
inEdgeHysteresis | float | <0.0f, INF> | 15.0f | Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 15.0f. | |
inMaxJoiningDistance | float? | <0.0f, INF> | Maximal distance between edges that can be joined. Default value: atl::NIL. | ||
inMaxJoiningAngle | float | <0.0f, 180.0f> | 30.0f | Maximal allowed angle between edges being joined. Default value: 30.0f. | |
inJoiningDistanceBalance | float | <0.0f, 1.0f> | 0.0f | Determines how important distance between edges is according to their angle difference. Default value: 0.0f. | |
inJoiningEndingLength | float? | <1.0f, INF> | Determines the length of the edge end used for edge angle computing. Default value: atl::NIL. | ||
inMinEdgeLength | float | <0.0f, INF> | 0.0f | Minimal length of an edge. Default value: 0.0f. | |
outEdges | System.Collections.Generic.IList<AvlNet.Path> | Paths representing found edges. | |||
diagGradientMagnitudeImage | AvlNet.Image | Visualization of the gradient magnitude. | |||
diagEdgeRegion | AvlNet.Region | Region representing found edges. |
Function Overrides
- DetectEdges_AsPaths_Mask(Image, EdgeMaskFilter, Single, Single, Single, Single, Single, IList<Path>)
- DetectEdges_AsPaths_Mask(Image, NullableRef<Region>, EdgeMaskFilter, Single, Single, Nullable<Single>, Single, Single, Nullable<Single>, Single, IList<Path>)