摘要: dev_update_off () imageList := 'die/' + ['die_02','die_03','die_04','die_07'] * 设置显示颜色 dev_set_colored (12) * 读取一张图片获取尺寸显示 read_image (Image, imageLis 阅读全文
posted @ 2022-01-04 23:32 LD_Dragon_sky 阅读(105) 评论(0) 推荐(0) 编辑
摘要: read_image (Image, 'circular_barcode') threshold (Image, Region, 0, 100) closing_circle (Region, RegionClosing, 3.5) connection (RegionClosing, Connec 阅读全文
posted @ 2022-01-04 23:31 LD_Dragon_sky 阅读(90) 评论(0) 推荐(0) 编辑
摘要: read_image (Image, 'printer_chip/printer_chip_01') get_image_size (Image, Width, Height) dev_open_window (0, 0, Width/3, Height/3, 'black', WindowHand 阅读全文
posted @ 2022-01-04 23:29 LD_Dragon_sky 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 区域操作 区域生成 以下得到的都是区域 read_image (Image, 'printer_chip/printer_chip_01') get_image_size (Image, Width, Height) dev_open_window (0, 0, Width/3, Height/3, 阅读全文
posted @ 2022-01-04 23:28 LD_Dragon_sky 阅读(605) 评论(0) 推荐(0) 编辑
摘要: *halcon基础编程 等号 := 不等号 # 注释号 * 字符串赋值 str := 'halcon' 等于比较符 if(X=10) 与: if(A>1 and A<30) 或: if(A>1 or A<30) 求反: if(not(A=10)) * 二值化 threshold (Image, Re 阅读全文
posted @ 2022-01-04 23:25 LD_Dragon_sky 阅读(234) 评论(0) 推荐(0) 编辑