========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : HEUOCR
========================================================================
AppWizard has created this HEUOCR application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your HEUOCR application.
HEUOCR.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
HEUOCR.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CHEUOCRApp application class.
HEUOCR.cpp
This is the main application source file that contains the application
class CHEUOCRApp.
HEUOCR.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
HEUOCR.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\HEUOCR.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file HEUOCR.rc.
res\HEUOCR.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
HEUOCR.reg
This is an example .REG file that shows you the kind of registration
settings the framework will set for you. You can use this as a .REG
file to go along with your application or just delete it and rely
on the default RegisterShellFileTypes registration.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CMDIFrameWnd and controls all MDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in HEUOCR.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
For the child frame window:
ChildFrm.h, ChildFrm.cpp
These files define and implement the CChildFrame class, which
supports the child windows in an MDI application.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
HEUOCRDoc.h, HEUOCRDoc.cpp - the document
These files contain your CHEUOCRDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CHEUOCRDoc::Serialize).
HEUOCRView.h, HEUOCRView.cpp - the view of the document
These files contain your CHEUOCRView class.
CHEUOCRView objects are used to view CHEUOCRDoc objects.
res\HEUOCRDoc.ico
This is an icon file, which is used as the icon for MDI child windows
for the CHEUOCRDoc class. This icon is included by the main
resource file HEUOCR.rc.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named HEUOCR.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
单文档工程,图像处理 class GrayTrans : public ImageDib { public: //输出图像每像素位数 int m_nBitCountOut; //输出图像位图数据指针 unsigned char * m_pImgDataOut; //输出图像颜色表 LPRGBQUAD m_lpColorTableOut; //输出图像的宽,像素为单位 int m_imgWidthOut; //输出图像的高,像素为单位 int m_imgHeightOut; //输出图像颜色表长度 int m_nColorTableLengthOut; public: //不带参数的构造函数 GrayTrans(); //带参数的构造函数 GrayTrans(CSize size, int nBitCount, LPRGBQUAD lpColorTable, unsigned char *pImgData); //析构函数 ~GrayTrans(); //以像素为单位返回输出图像的宽和高 CSize GetDimensions(); //彩色变灰度格式 void ColorToGray(); //中值平滑滤波 void MedianSmooth(int FilterH, int FilterW, int FilterCX, int FilterCY); unsigned char FindMedianValue(unsigned char* pbArray,int ArrayLen); //二值化 void BinaryImage(); };
资源推荐
资源详情
资源评论
收起资源包目录
src.rar (75个子文件)
src
ChineseCrude1.dat 877KB
CharHole3.dat 880B
ChineseCrude4.dat 366KB
aa.h 20KB
HEUOCR.rc 13KB
HEUOCR.dsw 535B
CharHole1.dat 11KB
ChineseCrude0.dat 556KB
res
HEUOCR.ico 1KB
HEUOCRDoc.ico 1KB
Toolbar.bmp 1KB
Thumbs.db 7KB
HEUOCR.rc2 398B
ChineseCrude2.dat 1.14MB
ImageDib.h 2KB
HEUOCR.opt 783KB
HEUOCR.APS 30KB
Result.h 1KB
HEUOCRView.h 2KB
Structure.h 7KB
HEUOCRDoc.cpp 2KB
ChildFrm.cpp 1KB
GrayTrans.h 1KB
HEUOCRView.cpp 10KB
HEUOCR.plg 3KB
CharHole0.dat 28KB
StdAfx.cpp 208B
MainFrm.cpp 2KB
resource.h 872B
HEUOCR.cpp 6KB
Ocr.h 44KB
MainFrm.h 2KB
ChildFrm.h 1KB
StdAfx.h 1KB
HEUOCRDoc.h 2KB
HEUOCR.dsp 5KB
GrayTrans.cpp 8KB
HEUOCR.reg 680B
Result.cpp 861B
HEUOCR.h 1KB
Debug
Ocr.sbr 0B
ChildFrm.sbr 0B
HEUOCR.res 8KB
HEUOCR.bsc 3.59MB
StdAfx.obj 103KB
HEUOCR.exe 652KB
ImageDib.obj 17KB
HEUOCRDoc.obj 18KB
HEUOCR.sbr 0B
Ocr.obj 657KB
HEUOCRView.obj 969KB
ImageDib.sbr 0B
HEUOCR.ilk 1.14MB
HEUOCRView.sbr 0B
vc60.idb 289KB
HEUOCR.pch 6.56MB
StdAfx.sbr 1.31MB
MainFrm.sbr 0B
vc60.pdb 548KB
HEUOCRDoc.sbr 0B
HEUOCR.obj 42KB
Result.sbr 0B
GrayTrans.obj 13KB
HEUOCR.pdb 1001KB
MainFrm.obj 19KB
ChildFrm.obj 16KB
GrayTrans.sbr 0B
Result.obj 13KB
HEUOCR.ncb 361KB
HEUOCR.clw 3KB
ImageDib.cpp 9KB
CharHole2.dat 4KB
ChineseCrude3.dat 827KB
Ocr.cpp 120KB
ReadMe.txt 5KB
共 75 条
- 1
资源评论
- wanwanwanan2014-09-02顶一下,还可以把,推荐
- 吃小妖的星星2013-04-07我用的还行,不错,顶起
- 初学者a2013-04-09顶一下,还可以把,
- lin1happy2014-04-11我用的还行,不错,顶起
o悟空o
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功