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

J4 ›› 2007, Vol. 29 ›› Issue (5): 60-61.

• 论文 • 上一篇    下一篇

一种密集堆放的烟支计数修正方法

曹计昌 邓祯   

  • 出版日期:2007-05-01 发布日期:2010-06-02

  • Online:2007-05-01 Published:2010-06-02

摘要:

大量密集堆放的烟支的二值截面图像中存在较多的连通区域,为其识别与计数带来了困难。基于模板匹配的方法对烟支进行识别时存在模板中心点定位偏差导致计数不准的问题,本文针对此问题提出了一种识别后的修正方法。烟支具有类圆形几何结构,因此可利用圆间位置关系理论分析烟支间的位置关系,并定义平稳态住置关系。修正的过程便
 便是使烟支的非平稳态住置关系向平稳态位置关系转化的过程。修正后的烟支图像中多计烟支被去除,可达到对计数结果进行修正的目的。

关键词: 图像识别 计数 模板匹配 位置关系

Abstract:

There are many connection areas in the binary section image of densely piled cigarettes, which makes it difficult to recognize and count the cigarette s. The method based on template, matching to recognize cigarettes features the incorrect location of the center of templat, and may cause inaccurate cou  nting. To solve this problem, this paper proposes a method of amending the counting result which is obtained by the recognition method based on template matching. The standard cigarette's geometry structure is similar to a circle, so the positional relationship of cigarettes is analyzed based on the th  heory of the positional relationship of circles, and then a balanced positional relationship is defined. The amending process inverts the non-balanced p  ositional relationship into the balanced positional relationship. After the amendment, the unwanted cigarettes are subtracted and then the counting resu  lt is amended.

Key words: (image recognition, counting, template matching, positional relationship)