摘要
复杂工况下,CCD相机采集到的DPM(Direct Part Mark)工业二维码图像受光照影响易出现大片光斑或阴影区域,造成DPM区域的信息遗漏,从而导致识别困难。为此,提出一种基于分段直方图凹度分析的多阈值自适应分割算法。首先在灰度直方图平滑的基础上计算出系列局部峰值,并借此完成直方图分段,再递推计算出每分段区域下凹处的分割阈值。其次通过引入基于阈值点局部区域信息的修正因子,使分割阈值自适应变化而更适用于局部对比度较低的状况。实验结果表明,该方法分割效果优于经典的阈值分割算法,平均运行效率比最快的多阈值分割算法提高17.75倍。经自适应局部阈值分割后,DPM图像复杂光照区域有用信息得以增强,缺失信息得以弥补,为后续的对象识别奠定基础。该方法也可推广于对比度多变的图像增强。
Under complex industrial conditions,two-dimensional DPM barcode captured by a CCD camera easily has large spots or shadow areas owing to the complex illumination.This phenomenon results in the missing information in DPM area and the identification difficulty.Therefore,this paper proposes adaptive multi-threshold segmentation algorithm based on subsection histogram concavity analysis.Firstly,on the basis of smoothed histogram,a series of local peak values are calculated by the simplified formula.Moreover,the histogram is segmented through these local peak values.Then subsection thresholds are computed by recursive algorithm.Secondly,an adaptive correction factor based on the local area information is introduced to modify the subsection threshold for the status of the low local contrast.Experimental results show that the proposed method has superior division performance and more efficient operation to traditional threshold segmentation algorithms.The average running efficiency of this method improves 17.75 times than the fastest one of those conventional algorithms.After the adaptive multi-threshold segmentation,the contrast of uneven illumination area is significantly enhanced and missing DPM regional information is effectively compensated.Therefore,the method in this paper provides a sufficient condition for the accurate identification of the DPM barcode.It can also be applied to the contrast changeable image enhancement.
作者
王娟
王萍
刘敏
WANG Juan;WANG Ping;LIU Min(School of Electrical and Electronic Engineering,Hubei University of Technology,Wuhan 430068,China;School of Electrical and Information Engineering,Tianjin University,Tianjin 300072,China)
出处
《计算机工程与应用》
CSCD
北大核心
2018年第9期194-200,共7页
Computer Engineering and Applications
基金
国家自然科学基金(No.61471162
No.61571182
No.61501178
No.11605051
No.41601399
No.61601177)
国家国际科技合作专项项目(No.2015DFA10940)
湖北省科技支撑计划(研发类)项目(No.2015BAA115)
湖北工业大学博士科研启动基金(No.BSQD13029
No.BSQD13032
No.BSQD14028
No.BSQD14033
No.BSQD15023)
太阳能高效利用湖北省协同创新中心开放基金(No.HBSKFZD2015005)
关键词
直方图凹度分析
分段阈值
修正因子
自适应分割
histogram concavity analysis
subsection thresholds
correction factor
adaptive segmentation