作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (2): 218-220. doi: 10.3969/j.issn.1000-3428.2011.02.076

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

一种QR码的预处理方法

杨佳丽,高美凤   

  1. (江南大学通信与控制工程学院,江苏 无锡 214122)
  • 出版日期:2011-01-20 发布日期:2011-01-25
  • 作者简介:杨佳丽(1986-),女,硕士研究生,主研方向:图像处理;高美凤,副教授

Pretreatment Method of Quick Response Code

YANG Jia-li, GAO Mei-feng   

  1. (School of Communication and Control Engineering, Jiangnan University, Wuxi 214122, China)
  • Online:2011-01-20 Published:2011-01-25

摘要: 针对摄像机采集的快速响应码(QR码)在提取之前存在光照不均匀以及可能产生的旋转、扭曲等现象,提出一种自适应阈值算法。对图像进行二值化,将Roberts算子与小波模极大值相结合,克服传统边缘检测算法对噪声敏感的缺点,提取QR码的边缘信息。根据四边形4个顶点到与对角线平行的直线的最短距离来定位QR码,并利用双线性差值进行纠正。实验结果证明了该算法的可靠性。

关键词: 快速响应码, 自适应阈值, 边缘检测, 双线性插值

Abstract: Aiming at the problem that the Quick Response(QR) code by vidicon has asymmetrical beam, angulation and spin, this paper proposes the adaptive threshold method. Combinating the Roberts operator and a wavelet modulus maxima, a new edge detection algorithm overcomes the noise-sensitive defects of traditional algorithm, and accurately extracts the edge information of QR code. The QR code is located according to the principle of quadrilateral with four vertices to the diagonal line parallel of the shortest distance and the bilinear interpolation algorithm is used to correct the distorted QR code. Experimental results show that the method is reliable.

Key words: Quick Response(QR) code, adaptive threshold, edge detection, bilinear interpolation

中图分类号: