现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
8期
15-18
,共4页
QR码提取%霍夫变换%圆柱面%三维透视变换
QR碼提取%霍伕變換%圓柱麵%三維透視變換
QR마제취%곽부변환%원주면%삼유투시변환
QR code extraction%Hough transform%cylindrical surface%3D perspective transformation
传统的QR码识别算法只适用于打印在平面上的条码,提出了一种有效识别打印在饮料瓶等圆柱面上的QR码。通过对图像轮廓进行角点检测确定回字定位图形,在此基础上筛选条码关键轮廓并对其进行霍夫变换提取圆柱面上的透视椭圆信息,同时结合透视椭圆的参数和三维透视变换,有效构建了圆柱面条码像素从二维图像平面直接映射到三维图像空间的变换矩阵,重构打印在平面或圆柱面上的QR码目标。实验结果表明,该算法对平面或圆柱面QR条码的识别有较高的准确率。
傳統的QR碼識彆算法隻適用于打印在平麵上的條碼,提齣瞭一種有效識彆打印在飲料瓶等圓柱麵上的QR碼。通過對圖像輪廓進行角點檢測確定迴字定位圖形,在此基礎上篩選條碼關鍵輪廓併對其進行霍伕變換提取圓柱麵上的透視橢圓信息,同時結閤透視橢圓的參數和三維透視變換,有效構建瞭圓柱麵條碼像素從二維圖像平麵直接映射到三維圖像空間的變換矩陣,重構打印在平麵或圓柱麵上的QR碼目標。實驗結果錶明,該算法對平麵或圓柱麵QR條碼的識彆有較高的準確率。
전통적QR마식별산법지괄용우타인재평면상적조마,제출료일충유효식별타인재음료병등원주면상적QR마。통과대도상륜곽진행각점검측학정회자정위도형,재차기출상사선조마관건륜곽병대기진행곽부변환제취원주면상적투시타원신식,동시결합투시타원적삼수화삼유투시변환,유효구건료원주면조마상소종이유도상평면직접영사도삼유도상공간적변환구진,중구타인재평면혹원주면상적QR마목표。실험결과표명,해산법대평면혹원주면QR조마적식별유교고적준학솔。
Traditional QR code recognition algorithm is usually applied to the barcode printed on flat surface only. A low-cost approach to recognize the curved QR codes printed on bottles or cans is proposed in this paper. The width proportion and corners of image contours are extracted to confirm the positioning patterns and an efficient Hough transformation ellipse fitting method is employed to extract the elliptic information. In combination with the parameters of perspective ellipse and 3D perspec-tive transformation,the transformation matrix of barcode pixels on a cylindrical surface is constructed by direct mapping from the 2D image plane to 3D image space. The experiment result proves the algorithm has the high-accuracy recognition ability of barcodes no matter on the flat or the cylindrical surface.