QR码图像识别的关键技术
The Key Technology of QR Code Image Recognition
DOI: 10.12677/JISP.2015.43007, PDF, HTML, XML, 下载: 3,013  浏览: 9,543 
作者: 王 莹*, 叶国菊:河海大学理学院,江苏 南京;王卫锋:中国科学院沈阳自动化研究所,辽宁 沈阳
关键词: 中值滤波全局阈值法最大类间方差法Sobel算子Hough变换双线性插值法Median Filter Global Threshold OTSU Sobel Operator Hough Transform Bilinear Interpolation
摘要: 本文针对利用普通拍照设备在自然环境下抓拍到的含QR码的非标准图像,首先对其进行灰度化处理,其次采用中值滤波、全局阈值二值化、图像矫正等方法与过程完成图像的预处理工作,得到了比较标准的QR码图像。在图像矫正中,采用了Sobel算子边缘提取、Hough变换、图像旋转、平面投影转换及双线性插值法等方法。最后对于矫正后的图像,经过确定寻像图形、确定版本和格式信息、恢复掩膜、恢复码字并纠错、数据码字译码等一系列的处理,对其实现QR码译码。
Abstract: This paper aims at the nonstandard image of QR code, captured in a natural environment using ordinary photo equipments. First of all the image is grayed; secondly using median filter, the global threshold binarization and image correction, we complete image preprocessing and get more standard QR code image. In the process of image correction, this paper adopts Sobel operator edge detection, Hough transform, image rotation, plane projection transformation, bilinear interpolation method and so on. Finally, for the corrected image, the paper completes the QR code decoding by a series of processes of determining the finder patterns, the version and format information, restoring mask film, restoring code words and correcting error, data decoding and so on.
文章引用:王莹, 叶国菊, 王卫锋. QR码图像识别的关键技术[J]. 图像与信号处理, 2015, 4(3): 53-66. http://dx.doi.org/10.12677/JISP.2015.43007

参考文献

[1] Hiramoto, J. (1996) Past & present future of 2-dimension code technique. Monthly Barcode, 3, 35-39.
[2] 梁鹏 (2006) 手机二维码业务研究. 电信科学, 12, 36-39.
[3] 祁晓莉 (2007) 矩阵式二维条码的生成与解码技术的研究及应用. 硕士论文, 重庆大学, 重庆.
[4] 朱卫东, 张艳树 (1997) 二维条码技术与应用. 北方交通大学学报, 3, 371-374.
[5] 郑河荣, 熊丽荣, 王天舟 (2003) 基于HOUGH变换的二维条码图像矫正. 浙江工业大学报, 2, 169-172.
[6] 张心滨 (2012) 基于数学形态学的QR码识别技术研究. 硕士论文, 南京林业大学, 南京.
[7] 阮秋琦 (2001) 数字图像处理学. 电子工业出版社, 北京, 1-11.
[8] 徐福泽 (2008) 二维条码识别系统的图像处理. 硕士论文, 烟台大学, 烟台.
[9] 袁开心 (2008) 基于Symbian智能手机的QR码的识别. 硕士论文, 南京航空航天大学, 南京.
[10] 陈杰 (2010) QR码图像预处理技术研究. 温州大学学报(自然科学版), 6, 16-23.
[11] Bleyl, R.L. (1976) Using photographs to map traffic accident scenes: A mathematical technique. Journal of Safety Research, 1, 59-64.
[12] 柴天天 (2011) 基于二维条码QR码的安全复印系统设计与实现. 硕士论文, 北京邮电大学, 北京.
[13] 董强 (2006) QR码识别技术及在手机中的应用. 硕士论文, 青岛大学, 青岛.