摘要: CenterX:=Parameter[1]CenterY:=Parameter[0]JXPhi:=Parameter[2]Len1:=Parameter[3]Len2:=Parameter[4] *矩形端点坐标变量,变中心坐标变量初始化CornerX:=[]CornerY:=[]LineCenter 阅读全文
posted @ 2021-12-08 11:44 DevinXiong 阅读(2142) 评论(0) 推荐(0)
摘要: Visual Studio 2022(VS2022)激活密钥Visual Studio 2022(VS2022) 激活码: Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2JEnterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH 安装本 阅读全文
posted @ 2021-12-07 14:48 DevinXiong 阅读(962) 评论(0) 推荐(0)
摘要: QT离线安装包 http://download.qt.io/archive/qt/ 阅读全文
posted @ 2021-12-06 13:46 DevinXiong 阅读(723) 评论(0) 推荐(0)
摘要: 新建一个tabControl,名字不用修改,选中tabControl1,修改其以下属性1、DrowMode=OwnerDrawFixed //2、Alignment=left //选项卡向左靠齐3、SizeMode=Fixed //设置此项后,设置ItemSize使表格更美观4、ItemSize=6 阅读全文
posted @ 2021-12-06 10:22 DevinXiong 阅读(1443) 评论(0) 推荐(0)
摘要: /// <summary> /// 反射获得键值对类型的,key的TypeFullName和value的TypeFullName. /// </summary> /// <param name="dictionaryVal"></param> /// <param name="keyType"></ 阅读全文
posted @ 2021-11-29 17:29 DevinXiong 阅读(944) 评论(0) 推荐(0)
摘要: 相机 分辨率 知: 则: 案例分析: 假设拍摄物体大小为 10*8mm,检测精度为 0.01mm。 视野范围比拍摄物体稍大(具体大多少,看定位机械误差,保证拍摄物体在视野范围内),这里我们假设为 12*10mm,那么: 不过,为了确保视觉系统的精度和稳定性,一般这个值再乘以3-4,则我们可以选择分辨 阅读全文
posted @ 2021-11-28 10:58 DevinXiong 阅读(415) 评论(0) 推荐(1)
摘要: Code 直线卡尺 * 获取图像及图像尺寸 dev_close_window () read_image (Image, 'fabrik') get_image_size (Image, Width, Height) dev_open_window_fit_image (Image, 0, 0, - 阅读全文
posted @ 2021-11-28 10:50 DevinXiong 阅读(1628) 评论(0) 推荐(0)
摘要: 三角形内切圆半径:r=2S/(a+b+c)。三角形外接圆的半径:R=abc/4S。其中,S为三角形的面积,a,b,c分别为三角形的三边。三角形的内切圆圆心定在三角形内部,三个角的角平分线的交点是内切圆的圆心,圆心到三角形各个边的垂线段相等。三角形的外接圆圆心是任意两边的垂直平分线的交点。 阅读全文
posted @ 2021-11-24 14:28 DevinXiong 阅读(3514) 评论(0) 推荐(0)
摘要: this.hSmartWindowControl1.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.my_MouseWheel); private void my_MouseWheel(object sender, Mous 阅读全文
posted @ 2021-11-22 15:49 DevinXiong 阅读(1009) 评论(0) 推荐(0)
摘要: 方法一:分别用三个单通道图像绘制后,合成一个三通道彩色图像 read_image (Image, 'test.png')gen_rectangle1 (Rectangle, 30, 20, 100, 200)copy_image (Image, ImageR)copy_image (Image, I 阅读全文
posted @ 2021-11-20 11:10 DevinXiong 阅读(734) 评论(0) 推荐(0)