In order to detect the edge misalignment of rail weld in real time, an automatic positioning method for the rail weld based on computer vision is proposed. First, the method of median filtering is used to remove the noise in a weld image. Second, the weld image is enhanced by using the contrast limited adaptive histogram equalization (CLAHE) algorithm and the histogram equalization method. Third, the image is segmented by the double threshold OTSU method to highlight the rail head and the weld region, and the contours of the rail head and the weld region are extracted by using the method of connected-domain. Finally, the weld fitting line is obtained by multiple least squares fitting, and the intersection of the fitted straight line and the top edge line of the rail head are calculated as the positioning point, accordingly, the rail weld is automatic positioned. Through a test of the weld region of 60 kg/m rail, the method performs with high precision and stability, and can be used for measuring the rail weld automatically in real-time on line.
LIU Song, XIONG Bangshu
. Automatic Orientation Method for Rail Weld Based on Computer Vision[J]. Journal of Applied Sciences, 2019
, 37(6)
: 844
-850
.
DOI: 10.3969/j.issn.0255-8297.2019.06.009
[1] 张琪,李力,宋宏图,等. 无缝线路钢轨焊接技术发展现状及趋势[J]. 热加工工艺,2017, 46(3):10-12. Zhang Q, Li L, Song H T, et al. Development status and trends of seamless rail welding technologies[J]. Hot Working Technology, 2017, 46(3):10-12. (in Chinese)
[2] Yu Y, Machemehl R B, Xie C. Demand-responsive transit circulator service network design[J]. Transportation Research Part E, 2015, 76:160-175.
[3] Antipov A G, Markov A A. Evaluation of transverse cracks detection depth in MFL rail NDT[J]. Russian Journal of Nondestructive Testing, 2014, 50(8):481-490.
[4] 苏日亮. 面向钢轨轨底缺陷检测的电磁超声换能器研究[D]. 哈尔滨:哈尔滨工业大学,2015.
[5] 高炜欣,胡玉衡,武晓朦,等. 埋弧焊X射线焊缝缺陷图像分类算法研究[J]. 仪器仪表学报,2016, 37(3):518-524. Gao W X, Hu Y H, Wu X M, et al. Sub-arc X-ray welding defect image classifying algorithm[J]. Journal of Instrumentation, 2016, 37(3):518-524. (in Chinese)
[6] Sinisterra A J, Dhanak M R, Ellenrieder K V. Stereovision-based target tracking system for USV operations[J]. Ocean Engineering, 2017, 133:197-214.
[7] 闵永智,岳彪,马宏锋,等. 基于图像灰度梯度特征的钢轨表面缺陷检测[J]. 仪器仪表学报,2018,39(4):220-229. Min Y Z, Yue B, Ma H F, et al. Rail surface defects detection based on gray scale gradient characteristics of image[J]. Journal of Instrumentation, 2018, 39(4):220-229. (in Chinese)
[8] Dubey A K, Jaffery Z A. Maximally stable extremal region marking-based railway track surface defect sensing[J]. IEEE Sensors Journal, 2016, 16(24):9047-9052.
[9] 吴禄慎,张丛,万超,等. 基于机器视觉的钢轨表面检测光学模型的研究[J]. 铁道标准设计,2017, 61(5):53-57. Wu L S, Zhang C, Wan C, et al. Study on optical model for rail surface detection based on machine vision[J]. Railway Standard Design, 2017, 61(5):53-57. (in Chinese)
[10] 蒋超,牛宏侠. 基于改进Radon变换的直线钢轨识别算法[J]. 铁道标准设计,2017, 61(4):19-22. Jiang C, Niu H X. Linear rail recognition algorithm based on improved Radon transform[J]. Railway Standard Design, 2017, 61(4):19-22. (in Chinese)
[11] Feng H, Jiang Z, Xie F, et al. Automatic fastener classification and defect detection in visionbased railway inspection systems[J]. IEEE Transactions on Instrumentation & Measurement, 2014, 63(4):877-888.
[12] 王洋,余祖俊,朱力强,等. 基于CNN的高速铁路侵限异物特征快速提取算法[J]. 仪器仪表学报,2017, 38(5):1267-1275. Wang Y, Yu Z J, Zhu L Q, et al. Fast feature extraction algorithm for hige-speed railway clearance intruding objects based on CNN[J]. Journal of Instrumentation, 2017, 38(5):1267-1275. (in Chinese)
[13] Verma K, Singh B K, Thoke A S. An enhancement in adaptive median filter for edge preservation[J]. Procedia Computer Science, 2015, 48:29-36.
[14] 姚宜斌,黄书华,孔建,等. 空间直线拟合的整体最小二乘算法[J]. 武汉大学学报(信息科学版),2014, 39(5):571-574. Yao Y B, Huang S H, Kong J, et al. Total least squares algorithm for fitting spatial straight lines[J]. Geomatics and Information Science of Wuhan University, 2014, 39(5):571-574. (in Chinese)