计算机与现代化 ›› 2010, Vol. 1 ›› Issue (01): 128-130,.doi: 10.3969/j.issn.1006-2475.2010.01.036

• 图像处理 • 上一篇    下一篇

一种基于VC的静态图像特征整合方法

王莉丽,李萍   

  1. 郑州大学西亚斯国际学院计算机科学与技术系,河南 新郑 451150
  • 收稿日期:2009-07-02 修回日期:1900-01-01 出版日期:2010-01-15 发布日期:2010-01-15

A Feature Conformity Method for Stationary Image Based on Visual C++

WANG Li-li,LI Ping   

  1. Department of Computer Science and Technology, SIAS International University of Zhengzhou University, Xinzheng 451150, China
  • Received:2009-07-02 Revised:1900-01-01 Online:2010-01-15 Published:2010-01-15

摘要: 通过视觉图像静态特征整合方法的研究,本文提出一种基于VC实现颜色和形状特征信息整合方法。介绍VC环境中图像类的自定义,使用集合类CPtrArray解决图形对象的动态存储问题;利用CStdioFile类进行文本数据的读取,并解决从字符型数值转换成数值型数据的问题;最后利用MFC中的OnDraw函数绘制出与原始图像对应的特征图像,并显示出来。实验运行结果显示,能够取得较好的效果。

关键词: 特征整合, VC, 类, MFC

Abstract: Via research on vision image stationary feature conformity methods, this paper proposes a method to realize color and shape feature information conformity based on Visual C++, introduces how to develop graph class in VC environment, and uses CPtrArray to solve the problem of dynamic storage for image object. Realizes TXT data read function with CStdioFile class, and solves the problem of transformation from string type to integer type. At last draws the feature image using OnDraw function in MFC. Experimental results show that, it can receive a better effect.

Key words: feature conformity, Visual C++, class, MFC

中图分类号: