上海大学学报(自然科学版) ›› 2018, Vol. 24 ›› Issue (5): 763-772.doi: 10.12066/j.issn.1007-2861.1862

• 研究论文 • 上一篇    下一篇

一种钢坯表面喷印字符图像分割算法

黄春晖1, 赵其杰1,2(), 柯震南1   

  1. 1. 上海大学 机电工程与自动化学院, 上海 200444
    2. 上海市智能制造及机器人重点实验室, 上海 200072
  • 收稿日期:2016-11-15 出版日期:2018-10-30 发布日期:2018-10-26
  • 通讯作者: 赵其杰 E-mail:zqj@shu.edu.cn

Image segmentation for painting characters on billet surface

HUANG Chunhui1, ZHAO Qijie1,2(), KE Zhennan1   

  1. 1. School of Mechatronic Engineering and Automation, Shanghai University, Shanghai 200444, China
    2. Shanghai Key Laboratory of Intelligent Manufacturing and Robotics, Shanghai 200072, China
  • Received:2016-11-15 Online:2018-10-30 Published:2018-10-26
  • Contact: ZHAO Qijie E-mail:zqj@shu.edu.cn

摘要:

为了提高钢坯表面喷印字符分割的效果, 提出通过图像增强和滤波算法改善图像质量, 解决钢坯表面喷印字符图像的分割问题. 通过构造自适应阈值, 自动分割图像进行字符串定位, 并基于形态学处理、连通域分析设计了字符分割算法, 解决了图像中存在的黏连和断裂问题. 设计了一种掩膜保护字符的滤波算法, 解决了细线噪声干扰问题, 同时建立了相应的实验系统进行研究. 结果表明: 该算法效果较好, 对字符图像黏连、断裂情况分割的正确率分别达到了 99.6%, 98.3%, 对细线噪声干扰类样本分割的正确率达到了 97.9%.

关键词: 钢坯表面, 喷印字符, 图像处理, 字符串定位, 字符分割

Abstract:

To obtain better segmentation of painting character images on a billet surface, a algorithm is proposed to improve picture quality by image enhancement and filtering, and solve problems in the character image segmentation. An automatic adaptive threshold segmentation algorithm is developed to locate character strings. The algorithm is based on morphology, connected component analysis and twice division to solve the problem of adhesion and fracture present in the image. A filter with a character protection mask is proposed to deal with thin line noises. Experimental results show that the proposed algorithms have good performance for images with character adhesion and fractures, and achieve correct segmentation rates of 99.6% and 98.3%, respectively. The algorithms are also effective to solve the problems of thin line noises, achieving a correct segmentation rate of 97.9%.

Key words: billet surface, painting character, image processing, string location, character segmentation

中图分类号: