计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (34): 215-218.

• 图形、图像、模式识别 • 上一篇    下一篇

基于暗区连通域的定位孔识别方法

肖 刚1,夏 通1,张元鸣1,陈久军1,徐 俊2   

  1. 1.浙江工业大学 计算机科学与技术学院,杭州 310023
    2.浙江工业大学 艺术学院,杭州 310023
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-12-01 发布日期:2011-12-01

Positioning holes recognition based on dark connected areas

XIAO Gang1,XIA Tong1,ZHANG Yuanming1,CHEN Jiujun1,XU Jun2   

  1. 1.School of Computer Science,Zhejiang University of Technology,Hangzhou 310023,China
    2.School of Arts,Zhejiang University of Technology,Hangzhou 310023,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-12-01 Published:2011-12-01

摘要: 为了在普通扫描仪上实现自动化线拍系统,提出了一种基于暗区连通域的定位孔识别方法。介绍了暗区连通域的可分割性原理,该原理是定位孔连通域被准确分割的基础,也是定位孔能被正确识别的前提。该方法先依据该原理计算出连通域的分割阀值,然后对定位孔的形状及其相互位置关系进行了特征建模,利用模板匹配方法实现定位孔识别。对总共83张动画稿扫描图像进行定位孔识别测试,实验结果表明,定位孔识别正确率98.80%,对于1 740万像素的动画稿图片,识别速度也能达到15.27 ms/page。

关键词: 暗区连通域, 模板匹配, 定位孔识别

Abstract: To implement an automatic line-test system on general scanner,this paper proposes a method of positioning holes recognition based on dark connected areas.This paper introduces a segmentation principle for dark connected areas,which is the basis of connected areas to be correctly segmented and is also the basis of positioning holes to be correctly recognized.The segmentation threshold is calculated.Then a model is built for shape and relative position of positioning holes.At last a template matching method is used to recognize positioning holes.The experimental results show that the accuracy of recognition based on this method is 98.80%,and speed reaches 15.27 ms/page on 17.4 million pixels pictures.

Key words: dark connected areas, template matching, positioning holes recognition