Abstract

Purpose – When using a machine vision inspection system for rail surface defect detection, many complex factors such as illumination changes, reflection inequality, shadows, stains and rust might inevitably deform the scanned rail surface image. This paper aims to reduce the influence of these factors, a pipeline of image processing algorithms for robust defect detection is developed. Design/methodology/approach – First, a new inverse Perona-Malik (P-M) diffusion model is presented for image enhancement, which takes the reciprocal of gradient as feature to adjust the diffusion coefficients, and a distinct nearest-neighbor difference scheme is introduced to select proper defect boundaries during discretized implementation. As a result, the defect regions are sufficiently smoothened, whereas the faultless background remains unchanged. Then, by subtracting the diffused image from the original image, the defect features will be highlighted in the difference image. Subsequently, an adaptive threshold binarization, followed by an attribute opening like filter, can easily eliminate the noisy interferences and find out the desired defects. Findings – Using data from our developed inspection apparatus, the experiments show that the proposed method can attain a detection and measurement precisions as high as 93.6 and 85.9 per cent, respectively, while the recovery accuracy remains 93 per cent. Additionally, the proposed method is computationally efficient and can perform robustly even under complex environments. Originality/value – A pipeline of algorithms for rail surface detection is proposed. Particularly, an inverse P-M diffusion model with a distinct discretization scheme is introduced to enhance the defect boundaries and suppress noises. The performance of the proposed method has been verified with real images from our own developed system.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call