形状模型的轮廓不包含所有边缘。

<< 点击显示目录 >>

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

形状模型的轮廓不包含所有边缘。

返回的形状模型轮廓不包含所有预期边缘。

可能的原因

模型最小尺寸的默认值。

在下面的示例中,在设置"ModelMinSize=-1"时,字母 B 上部的孔没有教入。

matching_teach1_modelminsize_min

可能的解决方案

调整模型最小尺寸的值。

在下面的示例中,ModelMinSize手动调整为 5。这部分轮廓也将根据调整后的值进行连接。

matching_teach2_modelminsize_opt

其他方面

最大化模型最小值。这样就不会教入小轮廓。

在下面的示例中,ModelMinSize被手动调整为 100。字母 B 不会被教入。

matching_teach3_modelminsize_max


The returned contour of the shape model does not contain all expected edges.

Possible reasons

The default value of ModelMinSize.

In the following example, the upper hole at letter B is not taught-in with setting "ModelMinSize=-1".

matching_teach1_modelminsize_min

Possible solution

Adjust the value of ModelMinSize.

In the following example, ModelMinSize is manually adjusted to 5. This part of the contour is also attached with this adjusted value.

matching_teach2_modelminsize_opt

Other aspects

Maximize the value of ModelMinSize. This way, small contours are not taught-in.

In the following example, ModelMinSize is manually adjusted to 100. Letter B is not taught-in.

matching_teach3_modelminsize_max