[1]徐鹏,曾卫明,石玉虎,等.一种指针式油位计读数识别算法[J].计算机技术与发展,2018,28(09):189-193.[doi:10.3969/ j. issn.1673-629X.2018.09.039]
XU Peng,ZENG Wei-ming,SHI Yu-hu,et al.A Reading Recognition Algorithm of Pointer Type Oil-level Meter[J].,2018,28(09):189-193.[doi:10.3969/ j. issn.1673-629X.2018.09.039]
点击复制
一种指针式油位计读数识别算法(
)
《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]
- 卷:
-
28
- 期数:
-
2018年09期
- 页码:
-
189-193
- 栏目:
-
应用开发研究
- 出版日期:
-
2018-09-10
文章信息/Info
- Title:
-
A Reading Recognition Algorithm of Pointer Type Oil-level Meter
- 文章编号:
-
1673-629X(2018)09-189-05
- 作者:
-
徐鹏; 曾卫明; 石玉虎; 张雅倩
-
上海海事大学 信息工程学院,上海 201306
- Author(s):
-
XU Peng; ZENG Wei-ming; SHI Yu-hu; ZHANG Ya-qian
-
School of Information Engineering,Shanghai Maritime University,Shanghai 201306,China
-
- 关键词:
-
油位计; 油位读数; 同态高通滤波; 遍历像素; 霍夫变换
- Keywords:
-
oil-level meter; oil-level readings; homomorphic high-pass filter; pixel traversal; Hough transform
- 分类号:
-
TP301.6
- DOI:
-
10.3969/ j. issn.1673-629X.2018.09.039
- 文献标志码:
-
A
- 摘要:
-
针对现实生活中油舱油位由于油位计读数不准而出现油位亏空或者溢出的情况,提出了一种新的油位计读数自动识别算法。 首先,在预处理阶段使用高斯型同态滤波器增强油位计图像对光照的适应性,并通过中值滤波、二值化以及图像形态学等操作突出油位计的指针区域;然后,根据油位计轴心颜色不同于黑色指针颜色这一特殊属性,遍历指针像素找出颜色发生突变的坐标点,进而准确求出油位计的轴心坐标;再根据轴心位置选定包含油位计指针的感兴趣区域,对感兴趣区域进行霍夫变换即可准确地检测出指针位置;最后,以红色为标准分割出油位计的起点和终点位置,进而运用角度法自动识别出油位计的读数。 实验结果表明,该方法不但可以提高油位计自动读数的准确率,而且大大降低了识别油位计读数所需要的时间。
- Abstract:
-
In the real life,due to the inaccurate readings of the oil-level meter,the oil level in the tank may be overfilling or in deficit.For this,we propose an automatic recognition algorithm for oil-level meter reading. Firstly the algorithm uses the Gaussian homomorphic filters in preprocessing to improve the illumination adaptability of oil-level meter images,and then highlights the pointer area of oil level meter by the median filter,binarization and image morphology. Secondly,according to the special property that the color of oillevel meter axis is different from that of black pointer,the coordinates of the color mutation can be found by traversing the pointer pixels so as to precisely determine the axis coordinate of the oil-level meter. ext,the ROI (region of interest) which contains the pointer of oil-level meter is selected according to the axis position,then the pointer position can be accurately detected by the Hough transform in the ROI.Finally,the starting and terminal position of the oil-level meter are divided by red as the standard,and then the angle method is used to automatically recognize readings of the oil-level meter. The experiment shows that the proposed algorithm not only improves the automatic reading accuracy rate of the oil-level meter,but also greatly reduces the recognition time.
更新日期/Last Update:
2018-09-10