• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (9): 93-97.

• 论文 • 上一篇    下一篇

基于局部透视变换的圆柱体侧表面PDF417条码矫正方法

黄书海,殷建平,祝恩,唐贤根   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2012-04-15 修回日期:2012-06-23 出版日期:2012-09-25 发布日期:2012-09-25
  • 基金资助:

    国家自然科学基金资助项目(60970034,61105050,61170287)

A Rectification Method Based onLocal Perspective Transformation forPDF417 Barcode upon Cylinder Side Surface

HUANG Shuhai,YIN Jianping,ZHU En,TANG Xiangen   

  1. (School of Computer Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2012-04-15 Revised:2012-06-23 Online:2012-09-25 Published:2012-09-25

摘要:

PDF417条码作为一种应用广泛的二维条码,正在逐步应用于标识各种商品。目前,对于生活中很常见的圆柱体商品,其侧表面PDF417条码的识别还没有研究报导。本文提出了一种基于局部透视变换的图像矫正算法,将圆柱体侧表面PDF417条码分割为若干子区域,然后对各个子区域分别进行透视变换,将各个子区域分别矫正之后再行拼接,最后得到平面PDF417条码的图像。实验结果表明,该方法可以有效地将圆柱体侧表面的PDF417条码矫正为平面PDF417条码,并且正确地解码出条码所含信息。

关键词: PDF417, 直线检测, 透视变换, 条码矫正

Abstract:

The PDF417 barcode,as one of the widely used twodimensional barcodes,is being applied to various kinds of goods.There are few researches on the recognition of the PDF417 barcode upon cylinder side surface,though goods in cylinder shape are common in life.To rectify the PDF417 barcode,an algorithm based on local warp perspective transformation is proposed.The PDF417 barcode upon cylinder side surface is segmented into several sub areas first,then the perspective transformation will be done on these sub areas.Finally, these sub areas are joined together and the rectified barcode is obtained.Experimental results show that this algorithm can effectively transform the PDF417 barcode upon cylinder side surface into one upon plane,so that the contained information can be decoded successfully.

Key words: PDF417;line detection;perspective transformation;barcode rectification