Scratch detection based on image reconstruction using ideal-image-pair dataset of just before/after defect occurrence

2021
When inspecting defects such as scratches due to image processing, if we can obtain an image before defect occurrence, the defect can be detected by simply comparing the image pair before and after defect occurrence. However, this idea is generally unrealistic because it is impossible to obtain an image before defect occurrence from an image after the defect occurred unless we go back in time. Therefore, we propose a method of training a generation-based model to detect scratches based on subtraction between an input image and output image during testing. We obtained a large amount of ideal image pairs before and after defect occurrence (i.e., image pairs in which only defect regions are different and the others are almost completely the same) using an image-capturing device. An image with a background texture of high reconstruction performance was generated with our method by using this dataset. Although we used image pairs of only an aluminum plate for training, the area under the curve of the receiver operating characteristic (ROC-AUC) measure was 0.9973 for a copper plate and 0.9904 for a stainless steel plate. This shows that our method is also effective for background textures different from those used for training. We also compared our generation-based method with a method of training a classificationbased model (ResNet18). We confirmed that the ROC-AUC measure with the proposed method was 0.9824 for an acrylic plate and 0.6156 for a carbon fiber sheet, which is better than those with the classification-based method (0.9650 and 0.5000, respectively). The proposed method has much higher reconstruction performance than previous training of defect-free images only, and is effective for scratch detection of background texture similar to those used for training.
    • Correction
    • Source
    • Cite
    • Save
    0
    References
    0
    Citations
    NaN
    KQI
    []
    Baidu
    map