You are here: Start » AVL.NET » AVS.DetectLines Method
AVS.DetectLines Method
Finds lines in an image using Hough Transform.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void DetectLines ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, float inAngleResolution, float inMinAngleDelta, float inMinDistance, float inMinScore, float inEdgeThreshold, IList<AvlNet.Line2D> outLines, IList<float> outScores )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Input region of interest. Default value: atl::NIL. | |||
inAngleResolution | float | <0.1f, 180.0f> | 1.0f | Resolution of lines' orientation. Default value: 1.0f. | |
inMinAngleDelta | float | <0.0f, INF> | 20.0f | Minimum angle between two lines. Default value: 20.0f. | |
inMinDistance | float | <0.0f, INF> | 20.0f | Minimum distance between two lines. Default value: 20.0f. | |
inMinScore | float | <0.0f, INF> | 20.0f | Minimum matching score. Default value: 20.0f. | |
inEdgeThreshold | float | 10.0f | Minimum accepted edge magnitude. Default value: 10.0f. | ||
outLines | System.Collections.Generic.IList<AvlNet.Line2D> | Output lines. | |||
outScores | System.Collections.Generic.IList<float> | Output scores. |
Function Overrides
- DetectLines(Image, Single, Single, Single, Single, Single, IList<Line2D>, IList<Single>)
- DetectLines(Image, NullableRef<Region>, Single, Single, Single, Single, Single, IList<Line2D>, IList<Single>, Image, Image)