DetectCircle_LSD
Finds circles in the input image using Line Segment Detection method.
Syntax
C++
C#
Python
def DetectCircle_LSD( inImage: Image, inSmoothing: GaussKernel, inEdgeThreshold: float, inToleranceCircle: float, inMinRadius: int, /, *, inRoi: Region | None = None ) -> outCircles: list[Circle2D]
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Image to fit the circles to | ||
![]() |
inRoi | Region | None | None | Input region of interest | |
![]() |
inSmoothing | GaussKernel | Predefined Gauss kernel | ||
![]() |
inEdgeThreshold | float | 0.1 - ![]() |
Minimum accepted edge magnitude | |
![]() |
inToleranceCircle | float | 0.001 - ![]() |
Maximum accepted defects in output circles | |
![]() |
inMinRadius | int | 0 - ![]() |
Minimum radius of output circles | |
![]() |
outCircles | list[Circle2D] | Found circles |



