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


