• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (3): 41-42.

• 论文 • 上一篇    下一篇

灰度烟支图像的二值化算法

曹计昌 杨帆   

  • 出版日期:2007-03-01 发布日期:2010-05-30

  • Online:2007-03-01 Published:2010-05-30

摘要:

在烟支计数的实际应用中,为了后续的计数,需要对灰度烟支图像二值化。由于烟支图像中烟支小而多,烟支之间的间隔小,使用常用的阈值选取算法来二值化烟支图像并不能取 得好的效果。本文根据Pun的最大熵算法提出了一种改进的局部最大熵均值综合阈值选取方法。本文的方法把整个烟支图像分成小区域,在每一个区域中综合考虑最大熵和区域域灰度均值来得到最优的阈值。实验结果表明了此算法的有效性。

关键词: 烟支计数 最大熵 阈值

Abstract:

In cigarette counting applications,a binarization algorithm is needed for the following counting process.But the existing binarization algorithms are   not very effective because cigarettes are small and the areas between cigarettes are also small.In this paper,an improved local maximum entropy average   thresholding method is implemented according to the maximum entropy method presented by Pun.The improved algorithm divides the whole image into areas and selects the optimum threshold for each area according to the maximum entropy threshold and mean.The experimental results prove the validity of the algorithm.

Key words: cigarette counting;maximum entropy;threshold