You are here: Start » FIL.NET » Function Reference » Computer Vision » Shape Fitting » FIL.DetectPolygons_LSD
Finds a specified polygons in an image using Line Segment Detection method.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void DetectPolygons_LSD ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, FilNet.Path inPath, FilNet.GaussKernel inSmoothing, float inEdgeThreshold, float inTolerance, IList<FilNet.Path> outPaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Image to fit the polygons to. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Input region of interest. Default value: ftl::NIL. | ||
![]() | inPath | FilNet.Path | Input Polygon. | ||
![]() | 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. |
![]() | inTolerance | float | <0.001f, INF> | 1.f | Maximum accepted defects in output polygons. Default value: 1.f. |
![]() | outPaths | System.Collections.Generic.IList<FilNet.Path> | Found polygons. |