Welcome![Sign In][Sign Up]
Location:
Search - X,C

Search list

[GDI-Bitmap位图全色生操作类,指纹识别,角点检测,锐化,反色等操作类C++

Description: 指纹识别中的一个步骤分支点检测的实现,使用的是我个人编写的位图操作类,本位图操作类中的算法组,可以用于所有能够返回具有指针特性图像矩阵的文档操作类库。也就是说通用性很强。算法组还包括指纹识别算法,卷积函数。位图操作类包括的方法有 tmBmp(); tmBmp(const std::string & fname, BYTE clrBit = 8 ,DWORD imW = 256,DWORD imH = 256); virtual ~tmBmp(); //复制构造函数 tmBmp(const tmBmp & bmp); virtual const tmBmp & operator = (const tmBmp & init); //打开位图 virtual bool openBmp(const std::string fname); //另存位图 virtual bool saveBmp(const std::string fname); //保存位图 virtual bool saveBmp(); //创建一幅位clrBit位,宽imw高imH的位图 virtual bool createBmp(const std::string fname,BYTE clrBit,DWORD imW,DWORD imH); //从灰度数组,创建灰度图像 template bool createGrayBmp(T * imArray,DWORD imW,DWORD imH); //释放读入的图像 virtual void releaseBmp(); //获得图像的宽度 DWORD getWidth(); //获得图像的高度 DWORD getHeight(); //获得颜色位数 WORD getClrBit(); //显示位图信息 void showBmpInfo(); //获取调色板某一元素的值,存入RGBQuad bool getRGBQuad(RGBQuad &, BYTE index); //用RGBQuad更改调色板某一元素的值 bool setRGBQuad(RGBQuad &, BYTE index); //重命名位图 void rename(const std::string fname = "新建位图.bmp"); //颜色反转 virtual void reverseColor(); //将一幅图片的像素区,装换为灰度值数组 template bool tranToArray(T * pixelArray); //如果是8位以内的图像本函数为 //在图像上(x,y)处画颜色索引为redPart的点 //对于16,24,32位的图像为 //在图像上(x,y)处画颜色为redPart+greenPart+bluePart的点 //x为行号,y为列号 bool putPixel(DWORD x,DWORD y,BYTE redPart=0,BYTE greenPart=0,BYTE bluePart=0);
Platform: | Size: 15714 | Author: tr0217 | Hits:

[VC/MFCcodeblocks教程

Description: 1. 安装Code::Blocks………………………………………………………………………….…………………3 1.1 下载……………………………………………………………………………………….….…………. .3 1.2 安装……………………………………………………………………...………………….….…………3 2. Code::Blocks的编程环境配置…………………………………………………………….……….…………7 2.1 环境………………………………………………………...…………………………………..…………7 2.2 编辑器…………………………………………….…………………………………….….…………....12 2.3 编译器和调试器……………………………………………………………………….……….……….13 3. 编写程序……………………………………………………………………………….……….....………...17 3.1 创建一个工程…………………………………………………………………….………….………….17 3.2 添加和删除文件…………………………………………………………………………..…………….20 3.3 编辑文件………………………………………………………………………………………..……….25 3.4 编译程序…………………………………………………………………….…………………..……....30 3.5 调试程序………………………………………………………………………………..……………….43 3.6 阅读别人编写的程序………………………………………………………………...…………………74 4. 附录…………………………………………………………………………………………………...……..79 4.1 Linux下安装Code::Blocks……………………………………………………………………………….79 4.2 Mac OS X下安装Code::Blocks………………………………………………………………………….80 4.3 Code::Blocks搭配高版本gcc编译器…………………………………………………………………….80 4.4 安装配置boost…………………………………………………………………………...........................82
Platform: | Size: 3288531 | Author: afd_326 | Hits:

[BooksVisual+C++实践与提高-ActiveX篇

Description: Visual+C++实践与提高-ActiveX篇,讲解activex的相关开发,基于C++
Platform: | Size: 26550028 | Author: 07shwu | Hits:

[J2MEC-XMLCode

Description: 解析xml为树状结构,c编写-analytic xml structure of the tree, c prepared
Platform: | Size: 29696 | Author: 王琴 | Hits:

[VC/MFCVisual C++ 6.0程序员指南

Description: 本书是美国微软出版社授权的 Microsoft Visual Studio系列中文版图书之一,它是 Visual C++ 6.0程序员的实用参考书。 书中讨论的许多主题均以范例程序进行说明,所有范例程序的项目文件都在配套光盘上。本书是从事Visual C++ 6.0应用与开发的所有技术人员极好的工具书,同时也是大专院校相关专业的师生的自学、教学参考用书。 全书共分成六个部分: 第一部分介绍Developer Studio和AppWizard的基础知识; 第二部分介绍文本、图形和对话框编辑器; 第三部分是编程指南,展示了如何使用Classwizard和 Gallery来加速编程开发工作,创建自己的组件; 第四部分介绍 ActiveX控件及其使用,说明如何用MFC或ATL来写 ActiveX控件; 第五部分讨论调试器的各种能力,程序优化的各种选项及原因,如何定制Visual C++,如何编制宏和附加实用程序; 第六部分提供ASCll字符和ANSI字符的标准表格,并简要描述ClassWizard支持的MFC类和VBScript-the book is authorized Microsoft Microsoft Visual Studio line Chinese version of one book, which is 6.0 Visual C programmers practical reference books. Book Many of the topics discussed were examples of procedures that all procedures examples of projects supporting documents are in the CD-ROM. The book is engaging in Visual C++ 6.0 application development with all the technical staff excellent tool, as well as tertiary institutions relevant professional teacher training, teaching reference books. The book is split into six parts : the first part describes Developer Studio and the basic knowledge+5.0; The second part gives text, graphics and dialog editor; The third part of the programming guide, showing how to use Classwizard Gallery and to accelerate the development of programming buil
Platform: | Size: 10822656 | Author: 刘建国 | Hits:

[ELanguagec语言词法分析程序

Description: .X语言词法分析程序的设计 目的:设计、编制、调制一个具体的词法分析程序,加深对词法分析原理的理解。 要求: (1)通过理解正规式、有限自动机原理,根据下面的X语言的说明编制一个X语言的词法分析程序。 (2)提交实验报告,报告内容如下: 目的要求、DFA、程序清单(带注释)、测试样例及结果-. X language lexical analysis procedure is designed to: design, preparation, modulation of the lexical analysis of a specific procedure, deepen understanding of the principles lexical analysis. Requirements: (1) through the understanding of the formal ceremony, finite automata theory, in accordance with the following X-language description of the preparation of an X language lexical analysis procedures. (2) submitted to the experiment report, which reads as follows: The purpose of the requirements, DFA, the list of procedures (with Notes), the test sample and the results
Platform: | Size: 33792 | Author: 萧飞 | Hits:

[Mathimatics-Numerical algorithmsC语言常用源代码

Description: C语言数值计算中常用的函数,如sin(x),cos(x)的实现方式的源代码。-Codes for functions which are used frequently in numerical calculation ,such as sine function,cosine function, written in C language
Platform: | Size: 72704 | Author: 何培松 | Hits:

[CommunicationXMODEM.C

Description: 这是XMODEM传输协议原代码,测试只能证明错误的存在,而不能表明程序中没有错误。 测试的两个作用是:确定程序中缺陷的存在;有助于判断该程序在实际上是否可用。 软件测试最困难的问题之一是知道何时停止测试(When to stop testing? ) 自己测试自己的程序是不可能的。 当一个软件被测出的缺陷数目增加时,更多的未被发现的缺陷存在的概率也随之增加。 -This XMODEM transfer protocol source code, the test can only be proved wrong there and not show anything wrong procedure. The two test role is : procedures for determining the existence of defects; Contribute to the judge whether the procedure can be used in practice. Software testing the most difficult one of the problems is to know when to stop testing (When to stop testing) testing their own procedures is not possible. When a software detected the increase in the number of defects, more undiscovered flaws in the probability has increased.
Platform: | Size: 2048 | Author: 伍先生 | Hits:

[matlabmatlab7.x

Description: 《精通MATLAB7.0混合编程》系统地介绍MATLAB 7.0的混合编程方法和技巧。全书共分为13章。第1章和第2章介绍MATLAB的基础知识,第3章简要介绍MATLAB混合编程,第4章至第9章分别介绍几种典型的混合编程方法,包括C-MEX、MATLAB引擎、MAT数据文件共享、Mideva、Matrix和Add-in。第10章、第11章介绍MATLAB与Delphi和Excel的混合编程。第12章介绍MATLAB COM Builder,第13章以图像处理为例介绍了一个综合应用实例。 本书按混合编程的具体方法进行逻辑编排,自始至终用实例描述,每章着重阐述各种混合编程方法的实质和要点,同时穿插了作者多年使用MATLAB的经验和体会。本书既适合初学者自学,也适用于高级MATLAB用户,可作为高等数学、计算机、电子工程、数值分析、信息工程等课程的教学参考书,也可供上述领域的科研工作者参考。 这里是本书所有源码压缩包,内容详尽、实例丰富,包含MATLAB实例的源文件、函数/命令和注解以及程序实例。 -"proficient MATLAB7 mixed programming" system introduced in MATLAB 7.0 Mixed Programming methods and techniques. The book is divided into 13 chapters. Chapter 1 and Chapter 2 on the basis of knowledge MATLAB, Chapter 3 briefed Matlab. Chapter 4-Chapter 9, respectively introduced several typical mixed programming, including C-MEX, MATLAB engine, MAT data file sharing, Mideva, Matrix and the Add-in. Chapter 10, Chapter 11 and Delphi on MATLAB and Excel hybrid programming. Chapter 12 on MATLAB COM Builder, chapter 13 for image processing as an example of a composite application. The book by the mixed programming methods for the specific logic layout description throughout example, Each chapter focuses on a combination of programming and real elements, while full of the author's
Platform: | Size: 1619968 | Author: yixiao | Hits:

[SCMMy_LCD_Driver

Description: CM320X240LCD的驱动程序,C语言,wave仿真器调试通过-CM320X240LCD driver, C language, wave simulator debugging through
Platform: | Size: 54272 | Author: | Hits:

[Otherlinux-operation-in-C-program

Description: 一本很适合在linux下编程的初学者,里面详细的讲解了很多linux下的常见函数的使用,书中也有很多例子。目录如下: 1)Linux程序设计入门--基础知识 2)Linux程序设计入门--进程介绍 3)Linux程序设计入门--文件操作 4)Linux程序设计入门--时间概念 5)Linux程序设计入门--信号处理 6)Linux程序设计入门--消息管理 7)Linux程序设计入门--线程操作 8)Linux程序设计入门--网络编程 9)Linux下C开发工具介绍-one is very suitable for the under linux programming beginners, which explains in detail the many linux under the common function of the use, the book has many examples. Contents are as follows : 1) Linux program design portal-- basic knowledge 2) Introduction to Linux program design-- the process of introducing 3) Linux program design portal-- File 4) Introduction to Linux program design-- the concept of time 5) Li nux program design portal-- Signal Processing 6) Linux program design portal-- Message Management 7) Linu x Design portal-- Operation Thread 8) Linux program design portal-- Network Programming 9) Linux C development tools introduced
Platform: | Size: 357376 | Author: cpf | Hits:

[VC/MFCAccelerated.C++

Description: 这是关于c++的电子书籍,Accelerated C++ Practical Programming by Example by Andrew Koenig and Barbara E. Moo Addison-Wesley, 2000 ISBN 0-201-70353-X Pages 336 Second Printing -c electronic books, Accelerated C Practical Programming by Exampl e by Andrew Koenig and Barbara E. Moo Addison-We sley, 2000 ISBN 0-201-70353-X Pages 336 Second Print ing
Platform: | Size: 894976 | Author: liyunfei | Hits:

[ConsoleBP_sin(x)

Description: BP算法拟合f(x)=sin(x)函数,样本数为9对,目标值0.001-BP fitting algorithm f (x) = sin (x) function, sample size for the nine right, the target value 0.001
Platform: | Size: 61440 | Author: 孙志海 | Hits:

[Windows Developfweeeeeeeeeeeefew

Description: 1、实现动态查找表的三种基本功能:查找、插入、和删除。 2、初始,平衡二叉树为空树,操作界面给出查找、插入和删除三种操作供选择。每种操作均要提示输入关键字。每次插入或删除一个结点后,应更新平衡二叉树的显示。 3、平衡二叉树的显示采用树形结构显示二叉树。 4、合并两棵平衡二叉树。 5、把一棵平衡二叉树分裂为两棵平衡二叉树,使得在一棵树中的所有关键字都小于或等于x,另一棵树中的任一关键都大于x -1, the dynamic lookup table of the three basic functions : Search, insert, and delete. 2, the initial, balanced binary tree is empty tree interface gives you, insert and delete operations for the three choices. Each operation will have to be me to input keywords. Each insert or delete a node, the update should show a balanced binary tree. 3, balanced binary tree shows that using the tree structure shown binary tree. 4, merging two balanced binary tree. 5, a balanced binary tree split into two balanced binary tree. made in a tree all the keywords are less than or equal to x, another one of the tree is better than a key x
Platform: | Size: 12288 | Author: 战天 | Hits:

[assembly languagecrc2345

Description: crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送方和接收方约定一个生成多项式G(x),设该生成多项式 的最高次幂为r。 (3) 在数据块的末尾添加r个0,则其相对应的多项式为M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),获得商Q(x)和余式R(x),则 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2运算,T(x)所对应的数据是在原数 据块的末尾加上余式所对应的数据得到的。 (6) 发送T(x)所对应的数据。 (7) 设接收端接收到的数据对应的多项式为T’(x),将T’(x)除以G(x) ,若余式为0,则认为没有错误,否则认为有错-crc-generating polynomial arbitrary arbitrary Operators adaptive algorithm Cyclic Redundancy Check (CRC. Cyclic Redundancy Code) is the polynomial coder, This way the data to be sent as a polynomial coefficient data bn- 1bn-2 ... b1b0 (0 or 1), corresponding to the polynomial : bn- 1Xn-1 bn- 2Xn-2 ... b1X belts such as : data "10010101" polynomial can be written as a X7 X4 X2. Cyclic Redundancy Check Cyclic Redundancy Check method of principle as follows : (1) The data to be sent to the corresponding polynomial p (x). (2) the sender and the receiver agreed on a generator polynomial G (x), set up the generator polynomial of the highest power of r. (3) In the data block Add to the end of r-0, then the polynomial corresponding to M (x) = XrP (x). (R-bits) (4) M (x) divided by G (
Platform: | Size: 1024 | Author: yzs | Hits:

[Linux-Unixx509read_c

Description: 阅读x.509文件的代码,c语言开发。属于ssl部分的知识。-X.509 file reading code, c language development. Part of the knowledge belonging to ssl.
Platform: | Size: 8192 | Author: 周大福 | Hits:

[MPIsinx

Description: sin(x)的并行程序,用mpi库和c语言编程-sin (x) of the parallel program, using mpi library and c language programming
Platform: | Size: 1024 | Author: 阿妍 | Hits:

[Windows Developchongzaiyunsuan

Description: 1、 对Point类重载++和――运算符 编写C++程序完成以下功能: (1) Point类的属性包括点的坐标(x,y); (2) 实现 Point类重载++和――运算符:  ++p,--p,p++,p--。  ++和――分别表示x,y增加或减少1。 -1, on the Point-type heavy-duty and- operator prepared C++ Process is complete the following functions: (1) Point-type properties, including the coordinates of points (x, y) (2) the realization of Point-type heavy-duty and- Operators:
Platform: | Size: 1024 | Author: 李伟 | Hits:

[BooksQuartz.2D.Graphics.For.Mac.OS.X.Developers

Description: 在苹果机下开发的简单的图片处理quartz2d的开发指南,仅供参考-quartz2d
Platform: | Size: 1445888 | Author: zhangxin | Hits:

[Windows Develop矩阵计算C语言版

Description: 一个矩阵计算器 进入程序 输入A=[1 2 3 4;5 6 7 8; 9 10 11 12] 【横向一行】 输入B=X X X 输入C=X X X 输入D=X X X 支持多项矩阵加减乘,即E=AC,E=AD-C+B,E=ADB-C这一类的,矩阵在6*6以内,项数不定,加减乘运算顺序不定 输入E=A*B+C-D【例子】 输出矩阵形式的答案 E= x x x…… x x x…… x x x……(Matrix calculation for C language)
Platform: | Size: 15360 | Author: Master_King | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net