Welcome![Sign In][Sign Up]
Location:
Search - MFC g

Search list

[Graph Recognize车牌识别

Description:


需要注意的地方:

使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)

1)位图信息的数据是从左下往右下为一行,一行一行往上排的。

2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。

3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。

4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。

5)程序执行流程

应用程序生成--》打开--》CDipView的OnFileOpen 函数--》

调用CDipDoc的FileOpen 函数--》并使用myDoc->UpdateAllViews(NULL); 刷新

自动调用CDipView的OnPaint函数--》调用CDipView的OnDraw函数----一个像素点一个像素点的画

//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

比较重要的地方

读BMP文件,只能打开256色   (可以是灰度)

显示和内存贴图技术

关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved
每一个像素点都有一个相应的数组。


关于VC和windows 的绘图机制:
使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文

windows下的MFC编程机制,消息驱动,事件等待!

全局的app(应用程序对象)

注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源
每一个new操作符都要对应一个delete

虽然已经弄出来了,还是希望大家好好读读源程序。

你们以后的工作:

在菜单中添加菜单项,通过ClassWizzard 生成消息响应函数(当然也可手动添加),
所有的操作应当是对 BYTE* ImgData;进行的。
在完成相应的功能后 将 isnewfile 和 isnewiamge 置为真 ,并使用myDoc->UpdateAllViews(NULL); 刷新

当然,可以更加有个性化一点,有能力的同学可以自己完成。
随着课程的进行,菜单功能逐渐丰富,最后完成基本的数字图像处理的功能,而不必最后一下完成一个大的作业。

 

 


Platform: | Size: 295054 | Author: tata80808 | Hits:

