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