You are here: Start » AVL.NET » Invoke.DetectSegments_LSD
Finds segments in an image using Line Segment Detection method.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void DetectSegments_LSD ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.GaussKernel inSmoothing, float inEdgeThreshold, int inMinLength, List<Avl.Segment2D> outSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Image to fit the segments to. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Input region of interest. Default value: atl::NIL. | ||
![]() | inSmoothing | Avl.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.List<Avl.Segment2D> | Found segments. |