计算机工程 ›› 2017, Vol. 43 ›› Issue (12): 216-221.doi: 10.3969/j.issn.1000-3428.2017.12.039

• 图形图像处理 • 上一篇    下一篇

一种基于改进ZS细化算法的指针仪表检测

陈树,杨天   

  1. (江南大学 物联网工程学院,江苏 无锡 214122)
  • 收稿日期:2016-12-12 出版日期:2017-12-15 发布日期:2017-12-15
  • 作者简介:陈树(1969—),男,副教授,主研方向为图像处理、无线传感器网络、现场总线及控制技术;杨 天,硕士研究生。
  • 基金项目:
    江苏省六大人才高峰基金(2012-WLW-006)。

A Pointer Meter Detection Based on Improved ZS Refinement Algorithm

CHEN Shu,YANG Tian   

  1. (College of Internet of Things,Jiangnan University,Wuxi,Jiangsu 214122,China)
  • Received:2016-12-12 Online:2017-12-15 Published:2017-12-15

摘要: 针对ZS细化算法存在二像素畸变、细化不彻底等问题,提出一种改进的细化算法。对二值图像采用ZS细化算法进行初步细化,将初步细化后的结果进行全细化识别,依据识别结果对未完全细化的图像采用4连通细化模板实现彻底细化。同时对细化过程可能出现的断点问题,采用构造保留模版的方法加以解决,进而实现目标图像的有效细化。以油量表为例,结合改进细化算法实现仪表读数识别。仿真结果表明,改进细化算法在保持原有ZS细化算法快速性的基础上可有效地解决二像素畸变、像素冗余的问题,并实现准确的指针读数识别。

关键词: 指针仪表, 颜色特征提取, 最小灰度保留法, 指针细化, 霍夫变换, 4连通细化模板

Abstract: Aiming at the problem of two-pixel distortion and incomplete refinement in ZS refinement algorithm,an improved refinement algorithm is proposed.The ZS refinement algorithm is used to refine the binary image,and the result is refined.And the 4-connected refinement template is used to refine the incomplete image.Based on the recognition result,at the same time,the breakpoint problem in the refinement process is solved by constructing the reserved template,so as to achieve the effective refinement of the target image.This paper uses the oil scale as an example,it combines with improved refinement algorithm to achieve instrument readings.Simulation results show that the improved refinement algorithm effectively solves the problem of two-pixel distortion and pixel redundancy,and completes the identification of pointer readings accurately,while keeping the original ZS refinement algorithm fast.

Key words: pointer meter, color feature extraction, minimum gray retention method, pointer refinement, Hough transform, 4-connected refinement template

中图分类号: