Back to FabImage Library website

You are here: Start » Function Reference » Computer Vision » Shape Fitting » DetectArc_LSD

DetectArc_LSD


Header: FIL.h
Namespace: fil
Module: FoundationPro

Finds arcs in an image using Line Segment Detection method.

Syntax

C++
C#
 
void fil::DetectArc_LSD
(
	const fil::Image& inImage,
	ftl::Optional<const fil::Region&> inRoi,
	fil::GaussKernel::Type inSmoothing,
	float inEdgeThreshold,
	int inMinLength,
	ftl::Array<fil::Arc2D>& outArcs
)

Parameters

Name Type Range Default Description
Input value
inImage const Image& Image to fit the arcs to
Input value
inRoi Optional<const Region&> NIL Input region of interest
Input value
inSmoothing GaussKernel::Type _5x5 Predefined Gauss kernel
Input value
inEdgeThreshold float 0.1 - 4.0f Minimum accepted edge magnitude
Input value
inMinLength int 0 - 10 Minimum length of output arcs
Output value
outArcs Array<Arc2D>& Found arcs