Hough Circle Detection

Function: Hough Circle Detection

Input Parameters:

Name Type Valid Range Default Value Meaning

Input image

MonoImage

None

None

Grayscale image

Output Parameters:

Name Type Valid Range Default Value Meaning

Detection results

DetectInstance

None

{}

Returns bounding boxes, categories, scores and polygon.

Center point

List

None

[]

Center point

Radius

List

None

[]

Radius

Parameter Settings:

Name Type Valid Range Default Value Meaning

Testing method

String

['HOUGH_GRADIENT', 'HOUGH_GRADIENT_ALT']

HOUGH_GRADIENT

Detection method.

Minimum circular center distance

Float

[0.0, 800.0]

200

The minimum distance between the detected centers of the circle. If the parameter is too small, it is possible to incorrectly detect multiple adjacent circles in addition to one real circle. If the parameter is too large, some circles may be missed.

Canny parameters

Float

[0.0, 1000.0]

100

Canny parameters.

Candidate score threshold

Float

[0.0, 1000.0]

1

Candidate score threshold.

Min radius

Integer

[1, 800]

100

Minimum pixel radius.

Maximum radius

Integer

[1, 800]

200

Maximum pixel radius.