Manual

Table Of Contents
DobotVisionStudio User Guide
Issue V4.1.2 (2022-06-08) User Guide Copyright © Yuejiang Technology Co., Ltd.
126
4. Output Result:angle between line circle connecting line and horizontal line, the vertical distance
between the line and circle, intersection point coordinate of the line and the circle, and projection
coordinate of circle center.
5. Running Parameter: the running parameters are valid only when the data source selects the
drawing input mode, invalid when the subscription input mode is selected .
6. Select Type: Select an object, line or circle, to configure parameters.
Select Line for Type
Edge Type:
- Strongest Edge: only the edge point set with the largest gradient in the scanning range
is detected and fitted into a line.
- First Edge: the first line satisfying the condition.
- Last Edge: the last line satisfying the condition.
Edge Polarity:
- Dark to light: it means that the transition from the area with a low gray value to the
edge of the area with a high gray value.
- Light to dark: it means the transition from the area with a high gray value to the edge
of the area with a low gray value.
- Any means both edges are detected.
Edge Threshold: When the select type is line, the default value is 5. The edge threshold is
the gradient threshold, ranging from 0 to 255. Only edge points whose edge gradient threshold is
greater than this value are detected. The larger the value is, the stronger the anti noise ability is, the
less the number of edges is, and even the target edge points are screened out.
Filter Size: it is used to enhance the edge and suppress noise, and its minimum value is 1.
When the edge is blurred or there is noise interference, you can increase its value to make the
detection result more stable. If the distance between the edge and the edge is smaller than the filter
size, it will affect the accuracy of the edge location or even lose edge. This value needs to be set
based on the actual situation.
Reject Number: It means that the number of minimum points that have high error to be
excluded from fitting. In general, if there is a great number of points excluded from fitting, its value
should be set higher. For better results, it is recommended to use it in combination with the parameter
of distance to remove.
Distance to Remove: It means that the maximum pixel distance from the outlier to the fit
line. The smaller the value, the more points are excluded.
Initial Fit: It has two types, including global and partial fit.
- Partial:Local optimization is to fit the line according to the local feature points. If the
local feature more accurately reflects the position of the line, the local optimization
is adopted, otherwise the global optimization is adopted.
- Global: line fit with the found global feature points