Abstract
It is a challenge to accurately detect the defects under the influence of light, reflection, shadow and rust. This paper optimizes the background difference method as preprocessing by reducing the template so that the influence of shadow can be reduced, and presents a histogram processing algorithm based on the judgment threshold to detect defects of the rail images. The judgment threshold is obtained by Otsu method. As we all know, the applicable condition of the Otsu method is the proportion of the target and background close to each other, and in order to achieve this kind of condition, the histogram processing is to remove partial histogram which is obtained by the judgment threshold. The histogram processing is performed cyclically and a new threshold for judging is obtained by Otsu method on the remaining histogram after the every loop. The constraint formula is introduced to make the threshold converge to the fixed value. Finally, the image is segmented by this threshold. The experimental results show the benefits of the proposed algorithm comparing to the existing algorithms.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
R. Clark, The importance of rail flaw detection to heavy haul operations, in International Heavy Haul Association Conference, Australia: Brisbane (2001)
Z. Wu, X. Li, The application of computer image process to railway field. China Acad. Railway Sci. 14(1), 36–41 (1992)
Z. Liu, W. Wang, P. Wang, Design of machine vision system for inspection of rail surface defects. J. Electr. Meas. Instrum. 11, 1012–1017 (2010)
S. Ren, Q. Li, G. Xu et al., Research on robust fast algorithm of rail surface defect detection. China Railway Sci. 32(1), 25–29 (2011)
N. Otsu, A threshold selection method from gray-level histograms. IEEE Trans. Syst. Man Cybern. 9(1), 62–66 (1979)
Z. He, Y. Wang, J. Liu et al., Background differencing-based high-speed rail surface defect image segmentation. Chin. J. Sci. Instrum. 37(3), 640–649 (2016)
W.A. Yasnoff, J.K. Mui, J.W. Bacus, Error measures y for scene segmentation. Pattern Recogn. 9(4), 217–231 (1977)
H.Y.T. Ngan, G.K.H. Pang, N.H.C. Yung, Automated fabric defect detection—a review. Image Vis. Comput. 29(7), 442–458 (2011)
J.L. Fan, B. Lei, A modified valley-emphasis method for automatic thresholding. Pattern Recogn. Lett. 33(6), 703–708 (2012)
X. Yuan, L. Wu, H. Chen, Rail image segmentation based on Otsu threshold method. Opt. Precis. Eng. 24(7), 1772–1781 (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Wu, Y., Li, L. (2019). Inspection of Rail Surface Defects Image Based on Histogram Processing by the Judgment Threshold. In: Jia, Y., Du, J., Zhang, W. (eds) Proceedings of 2018 Chinese Intelligent Systems Conference. Lecture Notes in Electrical Engineering, vol 529. Springer, Singapore. https://doi.org/10.1007/978-981-13-2291-4_20
Download citation
DOI: https://doi.org/10.1007/978-981-13-2291-4_20
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-2290-7
Online ISBN: 978-981-13-2291-4
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)