The paper discusses an application for rail track thermal image fault detection. In order to get better results from the Canny edge detection algorithm, the image needs to be processed in advance. The histogram equalization method is proposed to enhance the contrast of the image. Since a thermal image contains multiple parallel rail tracks, an algorithm has been developed to locate and separate the tracks that we are interested in. This is accomplished by applying the least squares linear fitting technique to represent the surface of a track. The performance of the application is evaluated by using a number of images provided by a specialised company and the results are essentially favourable.
 Clark, R. (2004) Rail Flaw Detection: Overview and Needs for Future Developments. NDTE International Independent Nondestructive Testing and Evaluation, 37, 111-118. http://dx.doi.org/10.1016/j.ndteint.2003.06.002
 Peng, D. and Jones, R. (2013) NDI of Rail Squats and Estimating Defect Size and Location Using Lock-In Thermography. Engineering, 5, 29-38. http://dx.doi.org/10.4236/eng.2013.51005
 Deutschl, E., et al. (2004) Defect Detection on Rail Surfaces by a Vision Based System. IEEE Intelligent Vehicles Symposium, 507-511. http://dx.doi.org/10.1109/ivs.2004.1336435
 Canny, J. (1986) A Computational Approach to Edge Detection. IEEE Transactions on Pattern Analysis and Machine Intelligence, 8, 679-698. http://dx.doi.org/10.1109/TPAMI.1986.4767851
 Freedman, D. (2009) Statistical Models: Theory and Practice. Revised Edition, Cambridge University Press. http://dx.doi.org/10.1017/CBO9780511815867