# A tomographic workflow to enable deep learning for X-ray based foreign object detection

arXiv: https://arxiv.org/abs/2201.12184 · HTML: https://mlsanity.com/paper/2201.12184/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 25 of its 83 references that are in the map.
- First posted on arXiv 28 Jan 2022.

## Builds on (most cited first, 25 of 25)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://mlsanity.com/paper/1505.04597/) (2015)
- [Mask R-CNN](https://mlsanity.com/paper/1703.06870/) (2017)
- [Fully Convolutional Networks for Semantic Segmentation](https://mlsanity.com/paper/1411.4038/) (2014)
- [Pyramid Scene Parsing Network](https://mlsanity.com/paper/1612.01105/) (2016)
- [SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation](https://mlsanity.com/paper/1511.00561/) (2015)
- [Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentations](https://mlsanity.com/paper/1707.03237/) (2017)
- [Object Detection with Deep Learning: A Review](https://mlsanity.com/paper/1807.05511/) (2018)
- [RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentation](https://mlsanity.com/paper/1611.06612/) (2016)
- [Learning Deconvolution Network for Semantic Segmentation](https://mlsanity.com/paper/1505.04366/) (2015)
- [Embracing Imperfect Datasets: A Review of Deep Learning Solutions for Medical Image Segmentation](https://mlsanity.com/paper/1908.10454/) (2019)
- [A survey of loss functions for semantic segmentation](https://mlsanity.com/paper/2006.14822/) (2020)
- [Metrics for Multi-Class Classification: an Overview](https://mlsanity.com/paper/2008.05756/) (2020)
- [A Review on Deep Learning Techniques Applied to Semantic Segmentation](https://mlsanity.com/paper/1704.06857/) (2017)
- [Towards Automatic Threat Detection: A Survey of Advances of Deep Learning within X-ray Security Imaging](https://mlsanity.com/paper/2001.01293/) (2020)
- [Tensor-based formulation and nuclear norm regularization for multi-energy computed tomography](https://mlsanity.com/paper/1307.5348/) (2013)
- [Automatic segmenting teeth in X-ray images: Trends, a novel data set, benchmarking and future perspectives](https://mlsanity.com/paper/1802.03086/) (2018)
- [One-Shot Recognition of Manufacturing Defects in Steel Surfaces](https://mlsanity.com/paper/2005.05815/) (2020)
- [Deep Learning and Machine Vision for Food Processing: A Survey](https://mlsanity.com/paper/2103.16106/) (2021)
- [Image reconstruction in dynamic inverse problems with temporal models](https://mlsanity.com/paper/2007.10238/) (2020)
- [3D Bounding Box Detection in Volumetric Medical Image Data: A Systematic Literature Review](https://mlsanity.com/paper/2012.05745/) (2020)
- [A computationally efficient reconstruction algorithm for circular cone-beam computed tomography using shallow neural networks](https://mlsanity.com/paper/2010.00421/) (2020)
- [A Multi-channel DART Algorithm](https://mlsanity.com/paper/1808.09170/) (2018)
- [Unsupervised foreign object detection based on dual-energy absorptiometry in the food industry](https://mlsanity.com/paper/2104.05326/) (2021)

## Abstract (arXiv)

Detection of unwanted (`foreign') objects within products is a common procedure in many branches of industry for maintaining production quality. X-ray imaging is a fast, non-invasive and widely applicable method for foreign object detection. Deep learning has recently emerged as a powerful approach for recognizing patterns in radiographs (i.e., X-ray images), enabling automated X-ray based foreign object detection. However, these methods require a large number of training examples and manual annotation of these examples is a subjective and laborious task. In this work, we propose a Computed Tomography (CT) based method for producing training data for supervised learning of foreign object detection, with minimal labour requirements. In our approach, a few representative objects are CT scanned and reconstructed in 3D. The radiographs that have been acquired as part of the CT-scan data serve as input for the machine learning method. High-quality ground truth locations of the foreign objects are obtained through accurate 3D reconstructions and segmentations. Using these segmented volumes, corresponding 2D segmentations are obtained by creating virtual projections. We outline the benefits of objectively and reproducibly generating training data in this way compared to conventional radiograph annotation. In addition, we show how the accuracy depends on the number of objects used for the CT reconstructions. The results show that in this workflow generally only a relatively small number of representative objects (i.e., fewer than 10) are needed to achieve adequate detection performance in an industrial setting. Moreover, for real experimental data we show that the workflow leads to higher foreign object detection accuracies than with standard radiograph annotation.
