Halcon 算子 select_shape- 借助形状特征选择区域(选择轮廓)
select_shape - 借助形状特征选择区域
描述:
操作符select_shape根据形状选择区域。对于来自区域的每个输入区域,计算所指示的特征(features)。如果计算特征的每个(Operation=‘and’)或至少一个(Operation=‘or’)在默认限制(最小值、最大值)内,则该区域将适应输出(复制)。
条件:Min_i <= Feature_i(Object) <= Max_i
功能特征的取值:
特征 | 英文 | 中文 | 备注 |
---|---|---|---|
area | Area of the object | 对象的面积 | |
row | Row index of the center | 中心点的行坐标 | |
column | Column index of the center | 中心点的列坐标 | |
width | Width of the region | 区域的宽度 | |
height | Height of the region | 区域的高度 | |