Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afei19911012/wpfsamples

:monocle_face: WPF and Halcon Samples :alien: keep updating
https://github.com/afei19911012/wpfsamples

binding halcon machine-vision mvvm wpf wpf-ui

Last synced: about 10 hours ago
JSON representation

:monocle_face: WPF and Halcon Samples :alien: keep updating

Awesome Lists containing this project

README

        

# WPFSamples

记录 WPF 和 Halcon 编程的学习案例 :smile:

2023.6.11 新增:视觉检测常用的模板匹配工具、二次测量工具、TCP通讯模块、相机模块、日志模块

增加自定义控件 UI 项目和部分截图

[![pCDvdzR.png](https://s1.ax1x.com/2023/07/02/pCDvdzR.png)](https://imgse.com/i/pCDvdzR)

[![pCDvYoF.png](https://s1.ax1x.com/2023/07/02/pCDvYoF.png)](https://imgse.com/i/pCDvYoF)

[![pCDvaW9.png](https://s1.ax1x.com/2023/07/02/pCDvaW9.png)](https://imgse.com/i/pCDvaW9)

[![pCDvUJJ.png](https://s1.ax1x.com/2023/07/02/pCDvUJJ.png)](https://imgse.com/i/pCDvUJJ)

[![pCDvfSA.png](https://s1.ax1x.com/2023/07/02/pCDvfSA.png)](https://imgse.com/i/pCDvfSA)

[![pCDv0Q1.png](https://s1.ax1x.com/2023/07/02/pCDv0Q1.png)](https://imgse.com/i/pCDv0Q1)

[![pCDvgFe.png](https://s1.ax1x.com/2023/07/02/pCDvgFe.png)](https://imgse.com/i/pCDvgFe)

[![pCDv6oD.png](https://s1.ax1x.com/2023/07/02/pCDv6oD.png)](https://imgse.com/i/pCDv6oD)

[![pCDvydO.png](https://s1.ax1x.com/2023/07/02/pCDvydO.png)](https://imgse.com/i/pCDvydO)

[![pCDvRWd.png](https://s1.ax1x.com/2023/07/02/pCDvRWd.png)](https://imgse.com/i/pCDvRWd)

```
【WPF&Halcon案例代码解析】 https://www.zhihu.com/column/c_1403661250718617600 
Github https://github.com/AFei19911012/WPFSamples 

Halcon 图像链接:
百度网盘 https://pan.baidu.com/s/1Q6BpV9d-Pnut_ATG_xrVrA 提取码:gxnp
--来自百度网盘超级会员V5的分享
```

# 内容结构

Halcon&WPF案例代码解析

\1. WPF案例

1.1 NPOI读写Excel

1.2 线程Thread、任务Task

1.3 计时器

1.4 使用InkCanvas绘制箭头:缩放、平移

1.5 ModBus通讯

1.6 SimpleTCP通讯

1.7 MVVM:数据绑定、命令绑定

1.8 HandyControl控件使用

1.9 HelixToolkit 学习

1.10 使用HelixToolkit重构3D文件

\2. 视觉工具

2.11 测量工具:长度、角度

\3. 疑难问题

3.1 提升程序运行CT:图像采集、图像处理过程

3.2 C# WinForm 调用 WPF UserControl 的正确方式

3.3 HOperatorSet.GetGrayval、HOperatorSet.ReduceDomain 为 null

3.4 MVS 未安装 USB3 驱动或驱动无效、C# 初始化相机失败

3.5 Halcon 图像自适应显示、图像坐标↔控件坐标

\4. 基础知识

4.1 图像采集:调用相机接口

4.2 读取本地图像、保存图像、保存窗体

4.3 拟合圆

4.4 九点标定

\5. Blob分析

5.1 计算别针数量和角度

5.2 牙模切割

\6. 缺陷检测

6.1 PCB板电路检测

6.2 轴承滚子检测

\7. 模板匹配

\8. 测量模型

\9. OCR

[![L1I3BF.png](https://s1.ax1x.com/2022/04/14/L1I3BF.png)](https://imgtu.com/i/L1I3BF)

[![LZIfVf.png](https://s1.ax1x.com/2022/04/12/LZIfVf.png)](https://imgtu.com/i/LZIfVf)

[![LZIRqP.png](https://s1.ax1x.com/2022/04/12/LZIRqP.png)](https://imgtu.com/i/LZIRqP)