You are here: Start » AVL.NET » Function Reference » Computer Vision » Shape Fitting » AVL.DetectSegments_LSD
Finds segments in an image using Line Segment Detection method.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void DetectSegments_LSD ( AvlNet.Image inImage, AvlNet.GaussKernel inSmoothing, float inEdgeThreshold, int inMinLength, IList<AvlNet.Segment2D> outSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image to fit the segments to. | |||
inSmoothing | AvlNet.GaussKernel | _5x5 | Predefined Gauss kernel. Default value: _5x5. | ||
inEdgeThreshold | float | <0.1f, INF> | 4.0f | Minimum accepted edge magnitude. Default value: 4.0f. | |
inMinLength | int | <0, INF> | 10 | Minimum length of output segments. Default value: 10. | |
outSegments | System.Collections.Generic.IList<AvlNet.Segment2D> | Found segments. |