Journal of Applied Sciences ›› 2019, Vol. 37 ›› Issue (6): 844-850.doi: 10.3969/j.issn.0255-8297.2019.06.009

• Signal and Information Processing • Previous Articles     Next Articles

Automatic Orientation Method for Rail Weld Based on Computer Vision

LIU Song, XIONG Bangshu   

  1. Key Laboratory of Image Processing and Pattern Recognition of Jiangxi Province, Nanchang Hangkong University, Nanchang 330063, China
  • Received:2018-10-21 Revised:2019-03-09 Online:2019-11-30 Published:2019-12-06

Abstract: 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.

Key words: computer vision, image enhancement, weld edge detection, automatic positioning

CLC Number: