<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_951274168的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_43069920</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_43069920]]></copyright><item><title><![CDATA[BackgroundWorker使用总结]]></title><link>https://blog.csdn.net/qq_43069920/article/details/125154788</link><guid>https://blog.csdn.net/qq_43069920/article/details/125154788</guid><author>qq_43069920</author><pubDate>Mon, 06 Jun 2022 21:43:45 +0800</pubDate><description><![CDATA[BackgroundWorker使用总结]]></description><category></category></item><item><title><![CDATA[C# BackgroundWorker控件使用方法]]></title><link>https://blog.csdn.net/qq_43069920/article/details/125154708</link><guid>https://blog.csdn.net/qq_43069920/article/details/125154708</guid><author>qq_43069920</author><pubDate>Mon, 06 Jun 2022 21:33:39 +0800</pubDate><description><![CDATA[C# BackgroundWorker控件使用方法]]></description><category></category></item><item><title><![CDATA[C# PictureBox控件 通过鼠标滚轮对图片进行缩放（还需优化）]]></title><link>https://blog.csdn.net/qq_43069920/article/details/123195023</link><guid>https://blog.csdn.net/qq_43069920/article/details/123195023</guid><author>qq_43069920</author><pubDate>Mon, 28 Feb 2022 23:17:43 +0800</pubDate><description><![CDATA[文章目录窗口设置代码原图效果缩小效果放大效果
在控件中没有直接的鼠标滚轮事件，所以我们要手动添加鼠标滚轮事件。
窗口设置

代码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using Syst]]></description><category></category></item><item><title><![CDATA[C# 成功解决 关于Dll中“没有可放置在工具箱的组件”问题]]></title><link>https://blog.csdn.net/qq_43069920/article/details/123122549</link><guid>https://blog.csdn.net/qq_43069920/article/details/123122549</guid><author>qq_43069920</author><pubDate>Thu, 24 Feb 2022 22:46:33 +0800</pubDate><description><![CDATA[原因是 在文件路径中包含有了#字符等特殊字符，建议在添加的时候文件路径不要有一些特殊字符

同时记得再右侧的资源管理器中y引用对应dll


]]></description><category></category></item><item><title><![CDATA[VS2022 C# 自定义用户控件(PictureBox)]]></title><link>https://blog.csdn.net/qq_43069920/article/details/123121923</link><guid>https://blog.csdn.net/qq_43069920/article/details/123121923</guid><author>qq_43069920</author><pubDate>Thu, 24 Feb 2022 22:42:29 +0800</pubDate><description><![CDATA[文章目录1. 创建自定义控件（PictureBox）1.1 新建自定义控件类库1.2 添加pictureBox控件1.3 写显示图像的程序代码1.4 生成dll2. 调用自定义的控件2.1 新建窗体应用2.2添加控件dll2.3完成自定义控件的调用
1. 创建自定义控件（PictureBox）
1.1 新建自定义控件类库


1.2 添加pictureBox控件
可自己设置一些属性，比如背景色等等

添加“halcondonet.dll”

1.3 写显示图像的程序代码
using System;
usin]]></description><category></category></item><item><title><![CDATA[VS2022 C#调用外部DLL中的方法—详解]]></title><link>https://blog.csdn.net/qq_43069920/article/details/123100601</link><guid>https://blog.csdn.net/qq_43069920/article/details/123100601</guid><author>qq_43069920</author><pubDate>Wed, 23 Feb 2022 22:26:28 +0800</pubDate><description><![CDATA[文章目录1. DLL2. 生成DLL类库3. 调用DLL3.1 添加DLL引用3.2 调用DLL中的方法
1. DLL
动态链接库(Dynamic Linked Library)：将写好的函数存在库中，以供其他程序开发调用，调用方式为“动态的”。
2. 生成DLL类库




3. 调用DLL


3.1 添加DLL引用



3.2 调用DLL中的方法

using System;
using System.Collections.Generic;
using System.Linq;
using Sys]]></description><category></category></item><item><title><![CDATA[halcon21.11安装教程详解]]></title><link>https://blog.csdn.net/qq_43069920/article/details/123077882</link><guid>https://blog.csdn.net/qq_43069920/article/details/123077882</guid><author>qq_43069920</author><pubDate>Tue, 22 Feb 2022 21:56:32 +0800</pubDate><description><![CDATA[文章目录1.软件下载2.安装过程
halcon21.11安装教程详解
1.软件下载
a 官网：https://www.mvtec.com/cn
b 百度网盘下载
链接：https://pan.baidu.com/s/1-Bdz1l54PQWxbDBkSlILlA
提取码：a5yg

2.安装过程
解压之后，双击som.exe，打开安装界面


选择AVALIABLE，显示可安装的软件

安装之前，需进行一些设置，点击右上的SETTINGS

设置要安装的包，建议全选上

点击 ACCEPT


点击 clo]]></description><category></category></item><item><title><![CDATA[VS2022 安装教程（社区版）]]></title><link>https://blog.csdn.net/qq_43069920/article/details/123035741</link><guid>https://blog.csdn.net/qq_43069920/article/details/123035741</guid><author>qq_43069920</author><pubDate>Sun, 20 Feb 2022 21:00:46 +0800</pubDate><description><![CDATA[1、安装之前首先下载VS2022，下载地址：
VS下载地址
点击 Visual Studio --Community 2022

下载完成–双击打开文件


如果提示：visual studio installer无法下载安装文件，请检查internet连接
解决方法链接：https://blog.csdn.net/qq_43069920/article/details/123035580?spm=1001.2014.3001.5502
选择安装组件

更改安装位置



...]]></description><category></category></item><item><title><![CDATA[成功解决 提示visual studio installer无法下载安装文件，请检查internet连接 VS2022社区]]></title><link>https://blog.csdn.net/qq_43069920/article/details/123035580</link><guid>https://blog.csdn.net/qq_43069920/article/details/123035580</guid><author>qq_43069920</author><pubDate>Sun, 20 Feb 2022 20:44:15 +0800</pubDate><description><![CDATA[安装VS2022社区版时，提示visual studio installer无法下载安装文件，请检查internet连接



解决方法：
1.打开“网络和Internet设置”，更改适配器选项
2.网络属性，tcp/ip v4属性
3.修改DNS服务器地址
首选地址  8.8.8.8
备选地址 8.8.8.4

就可以进行下载安装了


...]]></description><category></category></item><item><title><![CDATA[halcon--手眼标定（九点标定）]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120856529</link><guid>https://blog.csdn.net/qq_43069920/article/details/120856529</guid><author>qq_43069920</author><pubDate>Tue, 19 Oct 2021 22:39:44 +0800</pubDate><description><![CDATA[read_image (Image, 'G:/SoftwareLearning/halcon/图像标定/01.jpg')
rgb1_to_gray (Image, GrayImage)
threshold (GrayImage, Regions, 24, 115)
connection (Regions, ConnectedRegions)
select_shape (ConnectedRegions, SelectedRegions, 'area', 'and', 2700.38, 3145.67)
ar]]></description><category></category></item><item><title><![CDATA[C#联合halcon--图像处理]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120772855</link><guid>https://blog.csdn.net/qq_43069920/article/details/120772855</guid><author>qq_43069920</author><pubDate>Thu, 14 Oct 2021 21:16:07 +0800</pubDate><description><![CDATA[using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using HalconDotNet;
using System.Threading]]></description><category></category></item><item><title><![CDATA[Halcon 联合C# 实时采集相机图片02]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120753111</link><guid>https://blog.csdn.net/qq_43069920/article/details/120753111</guid><author>qq_43069920</author><pubDate>Wed, 13 Oct 2021 21:42:17 +0800</pubDate><description><![CDATA[using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using HalconDotNet;

namespace GetImageSho]]></description><category></category></item><item><title><![CDATA[Halcon 联合C# 实时采集相机图片]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120752111</link><guid>https://blog.csdn.net/qq_43069920/article/details/120752111</guid><author>qq_43069920</author><pubDate>Wed, 13 Oct 2021 20:49:17 +0800</pubDate><description><![CDATA[using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using HalconDotNet;
using System.Threading]]></description><category></category></item><item><title><![CDATA[halcon模板匹配02]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120733695</link><guid>https://blog.csdn.net/qq_43069920/article/details/120733695</guid><author>qq_43069920</author><pubDate>Tue, 12 Oct 2021 22:33:21 +0800</pubDate><description><![CDATA[dev_close_window ()
dev_open_window (0, 0, 512, 512, 'black', WindowHandle)
read_image (Image01, 'G:/SoftwareLearning/halcon/模板匹配/03.png')
rgb1_to_gray (Image01, GrayImage)
*draw_rectangle2 (WindowHandle, Row, Column, Phi, Length1, Length2)
gen_rectangle2 ]]></description><category></category></item><item><title><![CDATA[halcon--寻找图像中清晰度最高的图像]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120713279</link><guid>https://blog.csdn.net/qq_43069920/article/details/120713279</guid><author>qq_43069920</author><pubDate>Mon, 11 Oct 2021 22:27:32 +0800</pubDate><description><![CDATA[文件夹内有不同对焦情况下的图像，使用某种图像清晰度评定方法（intensity），遍历所有图片，找到在此评定方法下，清晰度最高的图像，将其显示在图像窗口上。
*读取文件夹
dev_clear_window ()
dev_open_window (0, 0, 512, 512, 'black', WindowHandle)
dev_set_draw ('margin')
list_image_files ('F:/CYYT/VirtualProject/focus', 'default', [], Image]]></description><category></category></item><item><title><![CDATA[halcon模板匹配01]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120693839</link><guid>https://blog.csdn.net/qq_43069920/article/details/120693839</guid><author>qq_43069920</author><pubDate>Sun, 10 Oct 2021 22:33:55 +0800</pubDate><description><![CDATA[dev_close_window ()
dev_open_window (0, 0, 512, 512, 'black', WindowHandle)
read_image (Image01, 'G:/SoftwareLearning/halcon/模板匹配/01.png')
rgb1_to_gray (Image01, GrayImage)
*draw_circle (WindowHandle, Row, Column, Radius)
gen_circle (Circle, 273.92, 280.12]]></description><category></category></item><item><title><![CDATA[halcon修改图像的灰度值02]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120660782</link><guid>https://blog.csdn.net/qq_43069920/article/details/120660782</guid><author>qq_43069920</author><pubDate>Fri, 08 Oct 2021 21:51:33 +0800</pubDate><description><![CDATA[rgb1_to_gray (Image, GrayImage)
get_domain (GrayImage, Domain)
get_region_points (Domain, Rows, Columns)
*获得图像每个坐标的灰度
get_grayval (GrayImage, Rows, Columns, Grayval)

*获得图像每个坐标的灰度,并灰度赋值
Graycal (Grayval, 0, 250, i, Grayval)
set_grayval (Image, Rows, Column]]></description><category></category></item><item><title><![CDATA[C#--窗体控件（选择类控件）]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120193045</link><guid>https://blog.csdn.net/qq_43069920/article/details/120193045</guid><author>qq_43069920</author><pubDate>Thu, 09 Sep 2021 08:13:57 +0800</pubDate><description><![CDATA[文章目录下拉组合框控件复选框控件单选按钮控件数值选择控件
选择类控件有下拉组合框（ComboBox）控件、复选框（CheckBox）控件、单选按钮（RadioButton）控件、数值选择（NumreicUpDown）控件和列表（ListBox）控件。
下拉组合框控件
下拉组合框控件，是由System.Windows.Forms.ComboBox类提供的，主要作用是将一个集合数据以组合框的形式显示给用户，当用户单击时将以下拉框显示给用户供用户从中选择一项。
复选框控件
复选框控件，允许用户选择和清除关联选项。]]></description><category></category></item><item><title><![CDATA[C#--程序调试]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120168901</link><guid>https://blog.csdn.net/qq_43069920/article/details/120168901</guid><author>qq_43069920</author><pubDate>Tue, 07 Sep 2021 22:38:11 +0800</pubDate><description><![CDATA[文章目录断点调试开始、中断和停止程序的执行逐过程执行和逐语句执行
断点调试
断点是调试器设置的一个代码位置。当程序运行到断点时,程序中断执行,回到调试器。在进入中断模式时，并不会终止或结束程序的执行，所有元素都保留在内存中。执行可以在任何时候继续。


插入断点
插入断点主要有以下3种方式：（1）在要设置断点的代码行旁边的灰色空白中单击。（2）右击要设置断点的代码行，在弹出的快捷菜单中选择“断点”→“插入断点”命令。（3）单击要设置断点的代码行，选择菜单中的“调试”→“切换断点”命令。


删除断点
删除断]]></description><category></category></item><item><title><![CDATA[C#--异常处理语句]]></title><link>https://blog.csdn.net/qq_43069920/article/details/120168515</link><guid>https://blog.csdn.net/qq_43069920/article/details/120168515</guid><author>qq_43069920</author><pubDate>Tue, 07 Sep 2021 22:33:43 +0800</pubDate><description><![CDATA[文章目录异常处理捕获异常清除、处理异常引发异常C#中的异常类
异常处理
异常提供了一种把程序控制权从某个部分转移到另一个部分的方式。C#异常处理时建立在四个关键词之上的：try、catch、finally和throw。
try：一个try块标识了一个将被激活的特定的异常的代码块。后跟一个或多个catch块。
catch：程序通过异常处理程序捕获异常。catch关键字表示异常的捕获。
finally：finally 块用于执行给定的语句，不管异常是否被抛出都会执行。
throw：当问题出现时，程序抛出一个异常]]></description><category></category></item></channel></rss>