测量常见问题

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 诊断 > 常见问题 >

测量常见问题

本节将回答有关视觉功能测量的常见问题。

中断的边缘有影响吗?

使用 CircleModel 和 EdgeModel 时,必须确保找到的边缘不会中断。

在示教过程中,无论完整度是否小于 1.0,都只考虑最长的边缘。

完整性何时相关?

参数完备性仅在搜索过程中生效。

测量直线间的哪些角度?

使用参数 Operation(n) 测量两条直线之间的角度时,总是从参考线到目标线进行测量。这样只能得到正角,请参阅下面的示例:

信息:

使用两个边缘模型(无论边缘模型是 0 还是 1)的操作角总是返回最小的角度。

measurement_winkel_ausrichtung

假设绿色为参考线,右边为 0°,左边为 180°。

黄色目标线的测量角度为 45°。

对于红色目标线的第二种情况,角度同样为 45°(最小角度)。

如果角度值返回 -999 会发生什么情况?

测量定义不正确。

如果操作符 "角度 "选择了不可计算的模型,如圆形模型或中点模型,则会返回值-999。

如果交点在图像区域之外,会发生什么情况?

使用参数 Operation(n) 测量两条直线之间的角度时,即使公共交点位于图像区域之外,函数也能计算出有效的角度。前提是仍能找到操作的元素(模型)。

本节主题

断开的边有影响吗?

完整性在什么情况下相关?

直线之间的哪些角度可以测量?

如果角度返回值为 -999 会怎样?

如果交点位于图像区域之外会发生什么情况?

EdgeModel_0 教学时必须注意什么?

在 EdgeModel_1 中进行示教时必须注意什么?

使用 CircleMode 教学时必须注意什么?


This section answers frequently asked questions about vision function Measurement.

Do interrupted edges have an effect?

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.

When is Completeness relevant?

Parameter Completeness only takes effect during the search.

What angles between straight lines are measured?

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:

Information:

Using the operation angle of two edge models (no matter if edge model 0 or 1) always returns the smallest angle.

measurement_winkel_ausrichtung

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.

What happened if value -999 is returned for the angle?

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.

What happens if the intersection point is outside the image area?

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.

Topics in this section:

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?