You are here: Start » AVL.NET » Function Reference » Computer Vision » Shape Fitting » AVL.DetectPolygons_LSD

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
inImageAvlNet.ImageImage to fit the polygons to.
inRoiAvlNet.NullableRef<AvlNet.Region>Input region of interest. Default value: atl::NIL.
inPathAvlNet.PathInput Polygon.
inSmoothingAvlNet.GaussKernel_5x5Predefined Gauss kernel. Default value: _5x5.
inEdgeThresholdfloat<0.1f, INF>4.0fMinimum accepted edge magnitude. Default value: 4.0f.
inTolerancefloat<0.001f, INF>1.fMaximum accepted defects in output polygons. Default value: 1.f.
outPathsSystem.Collections.Generic.IList<AvlNet.Path>Found polygons.

Function Overrides

See also