DetectArc_LSD


Finds arcs in an image using Line Segment Detection method.

Syntax

C++
C#
Python
 
def DetectArc_LSD(
	inImage: Image,
	inSmoothing: GaussKernel,
	inEdgeThreshold: float,
	inMinLength: int,
	/,
	*,
	inRoi: Region | None = None
)
-> outArcs: list[Arc2D]

Parameters

Name Type Range Default Description
Input value inImage Image Image to fit the arcs to
Input value inRoi Region | None None Input region of interest
Input value inSmoothing GaussKernel Predefined Gauss kernel
Input value inEdgeThreshold float 0.1 - Minimum accepted edge magnitude
Input value inMinLength int 0 - Minimum length of output arcs
Output value outArcs list[Arc2D] Found arcs