文档介绍:西安建筑科技大学硕士学位论文
二维条码图像定位及识别算法的研究
专业:信号与信息处理
硕士生:周乐
指导教师:王民
摘要
在我国,随着现代信息技术的高速发展,二维条码已经广泛应用于各行各业。
二维条码的信息表达可以同时在横向和纵向两个方向上,所以其数据容量大。而
其信息密度高、可靠性牢、纠错能力强、可表示多种信息的这些特点,在自动识
别领域也发挥着越来越重要的作用。用普通的摄入设备拍摄二维条码,然后将其
快速识别出来,将是二维条码应用的一个重要发展方向。
在现实生活应用中采集到的二维条码图像,常常会遇到光线明暗不均、拍摄
角度复杂多样、背景图案难以区分、条码有污损、条码被折叠等各种问题。本文
针对上述这些问题,基于图像处理的相关知识,探讨了适用于现实生活中的汉信
码定位及识别算法。
本文的研究内容和工作成果主要包括以下几个方面:
首先,对条码图像所在区域进行定位。本文探讨了一种基于 SUSAN 检测算
子的条码定位算法。使用这种方法后,可以忽略复杂背景的干扰,实现二维条码
区域的定位。
然后,对条码图像进行识别。本文采用了一种基于改进的Hough变换直线检测
算法,得到汉信码的特殊寻像图形所在边缘线段及其端点信息,并计算出旋转角
度,然后将汉信码的特殊寻像图形旋转到左下角。
最后,本文基于MATLAB环境设计并实现了汉信码识别系统中各模块的算法,
包括图像灰度化、条码区域定位、滤波增强、二值化、边缘线段检测、旋转校正、
网格取样。实验测试结果表明,本文设计的算法能够有效的定位并识别汉信码。
关键词:二维条码;汉信码;SUSAN 检测算子;Hough 变换
西安建筑科技大学硕士学位论文
Study on the Algorithm of Position and Recognition
of Tow-Dimensional Bar Code
Specialty: Signal and Information Processing
Name: Zhou Le
Instructor: Wang Min
ABSTRACT
In our country, along with the rapid development of modern information
technology, two-dimensional bar code has been widely used in all ways of life. The
information of 2-D bar code can be expressed at the same time in the horizontal and
vertical directions, so capacity of the data is very large. And because these
characteristics, such as high information density, strong reliability, strong error
correction ability, variety information of expressions, in the field of automatic
identification also plays more and more important role. The 2-D bar code application,
using regular intake device capturing the two-dimensional bar code and then quickly
identified, is an important development direction.
In the real application, collected two-dimensional bar code images must have
many problems, such as plex and diverse light, plex shooting angle,
difficulty to distinguish background patterns, the fouling bar code, and bar code being
folded. This article in view of the above questions, based on image processing of the
relevant knowledge, d