02 2025 档案

rust安装
摘要:https://www.rust-lang.org/tools/install 1 默认 enter 阅读全文

posted @ 2025-02-26 01:39 lydstory 阅读(1) 评论(0) 推荐(0) 编辑

qt vs2013 opencv
摘要:https://blog.csdn.net/weixin_39475536/article/details/137197843?utm_medium=distribute.pc_feed_404.none-task-blog-2~default~BlogCommendFromBaidu~activi 阅读全文

posted @ 2025-02-15 16:24 lydstory 阅读(2) 评论(0) 推荐(0) 编辑

GmSSL-v1
摘要:guanzhi/GmSSL at GmSSL-v1 (github.com) v2安装了 v1继续安装 命令可用 阅读全文

posted @ 2025-02-13 10:56 lydstory 阅读(2) 评论(0) 推荐(0) 编辑

gmssl v2命令
摘要:1.gmssl sm2 -genkey -out sm2_private.key 2.gmssl sm2 -in sm2_private.key -out sm2_private.pem 3.gmssl pkcs12 -export -inkey sm2_private.key -in sm2_ce 阅读全文

posted @ 2025-02-12 16:50 lydstory 阅读(2) 评论(0) 推荐(0) 编辑

maxkb
摘要:https://maxkb.cn/ 阅读全文

posted @ 2025-02-12 15:52 lydstory 阅读(2) 评论(0) 推荐(0) 编辑

python单号
摘要:import re def extract_tracking_number(text: str): # 定义正则表达式,匹配以 '单号: ' 开头,后面跟着一个以 YT 开头的单号 pattern = r"单号:\s*(YT\d{13})" # 使用 re.search() 查找匹配 match = 阅读全文

posted @ 2025-02-08 09:25 lydstory 阅读(5) 评论(0) 推荐(0) 编辑

win7安装python 3.7
摘要:3.9以上安装不了 3.8未测试 阅读全文

posted @ 2025-02-07 07:35 lydstory 阅读(2) 评论(0) 推荐(0) 编辑

vs2008添加64位程序
摘要:✅ VS2008 本身不支持 64 位编译,但可以通过 Windows SDK 6.1 / 7.0 添加支持✅ VS2008 SP1 + Windows SDK 7.0 提供更好的 64 位支持✅ 可以使用命令行工具(cl.exe)编译 64 位程序✅ 适用于 Windows XP/Vista/7/ 阅读全文

posted @ 2025-02-07 07:06 lydstory 阅读(6) 评论(0) 推荐(0) 编辑

编译truecrpyt7.1
摘要:1.crypt编译 nasm-2.07 安装 1. TrueCrypt 7.1a 官方推荐编译环境 组件版本要求 Visual Studio VS2008 (VC9) ✅ 推荐 Windows Driver Kit (WDK) WDK 7.1.0 / WinDDK 7600.16385.1 ✅ 推荐 阅读全文

posted @ 2025-02-07 06:25 lydstory 阅读(1) 评论(0) 推荐(0) 编辑

win7 vscode
摘要:https://code.visualstudio.com/updates/v1_70 阅读全文

posted @ 2025-02-05 19:17 lydstory 阅读(6) 评论(0) 推荐(0) 编辑

SearchImgFile 某一类型后面在用
摘要:void SearchImgFile(CString strFilePath,CString strFileType,vector<CString> &arrFileList) { CFileFind fFinder; CString strFile; strFilePath.TrimRight(" 阅读全文

posted @ 2025-02-01 10:58 lydstory 阅读(1) 评论(0) 推荐(0) 编辑

libpng 图像倒置
摘要:#include <png.h> #include <iostream> #include <fstream> void invertImageColors(const char* inputFilename, const char* outputFilename) { FILE *fp = fop 阅读全文

posted @ 2025-02-01 10:18 lydstory 阅读(1) 评论(0) 推荐(0) 编辑

图像二值化
摘要:二值化(Binarization)是将灰度图像转换为黑白图像的方法。通常,选择一个 阈值(threshold),如果像素值大于该阈值,则设为 白色 (255),否则设为 #include <windows.h> HANDLE WINAPI BIPImgUnicolor(HANDLE hDib) { 阅读全文

posted @ 2025-02-01 03:17 lydstory 阅读(8) 评论(0) 推荐(0) 编辑

图像亮度调节
摘要:亮度调节的原理是:对 每个像素的 R、G、B 分量 加上 brightness 值,并确保结果在 0 - 255 之间。 #include <windows.h> HANDLE WINAPI BIPImgLight(HANDLE hDib, long brightness) { if (!hDib) 阅读全文

posted @ 2025-02-01 03:12 lydstory 阅读(4) 评论(0) 推荐(0) 编辑

图像模糊优化
摘要:#include <windows.h> HANDLE WINAPI BIPImgSoften(HANDLE hDib, long soften = 8) { if (!hDib || soften <= -8) return NULL; // 锁定 DIB 句柄,获取 BITMAPINFOHEAD 阅读全文

posted @ 2025-02-01 03:07 lydstory 阅读(10) 评论(0) 推荐(0) 编辑

图像锐化原理与实现
摘要:锐化通常使用拉普拉斯算子或高通滤波器。以下代码基于 3×3 锐化核: 主要步骤: 获取 DIB 头部信息(如宽度、高度、位深度)。 复制 BITMAPINFOHEADER 并创建新 DIB 以存储处理后的图像。 使用卷积操作进行锐化: 使用 3×3 锐化核: [0−10−1S−10−10]\begi 阅读全文

posted @ 2025-02-01 02:55 lydstory 阅读(17) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示