<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    ojapps
   </journal-id>
   <journal-title-group>
    <journal-title>
     Open Journal of Applied Sciences
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2165-3917
   </issn>
   <issn publication-format="print">
    2165-3925
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/ojapps.2024.1412228
   </article-id>
   <article-id pub-id-type="publisher-id">
    ojapps-138037
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Biomedical 
     </subject>
     <subject>
       Life Sciences, Chemistry 
     </subject>
     <subject>
       Materials Science, Computer Science 
     </subject>
     <subject>
       Communications, Engineering, Physics 
     </subject>
     <subject>
       Mathematics
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Comparative Study of Four Classification Techniques for the Detection of Threats in Baggage from X-Ray Images
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Boka Trinité
      </surname>
      <given-names>
       Konan
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Hyacinthe Kouassi
      </surname>
      <given-names>
       Konan
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Jules
      </surname>
      <given-names>
       Allani
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Olivier
      </surname>
      <given-names>
       Asseu
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aINPHB, EDP-STI, Yamoussoukro, Côte d’Ivoire
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aLASTIC, ESATIC, Abidjan, Côte d’Ivoire
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     03
    </day> 
    <month>
     12
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    14
   </volume> 
   <issue>
    12
   </issue>
   <fpage>
    3490
   </fpage>
   <lpage>
    3499
   </lpage>
   <history>
    <date date-type="received">
     <day>
      5,
     </day>
     <month>
      November
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      7,
     </day>
     <month>
      November
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      7,
     </day>
     <month>
      December
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    Baggage screening is crucial for airport security. This paper examines various algorithms for firearm detection in X-ray images of baggage. The focus is on identifying steel barrel bores, which are essential for detonation. For this, the study uses a set of 22,000 X-ray scanned images. After preprocessing with filtering techniques to improve image quality, deep learning methods, such as Convolutional Neural Networks (CNNs), are applied for classification. The results are also compared with Autoencoder and Random Forest algorithms. The results are validated on a second dataset, highlighting the advantages of the adopted approach. Baggage screening is a very important part of the risk assessment and security screening process at airports. Automating the detection of dangerous objects from passenger baggage X-ray scanners can speed up and increase the efficiency of the entire security procedure.
   </abstract>
   <kwd-group> 
    <kwd>
     Deep Learning
    </kwd> 
    <kwd>
      Baggage Control
    </kwd> 
    <kwd>
      Convolutional Neural Networks
    </kwd> 
    <kwd>
      Image Filtering
    </kwd> 
    <kwd>
      Object Detection Algorithms
    </kwd> 
    <kwd>
      X-Ray Images
    </kwd> 
    <kwd>
      Autoencoder
    </kwd> 
    <kwd>
      Random Forests
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>
    <xref ref-type="bibr" rid="scirp.138037-"></xref>Identifying dangerous objects in passenger baggage is essential to ensure aviation security. Currently, this process relies on X-ray imaging and human inspection, which is laborious and prone to errors, with an accuracy of 80% - 90% <xref ref-type="bibr" rid="scirp.138037-1">
     [1]
    </xref>. Challenges include the low number of dangerous objects present, the diversity of items, and the need for rapid decisions, especially during peak periods. To improve the efficiency and accuracy of detection, automation via advanced image processing and object detection techniques is recommended.</p>
   <p>Research on threat detection in baggage security can be grouped according to three imaging modalities:</p>
   <p>Classification performance improves with the number of views used, from 89% true positive rate (TPR) and 18% false positive rate (FPR) in single-view imaging <xref ref-type="bibr" rid="scirp.138037-2">
     [2]
    </xref> to 97.2% TPR and 1.5% FPR in full-view CT imaging <xref ref-type="bibr" rid="scirp.138037-5">
     [5]
    </xref>. However, it is generally recommended that these methods allow a more complex classification of radiographic images than that of visible spectrum images, and that methods commonly used for natural images, such as SIFT or HoG, are not always effective for radiographs <xref ref-type="bibr" rid="scirp.138037-6">
     [6]
    </xref>.</p>
   <p>However, identification performance can be improved by exploiting features of X-ray images:</p>
   <p>The authors of <xref ref-type="bibr" rid="scirp.138037-10">
     [10]
    </xref> address the challenges of learning features on images of varying sizes and out-of-plane rotations. Their work aims to create an automation framework for detecting firearms from X-ray scanners, focusing on the classification of steel barrel bores to assess the probability of weapons presence in X-ray images, using different classification methods.</p>
   <p>Two datasets of images from dual-view X-ray scanners are used to evaluate the performance of the classifiers:</p>
   <p>To handle the variable image size, two views are combined into a single sample. Although the out-of-plane rotation problem is not directly addressed, data augmentation techniques and a dataset containing threat objects in different poses are used. Two deep learning techniques are studied, convolutional neural networks (CNNs) and stacked autoencoders, as well as two popular classification models, namely feedforward neural networks and random forests. Their implementation results are compared and critically discussed (<xref ref-type="fig" rid="fig1">
     Figure 1
    </xref>).</p>
   <fig id="fig1" position="float">
    <label>Figure 1</label>
    <caption>
     <title>Figure 1. Dual-view raw X-ray of image containing weapon.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2312839-rId12.jpeg?20241210113015" />
   </fig>
   <p>The remainder of the paper is organized as follows. Section 2 describes the datasets used in the empirical experiment and illustrates the proposed framework; Section 3 presents the details of the experiments performed and the results, while the conclusion and future work are presented in Section 4.</p>
  </sec><sec id="s2">
   <title>2. Threat Identification Framework</title>
   <p>The framework that is proposed for automated weapons detection includes three modules: preprocessing, data augmentation and threat detection (see <xref ref-type="fig" rid="fig2">
     Figure 2
    </xref>).</p>
   <p>The preprocessing stage consists of four steps:</p>
   <fig id="fig2" position="float">
    <label>Figure 2</label>
    <caption>
     <title>Figure 2. Framework that is proposed for automated threat detection.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2312839-rId13.jpeg?20241210113015" />
   </fig>
   <p>The original dataset contains over 22,000 images, of which about 6000 show threat elements (firearms or components).</p>
   <p>The images come from a dual-view X-ray machine, which can scan objects from two different angles. X-ray scanners create layered images, allowing operators or algorithms to detect suspicious objects through information such as shape, density, and material characteristics. These images include metadata about their classification: benign or threat (e.g., <xref ref-type="fig" rid="fig1">
     Figure 1
    </xref> and <xref ref-type="fig" rid="fig3">
     Figure 3
    </xref>). And weapon components (such as the barrel or the complete weapon). A sample of 3546 threat images with barrels and 1872 benign images was selected.</p>
   <p>A threat element in a security context is an element considered dangerous (e.g., a gun barrel, a spare part of a rifle, etc.). For classification, a security expert or operator could be tasked with classifying images based on their content. This includes visually identifying firearm components (such as a barrel or the complete weapon itself). These objects are categorized as threatening or non-threatening. During preprocessing, each image is processed individually and the two views are combined. The raw images are resized to 128 × 128 pixels and converted to grayscale, extracting the green channel to maximize contrast in dense materials. This allows for better filtering and makes it easier to recognize guns.</p>
   <p>A smoothing algorithm is applied to the grayscale image to reduce noise while preserving edges. Among the different algorithms tested, a 3 × 3 kernel Gaussian blur gave the best results. Next, a thresholding technique is used to isolate dense materials, with a threshold equivalent to 2 mm of steel, which allows for the preservation of metallic objects such as gun barrels. This step eliminates a large part of benign backgrounds, such as organic materials.</p>
   <fig id="fig3" position="float">
    <label>Figure 3</label>
    <caption>
     <title>Figure 3. Image from the dual-view raw X-ray scan.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2312839-rId14.jpeg?20241210113015" />
   </fig>
   <p>The image is normalized so that the densest material appears black, and areas below the threshold become white. Thus, images without significant dense material can be classified as benign. This is particularly effective for baggage, as a significant proportion of samples can be filtered out, unlike parcels where there is a greater diversity of metallic objects. Finally, to improve the robustness of classification under class imbalance, it is often useful to introduce noise and realistic variations into the training data <xref ref-type="bibr" rid="scirp.138037-11">
     [11]
    </xref>.</p>
   <p>There are several ways to achieve this:</p>
   <p>For each image in the training set, multiple instances are generated by combining various augmentation procedures, which are then used during training. The two views of each sample are stacked vertically to create a final image.</p>
   <p>Four machine learning methods are compared: two from deep learning (convolutional neural networks, CNNs, and stacked autoencoders) and two classical techniques (neural networks and random forests).</p>
   <p>CNNs, considered the best for image recognition, consist of an input layer (pixel matrix), an output layer (class label), and several hidden layers. These include convolution, activation, and pooling functions, with the final layers being fully connected with a softmax output function. e.g.: from a variety of problems related to image recognition and object detection <xref ref-type="bibr" rid="scirp.138037-12">
     [12]
    </xref>, unmanned helicopter control <xref ref-type="bibr" rid="scirp.138037-13">
     [13]
    </xref>, X-ray cargo inspection <xref ref-type="bibr" rid="scirp.138037-7">
     [7]
    </xref>, and many others.</p>
   <p>The convolutional layer applies a 2D filter on the image to learn representations, while pooling reduces the size of the inputs by aggregating the information. After several layers, the output is flattened and passed to a classical layer for the final classification.</p>
   <p>Stacked autoencoders, or autoassociative neural networks, are an unsupervised machine learning technique that allows learning features at different levels of abstraction. They consist of two parts:</p>
   <p>The new representation can then serve as input to another autoencoder, hence the term “stacked”. Each layer is first trained independently to learn a hierarchical representation, and then the entire network is fine-tuned by backpropagation in a supervised manner to distinguish classes. In this study, sparse autoencoders are used, which incorporate regularization to learn a sparser representation of the input.</p>
  </sec><sec id="s3">
   <title>3. Experimentation and Results</title>
   <p>After image preprocessing and filtering, 1850 samples were obtained for baggage classification and 1760 for parcels.</p>
   <p>Each set was split into 80% for training and 20% for testing, with baggage and parcel scans trained and tested separately due to their different operational contexts.</p>
   <sec id="s3_1">
    <title>3.1. Presentation of the Techniques Used</title>
    <p>The techniques presented below are often used in the field of computer vision and machine learning to extract relevant information from complex data.</p>
    <p>A. CNN (Convolutional Neural Network): This is a type of neural network mainly used for image processing. CNNs are designed to recognize local patterns using convolution layers, often followed by pooling layers that reduce dimensionality.</p>
    <p>B. Autoencoder: This is a type of neural network used for unsupervised learning. It is composed of two parts: an encoder that compresses the input into a lower-dimensional representation, and a decoder that reconstructs the input from this representation. Autoencoders are often used for dimension reduction, image denoising, or generating new data.</p>
    <p>C. OBIFs + NN (OBIFs with Neural Networks): “OBIFs” refers to “Oriented BIFs” (Basic Image Features), which are image features extracted for recognition and analysis. Using “OBIFs” with Neural Networks (NN) implies that these features are used as inputs for a neural network to improve the performance of tasks like classification or object detection.</p>
    <p>D. OBIFs + RF (OBIFs with Random Forest): In this case, “OBIFs” are also used, but here with a classifier based on Random Forests. Random Forests are a set of many decision trees and are used for classification and regression tasks. The idea is to use the OBIFs as input features to train the Random Forest model.</p>
   </sec>
   <sec id="s3_2">
    <title>3.2. Experimentation</title>
    <p>In this experiment, a three-layer stacked autoencoder with 200, 100, 50 neurons respectively, followed by a softmax output function to predict the probability of the classes was used.</p>
    <p>For the CNN, a topology with three convolutional layers (with 128, 64 and 32 neurons) followed by a fully connected neural network and a softmax output function was used.</p>
    <p>When training our model, the learning curves (Loss Curve and Accuracy Curve) were not optimal. To improve the performance of the CNN on the dataset, several modifications were made, including:</p>
    <p>See <xref ref-type="fig" rid="fig4">
      Figure 4
     </xref> for CNN performance.</p>
    <fig id="fig4" position="float">
     <label>Figure 4</label>
     <caption>
      <title>Figure 4. Loss and accuracy.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/2312839-rId15.jpeg?20241210113016" />
    </fig>
    <p>The Random Forest (RF) was trained with 200 trees, while the shallow neural network (NN) had an n-n-2 topology, where n is the input size. Since the RF and NN cannot be directly trained on raw pixels, a feature extraction step was required.</p>
    <p>Oriented basic image feature histograms (BIFs) were used as a texture descriptor (as suggested in <xref ref-type="bibr" rid="scirp.138037-6">
      [6]
     </xref>), an effective method in computer vision.</p>
    <p>BIFs classify each pixel in an image into one of seven categories based on local symmetries, such as: flat, slopes, spots, lines, and saddle-shaped. Oriented BIFs add a quantized orientation dimension to encode compact representations. The OBIF feature vector is then used as input to the RF and shallow NN classifiers.</p>
    <p>To evaluate classification performance, three measures were used:</p>
    <p>AUC is a common metric to evaluate classification performance, while FPR@90%TPR indicates the number of false positives expected when 90% of threats are correctly identified. This 90% threshold is recommended by <xref ref-type="bibr" rid="scirp.138037-6">
      [6]
     </xref> for X-ray image classification.</p>
    <p>F1-score is also used for imbalanced datasets, considering precision (correctly identified threats vs. all identified threats) and recall (correctly identified threats vs. all threats present). A table shows the results for the baggage dataset for these metrics.</p>
    <p>Results are reported for the four classification techniques and the three preprocessing steps:</p>
    <p>As shown in <xref ref-type="table" rid="table1">
      Table 1
     </xref>, the CNN outperformed the other methods with AUC ranging from 94% to 97%, depending on the preprocessing step.</p>
    <p>The second best method was the Shallow NN with AUC values ranging from 86% to 95%, while the worst performance was obtained by the RF with AUC ranging from 67% to 83%.</p>
    <p>Similar results were obtained when considering the FPR@90%TPR and F1-score metrics. The CNN achieved the best FPR (6%) when trained on the thresholded black-and-white images, while having only 9% FPR when using raw data. On the other hand, while achieving 14% FPR with the last preprocessing step, the NN performance dropped drastically when using the raw and smoothed data, with 50% and 31% FPR, respectively. The same observation can be observed when using the F1-Score: the CNN reaches up to 93%, followed by the stacked autoencoders and the shallow NN with 81% and 79%, respectively. Once again, it is worth noting that the CNN was the only technique able to achieve high classification accuracy in all the preprocessing approaches used, while the other methods required more time spent on the feature engineering and extraction steps.</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.138037-"></xref>Table 1. Baggage dataset results for the AUC, FPR@90%TPR and F1-Score metrics.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="19.52%"><p style="text-align:center">metric</p></td> 
       <td class="custom-bottom-td acenter" width="17.23%"><p style="text-align:center">Technical</p></td> 
       <td class="custom-bottom-td acenter" width="15.15%"><p style="text-align:center">Smoothing</p></td> 
       <td class="custom-bottom-td acenter" width="12.75%"><p style="text-align:center">Raw data</p></td> 
       <td class="custom-bottom-td acenter" width="35.35%"><p style="text-align:center">Black and white threshold</p></td> 
      </tr> 
      <tr> 
       <td rowspan="4" class="custom-bottom-td custom-top-td acenter" width="19.52%"><p style="text-align:center">AUC</p></td> 
       <td class="custom-top-td acenter" width="17.23%"><p style="text-align:center">CNN</p></td> 
       <td class="custom-top-td acenter" width="15.15%"><p style="text-align:center">94</p></td> 
       <td class="custom-top-td acenter" width="12.75%"><p style="text-align:center">95</p></td> 
       <td class="custom-top-td acenter" width="35.35%"><p style="text-align:center">97</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">Autoencoder</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">75</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">78</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">90</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">oBIFs + NN</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">86</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">87</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">95</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td acenter" width="17.23%"><p style="text-align:center">oBIFs + RF</p></td> 
       <td class="custom-bottom-td acenter" width="15.15%"><p style="text-align:center">67</p></td> 
       <td class="custom-bottom-td acenter" width="12.75%"><p style="text-align:center">72</p></td> 
       <td class="custom-bottom-td acenter" width="35.35%"><p style="text-align:center">83</p></td> 
      </tr> 
      <tr> 
       <td rowspan="4" class="custom-top-td acenter" width="19.52%"><p style="text-align:center">FPR@90%TPR</p></td> 
       <td class="custom-top-td acenter" width="17.23%"><p style="text-align:center">CNN</p></td> 
       <td class="custom-top-td acenter" width="15.15%"><p style="text-align:center">9</p></td> 
       <td class="custom-top-td acenter" width="12.75%"><p style="text-align:center">7</p></td> 
       <td class="custom-top-td acenter" width="35.35%"><p style="text-align:center">6</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">Autoencoder</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">70</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">60</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">26</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">oBIFs + NN</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">50</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">31</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">14</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">oBIFs + RF</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">86</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">66</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">53</p></td> 
      </tr> 
      <tr> 
       <td rowspan="4" class="acenter" width="19.52%"><p style="text-align:center">F1-Score</p></td> 
       <td class="acenter" width="17.23%"><p style="text-align:center">CNN</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">91</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">93</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">93</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">Autoencoder</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">60</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">65</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">81</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">oBIFs + NN</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">64</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">67</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">79</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.23%"><p style="text-align:center">oBIFs + RF</p></td> 
       <td class="acenter" width="15.15%"><p style="text-align:center">36</p></td> 
       <td class="acenter" width="12.75%"><p style="text-align:center">41</p></td> 
       <td class="acenter" width="35.35%"><p style="text-align:center">56</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.138037-"></xref>Table 2. Results of the parcel dataset for AUC, FPR@90%TPR and F1-Score measures. The results are presented for the four classification techniques and the three preprocessing steps: raw data, grayscale smoothing and black-white thresholding.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">metric</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">Technical</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">Smoothing</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">Raw data</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">Black and white threshold</p></td> 
      </tr> 
      <tr> 
       <td rowspan="4" class="custom-bottom-td custom-top-td acenter"><p style="text-align:center">AUC</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">CNN</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">80</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">78</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">85</p></td> 
      </tr> 
      <tr> 
       <td class="acenter"><p style="text-align:center">Autoencoder</p></td> 
       <td class="acenter"><p style="text-align:center">65</p></td> 
       <td class="acenter"><p style="text-align:center">66</p></td> 
       <td class="acenter"><p style="text-align:center">75</p></td> 
      </tr> 
      <tr> 
       <td class="acenter"><p style="text-align:center">oBIFs + NN</p></td> 
       <td class="acenter"><p style="text-align:center">65</p></td> 
       <td class="acenter"><p style="text-align:center">69</p></td> 
       <td class="acenter"><p style="text-align:center">84</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">oBIFs + RF</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">63</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">63</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">79</p></td> 
      </tr> 
      <tr> 
       <td rowspan="4" class="custom-bottom-td custom-top-td acenter"><p style="text-align:center">FPR@90%TPR</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">CNN</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">46</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">46</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">37</p></td> 
      </tr> 
      <tr> 
       <td class="acenter"><p style="text-align:center">Autoencoder</p></td> 
       <td class="acenter"><p style="text-align:center">66</p></td> 
       <td class="acenter"><p style="text-align:center">69</p></td> 
       <td class="acenter"><p style="text-align:center">70</p></td> 
      </tr> 
      <tr> 
       <td class="acenter"><p style="text-align:center">oBIFs + NN</p></td> 
       <td class="acenter"><p style="text-align:center">71</p></td> 
       <td class="acenter"><p style="text-align:center">75</p></td> 
       <td class="acenter"><p style="text-align:center">40</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">oBIFs + RF</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">91</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">88</p></td> 
       <td class="custom-bottom-td acenter"><p style="text-align:center">56</p></td> 
      </tr> 
      <tr> 
       <td rowspan="4" class="custom-top-td acenter"><p style="text-align:center">F1-Score</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">CNN</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">86</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">83</p></td> 
       <td class="custom-top-td acenter"><p style="text-align:center">87</p></td> 
      </tr> 
      <tr> 
       <td class="acenter"><p style="text-align:center">Autoencoder</p></td> 
       <td class="acenter"><p style="text-align:center">40</p></td> 
       <td class="acenter"><p style="text-align:center">43</p></td> 
       <td class="acenter"><p style="text-align:center">55</p></td> 
      </tr> 
      <tr> 
       <td class="acenter"><p style="text-align:center">oBIFs + NN</p></td> 
       <td class="acenter"><p style="text-align:center">36</p></td> 
       <td class="acenter"><p style="text-align:center">32</p></td> 
       <td class="acenter"><p style="text-align:center">63</p></td> 
      </tr> 
      <tr> 
       <td class="acenter"><p style="text-align:center">oBIFs + RF</p></td> 
       <td class="acenter"><p style="text-align:center">34</p></td> 
       <td class="acenter"><p style="text-align:center">42</p></td> 
       <td class="acenter"><p style="text-align:center">58</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>
     <xref ref-type="table" rid="table2">
      Table 2
     </xref> shows the performance metrics on the parcel dataset, illustrating generally lower performance for all techniques. This can be explained by the greater variety of metal objects contained in courier parcels, compared to objects contained in an airport carry-on bag. Again, the CNN outperformed the other methods considered, with an AUC ranging from 78% to 85%, followed by the NN with 65% to 84%, the RF with 63% to 79%, and the stacked autoencoders with 65% to 75%. The AUC obtained on the parcel dataset by the shallow NN, the RF, and the stacked autoencoders is much closer to that obtained on the baggage dataset, where the best-performing method stands out more.</p>
    <p>Once again, the CNN achieved the lowest FPR (37%), followed by the shallow NN with 40% FPR, the RF with 56% FPR, and the stacked autoencoders with 70% FPR. Finally, the F1 score measure produced the largest difference in values between the methods, with the CNN reaching up to 87% F1 score, followed by the shallow NN with 63%, the RF with 58%, and the stacked autoencoders with 55%. Moreover, in this case, the CNN was the only technique able to classify threats with high accuracy, using only raw images, where all other techniques performed very poorly (e.g., the AUC on raw data for the CNN was 15 percentage points better than the NN, while maintaining similar performance on the black and white threshold; 20 percentage points better in the FPR@90% TPR compared to the second best (Autoencoder); and even 46 percentage points better than the Autoencoder for the F1 score).</p>
   </sec>
  </sec><sec id="s4">
   <title>4. Conclusions</title>
   <p>In this study, a deep learning framework was developed to automatically identify steel barrel bores in X-ray images, particularly in the context of airport security checks and parcel inspections. Two deep learning methods (convolutional neural networks, CNNs, and stacked autoencoders) were compared, along with two classical classification techniques (shallow neural networks and random forests) on luggage and parcel datasets.</p>
   <p>The performance of the methods was evaluated using three metrics: area under the ROC curve (AUC), false positive rate at 90% true positives (FPR@90%TPR), and F1 score. The results showed that the CNN consistently outperformed the other techniques on all three metrics and both datasets, achieving good accuracy even with raw data, while the other methods required preprocessing steps.</p>
   <p>Additionally, the CNN achieved higher accuracy than human screening results in the literature, although the datasets were not peer-reviewed. Future work will aim to explore different architectures for the CNN and stacked autoencoders, using larger datasets to further expand on these initial results.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.138037-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Michel, S., Koller, S.M., de Ruiter, J.C., Moerland, R., Hogervorst, M. and Schwaninger, A. (2007) Computer-Based Training Increases Efficiency in X-Ray Image Interpretation by Aviation Security Screeners. 2007 41st Annual IEEE International Carnahan Conference on Security Technology, Ottawa, 8-11 October 2007, 201-206. &gt;https://doi.org/10.1109/ccst.2007.4373490 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Riffo, V. and Mery, D. (2012) Active X-Ray Testing of Complex Objects. Insight—Non-Destructive Testing and Condition Monitoring, 54, 28-35. &gt;https://doi.org/10.1784/insi.2012.54.1.28 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mery, D., Riffo, V., Zscherpel, U., Mondragón, G., Lillo, I., Zuccar, I., et al. (2015) Gdxray: The Database of X-Ray Images for Nondestructive Testing. Journal of Nondestructive Evaluation, 34, 1-12. &gt;https://doi.org/10.1007/s10921-015-0315-7 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mery, D., Riffo, V., Zuccar, I. and Pieringer, C. (2013) Automated X-Ray Object Recognition Using an Efficient Search Algorithm in Multiple Views. 2013 IEEE Conference on Computer Vision and Pattern Recognition Workshops, Portland, 23-28 June 2013, 368-374. &gt;https://doi.org/10.1109/cvprw.2013.62 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Flitton, G., Mouton, A. and Breckon, T.P. (2015) Object Classification in 3D Baggage Security Computed Tomography Imagery Using Visual Codebooks. Pattern Recognition, 48, 2489-2499. &gt;https://doi.org/10.1016/j.patcog.2015.02.006 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Jaccard, N., Rogers, T.W., Morton, E.J. and Griffin, L.D. (2016) Tackling the X-Ray Cargo Inspection Challenge Using Machine Learning. SPIE Proceedings, Baltimore, 12 May 2016, 131-143. &gt;https://doi.org/10.1117/12.2222765 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rogers, T.W., Jaccard, N. and Griffin, L.D. (2017) A Deep Learning Framework for the Automated Inspection of Complex Dual-Energy X-Ray Cargo Imagery. SPIE Proceedings, Anaheim, 1 May 2017. &gt;https://doi.org/10.1117/12.2262662 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Li, G. and Yu, Y. (2018) Contrast-Oriented Deep Neural Networks for Salient Object Detection. IEEE Transactions on Neural Networks and Learning Systems, 29, 6038-6051. &gt;https://doi.org/10.1109/tnnls.2018.2817540 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Shen, Y., Ji, R., Wang, C., Li, X. and Li, X. (2018) Weakly Supervised Object Detection via Object-Specific Pixel Gradient. IEEE Transactions on Neural Networks and Learning Systems, 29, 5960-5970. &gt;https://doi.org/10.1109/tnnls.2018.2816021 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bastan, M., Byeon, W. and Breuel, T. (2013) Object Recognition in Multi-View Dual Energy X-Ray Images. Proceedings of the British Machine Vision Conference 2013, Bristol, 9-13 September 2013, 1-11. 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zhang, C., Tan, K.C., Li, H. and Hong, G.S. (2019) A Cost-Sensitive Deep Belief Network for Imbalanced Classification. IEEE Transactions on Neural Networks and Learning Systems, 30, 109-122. &gt;https://doi.org/10.1109/tnnls.2018.2832648 
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Zhao, Z.-Q., Zheng, P., Xu, S.-T. and Wu, X. (2019) Object Detection with Deep Learning: A Review. IEEE Transactions on Neural Networks and Learning Systems, 30, 1-21.
    </mixed-citation>
   </ref>
   <ref id="scirp.138037-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kang, Y., Chen, S., Wang, X. and Cao, Y. (2019) Deep Convolutional Identifier for Dynamic Modeling and Adaptive Control of Unmanned Helicopter. IEEE Transactions on Neural Networks and Learning Systems, 30, 524-538. &gt;https://doi.org/10.1109/tnnls.2018.2844173
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>