摘要: 在复杂背景下,传统的边缘提取和形态学操作方法很难准确分割出二维码区域。针对该问题,提出一种工业用二维码区域快速检测定位算法。将Max-Min算法和Canny算子相结合用以滤除图像中的背景噪声,同时增强目标的特征信息,再采用投影法进行初定位,利用形态学操作实现精确定位,并验证条码区域定位的准确性。实验结果表明,该方法检测定位速度快、精度高。
关键词:
二维码,
Max-Min差分,
Canny算子,
投影,
形态学,
边缘增强
Abstract: It is difficult for traditional methods which are used to locate and segment 2D barcode area to serve the needs in complicated background. This paper proposes a FAST 2D-code region detection and location algorithm. It combines Max-Min method and Canny operator to filter out the noises of image. And it can prominent the characteristics of the target information needed. Projection method and morphology operation are applied to locate and segment barcode area. Experimental results indicate that the method is simple, fast, accurate and can meet the needs of practical application.
Key words:
2D-code,
Max-Min difference,
Canny operator,
projection,
morphology,
edge enhancement
中图分类号:
刘家昕, 刘家朋, 赵宇明. 基于边缘增强的二维码区域快速检测定位算法[J]. 计算机工程, 2012, 38(12): 136-138.
LIU Jia-Cuan, LIU Jia-Peng, DIAO Yu-Meng. Fast 2D-code Region Detection and Location Algorithm Based on Edge Enhancement[J]. Computer Engineering, 2012, 38(12): 136-138.