文档介绍:南京航空航天大学
硕士学位论文
汉信码编解码研究与应用
姓名:刘伟
申请学位级别:硕士
专业:计算机科学与技术
指导教师:刘宁钟
2010-12
南京航空航天大学硕士学位论文
摘要
随着 2007 年 8 月《汉信码》标准的发布,汉信码对提升我,尤其对二维条码的应用领域起到了重要的促进作用。本文研究的目的是分析探讨
汉信码的编码规则,研究在复杂背景下汉信码的检测识别。设计并实现了基于 WinCE 平
台的汉信码识别系统,介绍了基于汉信码的士兵野外训练监控系统的有关应用。
首先,本文简单介绍了汉信码的基本特性。
其次,本文讨论了汉信码的编码规则和 RS 纠错算法,分析了汉信码在编码方面的优
越性能。
接着,本文根据汉信码的先验知识,在复杂彩色背景中汉信码主要有深色和浅色组成,
因此提出了基于 HSI 彩色空间的 I 分量二值化分割算法,从而剔除大量背景。
然后,对于常用的基于汉信码位置探测图形的定位算法,其识别方向只有 10°-15°。
在倾斜角较大的情况下,很难定位汉信码符号。因此本文根据汉信条码的特点,提出了一
种基于边缘密度和间距的汉信条码检测算法。经过实验证明,该算法能够快速检测定位到
汉信码并能实现 360°任意倾斜角度检测,其性能明显优于通过位置探测图形检测的算法。
其后,讨论了在通过摄像头获取汉信码图像时存在的透视问题,分析了反透视算法。
最后,本文介绍了 WinCE 系统和 DirectShow 技术,分析和设计了基于 WinCE 平台的
汉信条码识别系统,主要探讨了利用 DirectShow 获得实时条码图像的技术实现问题。介绍
了基于汉信码的士兵野外训练监控系统,包括其主要功能,模块划分,关键函数,应用界
面等。
关键词:二维条码,汉信码,条码定位,轮廓提取,反透视变换,WinCE,DirectShow
i
汉信码编解码研究与应用
ABSTRACT
As the publication of the regulations of Chinese-sensible code in August 2007, Chinese-sensible
code had boosted the development and technology of barcode in China, especially the implementation
of 2D barcode. The purpose of this thesis is to analyze the coding of Chinese-sensible code and
research on the detection and recognition of Chinese-sensible code plex backgrounds. It
meanwhile introduces the Chinese-sensible[0] code recognition system based on WinCE platform
and the application of soldier wild training system based on Chinese-sensible code.
Firstly, some basic features of Chinese-sensible code are introduced.
Secondly, the coding rules of Chinese-sensible code and the algorithm of RS correction are
analyzed. Then, the coding superior performances of Chinese-sensible are discussed.
Thirdly, according to the priori knowledge of Chinese-sensible code, Chinese-sensible code is
posed by deep and light color plicated color background. Therefore, the
binarization algorithm based on HSI color space is introduced to cut off lots of backgrounds.
Fourthly, the angle detected by usual alg