会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤独的程序员dis1500
知识就是希望
上一页
1
···
15
16
17
18
19
20
21
22
23
···
621
下一页
2025年2月5日
win7 vscode
摘要: https://code.visualstudio.com/updates/v1_70
阅读全文
posted @ 2025-02-05 19:17 lydstory
阅读(41)
评论(0)
推荐(0)
2025年2月1日
SearchImgFile 某一类型后面在用
摘要: void SearchImgFile(CString strFilePath,CString strFileType,vector<CString> &arrFileList) { CFileFind fFinder; CString strFile; strFilePath.TrimRight("
阅读全文
posted @ 2025-02-01 10:58 lydstory
阅读(12)
评论(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
阅读(20)
评论(0)
推荐(0)
图像二值化
摘要: 二值化(Binarization)是将灰度图像转换为黑白图像的方法。通常,选择一个 阈值(threshold),如果像素值大于该阈值,则设为 白色 (255),否则设为 #include <windows.h> HANDLE WINAPI BIPImgUnicolor(HANDLE hDib) {
阅读全文
posted @ 2025-02-01 03:17 lydstory
阅读(44)
评论(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
阅读(15)
评论(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
阅读(31)
评论(0)
推荐(0)
图像锐化原理与实现
摘要: 锐化通常使用拉普拉斯算子或高通滤波器。以下代码基于 3×3 锐化核: 主要步骤: 获取 DIB 头部信息(如宽度、高度、位深度)。 复制 BITMAPINFOHEADER 并创建新 DIB 以存储处理后的图像。 使用卷积操作进行锐化: 使用 3×3 锐化核: [0−10−1S−10−10]\begi
阅读全文
posted @ 2025-02-01 02:55 lydstory
阅读(132)
评论(0)
推荐(0)
2025年1月24日
windows input cs
摘要: using System; using System.Runtime.InteropServices; using System.Text; using WindowsInput; class Program { [DllImport("user32.dll", SetLastError = tru
阅读全文
posted @ 2025-01-24 14:43 lydstory
阅读(21)
评论(0)
推荐(0)
2025年1月23日
UIAutomation 调用
摘要: // ui123.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <UIAutomation.h> int main() { IUIAutomation *g_pAutomation; CoInitialize(NULL); HRESULT
阅读全文
posted @ 2025-01-23 21:09 lydstory
阅读(34)
评论(0)
推荐(0)
2025年1月21日
python 需求包导入导出
摘要: 导入 pip install -r requirements.txt python -m venv env_name 用来创建虚拟环境。 使用 .\env_name\Scripts\activate 来激活虚拟环境。 通过 pip install <package> 安装所需的包。 使用 pip f
阅读全文
posted @ 2025-01-21 21:11 lydstory
阅读(22)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
621
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告