Detect and Measure Circle
Contents of this Step are under maintenance. If you need more information about this Step with urgency, please contact us at docs@mech-mind.net. |
Function
This Step manually sets an ROI that contains the circle to detect, and this Step will detect the circle and output its info. Edge detection frames will be generated along the roughly drawn circle in the manually selected ROI, the object edge points will be detected by the grayscale changes in the edge detection frames, and in the end, the edge points will be used to fit the accurate circle. The circle for circumferential arrangement takes the center of the ROI as the center, and takes the smaller value of the half-height and half-width of the ROI as the radius.
Usage Scenario
This Step is for detecting the pixel-wise positions and radii of circles in images to prepare for subsequent calculation of physical dimensions in measurement scenarios.
Input and Output
-
Input:
-
Image input at this port will have a circle in ROI detected.
-
2D transformation input at this port is used to transform the ROI set in a previous execution to the appropriate position and orientations.
-
-
Output:
-
Visualization image.
-
The center coordinates and radius (in pixels) of the detected circle.
-