性能优化:若需最终合并区域,可先使用 concat_obj 连接,再调用 union1 合并,以平衡灵活性与效率1。通过上述特性,concat_obj 在 Halcon 中常用于高效管理多对象容器,避免不必要的区域合并开销。
halcon-concat_obj两个区域组合成区域集 在HDevelop中 gen_region_line (RegionLines, 100, 50, 100, 150) gen_region_line (RegionLines1, 150, 50, 150, 150) concat_obj (RegionLines, RegionLines1, ObjectsConcat) *两个区域组合成区域集 *参数3:输出区域 dev_open_window(0,100,300,300,'black'...
concat_obj (RegionLines, RegionLines1, ObjectsConcat) *两个区域组合成区域集 *参数3:输出区域 dev_open_window(0,100,300,300,'black',WindowHandle) dev_display(ObjectsConcat) 1. 2. 3. 4. 5. 6. 7. 8. 9. 在Qt Creator中 HObject ho_RegionLines, ho_RegionLines1, ho_ObjectsConcat; HTup...
concat_obj(Operator) Name concat_obj— Concatenate two iconic object tuples. Signature Description concat_objconcatenates the two tuples of iconic objectsObjects1andObjects2into a new tuple of iconic objectsObjectsConcat. Hence, this tuple contains all the iconic objects of the two input tuples: ...
concat_obj (RegionLines, RegionLines1, ObjectsConcat) *两个区域组合成区域集 *参数3:输出区域 dev_open_window(0,100,300,300,'black',WindowHandle) dev_display(ObjectsConcat) 1. 2. 3. 4. 5. 6. 7. 8. 9. 在Qt Creator中 HObject ho_RegionLines, ho_RegionLines1, ho_ObjectsConcat; ...
concat_obj(Operator) Name concat_obj— Concatenate two iconic object tuples. Signature Description concat_objconcatenates the two tuples of iconic objectsObjects1andObjects2into a new tuple of iconic objectsObjectsConcat. Hence, this tuple contains all the iconic objects of the two input tuples: ...
concat_obj(Operator) Name concat_obj— Concatenate two iconic object tuples. Signature Description concat_objconcatenates the two tuples of iconic objectsObjects1andObjects2into a new tuple of iconic objectsObjectsConcat. Hence, this tuple contains all the iconic objects of the two input tuples: ...