Computer Engineering and Applications ›› 2009, Vol. 45 ›› Issue (35): 176-178.DOI: 10.3778/j.issn.1002-8331.2009.35.053

• 图形、图像、模式识别 • Previous Articles     Next Articles

Research on Binarization Algorithm for QR code

YANG Jia-li,GAO Mei-feng   

  1. School of Communication and Control Engineering,Jiangnan University,Wuxi,Jiangsu 214122,China
  • Received:2009-07-23 Revised:2009-09-29 Online:2009-12-11 Published:2009-12-11
  • Contact: YANG Jia-li

QR码图像二值化的研究

杨佳丽,高美凤   

  1. 江南大学 通信与控制工程学院,江苏 无锡 214122
  • 通讯作者: 杨佳丽

Abstract: QR code obtained by camera is difficult to binarization because of uneven illumination.For the bottom histogram marked and uneven illuminative image,B-spline fitting and adaptive threshold methods to determine the image binarization threshold are proposed.The bilinear interpolation algorithm is used to correct the distorted QR code and then repair the image with morphology.Finally,the experiments show that the method in this paper is reliability.

摘要: 由摄像式获取的QR码因为采集光照不均匀会给二值化带来困难。首先对于直方图有明显谷底和采集光照不均匀的图像,分别采用B样条拟合直方图和自适应阈值法进行二值化。然后通过双线性插值算法对发生倾斜的QR码进行纠正,并对结果修补。最后通过实验验证了算法的可靠性。

CLC Number: