计算机工程与应用 ›› 2014, Vol. 50 ›› Issue (12): 162-165.

• 图形图像处理 • 上一篇    下一篇

基于最大连通区域的QR码提取和校正方法

龙清清,宋夫华   

  1. 中国计量学院 机电工程学院,杭州 310018
  • 出版日期:2014-06-15 发布日期:2015-05-08

QRcode extraction and correction method based on maximum connected area

LONG Qingqing, SONG Fuhua   

  1. College of Mechanical and Electrical Engineering, China Jiliang University, Hangzhou 310018, China
  • Online:2014-06-15 Published:2015-05-08

摘要: 研究了基于最大连通区域的QR码提取和校正方法,使用区域面积描述标记最大连通区域并放大获得QR码大致所在区域,运用闭运算取其轮廓,用Hough变换检测轮廓线并计算交点信息,利用图像几何变换实现坐标值和像素值变换以消除几何失真。实验结果证明该方法能够快速定位的有效性。

关键词: 快速响应(QR)码, 面积描述, 闭运算, Hough变换, 几何变换

Abstract: A method of QRcode extraction and correction based on the maximum connected area is proposed. The method of regional area description is adopted to mark the maximum connected area and magnifies it to obtain the general area of QRcode. This paper takes its outline by the closing-operation, detects the contour lines and calculates its intersections by Hough transform. The image geometry transform method is adopted to realize coordinate value and pixel value transform which can eliminate geometric distortion.Experimental result proves the method’s effectiveness in fast location.

Key words: Quick Response(QR) code, area description, closing-operation, Hough transform, geometric transform