散焦模糊的畸变QR barcode图像复原技术
A Correction Technique to Defocused and Distorted QR Barcode Images
-
摘要: 根据散焦模糊的QR barcode(QR码)图像特点,采用自适应阈值方法滤除模糊效应,通过轮廓查找算法初步定位4个顶点和消除噪声,利用2次反透视变换结合双切线逼近的方法初步复原图像,使用自适应栅格划分法进行中心点采样,得到最终的复原图.实验结果证明:该方法简单易行,对散焦模糊或具有复杂背景的QR码图像的复原取得了较好的效果.Abstract: A technique is proposed to eliminate the illegible effect by the binarization with self-adaptive thresholding according to the features of defocused QR code image.The corner points are initially located by contour search algorithms,and a QR code image is rebuilt from a distorted one by using a double tangents method designed to approximate the right-bottom point with double inverse perspective transformations.A novel self-adaptive grids generation algorithm for sampling is designed to generate the final code image.Experimental results show that our method is simple and workable,especially for defocused and distorted QR barcode images.
下载: