<< 点击显示目录 >> 主页 mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 诊断 > 常见问题 > 测量常见问题 |
本节将回答有关视觉功能测量的常见问题。
使用 CircleModel 和 EdgeModel 时,必须确保找到的边缘不会中断。
在示教过程中,无论完整度是否小于 1.0,都只考虑最长的边缘。
使用参数 Operation(n) 测量两条直线之间的角度时,总是从参考线到目标线进行测量。这样只能得到正角,请参阅下面的示例:
使用两个边缘模型(无论边缘模型是 0 还是 1)的操作角总是返回最小的角度。
如果操作符 "角度 "选择了不可计算的模型,如圆形模型或中点模型,则会返回值-999。
使用参数 Operation(n) 测量两条直线之间的角度时,即使公共交点位于图像区域之外,函数也能计算出有效的角度。前提是仍能找到操作的元素(模型)。
This section answers frequently asked questions about vision function Measurement.
With CircleModel and EdgeModel, it is important to ensure that the edges found are not interrupted.
Only the longest edge is taken into account during the teach-in process, regardless of whether Completeness is less than 1.0 or not.
Parameter Completeness only takes effect during the search.
When measuring an angle between 2 straight lines using parameter Operation(n), the measurement is always taken from the reference line to the target line. This results in only positive angles, see the following example:
Using the operation angle of two edge models (no matter if edge model 0 or 1) always returns the smallest angle.
Let green be the reference line with 0° on the right and 180° on the left. The measured angle is 45° for the yellow target line. The angle is likewise 45° (smallest angle) for the second case of the red target line. |
The measurement was not defined correctly.
If operator Angle is selected with a non-computable model, such as a circular model or a midpoint model, value -999 is returned.
Even if the common intersection point is outside the image area when measuring an angle between 2 straight lines using parameter Operation(n), the function can calculate a valid angle. And that is if the elements (models) for the operation can still be found.
•Do interrupted edges have an effect?
•When is Completeness relevant?
•What angles between straight lines are measured?
•What happened if value -999 is returned for the angle?
•What happens if the intersection point is outside the image area?
•What must be taken into account when teaching-in EdgeModel_0?
•What must be taken into account when teaching-in EdgeModel_1?
•What must be taken into account when teaching-in CircleMode?