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

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
inImageFilNet.ImageImage to fit the polygons to.
inRoiFilNet.NullableRef<FilNet.Region>Input region of interest. Default value: ftl::NIL.
inPathFilNet.PathInput Polygon.
inSmoothingFilNet.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<FilNet.Path>Found polygons.

Function Overrides

See also