paper-with-me

Papers

Wavelet and Prototype Augmented Query-based Transformer for Pixel-level Surface Defect Detection

2025-01-01 · CVPR 2025 1 · Feng Yan, Xiaoheng Jiang, Yang Lu, Jiale Cao, Dong Chen, Mingliang Xu

As an important part of intelligent manufacturing, pixel-level surface defect detection (SDD) aims to locate defect areas through mask prediction. Previous methods adopt the image-independent static convolution to indiscriminately classify per-pixel features for mask prediction, which leads to suboptimal results for some challenging scenes such as weak defects and cluttered backgrounds. In this paper, inspired by query-based methods, we propose a Wavelet and Prototype Augmented Query-based Transformer (WPFormer) for surface defect detection. Specifically, a set of dynamic queries for mask prediction is updated through the dual-domain transformer decoder. Firstly, a Wavelet-enhanced Cross-Attention (WCA) is proposed, which aggregates meaningful high- and low-frequency information of image features in the wavelet domain to refine queries. WCA enhances the representation of high-frequency components by capturing multi-scale relationships between different frequency components, enabling queries to focus more on defect details. Secondly, a Prototype-guided Cross-Attention (PCA) is proposed to refine queries through meta-prototypes in the spatial domain. The prototypes aggregate semantically meaningful tokens from image features, facilitating queries to aggregate crucial defect information under the cluttered backgrounds. Extensive experiments on three defect detection datasets (i.e., ESDIs-SOD, CrackSeg9k, and ZJU-Leaper) demonstrate that the proposed method achieves state-of-the-art performance in defect detection. The code will be available at https://github.com/yfhdm/WPFormer.

📄 PDF Abstract BibTeX

Code (1)

yfhdm/wpformer 공식 구현 pytorch

Tasks

Defect Detection

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
ADOPT Please enter a description about the method here
Focus 설명 없음
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Position-Wise Feed-Forward Layer 설명 없음

Similar Papers 제목 키워드 기반

Prototype as Query for Few Shot Semantic Segmentation

2022-11-27 · Leilei Cao, Yibo Guo, Ye Yuan, Qiangguo Jin

Few-shot Semantic Segmentation (FSS) was proposed to segment unseen classes in a query image, referring to only a few annotated examples named support images. One of the characteristics of FSS is spatial inconsistency be…

Few-Shot Semantic Segmentation

Contrastive Prototype Learning with Augmented Embeddings for Few-Shot Learning

2021-01-23 · Yizhao Gao, Nanyi Fei, Guangzhen Liu, Zhiwu Lu 외

Most recent few-shot learning (FSL) methods are based on meta-learning with episodic training. In each meta-training episode, a discriminative feature embedding and/or classifier are first constructed from a support set …

Few-Shot LearningMeta-Learning

Linguistic Query-Guided Mask Generation for Referring Image Segmentation

2023-01-16 · Zhichao Wei, Xiaohao Chen, Mingqiang Chen, Siyu Zhu

Referring image segmentation aims to segment the image region of interest according to the given language expression, which is a typical multi-modal task. Existing methods either adopt the pixel classification-based or t…

Contrastive Learningcross-modal alignmentDecoderImage Segmentation+2

Few-Shot Segmentation via Cycle-Consistent Transformer

2021-06-04 · NeurIPS 2021 12 · Gengwei Zhang, Guoliang Kang, Yi Yang, Yunchao Wei

Few-shot segmentation aims to train a segmentation model that can fast adapt to novel classes with few exemplars. The conventional training paradigm is to learn to make predictions on query images conditioned on the feat…

Few-Shot Semantic SegmentationSegmentationSemantic Segmentation

Foreground-Covering Prototype Generation and Matching for SAM-Aided Few-Shot Segmentation

2025-01-01 · Suho Park, SuBeen Lee, Hyun Seok Seong, Jaejoon Yoo 외

We propose Foreground-Covering Prototype Generation and Matching to resolve Few-Shot Segmentation (FSS), which aims to segment target regions in unlabeled query images based on labeled support images. Unlike previous res…