Follow-Up Control and Image Recognition of Neck Level for Standard Metal Gauge
Abstract
:Featured Application
Abstract
1. Introduction
2. Experimental Design
2.1. The Water Calibration System for the Pipe Prover
2.2. Design of Automatic Acquisition System for Gauge Neck Level
2.3. Automatic Recognition Algorithm for Gauge Neck Level
3. Image Segmentation Algorithm Based on Edge Detection and K-Means Clustering Algorithm
3.1. Filtering of Images
3.2. Improved Edge Detection Algorithm for Image
3.3. K-Means Clustering of Edge Information
4. A recognition Algorithm for Scale Image
Recognition of Scale Numbers and Scale Lines
- (1)
- The number of upper and lower edge features were counted in each column.
- (2)
- These features were then divided into 1 cm, 1 cm + 5 mm, and 1 cm + 5 mm + 1 mm scale categories using K-means clustering. The column containing only 1 cm tick marks was identified as the scale edge.
- (3)
- Corresponding pixel coordinates for upper and lower edge features were sequentially detected and stored in the matrices E1 and E2, respectively.
- (4)
- The pixel coordinates corresponding to specific edge features in each column were acquired by averaging E1 and E2.
- (5)
- The corresponding element in the matrix Ei was used as the y coordinate corresponding to 1 cm tick marks.
5. Extraction and Reconstruction of the Concave Meniscus
6. Experimental Verification
7. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- JJG 209-2010. In Verification Regulations of Pipe Prover; China Metrology Press: Beijing, China, 2010.
- Available online: https://www.nist.gov/system/files/documents/pml/wmd/hb-105-3-2010.pdf (accessed on 12 September 2019).
- Ren, G. Flow Rate Automatic Calibration System Development and its Application. Master’s Thesis, Xi’an Shiyou University, Xi’an, China, 2011. [Google Scholar]
- Sun, T.; Zhang, C.; Li, L.; Tian, H.; Qian, B.; Wang, J. Research on Image Segmentation and Extraction Algorithm for Bicolor Water Level Gauge. In Proceedings of the 25th Chinese Control and Decision Conference (CCDC), Guiyang, China, 25–27 May 2013; IEEE Computer Society: Washington, DC, USA, 2013; pp. 2779–2783. [Google Scholar]
- Sun, B.; Zhang, C.; Liu, Z.; Tian, H.; Zhang, H. Research on HVPL for visual detection of bicolor water level gauge. In Proceedings of the 26th Chinese Control and Decision Conference (CCDC), Changsha, China, 31 May–2 June 2014; IEEE Computer Society: Washington, DC, USA, 2014; pp. 2094–2099. [Google Scholar]
- Zhan, H. The Design and Implementation of Fuel Dispensers Automatic Verification System. Master’s Thesis, Jiangsu University, Zhenjiang, China, 2016. [Google Scholar]
- Zhang, C.; Feng, G.; Liu, Z.; Sun, B.; Zhang, H. Research on water level gauge image identification based on intelligent remote viewing. In Proceedings of the 28th Chinese Control and Decision Conference (CCDC), Yinchuan, China, 28–30 May 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1561–1566. [Google Scholar]
- Xu, L.; Lv, J. Bayberry Image Segmentation based on Homomorphic Filtering and K-means Clustering Algorithm. Trans. Chin. Soc. Agric. Eng. 2015, 31, 202–208. [Google Scholar]
- Yongfang, W.; Xin, Y. Graph Cuts Medical Image Segmentation Algorithm Based on K-means Clustering. Comput. Eng. 2011, 37, 232–234. [Google Scholar]
- Meng, W.; Jianping, L. Image Segmentation Algorithm based on Edge Detection and Automatic Seed Region Growing. J. Xi’an Univ. Posts Telecommun. 2011, 16, 16–19. [Google Scholar]
- Fan, Y.; Liu, X. The Research of Relationship between Anisotropic Diffusion and Bilateral Filtering. Microcomput. Inf. 2006, 10, 245–247. [Google Scholar]
- Xi, Y.; Zhang, Q.; Qi, Y. Image Quality Evaluation Model Based on the Combination of PSNR and SSIM. J. Image Graph. 2018, 11, 19–24. [Google Scholar]
- Wang, Z.; Bovik, A.C.; Sheikh, H.R. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Gao, C.; Zhang, T.; Qu, Y. Advances in Research on Edge Detection of Images. Sci. Technol. Rev. 2010, 28, 112–117. [Google Scholar]
- Xuan, W. The Study and Application for a Liquid Level Detection System based on Image Edge Extraction. Master’s Thesis, Hunan University, Changsha, China, 2010. [Google Scholar]
- Roberts, L.G. Machine perception of three-dimensional solids. In Optical and Electro-optical Information Processing; MIT Press: Cambirodge, MA, USA, 1965; pp. 159–197. [Google Scholar]
- Prewitt, J.M.S. Object enhancement and extraction. In Picture Processing and Psychopictorics; Academic Press: New York, NY, USA, 1970; pp. 75–149. [Google Scholar]
- Pringle, K.K. Visual perception by a computer. In Automatic Interpretation and Classification of Images; Academic Press: New York, NY, USA, 1969; pp. 277–284. [Google Scholar]
- Canny, J. A Computational Approach to Edge Detection; IEEE Computer Society: Washington, DC, USA, 1986. [Google Scholar]
- Duan, R.; Zhao, W.; Huang, S.; Chen, J. A fast linear detection algorithm based on improved Hough transform. J. Instrum. 2010, 31, 2774–2780. [Google Scholar]
- van Vliet, L.J.; Young, I.T. A nonlinear laplace operator as edge detector in noisy images. Comput. Vis. Graph. Image Process. 1989, 45, 167–195. [Google Scholar] [CrossRef] [Green Version]
- Macqueen, J. Some Methods for Classification and Analysis of Multivariate Observations. In Proceedings of the Berkeley Symposium on Mathematical Statistics and Probability, University of California, Los Angeles, CA, USA, 21 June–18 July 1965; pp. 281–297. [Google Scholar]
- JU, Z.Y.; Kai-liang, L.; MAO, Y.Y. Fruit and Vegetable Image Segmentation Method based on K-means Clustering and Two Watershed. Softw. Guide 2018, 17, 217–219+223. [Google Scholar]
- Ding, S.F.; Qi, B.J.; Tan, H.Y. An Overview on Theory and Algorithm of Support Vector Machines. J. Univ. Electron. Sci. Technol. China 2011, 40, 2–10. [Google Scholar]
- JJG 209-2010. In Verification Regulations of Volume Tubes; China Metrology Press: Beijing, China, 2010.
- Chen, L.Z. Least square method in curve fitting by matrix operation. Transducer Microsyst. Technol. 2001, 20, 30–31. [Google Scholar]
Index | Bilateral Filtering | Anisotropic Diffusion |
---|---|---|
PSNR | 41.5381 | 35.9861 |
SSIM | 0.9952 | 0.9908 |
Scale Reading (n) | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 |
Pixel Coordinate (l) | 59 | 157 | 255 | 353 | 451 | 549 | 647 | 745 | 843 |
Serial Number | Image Recognition (mm) | Reading of Vernier Caliper (mm) | Absolute Error (mm) |
---|---|---|---|
1 | 96.54 | 96.49 | 0.05 |
2 | 100.84 | 100.92 | −0.08 |
3 | 105.93 | 105.87 | 0.06 |
4 | 112.76 | 112.78 | −0.02 |
5 | 121.41 | 121.44 | −0.03 |
6 | 130.85 | 130.91 | −0.06 |
7 | 134.96 | 134.89 | 0.07 |
8 | 145.45 | 145.50 | −0.05 |
9 | 152.28 | 152.31 | −0.03 |
10 | 165.44 | 165.39 | 0.05 |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Hua, C.; Xie, C.; Xu, X. Follow-Up Control and Image Recognition of Neck Level for Standard Metal Gauge. Appl. Sci. 2020, 10, 6624. https://doi.org/10.3390/app10186624
Hua C, Xie C, Xu X. Follow-Up Control and Image Recognition of Neck Level for Standard Metal Gauge. Applied Sciences. 2020; 10(18):6624. https://doi.org/10.3390/app10186624
Chicago/Turabian StyleHua, Chenquan, Chengjin Xie, and Xuan Xu. 2020. "Follow-Up Control and Image Recognition of Neck Level for Standard Metal Gauge" Applied Sciences 10, no. 18: 6624. https://doi.org/10.3390/app10186624
APA StyleHua, C., Xie, C., & Xu, X. (2020). Follow-Up Control and Image Recognition of Neck Level for Standard Metal Gauge. Applied Sciences, 10(18), 6624. https://doi.org/10.3390/app10186624