-
鼠标右键调节BMP图片亮度对比度。
通过鼠标右键来调节图片的亮度和对比度。里面有扫描仪程序代码。调节对比度,亮度的代码很简单。来源于网站VOID CScanToDocDlg::BrightAndContrast(HBITMAP hBitmap, INT bright, INT contrast, BYTE threshold){ FLOAT cv = contrast 0 && contrast < 255) cv = 1.0f / (1.0f - cv) - 1.0f; BYTE values[256]; for (INT i = 0; i < 256; i ++) { INT v = contrast > 0? CheckValue(i + bright) : i; if (contrast >= 255) v = v >= threshold? 255 : 0; else v = CheckValue(v + (INT)((v - threshold) * cv + 0.5f)); values[i] = contrast < 0? CheckValue(v + bright) : v; } BITMAP bm; GetObject(hBitmap, sizeof(BITMAP), &bm ); LPARGBQuad o,p; for (UINT y = 0; y < bm.bmHeight; y ++, p+=nRowPadding, o+=nRowPadding) {
- 2022-08-12 17:12:31下载
- 积分:1
-
vs2010+Qt5+Tesseract-OCR实现字符识别
应用背景
适用于数码相机等手持设备拍摄到的字符图片实现图片左下角时间识别、图片中存在的较大字符区识别。
字符区字符数建议8个以上,如果要识别的字符数有变化,可对程序中一个对字数数进行筛选的参数进行修改即可。
关键技术关键点:如何在整个图片中搜寻到字符区的方法以及搜索到以后如何进行筛选出真正的目标区。
- 2023-05-13 03:10:10下载
- 积分:1
-
经典的指纹识别程序
经典的指纹识别处理程序# Microsoft Developer Studio Generated Dependency File, included by edgedetect.mak..fmtbitmapfmt_bitmap.cpp : "..fmtbitmapfmt_bitmap.h" "..fmtbitmapfvsfile.h" "..fmtbitmapfvsimage.cpp" "..fmtbitmapfvsimage.h" "..fmtbitmapvector.h" ..fmtbitmapfvsfile.cpp : "..fmtbitmapfvsfile.h" "..fmtbitmapfvstypes.h" ..fmtbitmapfvsimage.cpp : 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-01-17 13:05:04下载
- 积分:1
-
William T. Freeman大神经典的马尔科夫随机场超分辨影像重建全部代码数据集论文和大神页面
William T. Freeman大神经典的马尔科夫随机场超分辨影像重建全部代码,数据集,论文和大神页面。非常适合超分辨率初学者和相关研究的人员。很多代码下载了之后无法运行或者缺少文件,但是这个可直接运行,无需太多的调试。This is an implementation of the example-based super-resolution algorithm of [1]. Although the applications of MSFs have now extended beyond example-based super resolution and texture synthesis, it is still of great value to revisit this problem, especially to share the source code and examplar images with the research community. We hope that this software package can help to understand Markov random fields for low-level vision, and to create benchmark for super-resolution algorithms.When you refer to this code in your paper, please cite the following book chapter:W. T Freeman and C. Liu. Markov Random Fields for Super-resolution and Texture Synthesis. In A. Blake, P. Kohli, and C. Rother, eds., Advances in Markov Random Fields for Vision and Image Processing, Chapter 10. MIT Press, 2011. To appear.
- 2022-03-29 03:58:10下载
- 积分:1
-
仿真基站中用户的能效
这里以无线通信网中,我们仿真出了每个基站中的用户能效问题,并且将用户能效用各种图形显示出来,例如火柴棍图,地理位置上的等高线图,还用表格分别说明了每个用户的具体能效值,这样不仅从直观上总结出基站附近用户的大小受哪些因素有关,还详细计算出了用户能效值表,供大家参考。
- 2022-04-12 06:10:55下载
- 积分:1
-
手的姿势不变
可以同时获得强度和范围的图像,提出了一种在系统中的用户的手任意姿势
- 2022-08-11 17:04:35下载
- 积分:1
-
The code of kakatu
一个jpeg2000的实现代码,用c写的,经过小小的修改就可以直接使用。还没弄好图形界面,有空的亲可以亲自去弄弄吧
- 2022-03-02 17:20:41下载
- 积分:1
-
android 编码解码h264
应用背景android 编码解码h264, 调用原生api编解码h264,能够达到1080p,同时udp发送至vlc,可以实时观看,系统要求4.2以上,红迷测试可以达到720p关键技术android 编码解码h264,包括h264 encode decode,系统api是mediacodec,视频采集是camera回调,转换yv12到yuv420
- 2022-02-25 08:54:32下载
- 积分:1
-
图像滤镜(VS2010+C++,包含约100中处理)
关于图像的各种滤镜特效源代码,约包含100种,如常见的图像处理效果。包括:contrast,hue,gamma,brightness,sharpness,emboss,saturation,exposure,shadow,blend 等等
- 2022-03-22 15:21:37下载
- 积分:1
-
hough变化
Hough变换是一种使用表决原理的参数估计技术。其原理是利用图像空间和Hough参数空间 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-05-20 04:53:30下载
- 积分:1