节点文献

QRCode二维条码编译码及自动识别技术的研究

The Research of Code/Decode and Automatic Identification Technology of QRCode

【作者】 郭琳

【导师】 尚振宏;

【作者基本信息】 昆明理工大学 , 计算机应用技术, 2008, 硕士

【摘要】 随着全球信息化的发展,人们对条码技术的需求层次不断提高,尤其是需要在有限的面积上表示更多的信息量。在这种需求下,二维条码孕育而生,它在各个领域得到了广泛应用。二维条码本身所具有的高容量、高密度、纠错能力强、安全强度高等特点使得二维条码作为信息的载体在信息自动化领域发挥着越来越重要的作用。二维条码的广泛应用要求条码的译码更加简单方便,即使没有专用译码设备也能够使用二维条码,这主要依靠相机和摄像头等图像采集设备来实现。本文针对用图像采集设备得到的符号图像进行译码的要求,提出了一个QR Code二维条码系统。大体内容如下:本文第一部分,首先介绍了二维条码和QR Code二维条码的基础知识及特点,选取QR Code二维条码作为研究对象。由于它有专有的中国汉字字符集,所以相对与其它条码来讲,更适合我国的实际应用情况。第二部分是编码系统的研究。这部分探讨QR Code二维条码编码系统的设计,重点研究的是编码模式选择的算法,改进了国家标准GB/T 18284-2000给出的参考算法,改进后的算法在实验中取得了较好的效果。第三部分是译码系统的研究。首先是图像预处理部分的研究,包括灰度化、中值滤波,图像二值化算法等。根据实际情况,选取较为合适的图像处理方法。在译码系统的研究中,重点是符号图像自动识别技术的研究。包括条码图像定位算法和采样网格建立算法。本系统定位算法充分利用了QR Code二维条码符号的特点,即三个位置探测图形,采用扫描线算法,对符号中的位置探测图形进行扫描,最后求得位置探测图形的中心坐标点,完成符号的定位。由于图像旋转、形变和条码图像本身的特点等因素影响,扫描线在扫描时会出现很多干扰因素,即本身并不属于位置探测图形的区域也出现满足位置探测图形模块比例的扫描线的情况,如何对这些扫描线进行有效的筛选,剔除可能不属于位置探测图形的扫描线算法也是研究的重点。本文第四部分是关于整个编译码系统的实现。分别介绍了如何实现编码系统和译码系统。详细介绍了编码和译码系统中包含的子模块,以及各个模块之间的关系,最后附上的是系统主要部分的程序流程图。最后一部分是对编译码系统有效性测试。结果表明,在Visual c++.net平台上实现的条码的编码和译码系统是有效的。编译码系统均能有效正确的实现信息的编码和译码。

【Abstract】 As the global information developing, people request for improved barcode technology. It’s required that presenting more information in limited area. As the requirement came out, two-dimensional (2D) symbol technology was proposed and in general use. Two-dimensional (2D) Barcode has played an important role in the information automation field because of its higher capacity, higher density, more powerful error-correction ability and higher security ability. The Recognition Tech- nology of 2D is to be asked more simple and easier because of its wider appli- cation, and even no dedicated decoding equipments, it can also be achieved with collecting 2D bar code images with camera. This paper aiming at implementing decoding of images collected by camera, proposed a coding and decoding system. The content as bellows:The paper introduced basis of knowledge and characteristics of two dimensi- onal barcode and QRCode in the first part and chose QRCode as object of study. QRCode had Chinese Character Set, so that it was more suitable for Chinese situa- tion compared with other 2D barcode. And the second part of paper was about re- search of coding system. Discussed the design of coding system focused on deter- mination of coding mode. Based on the reference algorithm of GB/T 18284-2000, made some improving, and achieved good results. The third part of paper was about research of decoding system. First introduced how to process the collected barcode images with image processing methods including median filtering, image binarization and so on. According to the actual situation, chose a suitable method. The focus of decoding system research was automatic identify- cation, including locating and grid building arithmetic of code symbol. The symbol locating arithmetic of QRCode was fully use of three Finder Patterns. Scanned three finder patterns and then picked up the real scan line through three finder patterns in order to calcu- late the center coordinates and finally finished symbol locating. Because of impact of rotating, deformatiom and features of symbol image itself, when scanned symbol image, there might be some scan lines which was not belong to the area of finder patters. So How to judge these scan lines and pick up the real lines accurately was also a focus of research. The forth part of paper was about the implement of the whole system. It introduced how to implement coding and decod- ing system. And introduce the submodule of each system and the relationship among them in detail. And finally, there were some main flow charts of system. And the last part was the effectiveness test.The result of research on Visual c++.net platform showed the system of coding and decoding is effective. The coding system can code accurately and decoding system also decode accurately.

  • 【分类号】TP391.41
  • 【被引频次】10
  • 【下载频次】675
节点文献中: 

本文链接的文献网络图示:

本文的引文网络