You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting » FIL.DetectSegments_LSD
Finds segments in an image using Line Segment Detection method.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void DetectSegments_LSD ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, FilNet.GaussKernel inSmoothing, float inEdgeThreshold, int inMinLength, IList<FilNet.Segment2D> outSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Image to fit the segments to. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Input region of interest. Default value: ftl::NIL. | ||
![]() | inSmoothing | FilNet.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<FilNet.Segment2D> | Found segments. |