Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 开发框架
Search - 开发框架 - List


需要注意的地方:

使用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); 刷新

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

 

 


Date : 2008-06-18 Size : 288.14kb User : tata80808

车牌识别系统 需要注意的地方: 使用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 每一个像素点都有一个相应的数组。-LPR system needs to the attention of the local : VC 6.0 do use development tools, SDI simple frame structure, handling a bitmap (interested can make MDI) 1) bitmap data is the information from the right and the left for his , and his party up his platoon. 2) pixels per line should be in multiples of four, the inadequacies of the points are filled with empty, Reading, the point to skip redundant. 3) key data exists inside Doc. BMP key data on the existence of a ImgData BYTE directly to the type of memory space (according to the Bitmap a small, dynamic allocation). 4) Data Reading come after, pay attention to the memory mapping, in order to ensure high efficiency. 5) implementation of procedures for application generation process -- "Open --" the OnFileOpe CDipView n Functions -- &
Date : 2008-10-13 Size : 227.77kb User : yanglin

车牌识别源码 使用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函数----一个像素点一个像素点的画
Date : 2008-10-13 Size : 228.05kb User : kongge

Color-based tracking (CAMSHIFT) demo. Alexandre R.J. Francois Copyright (C) 2004 University of Southern California 介绍:CamShift是一种应用颜色信息的跟踪算法,在跟踪过程中,CamShift利用目标的颜色直方图模型得到每帧图像的颜色投影图,并根据上一帧跟踪的结果自适应调整搜索窗口的位置和大小,从而得到当前图像中目标的尺寸和中心位置.在该代码的框架基础上可以开发视屏游戏。
Date : 2008-10-13 Size : 64.46kb User : Andy

一个车牌识别系统,使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图
Date : 2008-10-13 Size : 226.51kb User : usbusb

车牌识别系统 需要注意的地方: 使用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 每一个像素点都有一个相应的数组。-LPR system needs to the attention of the local : VC 6.0 do use development tools, SDI simple frame structure, handling a bitmap (interested can make MDI) 1) bitmap data is the information from the right and the left for his , and his party up his platoon. 2) pixels per line should be in multiples of four, the inadequacies of the points are filled with empty, Reading, the point to skip redundant. 3) key data exists inside Doc. BMP key data on the existence of a ImgData BYTE directly to the type of memory space (according to the Bitmap a small, dynamic allocation). 4) Data Reading come after, pay attention to the memory mapping, in order to ensure high efficiency. 5) implementation of procedures for application generation process-- "Open--" the OnFileOpe CDipView n Functions-- &
Date : 2025-12-17 Size : 228kb User : yanglin

车牌识别源码 使用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函数----一个像素点一个像素点的画
Date : 2025-12-17 Size : 228kb User : kongge

Color-based tracking (CAMSHIFT) demo. Alexandre R.J. Francois Copyright (C) 2004 University of Southern California 介绍:CamShift是一种应用颜色信息的跟踪算法,在跟踪过程中,CamShift利用目标的颜色直方图模型得到每帧图像的颜色投影图,并根据上一帧跟踪的结果自适应调整搜索窗口的位置和大小,从而得到当前图像中目标的尺寸和中心位置.在该代码的框架基础上可以开发视屏游戏。-Color-based tracking (CAMSHIFT) demo. Alexandre RJ FrancoisCopyright (C) 2004 University of Southern California, introduced: CamShift is an application of color information of the tracking algorithm in the tracking process, CamShift use of the target color histogram model of each frame image color projection, and a track based on the results of adaptive search window location and size, resulting in the current target image size and central location. In the framework of the code can be developed based on the game screen.
Date : 2025-12-17 Size : 64kb User : Andy

一个车牌识别系统,使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图-A license plate recognition system, the use of VC++ 6.0 to do development tools, SDI, using a simple frame structure, a deal with an bitmap
Date : 2025-12-17 Size : 226kb User : usbusb

车牌识别系统,使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)-License Plate Recognition system, using VC++6.0 to do development tools, SDI, using a simple frame structure, one to deal with a bitmap (who are interested can make MDI)
Date : 2025-12-17 Size : 291kb User : Beason

车牌识别系统 VC++ 使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)-License Plate Recognition System VC++ using VC++6.0 to do development tools, using a simple SDI frame structure, one dealing with a bitmap (who are interested can be made MDI)
Date : 2025-12-17 Size : 235kb User : Linan

车牌识别系统需要注意的地方:使用Visual C++6.0做开发工具, 使用简单易懂的SDI框架结构 ,一次处理一幅位图(有兴趣的能作成MDI)1)位图信息的数据是从左下往右下为一行,一行一行往上排的的。2)每行像素素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配 -License plate recognition systems need to pay attention: the Visual C++6.0 development tool, the use of simple SDI frame structure, a handle to a bitmap (with able also to MDI) 1) bitmap data from the one line in the bottom left to right, line by line up row. 2) pixels per line elements should be a multiple of 4, the lack of a place filled with empty point, Reading, pay attention to skip the redundant point. 3) data Doc inside the BMP data to exist one by ImgData and pointing BYTE type of memory space (depending on the size of the bitmap, the dynamic allocation
Date : 2025-12-17 Size : 228kb User :

一个车牌识别系统的源码,使用VC++6.0做开发工具, 采用简单的SDI框架结构。-License Plate Recognition System,LPR
Date : 2025-12-17 Size : 3.95mb User : 王业芳

使用大恒图像采集卡进行轮胎图像采集,利用VC++2005 采用WTL界面框架开发一个简单的轮胎表面标记的采集与识别系统。首先采用灰度化和直方图均衡化方法实现图像预处理,然后采用OTSU阈值分割方法实现图像的二值化,在二值图像基础上,采用阈值面积消去法(空穴检出)实现图像去噪处理,并采用径向投影方法实现字符分割,最后采用模板匹配方法实现轮胎表面标记的识别。-This research uses DaHeng image gathering card to carry on tire image gathering, uses the WTL contact surface frame with VC++2005 to develop a simple tire surface mark Acquisition and Recognition system. First, the image pretreatment is realized by using the gradation and the histogram equalizing method, then use the OTSU threshold value division method to realize the image binaryzation. On the base of two-value image, by using the threshold value area elimination (holes to pick out) image denoising processing is realized, and then use the radial direction projection method to realize the character division, finally the tire surface mark recognition is realized through the template matching method.
Date : 2025-12-17 Size : 7.88mb User : 靳鹏

OpenPose人体姿态识别项目是美国卡耐基梅隆大学(CMU)基于卷积神经网络和监督学习并以caffe为框架开发的开源库。可以实现人体动作、面部表情、手指运动等姿态估计。适用于单人和多人,具有极好的鲁棒性。是世界上首个基于深度学习的实时多人二维姿态估计应用,基于它的实例如雨后春笋般涌现。人体姿态估计技术在体育健身、动作采集、3D试衣、舆情监测等领域具有广阔的应用前景,人们更加熟悉的应用就是抖音尬舞机(OpenPost Human Attitude Recognition Project is an open source library developed by Carnegie Mellon University (CMU) based on convolutional neural network and supervised learning and caffe framework. Posture estimation such as human motion, facial expression and finger movement can be realized. It is suitable for single person and multi-person, and has excellent robustness. It is the first real-time multi-person two-dimensional attitude estimation application based on deep learning in the world. Examples based on it have sprung up like mushrooms after a spring rain. Human posture estimation technology has broad application prospects in sports fitness, motion acquisition, 3D fitting, public opinion monitoring and other fields. People are more familiar with the application of tremolo embarrassing dance machine.)
Date : 2025-12-17 Size : 43.67mb User : 对对对对的
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.