arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.14485cs.CV
收藏

结合颜色与梯度差异的边缘图像重建用于工业表面异常检测

Reconstruction from edge image combined with color and gradient difference for industrial surface anomaly detection

State Key Laboratory for Manufacturing System Engineering, Xi’an Jiaotong University(西安交通大学制造系统工程国家重点实验室);International Joint Research Laboratory for Micro/Nano Manufacturing and Measurement Technologies, Xi’an Jiaotong University(西安交通大学微纳制造与测量技术国际联合研究实验室)

Tongkun Liu, Bing Li, Zhuo Zhao, Xiao Du, Bingke Jiang, Leqi Geng

AI总结:

本文提出EdgRec重建网络,从灰度边缘恢复RGB图像,并结合颜色与梯度差异评估异常,在MVTec AD和MVTec 3D-AD上取得优异检测性能。

摘要:

基于重建的方法在工业视觉异常检测中得到了广泛探索。此类方法通常要求模型很好地重建正常模式,但在异常处重建失败,因此可以通过评估重建误差来检测异常。然而在实践中,通常很难控制模型的泛化边界。泛化能力过强的模型甚至能够很好地重建异常区域,使其较难区分;而泛化能力较差的模型无法重建正常区域中那些可变的高频成分,最终导致误报。为解决上述问题,我们提出了一种新的重建网络,从灰度值边缘重建原始RGB图像(EdgRec)。具体而言,这通过带有跳跃连接的UNet型去噪自编码器实现。输入边缘和跳跃连接能够很好地保留原始图像中的高频信息。同时,所提出的恢复任务可以迫使网络记忆正常的低频和颜色信息。此外,去噪设计能够防止模型直接复制原始高频成分。为评估异常,我们进一步提出了一种新的可解释手工评估函数,该函数同时考虑颜色差异和梯度差异。我们的方法在具有挑战性的基准MVTec AD上取得了具有竞争力的结果(检测AUROC为97.8%,定位AUROC为97.7%)。此外,我们在MVTec 3D-AD数据集上进行了实验,并仅使用RGB图像展示了令人信服的结果。我们的代码将在https://github.com/liutongkun/EdgRec提供。

英文摘要:

Reconstruction-based methods are widely explored in industrial visual anomaly detection. Such methods commonly require the model to well reconstruct the normal patterns but fail in the anomalies, and thus the anomalies can be detected by evaluating the reconstruction errors. However, in practice, it's usually difficult to control the generalization boundary of the model. The model with an overly strong generalization capability can even well reconstruct the abnormal regions, making them less distinguishable, while the model with a poor generalization capability can not reconstruct those changeable high-frequency components in the normal regions, which ultimately leads to false positives. To tackle the above issue, we propose a new reconstruction network where we reconstruct the original RGB image from its gray value edges (EdgRec). Specifically, this is achieved by an UNet-type denoising autoencoder with skip connections. The input edge and skip connections can well preserve the high-frequency information in the original image. Meanwhile, the proposed restoration task can force the network to memorize the normal low-frequency and color information. Besides, the denoising design can prevent the model from directly copying the original high-frequent components. To evaluate the anomalies, we further propose a new interpretable hand-crafted evaluation function that considers both the color and gradient differences. Our method achieves competitive results on the challenging benchmark MVTec AD (97.8\% for detection and 97.7\% for localization, AUROC). In addition, we conduct experiments on the MVTec 3D-AD dataset and show convincing results using RGB images only. Our code will be available at https://github.com/liutongkun/EdgRec.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