针对现有算法对同时存在污染与透视形变的DataMatrix(DM)码定位困难的问题,根据Hough域能够突显直线的特性,提出一种基于Hough变换域提取最佳边缘组合的算法.首先利用DM码的主方向性将目标边缘点从图像域快速变换到Hough域;然后基于先验规则滤除大部分非边界点,得到候选边界点并进行有效组合;最后建立多视角下DM码内部边缘在Hough域中分布模型并提取特征,将对应最大特征值的边界组合作为最终定位结果.实验结果证明,与传统的二维条码定位算法相比,文中算法对于遭受污染及存在透视形变DM码的精确定位具有更高的鲁棒性与适应性.
Aiming at detection challenges of contaminated DataMatrix (DM) code coexisted with perspective distortion, in this paper we presents an extracting of best edges combination approach based on Hough transform domain in which linear characteristic is embodied. Firstly, marginal points' transformation from image to Hough domain is performed fleetly using principle direction of DM code. Afterwards, we are able to obtain the valid combination of candidate marginal points after prior rules- based filtering of non-marginal points. Finally, a distribution model of inside edges of DM code in multi-perspective is build, thus extracting features, and the edges combination with largest eigenvalue is estimated as an ultimate result. The experimental results demonstrate the greater robustness and flexibility of our proposed approach to accurate detection of Data Matrix with contamination and perspective distortion, compared with traditional methods.