摘要
如今信息技术飞速发展,QR码全方位、识读速度快的特点使其无论在工业领域还是民用行业都得到了广泛应用。QR码识别技术集合条码、图像处理和计算机等技术为一体,具有极大的研究和实用价值。笔者主要分析QR码的符号特性和编码过程,并设计算法对QR码图像进行预处理和校正,使其恢复到易于识读的状态。其中重要的工作有:采用有效的阈值二值化算法消除光照不均对QR码灰度图像的影响;进行边缘检测处理,并运用Hough变换求得旋转角度并定位QR码符号;运用双线性插值运算消除图像的锯齿现象。通过预处理和校正一系列过程得到的待识别QR码图像效果良好,体现了算法的有效性。
Nowadays,information technology has been developed rapidly,The characteristics of omnidirectional and the speed of reading make QR code have been widely used in the industrial sector or civilian industries.QR code recognition technology sets bar code,image processing and computer technology as a whole,with a wide range of research and practical value.The main content of this paper is to analyze the symbolic characteristics and coding process of QR code,and to design the algorithm to preprocess and correct QR code image to restore it to be easy to read.The important work is to use the effective threshold binarization algorithm to eliminate the influence of illumination unevenness on the gray image of QR code,do the edge detection processing and use the Hough transform to obtain the rotation angle and locate the QR code symbol.The interpolation operation eliminates the jaggedness of the image.The QR code obtained by preprocessing and correcting a series of processes is effective,which reflects the effectiveness of the algorithm.
作者
孙柏
Sun Bai(Electronic Engineering College of Heilongjiang University,Harbin Heilongjiang 150080,China)
出处
《信息与电脑》
2017年第1期84-86,共3页
Information & Computer
关键词
QR码
符号特性
编码过程
图像预处理
校正算法
QR code
symbolic property
coding process
image preprocessing
correction algorithm