会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
下一页
2020年2月29日
WPF DataContext与Binding的关系
摘要: 在前台UI创建一个Label绑定到myLabel <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schema
阅读全文
posted @ 2020-02-29 13:01 阿坦
阅读(3767)
评论(0)
推荐(0)
2020年2月26日
WPF 使用用户控件UserControl来切换界面(一)
摘要: 程序集整体框架如下 主窗体UI文件MainWindow.xaml <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:
阅读全文
posted @ 2020-02-26 16:15 阿坦
阅读(15301)
评论(5)
推荐(2)
2020年2月21日
Halcon 定位与区域分割学习笔记
摘要: 还是车牌识别的例子 read_image (Image, 'C:/Users/LiZhiqiang/Desktop/车牌2.jpg')//读取图像 rgb1_to_gray (Image, GrayImage)//转化成灰度图像 threshold (GrayImage, Regions, 21,
阅读全文
posted @ 2020-02-21 17:02 阿坦
阅读(3949)
评论(0)
推荐(0)
Halcon 识别车牌学习笔记
摘要: 有一张车牌照片如下: read_image (Image, 'C:/Users/LiZhiqiang/Desktop/车牌2.jpg')//读取照片 rgb1_to_gray (Image, GrayImage)//转化成灰度图像 threshold (GrayImage, Regions, 21,
阅读全文
posted @ 2020-02-21 16:45 阿坦
阅读(1241)
评论(0)
推荐(0)
2020年2月20日
STM32CubeIDE printf 多个串口
摘要: 自定义USART_printf如下 #include <stdarg.h> #include <stdio.h> #include <string.h> void USART_printf (UART_HandleTypeDef *huart,char *fmt, ...){ static char
阅读全文
posted @ 2020-02-20 15:50 阿坦
阅读(1041)
评论(0)
推荐(1)
2020年2月19日
Halcon 形态学膨胀腐蚀应用举例
摘要: 上图中有一个硬币和一把钥匙,要求:计算出硬币的面积和中心坐标 第一步用灰度直方图选出硬币的区域:threshold (GrayImage, Regions, 110, 250) 第二步用开运算去掉图像上半部分的杂质:opening_circle (Regions, RegionOpening, 10
阅读全文
posted @ 2020-02-19 14:22 阿坦
阅读(4141)
评论(0)
推荐(0)
2020年2月18日
Halcon 形态学膨胀腐蚀理论知识学习笔记
摘要: 下图左侧是结构元素,右侧红色矩形是二值化图像(灰度值不是0就是255的图像,空白方格就是255) 二值化图像膨胀,就是用结构元素在二值化图像上从左到右,从上到下依次滑动,以结构元素的*号为基准,在二值图像有交集的就把*号变为0。 最终膨胀后的图像如下: 结构元素始终是和原始图像做交集比较,不要和新增
阅读全文
posted @ 2020-02-18 11:12 阿坦
阅读(3015)
评论(0)
推荐(1)
2020年2月17日
Halcon threshold和select_shape算子学习笔记
摘要: 打开Halcon自带的threshold例程 main程序如下 read_image (Audi2, 'audi2') fill_interlace (Audi2, ImageFilled, 'odd') threshold (ImageFilled, Region, 0, 90) connecti
阅读全文
posted @ 2020-02-17 16:14 阿坦
阅读(3389)
评论(0)
推荐(0)
2020年2月14日
ESP8266 STA TCP 客户端配置并连接通信
摘要: 打开网络调试助手 用USB转TTL连接ESP8266WiFi模块 在串口通信界面上依次输入以下命令 AT+CWMODE=1 //STA模式 AT+RST //重启模块 AT+CWJAP="MYGENO","huawei@123" //连接路由器MYGENO是路由器的名称,huawei@123是密码
阅读全文
posted @ 2020-02-14 12:04 阿坦
阅读(3029)
评论(0)
推荐(0)
2019年12月31日
Modbus CRC16 校验计算函数
摘要: // CRC 高位字节值表 static const uint8_t auchCRCHi[] = { 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x0
阅读全文
posted @ 2019-12-31 09:57 阿坦
阅读(6105)
评论(0)
推荐(1)
上一页
1
···
10
11
12
13
14
15
16
17
下一页
公告