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

AVL.DetectSegments_LSD

Finds segments in an image using Line Segment Detection method.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DetectSegments_LSD
(
	AvlNet.Image inImage,
	AvlNet.GaussKernel inSmoothing,
	float inEdgeThreshold,
	int inMinLength,
	IList<AvlNet.Segment2D> outSegments
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to fit the segments to.
inSmoothingAvlNet.GaussKernel_5x5Predefined Gauss kernel. Default value: _5x5.
inEdgeThresholdfloat<0.1f, INF>4.0fMinimum accepted edge magnitude. Default value: 4.0f.
inMinLengthint<0, INF>10Minimum length of output segments. Default value: 10.
outSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Found segments.

Function Overrides

See also