With the development of the railway, defect inspection of rails becomes more and more important to ensure the safety. In order to overcome the disadvantages of manual inspections and to adapt the trend of automatic inspections, this paper advances a new inspection method of rail surface defects based upon image processing, pattern recognition and machine vision. The advantage of it is not only decreasing the effect of environmental factor and economizing on manpower, but also advancing the detection rate of...