南京航空航天大学
硕士学位论文
基于J2ME的QR Code条码识别技术研究与实现
姓名:刘晓东
申请学位级别:硕士
专业:计算机科学与技术
指导教师:刘宁钟
2010-12
南京航空航天大学硕士学位论文
摘要
随着信息技术的飞速发展,二维条码技术应运而生,并具有良好的应用前景。QR 码作为
一种二维条码,是建立在图像处理技术、组合编码原理等基础上的一种特殊码制。由于二维条
码(特别是 QR 码)的信息密度相对较高,其识别方法比一维条码更为复杂,因此对二维条码
进行快速的识别成为当前很重要的研究方向。基于图像处理技术的嵌入式条码识别系统及其应
用的研究,不论是在理论上还是在实践上,均具有重要的研究价值。
本文首先探讨了 QR 码的应用和研究现状,分析了 QR 码的符号特征和编码理论。在研究
图像预处理算法(如灰度化、二值化技术等)的基础上,根据 QR 码的形状特征分析,运用基
于位置探测图形的 QR 码检测算法,对 QR 码符号进行快速有效的定位。
其次本文针对畸变的条码符号,提出了基于四角映射反透视变换算法,并结合双线性插值
算法对条码图像进行几何矫正,并探讨了 QR 码图像的解码算法。
然后本文将以上图像预处理、检测、矫正、识别和纠错解码一整套算法用 J2ME 加以实现,
设计了一个基于 J2ME 的 QR 码识别系统。
接着探讨了 J2ME 的技术特点以及本系统实现中所遇到的开发平台搭建、图像采集、多线
程处理、J2ME 联网等问题,并提出了相应的解决方法。
本文最后对本系统进行了详尽的实验测试,实验表明本系统可快速检测并识别 QR 码,具
有良好的综合性能。
作为重要的应用领域之一,可以预计 QR 码在手机上的识别和应用,必将随着3G 时代的
到来而得到飞速发展。
关键词:QR 码,定位,矫正,QR 码识别,J2ME,Midlet
i
基于 J2ME 的 QR Code 条码识别技术研究与实现
ABSTRACT
The 2D barcode, which is emerged due to the development of information technology, has a
promising future. As one kind of 2D barcode, QR Code is a special code based on Digital Image
Processing and coding theory. Since 2D barcode has a relatively higher density information, its
recognition technology is plex than that of 1D barcode, especially for QR Code. Therefore,
it is of important theoretical and practical significance to study the issues of embedded barcode
recognition system based on Image Processing technology.
First, this thesis discusses the current status of the application and research of QR Code,
followed by the introduction of the QR Code symbol and coding theory. The Image Pre-Processing,
such as gray level transformation and binarization, is discussed. Based on the characteristics of the
QR Code, the algorithm of QR Code’s detection basing on finder patterns has been used.
Second, for the deformation of a bar code symbol, this thesis presents the algorithm of QR
Code’s perspective transformation basing on four-corner mapping, which bined with the
基于J2ME的QR Code条码识别技术研究与实现 来自淘豆网m.daumloan.com转载请标明出处.