halcon 中的select_obj使用

count_obj ( Objects : : : Number ) 主要用法是计算objects 的个数。

assign ( : : Input : Result ) 给控制变量分配新值

区别 是 Count_obj 主要是用来计算被识别出来的区域的个数

Assign 主要是用来识别数组中的值

在众多区域中选择输出的算子是

select_obj ( Objects : ObjectSelected : Index : )   Index是指编号,且从 1 开始计数

猜你喜欢

转载自blog.csdn.net/weixin_39354845/article/details/123352846