上海交通大学学报(自然版) ›› 2017, Vol. 51 ›› Issue (1): 90-.

• 无线电电子学、电信技术 • 上一篇    下一篇

基于边缘和水平集的复杂背景金属零件二维条码精确定位方法

  

  1. 西北工业大学 现代设计与集成制造教育部重点实验室, 西安 710072
  • 出版日期:2017-01-31 发布日期:2017-01-31

Accurate Localization of 2D Barcode Marked in Mental Parts Under Complex Background Based on Edge and LevelSet

  1. Contemporary Key Laboratory of Design and Integrated Manufacturing Technology, 
    Northwestern Polytechnical University, Xi’an 710072, China
  • Online:2017-01-31 Published:2017-01-31

摘要:

摘要:  针对由于背景复杂、光照不均等因素导致的复杂背景下金属零件上二维条码定位困难问题,提出一种基于边缘及水平集的复杂背景金属零件二维条码精确定位方法.首先,通过直线检测方法定位条码的L边;然后,采用一种改进的水平集图像分割方法对可能的条码区域进行图像分割,利用条码的边缘轮廓特征、灰度及梯度直方图双峰特征进行二维条码区域判断;最后,通过区域Hough变换精确定位二维条码区域.实验结果表明,所提出的方法平均定位准确率可达到95%,且其处理时间小于1 s,适用于对大多数复杂背景下金属零件二维条码的定位.

关键词: 二维条码, 直线检测, 复杂背景, 水平集, 金属零件, 精确定位

Abstract:

Abstract: Aimed at the difficult location issue of twodimensional barcode marked in metal parts resulted from complex background and uneven illumination etc., this paper proposed an accurate localization method of 2D barcode marked in mental parts under complex background based on edge and levelset. First, the “L” edges of 2D barcode was located by line detection. Next, an improved levelset image segmentation was proposed to segment the probable barcode area, while the contour feature, gray and gradient histogram doublet features were used to judge if the probable barcode area had barcode or not. Finally, the 2D barcode area was accuratly located using Hough transform. The experimental result shows that the accuracy of the proposed method can reach up to 95%, and the processing time is less than 1 s, indicating that the proposed method is promising.

Key words: 2dimensional (2D) barcode, line detection, complex background, levelset, mental part, accurate localization

中图分类号: