CXR-AD: Component X-ray Image Dataset for Industrial Anomaly Detection
Authors:
- Haoyu BaiHBHaoyu Bai
- Jie WangJWJie Wang
- Gaomin LiGLGaomin Li
- Xuan LiXLXuan Li
- Xiaohu ZhangXZXiaohu Zhang
- Xia YangXYXia Yang
Preprint
Abstract
Internal defect detection constitutes a critical process in ensuring component quality, for which anomaly detection serves as an effective solution. However, existing anomaly detection datasets predominantly focus on surface defects in visible-light images, lacking publicly available X-ray datasets targeting internal defects in components. To address this gap, we construct the first publicly accessible component X-ray anomaly detection (CXR-AD) dataset, comprising real-world X-ray images. The dataset covers five industrial component categories, including 653 normal samples and 561 defect samples with precise pixel-level mask annotations. We systematically analyze the dataset characteristics and identify three major technical challenges: (1) strong coupling between complex internal structures and defect regions, (2) inherent low contrast and high noise interference in X-ray imaging, and (3) significant variations in defect scales and morphologies. To evaluate dataset complexity, we benchmark three state-of-the-art anomaly detection frameworks (feature-based, reconstruction-based, and zero-shot learning methods). Experimental results demonstrate a 29.78% average performance degradation on CXR-AD compared to MVTec AD, highlighting the limitations of current algorithms in handling internal defect detection tasks. To the best of our knowledge, CXR-AD represents the first publicly available X-ray dataset for component anomaly detection, providing a real-world industrial benchmark to advance algorithm development and enhance precision in internal defect inspection technologies.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Boosting Fine-Grained Visual Anomaly Detection with Coarse-Knowledge-Aware Adversarial LearningProceedings of the AAAI Conference on Artificial Intelligence, 2025
- Multiscale GAN With Region Adaptive Schemes for Online Inspection of Fabric Flexographic Printing LabelsIEEE Transactions on Instrumentation and Measurement, 2025
- Semi-Patchcore: A Novel Two-Staged Method for Semi-Supervised Anomaly Detection and LocalizationIEEE Transactions on Instrumentation and Measurement, 2025
- Variational Autoencoder with Gaussian Random Field prior: Application to unsupervised animal detection in aerial imagesISPRS Journal of Photogrammetry and Remote Sensing, 2024
- YOLO-HMC: An Improved Method for PCB Surface Defect DetectionIEEE Transactions on Instrumentation and Measurement, 2024
- Learning Traces by Yourself: Blind Image Forgery Localization via Anomaly Detection With ViT-VAEIEEE Signal Processing Letters, 2023
- f-AnoGAN: Fast unsupervised anomaly detection with generative adversarial networksMedical Image Analysis, 2019
- Image quality assessment: from error visibility to structural similarityIEEE Transactions on Image Processing, 2004