Detect Circle Centers

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step detects the center of the circles in the image.

Usage Scenario

This Step is a general circle center detection Step. This Step has no fixed usage scenarios.

Input and Output

Input

Input port Data type Description

Image

Image

Centers of circles in the image input to this port will be detected.

Output

Output port Data type Description

Circle Shape Info

Shape2D/Circle[]

Information of the detected circles (including center, and radius).

Visualization Image

Image -

Image for visualization.

Parameter Description

Circle Detector Settings

Parameter Description

Circle Detector Type

Parameter description: This parameter is used to set the algorithm type of the circle detector.

Value list: SpatialTransformation, Statistics

Default value: SpatialTransformation

Edge Sharpness Level

Parameter description: This parameter is used to set the requirement for circle edge sharpness during detection. Larger values require higher edge clarity.
Default value: 5

Circle Similarity

Parameter description: This parameter is used to set the similarity threshold between candidate targets and ideal circles.
Default value: 5

Edge Smoothness Level

Parameter description: This parameter is used to set the threshold for determining circle edge smoothness.
Default value: 9

Minimum Distance between Circles

Parameter description: This parameter is used to set the minimum circle center distance allowed between two detection results.
Default value: 500 px

Gradient Threshold

Parameter description: This parameter is used to set a high threshold for the Canny detector. The lower the value, the more edge pixels.
Default value: 50

Accumulator Threshold

Parameter description: This parameter is used to set the accumulator threshold for the circle center during detection. The lower the threshold, the more circles are detected.
Default value: 20

Dp

Parameter description: The ratio of the image resolution to the accumulator resolution. The higher the value, the larger the number of circles detected.
Default value: 2

Circle Radius Settings

Parameter Description

Min Radius

Parameter description: This parameter is used to set the minimum radius of circles to be detected.
Default value: 10 px

Max Radius

Parameter description: This parameter is used to set the maximum radius of circles to be detected.
Default value: 20 px

Parameter Description

Output Type

Parameter description: This parameter is used to set the output data type of circle detection results.

Value list: Pose2DList, Shape2DList

Default value: Shape2DList

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.