上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 164 下一页
摘要: 在HDevelop中 read_image (Image, 'D:/bb/tu/RGB.png') decompose3(Image,R,G,B) *将三通道图像转换为三个图像 *参数1:原图像-3通道图像 在QtCreator中 HObject ho_Image, ho_R, ho_G, ho_B 阅读全文
posted @ 2022-02-10 13:29 天子骄龙 阅读(938) 评论(0) 推荐(0)
摘要: 在HDevelop中 read_image(Image1,'D:/bb/tu/ma.jpg') get_image_size (Image1, Width, Height) zoom_image_size(Image1,ZooImage, 200, 100, 'bilinear') *功能:将图像缩 阅读全文
posted @ 2022-02-10 09:54 天子骄龙 阅读(4887) 评论(0) 推荐(0)
摘要: 在HDevelop中 read_image(Image,'D:/bb/tu/ma.jpg') get_image_size (Image, Width, Height) zoom_image_factor(Image,ZooImage, 0.5, 0.5, 'bilinear') *功能:按给定因子 阅读全文
posted @ 2022-02-10 09:29 天子骄龙 阅读(2511) 评论(0) 推荐(1)
摘要: halcon显示图像的各个函数区别 disp_image() 图像首通道灰度图,如3通道图像,也仅显示第一个数据通道图像; disp_color() 显示彩色图; disp_channel() 某特定通道; disp_obj() 自动判别类别,即图像为彩色图像,则显示为彩色;如图像为灰色图像,则显示 阅读全文
posted @ 2022-02-09 21:59 天子骄龙 阅读(473) 评论(0) 推荐(0)
摘要: 在HDevelop中 try *********可能引发异常的语句******** i:=0 k:=5/i ********************************** catch(exception) *catch(异常类型1) *******异常处理代码*********** Error 阅读全文
posted @ 2022-02-09 09:38 天子骄龙 阅读(421) 评论(0) 推荐(0)
摘要: 在HDevelop中 方法一 open_framegrabber ('DirectFile', 1, 1, 0, 0, 0, 0, 'default', 8, 'rgb', -1, 'default', 'D:/bb/tu/aa.avi', 'default', -1, -1, AcqHandle) 阅读全文
posted @ 2022-02-08 18:39 天子骄龙 阅读(936) 评论(0) 推荐(0)
摘要: 在HDevelop中 dev_open_file_dialog ('Images (*.jpg *.png)', 'read', 'D:/bb', Selection1) *作用:打开一个文件选择对话框 *参数1:文件筛选 * 'read_image' 表示read_image指令支持的文件 * ' 阅读全文
posted @ 2022-02-08 14:21 天子骄龙 阅读(192) 评论(0) 推荐(0)
摘要: 在HDevelop中 read_image(Image,'D:/bb/tu/ma.jpg') dev_open_window(0,0,500,300,'black',WindowHandle) dev_display(Image) dev_open_window(0,100,500,300,'bla 阅读全文
posted @ 2022-02-08 12:15 天子骄龙 阅读(437) 评论(0) 推荐(0)
摘要: 在HDevelop中 list_files('D:/bb/tu','files',files) *作用:列出文件夹中的所有文件路径 *参数1:文件夹路径 *参数2:‘files’ 指定搜索的格式为文件 * ‘directories’ 指定搜索的格式为文件夹 * ‘recursive’ 指定可以遍历子 阅读全文
posted @ 2022-02-07 21:28 天子骄龙 阅读(1655) 评论(0) 推荐(0)
摘要: #include "win.h" Win::Win(QWidget *parent) : QWidget(parent) { this->resize(500,300); QLabel* label=new QLabel("我是中国人",this); label->move(10,10); HObj 阅读全文
posted @ 2022-02-06 11:16 天子骄龙 阅读(422) 评论(1) 推荐(0)
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 164 下一页