[VOIP program可视电话软件

Description: NetTalk是一个适用于局域网和因特网的可视电话软件 一. 开发环境 Windows2000 Server & Visual C++6.0 & SDK +自开发的CWndX类库(相当于简化的MFC涉及窗口的部分) 二. 支持环境 Windows98/ME/2000/XP 三. 所涉及协议和标准 网络传输采用UDP协议,音频压缩采用G.729标准,视频压缩采用H.263标准 四. 性能参数 以音频帧为基准,每帧音频数据有240个采样点,时间为240*1000/8000=30ms,8000为音频的采样率。 数据接收端队列缓冲延迟:30*3=90ms 数据发送端录音延迟:30ms 数据压缩解压耗时:<40ms 网络延迟:<100ms(我想校网情况应该不错J) 总延迟:<260ms 根据VOIP标准,总延迟<300ms是人可以接受的,以上计算是保守的,实际情况可能会好得多。-NetTalk is applied to a LAN and the Internet a video phone software. Windows 2000 Server Development Environment
Platform: | Size: 4932152 | Author: 古风 | Hits:

[Windows DevelopMenuItemToolTip

Description: MFC Tool tip control(CToolTipCtrl) is easy to use with a window, such as a child window, or an application-defined rectangular area within a window s client area. However, in some situations you may not know in advance for which controls or rectangle area you will be displaying the tool tip. In this case, you have to dynamically display the tool tip depending on where your mouse position is. For e.g. you may have a window which display some graphics and you may want to display the tool tip on the graphics depending on where the mouse position is.
Platform: | Size: 19094 | Author: 日报 | Hits:

[Button controlMFCLIBXX

Description: 在bin目录中是SYGUI免费版动态库 syguiF10D.dll Debug版 syguiF10.dll Release版 注:在编译Debug版应用程序后,由于MFC OLE库不一致可能会导致应用程序不能运行,可将该目录下的 MFCO42D.DLL拷贝到应用程序执行的目录中. 在lib目录中使SYGUI免费版LIB导入文件 syguiF10D.lib Debug版 syguiF10.lib Release版 在include目录中是SYGUI头文件 在sample目录中是使用SYGUI应用程序的例子代码 -the bin directory is a free version of SYGUI DLL syguiF10D.dll Debu g version syguiF10.dll Release version Note : Debug version of the compiler application procedures, As for MFC OLE may lead to inconsistent application can not run, Contents may be under the MFCO42D.DLL copy of the application to the implementation of the directory. the lib directory manipulation SYGUI free version LIB Import files syguiF10D.lib Debug version syguiF 10.lib Release version of the include directory is the first document in SYGUI sampl e directory is used SYGUI application code examples
Platform: | Size: 157889 | Author: 皮皮猫 | Hits:

[Other resourceVC++6MFCGame

Description: MFC GAMEM FC GAMEM FC GAMEM FC GAMEM FC GAMEM FC GAMEM FC GAMEMFC GAME-MFC GAMEM FC GAMEM FC GAMEM FC GAMEM FC GAMEM FC GAMEMFC GAM EMFC GAM EMFC GAM EMFC GAMEMFC G. AMEMFC G AMEMFC G AMEMFC GAMEMF C GAMEMFC naGames
Platform: | Size: 2896089 | Author: 包杰 | Hits:

[OpenGL programOpenGL超级宝典各章源代码01-19

Description: 《OpenGL超级宝典(第二版)》 在本书中,通常每章介绍一个方面的编程主题,并在同一章中给出与此编程主题相关的大量函数及函数说明。另外,许多函数还提供了实用的示例,使读者可以直接在自己的程序中借鉴参考。 本书内容丰富而全面、结构清晰、层次分明,适用于使用OpenGL编程的各个层次的程序员。 本书是有关OpenGL的参考书,它的内容完整而全面,专为使用OpenGL的新版本进行编程的Windows程序员而写。本书适用于希望掌握OpenGL并提高其图形编程的程序员,既可以作为参考书,也可以作为学习教程。-"Both Super OpenGL (2nd Edition)" in the book, usually one each devoted to the theme programming, and in the same chapter, and this program is relevant to the subject of a large number of functions and function note. In addition, many functions also provide practical examples, so readers can directly in their own procedures builds. The book is rich in content and comprehensive, clear, structured and applicable to the use of OpenGL programming at all levels of programmers. The book is a reference book on OpenGL, and its content is complete and comprehensive and is designed for use OpenGL Programming for the new version of Windows programmers writing. The book apply to the master and improve OpenGL graphics programming programmers, as a reference book can also be used as learning g
Platform: | Size: 9187328 | Author: 罗衫 | Hits:

[GUI Develop在MFC程序中显示JPG-GIF图像

Description: 在MFC程序中显示JPG-GIF图像,方法简单实用.经过验证.-in MFC process shows JPG-GIF images, simple and practical method. Validated.
Platform: | Size: 306176 | Author: 吴名 | Hits:

[OpenGL programReadObj

Description: 一个基于MFC多文档视图的,拥有加载obj格式的3D模型,利用了glm.h和glm.c-MFC-based multi-document view, with load obj format 3D model, used glm.h and glm.c
Platform: | Size: 50176 | Author: 王浩 | Hits:

[Internet-Networkpccode_2006910125951577

Description: NetTalk是一个适用于局域网和因特网的可视电话软件 一.开发环境 Windows2000 Server & Visual C++6.0 & SDK +自开发的CWndX类库(相当于简化的MFC涉及窗口的部分) 二.支持环境 Windows98/ME/2000/XP 三.所涉及协议和标准 网络传输采用UDP协议,音频压缩采用G.729标准,视频压缩采用H.263标准 四.性能参数 以音频帧为基准,每帧音频数据有240个采样点,时间为240*1000/8000=30ms,8000为音频的采样率。 数据接收端队列缓冲延迟:30*3=90ms 数据发送端录音延迟:30ms 数据压缩解压耗时:<40ms 网络延迟:<100ms(我想校网情况应该不错J) 总延迟:<260ms 根据VOIP标准,总延迟<300ms是人可以接受的,以上计算是保守的,实际情况可能会好得多。
Platform: | Size: 4151296 | Author: 杨秉岐 | Hits:

[Chess Poker gamescanvas_color_Bomp

Description: 使用MFC开发,模仿WindowsXp的扫雷游戏,砖块为彩色的 鼠标左键在砖块上拖动时砖块颜色会变化,重置按钮的表情除事件变化外也会随时间变化 快捷键 C 初级 Z 中级 G 高级 B 彩雷英雄榜 Space或Enter 重新开局 资源文件: FaceButton.bmp tile_num.bmp-The use of MFC development, imitation of mine Windowsxp games, for the color of the bricks in the brick on the left mouse button when dragging bricks will change color, reset button face changes in addition to the events will change over time shortcut keys C primary Z Intermediate High B Cai Lei G standings hero Space or Enter re-opening resource file: FaceButton.bmptile_num.bmp
Platform: | Size: 518144 | Author: ZZP | Hits:

[Special Effectschepaishibie

Description: 读BMP文件,只能打开256色 (可以是灰度) 显示和内存贴图技术 关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved 每一个像素点都有一个相应的数组。 关于VC和windows 的绘图机制: 使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文 windows下的MFC编程机制,消息驱动,事件等待! 全局的app(应用程序对象) 注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源 每一个new操作符都要对应一个delete -Reading of BMP files, open only 256 colors (can be a gray-scale) display and memory mapping technology on the palette: the palette is actually an array, 4 BYTE are B, G, R, and every Reserved pixel has a corresponding array. On the VC and the windows of the drawing mechanism: the use of GDI (Graphics Device Interface) objects, used by CDC category, CPaintDC same (device-context) equipment under the windows context MFC programming mechanisms, message-driven, event wait! Overall app (application objects) Note the allocation of memory, manual removal and CDC object to delete the GDI release system resources every new operator should correspond to a delete
Platform: | Size: 238592 | Author: 嘉川 | Hits:

[GUI Developdrawwindow_src

Description: 应用程序向导已为您创建了这个 DrawWindow 应用程序。-Application Wizard has been created for you this DrawWindow application.
Platform: | Size: 46080 | Author: 兴舟 | Hits:

[Special EffectsSIFTAlgorithmcodes

Description: D.G lowe 的尺度不变特征转换算法(SIFT) 在基于opencv和OpenGL的源码基础上增加了图像的保存功能。用于对图像的尺度不变特征的提取以及图像特征点的匹配。-DG lowe the scale-invariant features of the conversion algorithm (SIFT) and OpenGL-based opencv source code based on the increase in the preservation of image features. Used to image the scale-invariant feature extraction and image feature points of the match.
Platform: | Size: 7247872 | Author: | Hits:

[Windows MobileGPSDemo

Description: Windows Mobile GPS示例 开发环境:VS2005 + MFC + SDK6.0-Windows Mobile GPS sample development environment: VS2005+ MFC+ SDK6.0
Platform: | Size: 52224 | Author: Liam | Hits:

[Com PortMFC

Description: 项目的研究内容是对硅微谐振式加速度计的数据采集电路开展研究工作。硅微谐振式加速度计敏感结构输出的是两路差分的频率信号,因此硅微谐振式加速度计数据采集电路完成的主要任务是测出两路频率信号的差值。测量要求是:实现10ms内对中心谐振频率为20kHz、标度因数为100Hz/g、量程为±50g、分辨率为1mg的硅微谐振式加速度计输出的频率信号的测量,等效测量误差为±1mg。电路的控制核心为单片机,具有串行接口以便将测量结果传送给PC机从而分析、保存测量结果。 按研究内容设计了软硬件。软件采用多周期同步法实现高精度,快速度的频率测量方案,并使用CPLD编程实现,这也是最难的地方。硬件采用现在流行的3.3V供电系统,选用EPM240T100C5N和较为实用的AVR单片机芯片Atmega64L,对应3.3V供电系统,串行接口使用MAX3232。 最后完成了PCB板的制作,经反复调试后得到了非常好的效果。采集的数据满足项目研究内容中的要求,当提高有源晶振的频率时,精度有大大提高了,此时已远远满足了项目中高精度,快速度测量的要求。另外,采用MFC编程编写了上位机的数据接收和数据处理专用软件,集数据采集,运算,作图,保存功能于一体。 此为上位机程序部分-err
Platform: | Size: 948224 | Author: tancm | Hits:

[Button controlGIF_Button

Description: 在mfc下制作一个gif按钮,有源码,已经在VC调试通过-The mfc produced under a gif button, there is source code, has been adopted in the VC debugger
Platform: | Size: 1052672 | Author: | Hits:

[Picture ViewerCEdit-transp

Description: mfc显示gif图片的方法,封装类,可以在model dialog中显示gif动画-mfc gif image display method, package type, can be displayed in the model dialog animated gif
Platform: | Size: 282624 | Author: everettjf | Hits:

[Dialog_WindowMFC-g-assessSystem

Description: 这是我参加第三届吉林省数学建模竞赛我们组队员使用VC6.0写的一个基于MFC的对话框程序,界面蛮漂亮的,希望大家喜欢!-This VC6.0 write an MFC-based dialog program I participated in the Third Jilin Province Mathematical Contest in Modeling group of players, the interface is very beautiful, hope you like!
Platform: | Size: 5653504 | Author: 雪域迷影 | Hits:

[Speech/Voice recognition/combineG.729a-gst

Description: G.729a位取反,信噪比测试代码。MFC编写的,测试可用。-G.729a bit inversion, signal to noise ratio test code
Platform: | Size: 44617728 | Author: H | Hits:

[Windows Develop数控铣床加工G代码自动生成软件

Description: 数控铣床加工G代码自动生成软件,设定图形参数,自动生成G代码.(CNC milling machine processing G code automatic generation software, set graphics parameters, automatic generation of G code.)
Platform: | Size: 1633280 | Author: 李小工 | Hits:
« 12 3 »

CodeBus www.codebus.net