设为首页 联系我们 加入收藏

当前位置: 网站首页 期刊分类目录 2016第1期 正文

大津法联合信息熵迭代算法在彩码图像恢复中的应用

作者:时间:2016-03-04点击数:

PDF全文下载:20160100113

牛万红a, 张选德b

(宁夏大学 a.远程教育学院;b.数学计算机学院,宁夏 银川 750021)

 摘要: 针对彩色条码受异常光照影响色彩偏移的问题,根据其具有双色、四色或八色的特点,提出一种大津法(Nobuyuki Otsu)联合信息熵迭代算法确定阈值的自适应彩色条码图像恢复方法。利用Otsu算法确定初始阈值,结合信息熵迭代算法在该阈值上下范围内进一步精确定位阈值,用此阈值二值化分割彩色条码图像的颜色分量达到色彩恢复的目的。该方法克服了单一使用Otsu算法确定阈值不够准确的缺陷,相比同类算法色彩恢复效果更好,算法运行时间也较短。仿真结果表明,对于光照不足或光照不均达到一定程度下的彩色条码图像,该方法能及时有效地恢复出其真实颜色。

关键词: 彩色条码;阈值;大津法;信息熵迭代算法

中图分类号: TP 391                       文献标志码: A

 An Application in Image Restoration of Color Barcode Based on  Otsu Method and Iterative Algorithm of Information Entropy

 NIU Wanhonga, ZHANG Xuandeb

(a.School of Remote Education; b.School of Mathematics and Computer Science, Ningxia University, Yinchuan  750021, China)

Abstract: Aiming at the chrominance deviation problem that color barcode is affected from the abnormal light, we present an adaptive restoration method which is based on Otsu method and iterative algorithm of information entropy to determine threshold, according to the features that it has double colors, four colors or eight colors. Firstly, an initial threshold is determined by Otsu method. Then, on the basis of this threshold, a new threshold is further determined accurately by using iterative algorithm of information entropy. Eventually, the color components of color barcode are divided by the binarization to achieve the purpose of color restoration. The method overcomes the defects of using alone Otsu method to obtain threshold,and its effect is better than that of similar method, and running time of the algorithm is shorter. The simulation results show that this method can timely and effectively recover to the true color of color barcode image under a certain extent insufficient light or uneven illumination.

 Key words: color barcode; threshold; Otsu; iterative algorithm of information entropy

 收稿日期: 20150313

基金项目: 国家自然科学基金项目(61362029);宁夏自然科学基金项目(NZ13050).

作者简介: 牛万红(1966—),男,副教授.

文章编号: 16726987(2016)01011306; DOI: 10.16351/j.16726987.2016.01.023

Copyright © 2011-2017 青岛科技大学学报 (自然科学版)