上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: Mat img = Cv2.ImRead(imgPath, ImreadModes.Grayscale);//以灰度模式读取图像 byte[] b; img.GetArray(out b);//把Mat数据放到一维数组中 阅读全文
posted @ 2022-10-02 10:45 阿坦 阅读(182) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/200 阅读全文
posted @ 2022-09-19 17:13 阿坦 阅读(146) 评论(0) 推荐(0)
摘要: 电路图: 阅读全文
posted @ 2022-09-19 11:05 阿坦 阅读(75) 评论(0) 推荐(0)
摘要: 下载开关机脚本:https://www.aliyundrive.com/s/iqqXBmuypD2 把开关机音乐按指定名称Windows PowerOn和Windows PowerOff放到指定目录:C:\Windows\Media。经典Windows XP开关机音乐下载地址:xp开机音乐经典版下载 阅读全文
posted @ 2022-09-04 17:38 阿坦 阅读(850) 评论(0) 推荐(0)
摘要: 1、首先下载Winaero Tweaker软件,下载地址:Winaero Tweaker 然后默认安装 2、打开软件 3、找到要替换的音乐,经典Windows XP开关机音乐下载地址:xp开机音乐经典版下载-windows xp开机音乐(电脑开关机音乐) 免费版-纯净下载 (huzk.cn) 4、点 阅读全文
posted @ 2022-09-03 11:33 阿坦 阅读(980) 评论(0) 推荐(0)
摘要: 串口中断 void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { CmdAnalyze();//命令分析 if(cmd == cmd_event1) event1 = true; else if(cmd == cmd_event2) eve 阅读全文
posted @ 2022-09-01 17:36 阿坦 阅读(66) 评论(0) 推荐(0)
摘要: 小工具下载地址(阿里云盘):https://www.aliyundrive.com/s/ajfSmURRwGg 源码下载地址:https://www.aliyundrive.com/s/Z8xnAu1G8UB 发票名称按照要求写:采购人-购买平台-购买日期-名称-数量-金额-备注 阅读全文
posted @ 2022-08-22 11:28 阿坦 阅读(196) 评论(0) 推荐(0)
摘要: 在上一个博客中增加一个RelayCommand.cs,然后在User1ViewModel.cs中增加一个BtnCommand,最后在User1.xaml中绑定Command="{Binding BtnCommand}"这个命令。 using System; using System.Collecti 阅读全文
posted @ 2022-08-09 17:33 阿坦 阅读(65) 评论(0) 推荐(0)
摘要: public static class Singleton<T> where T : new() { // Use ConcurrentDictionary for thread safety. private static ConcurrentDictionary<Type, T> _instan 阅读全文
posted @ 2022-08-09 17:02 阿坦 阅读(131) 评论(0) 推荐(0)
摘要: 第一种方法:共享内存只存tiff图像里的灰度信息 using System; using System.IO; using System.IO.MemoryMappedFiles; using System.Runtime.InteropServices; using System.Windows; 阅读全文
posted @ 2022-02-17 15:51 阿坦 阅读(899) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页