摘要:
'byte' 每像素1字节,无符号 取值范围:(0..255) 'int1' 每个像素1个字节,有符号 取值范围:(-128..127) 'uint2' 每像素2字节,无符号 Value range: (0..65535) 'int2' 每个像素2个字节,有符号 取值范围:(-32768..3276 阅读全文
posted @ 2022-02-13 20:17
天子骄龙
阅读(262)
评论(0)
推荐(0)
摘要:
1、项目—》属性—》c/c++—》常规—》附件包含目录-》添加HALON的头文件,/include和/include/halconcpp两个目录;如下图: $(HALCONROOT)\include $(HALCONROOT)\include\halconcpp 2、链接器—》常规—》附加库目录—》 阅读全文
posted @ 2022-02-13 12:08
天子骄龙
阅读(565)
评论(0)
推荐(0)
摘要:
在HDevelop中 1.png read_image (Image, 'D:/bb/tu/1.png') rgb1_to_gray(Image,Image1) threshold (Image1, Region, 0, 150) region_to_mean(Region,Image,Disp) 阅读全文
posted @ 2022-02-13 09:46
天子骄龙
阅读(529)
评论(0)
推荐(0)
摘要:
在HDevelop中 read_image (Image, 'D:/bb/tu/ma.jpg') dev_open_window(0,0,500,400,'black',WindowHandle) set_window_extents(WindowHandle,100,0,300,200) *修改窗 阅读全文
posted @ 2022-02-13 07:29
天子骄龙
阅读(1173)
评论(0)
推荐(0)
摘要:
在QtCreator中 HTuple hv_WindowHandle; Hlong windID; QLabel* label; HObject ho_Image; label=new QLabel(this); label->resize(400,300); windID = (Hlong)thi 阅读全文
posted @ 2022-02-13 07:02
天子骄龙
阅读(439)
评论(0)
推荐(0)

浙公网安备 33010602011771号