Reconstruction from edge image combined with color and gradient
difference for industrial surface anomaly detection
- URL: http://arxiv.org/abs/2210.14485v1
- Date: Wed, 26 Oct 2022 05:21:43 GMT
- Title: Reconstruction from edge image combined with color and gradient
difference for industrial surface anomaly detection
- Authors: Tongkun Liu, Bing Li, Zhuo Zhao, Xiao Du, Bingke Jiang, Leqi Geng
- Abstract summary: We propose a new reconstruction network where we reconstruct the original RGB image from its gray value edges (EdgRec)
Our method achieves competitive results on the challenging benchmark MVTec AD (97.8% for detection and 97.7% for localization, AUROC.
- Score: 3.42097787126957
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: 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.
Related papers
- DiAD: A Diffusion-based Framework for Multi-class Anomaly Detection [55.48770333927732]
We propose a Difusion-based Anomaly Detection (DiAD) framework for multi-class anomaly detection.
It consists of a pixel-space autoencoder, a latent-space Semantic-Guided (SG) network with a connection to the stable diffusion's denoising network, and a feature-space pre-trained feature extractor.
Experiments on MVTec-AD and VisA datasets demonstrate the effectiveness of our approach.
arXiv Detail & Related papers (2023-12-11T18:38:28Z) - Indoor Scene Reconstruction with Fine-Grained Details Using Hybrid Representation and Normal Prior Enhancement [50.56517624931987]
The reconstruction of indoor scenes from multi-view RGB images is challenging due to the coexistence of flat and texture-less regions.
Recent methods leverage neural radiance fields aided by predicted surface normal priors to recover the scene geometry.
This work aims to reconstruct high-fidelity surfaces with fine-grained details by addressing the above limitations.
arXiv Detail & Related papers (2023-09-14T12:05:29Z) - FAIR: Frequency-aware Image Restoration for Industrial Visual Anomaly
Detection [4.705841907301398]
Frequency-aware Image Restoration (FAIR) is a novel self-supervised image restoration task that restores images from their high-frequency components.
FAIR achieves state-of-the-art performance with higher efficiency on various defect detection datasets.
arXiv Detail & Related papers (2023-09-13T16:28:43Z) - Making Reconstruction-based Method Great Again for Video Anomaly
Detection [64.19326819088563]
Anomaly detection in videos is a significant yet challenging problem.
Existing reconstruction-based methods rely on old-fashioned convolutional autoencoders.
We propose a new autoencoder model for enhanced consecutive frame reconstruction.
arXiv Detail & Related papers (2023-01-28T01:57:57Z) - Unsupervised Visual Defect Detection with Score-Based Generative Model [17.610722842950555]
We focus on the unsupervised visual defect detection and localization tasks.
We propose a novel framework based on the recent score-based generative models.
We evaluate our method on several datasets to demonstrate its effectiveness.
arXiv Detail & Related papers (2022-11-29T11:06:29Z) - Self-Supervised Masked Convolutional Transformer Block for Anomaly
Detection [122.4894940892536]
We present a novel self-supervised masked convolutional transformer block (SSMCTB) that comprises the reconstruction-based functionality at a core architectural level.
In this work, we extend our previous self-supervised predictive convolutional attentive block (SSPCAB) with a 3D masked convolutional layer, a transformer for channel-wise attention, as well as a novel self-supervised objective based on Huber loss.
arXiv Detail & Related papers (2022-09-25T04:56:10Z) - ADTR: Anomaly Detection Transformer with Feature Reconstruction [40.68590890351697]
Anomaly detection with only prior knowledge from normal samples attracts more attention.
Existing CNN-based pixel reconstruction approaches suffer from two concerns.
We propose Anomaly Detection TRansformer (ADTR) to apply a transformer to reconstruct pre-trained features.
arXiv Detail & Related papers (2022-09-05T08:01:27Z) - Detecting Recolored Image by Spatial Correlation [60.08643417333974]
Image recoloring is an emerging editing technique that can manipulate the color values of an image to give it a new style.
In this paper, we explore a solution from the perspective of the spatial correlation, which exhibits the generic detection capability for both conventional and deep learning-based recoloring.
Our method achieves the state-of-the-art detection accuracy on multiple benchmark datasets and exhibits well generalization for unknown types of recoloring methods.
arXiv Detail & Related papers (2022-04-23T01:54:06Z) - Divide-and-Assemble: Learning Block-wise Memory for Unsupervised Anomaly
Detection [40.778313918994996]
Reconstruction-based methods play an important role in unsupervised anomaly detection in images.
In this work, we interpret the reconstruction of an image as a divide-and-assemble procedure.
We achieve state-of-the-art performance on the challenging MVTec AD dataset.
arXiv Detail & Related papers (2021-07-28T01:14:32Z) - Anomaly Detection with Prototype-Guided Discriminative Latent Embeddings [29.93983580779689]
We present a novel approach for anomaly detection, which utilizes discriminative prototypes of normal data to reconstruct video frames.
In this way, the model will favor the reconstruction of normal events and distort the reconstruction of abnormal events.
We evaluate the effectiveness of our method on three benchmark datasets and experimental results demonstrate the proposed method outperforms the state-of-the-art.
arXiv Detail & Related papers (2021-04-30T12:16:52Z) - CutPaste: Self-Supervised Learning for Anomaly Detection and
Localization [59.719925639875036]
We propose a framework for building anomaly detectors using normal training data only.
We first learn self-supervised deep representations and then build a generative one-class classifier on learned representations.
Our empirical study on MVTec anomaly detection dataset demonstrates the proposed algorithm is general to be able to detect various types of real-world defects.
arXiv Detail & Related papers (2021-04-08T19:04:55Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.