上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 618 下一页

2025年2月7日

摘要: 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 阅读(17) 评论(0) 推荐(0)

2025年2月5日

摘要: https://code.visualstudio.com/updates/v1_70 阅读全文
posted @ 2025-02-05 19:17 lydstory 阅读(41) 评论(0) 推荐(0)

2025年2月1日

摘要: void SearchImgFile(CString strFilePath,CString strFileType,vector<CString> &arrFileList) { CFileFind fFinder; CString strFile; strFilePath.TrimRight(" 阅读全文
posted @ 2025-02-01 10:58 lydstory 阅读(8) 评论(0) 推荐(0)
摘要: #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 阅读(17) 评论(0) 推荐(0)
摘要: 二值化(Binarization)是将灰度图像转换为黑白图像的方法。通常,选择一个 阈值(threshold),如果像素值大于该阈值,则设为 白色 (255),否则设为 #include <windows.h> HANDLE WINAPI BIPImgUnicolor(HANDLE hDib) { 阅读全文
posted @ 2025-02-01 03:17 lydstory 阅读(38) 评论(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 阅读(13) 评论(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 阅读(27) 评论(0) 推荐(0)
摘要: 锐化通常使用拉普拉斯算子或高通滤波器。以下代码基于 3×3 锐化核: 主要步骤: 获取 DIB 头部信息(如宽度、高度、位深度)。 复制 BITMAPINFOHEADER 并创建新 DIB 以存储处理后的图像。 使用卷积操作进行锐化: 使用 3×3 锐化核: [0−10−1S−10−10]\begi 阅读全文
posted @ 2025-02-01 02:55 lydstory 阅读(116) 评论(0) 推荐(0)

2025年1月24日

摘要: 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 阅读(19) 评论(0) 推荐(0)

2025年1月23日

摘要: // ui123.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <UIAutomation.h> int main() { IUIAutomation *g_pAutomation; CoInitialize(NULL); HRESULT 阅读全文
posted @ 2025-01-23 21:09 lydstory 阅读(27) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 618 下一页

导航