Scratches extraction method based on analysis of foreground pixel of k-adjacent domain

Jiahong LI,Bin CHEN
2017-01-01
Journal of Computer Applications
Abstract:Irregular textures appear in the background of a scratched metal panel,which makes the commonly used method combining edge detection algorithm,a morphological method and connected domain analysis method based on 8-neighborhood cannot realize complete extraction and analysis of scratches.A method based on the foreground pixel analysis of k-neighborhood and a method of merging foreground pixel regions based on direction and distance was proposed to extract scratches effectively and completely.Firstly,the Gaussian filter was applied to the image for removing the irregular texture or other noise of the background.Then,for the Gaussian filter weakens both background noise and scratches,Sobel edge detection operator was taken for sharping the scratches,and the binary operation was used to the result.Finally,the foreground pixel analysis based on k-neighborhood was used to merge the small foreground pixel blobs which were close to each other but not connected.The foreground pixel blobs which were the results of previous step and far away from each other,were merged according to the direction of the foreground pixels in each blob and the distance between the blobs.The proposed method was applied to the product appearance detection system,90 of the original pictures were collected and tested.The accuracy of the extraction was 95% and the integrity was 80%.The experimental results show that the proposed method provides a simple and efficient method for scratch detection.
What problem does this paper attempt to address?