摘要: //创建原图副本 img.CopyTo(imgCopy); //ROI区域 Rect rect = new Rect(CaptureRectangle.X, CaptureRectangle.Y, CaptureRectangle.Width, CaptureRectangle.Height); i 阅读全文
posted @ 2023-08-05 03:34 JIAXUN 阅读(597) 评论(0) 推荐(0) 编辑
摘要: /////声明变量 //原始图像 Mat img; //canny边缘提取参数 public double cannyThreshold1; //canny参数阈值1 public double cannyThreshold2; //canny参数阈值2 //霍夫直线检测参数 public doub 阅读全文
posted @ 2023-08-05 03:16 JIAXUN 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 引用NModbus4.dll using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO.Ports; 阅读全文
posted @ 2023-08-05 01:57 JIAXUN 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 两种方式: 第一种:使用海康提供的MyCamera.cs类,使用动态链接库的方式,这种方式必须安装MVS客户端(客户端安装的时候会将需要用到的依赖文件一并安装,如果不想安装MVS,就必须到海康官网下载“机器视觉工业相机SDK V3.5.0版本Runtime组件包”),并使用MyCamera.cs这个 阅读全文
posted @ 2023-08-05 01:03 JIAXUN 阅读(5824) 评论(0) 推荐(0) 编辑
摘要: 步骤如下 1:管理NUGET包中安装 下面两个包:DockPanelSuite 和 DockPanelSuite.ThemeVS20152:在工具箱中找到 DockPanel 和 VS2015BlueTheme 拖入主界面3:添加三个窗体FormLeft , FormCenter , FormRig 阅读全文
posted @ 2023-08-05 00:03 JIAXUN 阅读(154) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示