You are here: Start » AVL.NET » Invoke.DetectPolygons_LSD

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
inImageAvl.ImageImage to fit the polygons to.
inRoiAtl.Optional<Avl.Region>Input region of interest. Default value: atl::NIL.
inPathAvl.PathInput Polygon.
inSmoothingAvl.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.List<Avl.Path>Found polygons.

See also