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

Invoke.DetectSegments_LSD

Finds segments in an image using Line Segment Detection method.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void DetectSegments_LSD
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Avl.GaussKernel inSmoothing,
	float inEdgeThreshold,
	int inMinLength,
	List<Avl.Segment2D> outSegments
)

Parameters

Name Type Range Default Description
inImageAvl.ImageImage to fit the segments to.
inRoiAtl.Optional<Avl.Region>Input region of interest. Default value: atl::NIL.
inSmoothingAvl.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.List<Avl.Segment2D>Found segments.

See also