<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Robot. AI</journal-id>
<journal-title>Frontiers in Robotics and AI</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Robot. AI</abbrev-journal-title>
<issn pub-type="epub">2296-9144</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">982131</article-id>
<article-id pub-id-type="doi">10.3389/frobt.2022.982131</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Robotics and AI</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Occluded object detection and exposure in cluttered environments with automated hyperspectral anomaly detection</article-title>
<alt-title alt-title-type="left-running-head">Hanson et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/frobt.2022.982131">10.3389/frobt.2022.982131</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Hanson</surname>
<given-names>Nathaniel</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1608291/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Lvov</surname>
<given-names>Gary</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1961019/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Padir</surname>
<given-names>Ta&#x15f;k&#x131;n</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1126653/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Institute for Experiential Robotics</institution>, <institution>Northeastern University</institution>, <addr-line>Boston</addr-line>, <addr-line>MA</addr-line>, <country>United States</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Electrical and Computer Engineering</institution>, <institution>Northeastern University</institution>, <addr-line>Boston</addr-line>, <addr-line>MA</addr-line>, <country>United States</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1202836/overview">Peng Wang</ext-link>, Institute of Automation (CAS), China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/971427/overview">Nikos Mavrakis</ext-link>, NASA Jet Propulsion Laboratory (JPL), United States</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1810064/overview">Ruiheng Zhang</ext-link>, Beijing Institute of Technology, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Nathaniel Hanson, <email>hanson.n@northeastern.edu</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Robot and Machine Vision, a section of the journal Frontiers in Robotics and AI</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>14</day>
<month>10</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>9</volume>
<elocation-id>982131</elocation-id>
<history>
<date date-type="received">
<day>30</day>
<month>06</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>26</day>
<month>09</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Hanson, Lvov and Padir.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Hanson, Lvov and Padir</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Cluttered environments with partial object occlusions pose significant challenges to robot manipulation. In settings composed of one dominant object type and various undesirable contaminants, occlusions make it difficult to both recognize and isolate undesirable objects. Spatial features alone are not always sufficiently distinct to reliably identify anomalies under multiple layers of clutter, with only a fractional part of the object exposed. We create a multi-modal data representation of cluttered object scenes pairing depth data with a registered hyperspectral data cube. Hyperspectral imaging provides pixel-wise Visible Near-Infrared (VNIR) reflectance spectral curves which are invariant in similar material types. Spectral reflectance data is grounded in the chemical-physical properties of an object, making spectral curves an excellent modality to differentiate inter-class material types. Our approach proposes a new automated method to perform hyperspectral anomaly detection in cluttered workspaces with the goal of improving robot manipulation. We first assume the dominance of a single material class, and coarsely identify the dominant, non-anomalous class. Next these labels are used to train an unsupervised autoencoder to identify anomalous pixels through reconstruction error. To tie our anomaly detection to robot actions, we then apply a set of heuristically-evaluated motion primitives to perturb and further expose local areas containing anomalies. The utility of this approach is demonstrated in numerous cluttered environments including organic and inorganic materials. In each of our four constructed scenarios, our proposed anomaly detection method is able to consistently increase the exposed surface area of anomalies. Our work advances robot perception for cluttered environments by incorporating multi-modal anomaly detection aided by hyperspectral sensing into detecting fractional object presence without need for laboriously curated labels.</p>
</abstract>
<kwd-group>
<kwd>cluttered environment</kwd>
<kwd>hyperspectral imaging</kwd>
<kwd>multi-modal scene segmentation</kwd>
<kwd>system architecture</kwd>
<kwd>automated machine learning</kwd>
</kwd-group>
<contract-sponsor id="cn001">National Science Foundation<named-content content-type="fundref-id">10.13039/100000001</named-content>
</contract-sponsor>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>In environments filled with unorganized objects, detecting items that do not belong is a significant problem in robot manipulation with numerous applications. For example, in food processing, it is advantageous to detect foreign objects from conveyor belts full of items that are safe for consumption. Within a domestic setting, a similar problem class arises within the mundane task of doing laundry; separating machine washable clothes from those that are not. Such tasks are monotonous and repetitive, thus making them perfect candidates for robots. Prior work has focused on specialized object classification models to address this problem <xref ref-type="bibr" rid="B3">Barnab&#xe9; et al. (2015)</xref>; <xref ref-type="bibr" rid="B9">Erickson et al. (2019)</xref>; <xref ref-type="bibr" rid="B19">Ku et al. (2021)</xref>; <xref ref-type="bibr" rid="B21">Kwak et al. (2021)</xref>. However, application specific solutions can become resource intensive in data acquisition, labeling, and tuning. A generalized approach has the potential to significantly reduce the time needed to train and deploy new machine learning models.</p>
<p>Automation research is commonly predicated on scenarios where robots are presented with easily separable items. The assumption of separability aids in the demonstration of other capabilities like grasp selection; nonetheless, it may not necessarily be indicative of environments encountered in the field. Real world environments rarely reflect an easily separable ordering, where objects can be easily segmented without any occlusions. Such organization presupposes an unrealistic tendency towards order, instead of disorder. To become pervasive assistant, robots must learn to contend with the clutter.</p>
<p>Prior approaches to anomaly detection within clutter have focused on using standard Red Blue Green (RGB) camera images to segment scenes <xref ref-type="bibr" rid="B44">Zeng et al. (2018a)</xref>; <xref ref-type="bibr" rid="B45">Zeng et al. (2018b)</xref>; <xref ref-type="bibr" rid="B4">Bejjani et al. (2019)</xref>. However, a generalized solution would ideally be able to effectively differentiate between objects that are similar in appearance but different in underlying chemical-physical properties. At a glance, a slightly spoiled fruit may look the same as a ripe one. Discerning such visually minute differences solely from RGB data would be insufficient. Another potential drawback of RGB data is its lack of robustness to lighting changes. This deficiency can be further exacerbated by optical effects such as specular reflections or shadows. Furthermore, state of the art methods that use Convolutional Neural Networks (CNN) for anomaly detection require thousands <xref ref-type="bibr" rid="B35">Shahinfar et al. (2020)</xref> of manually labeled images to form appropriately sized training sets. Image augmentation <xref ref-type="bibr" rid="B36">Shorten and Khoshgoftaar (2019)</xref> may be used to reduce the amount of images required for training and testing a deep network, but these supervised solutions require the intervention of a human-expert to tailor labels to the present scenario, which can be impractical.</p>
<p>To simultaneously address both the weaknesses of RGB data and to circumvent the intensive process of creating a labeled dataset, we leveraged Hyperspectral Imaging (HSI). HSI captures additional wavelength information about the environment, with the size of data obtained from the sensor being orders larger than RGB data. HSI outputs a three-dimensional datacube with reflectance measurements at multiple wavelengths of light spanning the Visible to the Near Infrared (VNIR) spectrum. Each pixel in the hyperspectral datacube, has multiple discrete wavelength values, indicating what proportion of light was reflected at that specific wavelength. Across the spectrum, these values vary as a function of the material type. These spectral signatures involve no contact with the objects, and are able to effectively characterize objects that to RGB cameras appear indistinguishable.</p>
<p>In this work, we first fuse RGB-Depth data with HSI data. By interpreting this data with clustering methods, we are able to autonomously create a binary classification map where the two labels are objects that belong to the pure class and objects that are anomalous. This process is conducted with the assumption that there is a preponderance of one desired material. Using this binary classification map, a coarse initial classification is employed to train an autoencoder (AE) for locating anomalous regions. Our results show that a simple clustering model is sufficient to train the relatively complex AE model, with the AE being able to more effectively classify anomalies than the simple cluster approach. Our framework requires no prior knowledge of the scene other than an assumption of a majority of one desired material.</p>
<p>Since the RGB and hyperspectral data are annotated with depth information, this facilitates the determination of the cartesian coordinates of potentially anomalous regions. As a practical demonstration, we deploy a robot manipulator to uncover clutter in the scene. We use the manipulator to push items to enable grasping and picking objects in densely packed environments. Our approach selects the optimal motion primitive which minimizes the perturbed amount of clutter, to highlight the ability of our detector to select meaningful anomalies in the environment. To the authors&#x2019; best knowledge, this is the first time a generalized hyperspectral and RGB-Depth anomaly detection framework has been developed and demonstrated on dynamically generated datasets.</p>
<p>The key contributions of this work are:<list list-type="simple">
<list-item>
<p>1. An algorithm to align and register multiple high-dimensional hyperspectral data cubes to RGB-Depth data.</p>
</list-item>
<list-item>
<p>2. A method for clustering of registered RGB-Depth-HSI fused data to create a coarse initial binary classification map.</p>
</list-item>
<list-item>
<p>3. A near-realtime training method to train a more complex autoencoder from the initial binary classification map without human intervention.</p>
</list-item>
<list-item>
<p>4. Identification and evaluation of heuristic-driven optimal motion primitives to uncover anomalies.</p>
</list-item>
</list>
</p>
<p>This paper is organized as follows. In <xref ref-type="sec" rid="s2">Section 2</xref> we discuss the current state of the art in hyperspectral and multi-modal anomaly detection with applications in robot perception. Our design for a multi-modal sensing array and robot workcell is presented in <xref ref-type="sec" rid="s3">Section 3</xref>. <xref ref-type="sec" rid="s4">Section 4</xref> details the feature matching approach used to register a hyperspectral datacube to a 3D point cloud. <xref ref-type="sec" rid="s5">Section 5</xref> outlines our novel approach to use the fused data product to effectively identify anomalies in a cluttered environment and their associated confidence levels. <xref ref-type="sec" rid="s6">Section 6</xref> discusses the motion planning to generate and evaluate candidate paths to perturb piles in a cluttered environment. <xref ref-type="sec" rid="s7">Section 7</xref> documents the sample scenarios used to demonstrate our approach. Our results are detailed and discussed in <xref ref-type="sec" rid="s9">Sections 8, 9</xref>, respectively. Finally we summarize the key experimental results and discuss future opportunities to extend our work in <xref ref-type="sec" rid="s10">Section 10</xref>.</p>
</sec>
<sec id="s2">
<title>2 Prior work</title>
<p>Data-driven approaches to anomaly detection are not without their challenges. Increasing the number and types of sensors available to robots naturally increases the amount of data processed to make an inference at every time step. Correlating data acquired from different sensors, at different acquisition rates can also prove challenging. Moreover, each sensing modality has its own particular failure modes, and instances where failure rates or noise will be proportionally larger. For example, long wave infrared sensing is marked by poor texture resolution and highly uniform surfaces <xref ref-type="bibr" rid="B46">Zhang et al. (2021)</xref>. Hyperspectral imaging is also dependent on adequate active illumination, and sufferers from slow acquisition times when compared to RGB cameras. While RGB cameras are rich in texture and resolution, their spectral resolution is fractional compared to HSI. In many robotics problems, sensors ultimately drive the capabilities, and limitations of the robot&#x2019;s operations. Multi-resource anomaly detection requires the additional challenge of extracting meaningful features from each type of sensor, and developing frameworks to coalesce individual sensor features into a common operating picture.</p>
<sec id="s2-1">
<title>2.1 Anomaly detection and tracking</title>
<p>Hyperspectral imaging originated as an airborne remote sensing technology with very coarse resolution. Therefore, great emphasis has been placed on per-pixel and sub-pixel anomaly detection. <xref ref-type="bibr" rid="B33">Reed and Yu (1990)</xref> first introduced a statistics based approach, by creating the popular Reed-Xiaoli (RX) algorithm, often used as a benchmark against novel approaches for anomaly detection. The RX algorithm assumes a multivariate Gaussian distribution of the background scene, performing adaptive constant false alarm rate detection derived from the generalized likelihood ratio test. However, in real world applications, the normal distribution of hyperspectral images is not probable as posited by <xref ref-type="bibr" rid="B28">Matteoli et al. (2010)</xref>. To counteract this drawback, the RX algorithm is often deployed locally with a window such as in <xref ref-type="bibr" rid="B38">Taitano et al. (2010)</xref>, considering a small portion of a larger image that is far more likely to exhibit Gaussianity. <xref ref-type="bibr" rid="B47">Zhao et al. (2015)</xref> consider this local focus in conjunction with a global view, extending previous work to create a real-time detector, that functions on small pixel anomalies. An alternative reconstruction is the collaborative-representation-based detector (CRD), developed by <xref ref-type="bibr" rid="B24">Li and Du (2015)</xref>. This method exploits the phenomena that low-resolution anomaly pixels cannot be represented by proximal pixels, in direct contrast to non-anomalous pixels. The CRD method outperforms the RX algorithm <xref ref-type="bibr" rid="B24">Li and Du (2015)</xref>; <xref ref-type="bibr" rid="B37">Su et al. (2022)</xref>, but with exponentially longer runtime.</p>
<p>Deep learning has also gained traction as a form of anomaly detection in hyperspectral images. In <xref ref-type="bibr" rid="B26">Ma et al. (2018)</xref>, the authors proposed an adaptive weight deep belief network that functions as an autoencoder (AE). By attempting encoding, and then reconstructing spectral signatures, the Euclidean distance between the two samples can be used to identify anomalies. <xref ref-type="bibr" rid="B2">Arisoy et al. (2021)</xref> also utilized an autoencoder network in conjunction with a generative adversarial network (GAN) to identify anomalous pixels from their reconstruction error. <xref ref-type="bibr" rid="B43">Xu et al. (2022)</xref> offers a comprehensive review of machine learning based approaches with added emphasis on deep methods. It is important to note that deep learning approaches are often difficult to introspect, creating adversity in troubleshooting and guaranteeing consistent behavior. Each of these prior studies rely on benchmarked, well-studied datasets and hence cannot cope with dynamic scenarios. Finally these algorithms make no claims of real-time performance, nor have they been demonstrated on datasets acquired at a close working distance where anomalies are much larger than a singular pixel.</p>
<p>Outside of pure hyperspectral imaging, other works have proposed the use of infrared wavelengths of light to provide enhanced target detection <xref ref-type="bibr" rid="B46">Zhang et al. (2021)</xref>; <xref ref-type="bibr" rid="B39">Thananjeyan et al. (2022)</xref>. The successful use of extended wavelength information to identify humans and materials in scenes demonstrates the utility of the technique and its applicability to different problem spaces <xref ref-type="bibr" rid="B27">Mao et al. (2022)</xref>.</p>
</sec>
<sec id="s2-2">
<title>2.2 Hyperspectral-point cloud fusion</title>
<p>Hyperspectral data, providing material information, and point clouds, providing geometric information, yield a more complete picture of object function when considered together. Stemming from the 2013 IEEE Geoscience and Remote Sensing Society (GRSS) data fusion contest, HSI and point cloud fusion has become a richly researched field <xref ref-type="bibr" rid="B8">Debes et al. (2014)</xref>. <xref ref-type="bibr" rid="B32">Rasti et al. (2017)</xref> utilized orthogonal total variation component analysis (OTVCA) to fuse the two datasets. Their works also incorporate extinction filters which can rapidly extract spatial features without threshold tuning. <xref ref-type="bibr" rid="B18">Khodadadzadeh et al. (2015)</xref> proposes another method based on morphological attribute profiles (APs) to build extended, reduced-order profiles of the spectral and surface at each pixel. Finally, <xref ref-type="bibr" rid="B7">Chen et al. (2019)</xref> demonstrated a unified system to simultaneously acquire a point cloud and hyperspectral image. The rapidly registered data was shown to be easily segmentable though the use of DBSCAN and manually-curated spatial features <xref ref-type="bibr" rid="B11">Ester et al. (1996)</xref>.</p>
</sec>
<sec id="s2-3">
<title>2.3 Spectroscopy in robots</title>
<p>This research effort builds on our prior experience with spectroscopy for robots. In prior experiments, we designed and implemented a gripper system to acquire recursive estimation models of grasped items as an items was grasped by a parallel-plate gripper <xref ref-type="bibr" rid="B16">Hanson et al. (2022b)</xref>. We have also applied spectroscopy to applications in soft robotics <xref ref-type="bibr" rid="B14">Hanson et al. (2022a)</xref> and mobile robotics <xref ref-type="bibr" rid="B17">Hanson et al. (2022c)</xref>. In these studies we have found spectral signatures to be an extremely explainable metric for understanding abstract material types in the context of robotics.</p>
<p>Other groups have investigated the usage of spectroscopy to aid in household manipulation and tasks <xref ref-type="bibr" rid="B9">Erickson et al. (2019)</xref> and <xref ref-type="bibr" rid="B10">Erickson et al. 2020)</xref>. These studies have focused on the usage of a point-based spectrometer to acquire a single spectral signature to classify the base material of a scanned item prior to manipulation. However such an approach is not optimal as only a small surface area of each item can be scanned, making coverage times for whole spatial scenes intractable in time and power consumption.</p>
<p>Hyperspectral imaging has found widespread acceptance as a tool in machine vision for classification of fruits, waste products, and in many other organic and inorganic items <xref ref-type="bibr" rid="B3">Barnab&#xe9; et al. (2015)</xref>; <xref ref-type="bibr" rid="B19">Ku et al. (2021)</xref>; <xref ref-type="bibr" rid="B21">Kwak et al. (2021)</xref>. These approaches demonstrate the diversity of applications the technology is relevant to, but lack generality to multiple robotic problems. These past works rely heavily on pre-trained, supervised classification models to correctly identify known foreign contaminants or other undesirable object states such as disease, wilt, discoloration. The high accuracy achieved by <xref ref-type="bibr" rid="B40">Vali et al. (2021)</xref> shows encouraging results for most non-linear classifiers to yield high accuracy, but still with the burdensome requirement of curated labels.</p>
</sec>
</sec>
<sec id="s3">
<title>3 System architecture</title>
<p>As a precursor to the algorithm, and technical development, it is necessary to outline the robot testbed and its capabilities. For fuller details on the system design, our prior work offers detailed instructions to replicate the robot workcell. <xref ref-type="bibr" rid="B15">Hanson et al. (2022)</xref>. The full system diagram is annotated in <xref ref-type="fig" rid="F1">Figure 1</xref>.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Test bed architecture used to acquire and register multiple Visible Near-Infrared (VNIR) hyperspectral scans for analysis. Note the axes orientations and workspace size.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g001.tif"/>
</fig>
<sec id="s3-1">
<title>3.1 Robot manipulator</title>
<p>At the core of our setup was a 6 Degree of Freedom (DoF) robot manipulator (Universal Robotics). When operating the arm, we represented the end effector pose with a vector <inline-formula id="inf1">
<mml:math id="m1">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> with the first three elements allocated to the 3D position, <inline-formula id="inf2">
<mml:math id="m2">
<mml:msubsup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, and the latter to a quaternion representation of rotation <inline-formula id="inf3">
<mml:math id="m3">
<mml:msubsup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>4</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>. The base of the robot was established at the origin of the global coordinate frame. The end effector pose, relative to this base frame was determined through a forward kinematic chain. This kinematic modeling was used to both position the arm for capturing multiple images of the workcell scene (<xref ref-type="sec" rid="s4">Section 4</xref>), and planning uncovering motions (<xref ref-type="sec" rid="s7">Section 7</xref>). The robot was controlled through the Robot Operating System (ROS) software interface <italic>via</italic> a Linux PC <xref ref-type="bibr" rid="B31">Quigley et al. (2009)</xref>. The end effector contained a modified finger parallel plate gripper (RobotIQ) with optically clear finger pads, which will be utilized in future research.</p>
</sec>
<sec id="s3-2">
<title>3.2 Perception</title>
<p>On the last link of the robot arm, we mounted two sensors to capture high resolution spatial and spectral information. The first sensor, a Time of Flight (ToF) depth camera (Microsoft). At the nominal operating height of 0.7&#xa0;m above the workcell surface, the ToF camera was estimated to have a systematic spatial error <inline-formula id="inf4">
<mml:math id="m4">
<mml:mo>&#x2264;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> mm, making it perfect for perceiving the presence of small objects in scene <xref ref-type="bibr" rid="B20">Kurillo et al. (2022)</xref>. The camera outputs registered RGB and depth images; the latter of which can easily be projected into 3D space relative to the robot base with the TF package <xref ref-type="bibr" rid="B13">Foote (2013)</xref>. The sensor layout is presented in <xref ref-type="fig" rid="F2">Figure 2</xref>.We co-aligned a VNIR pushbroom hyperspectral camera (Headwall Photonics) with the lens of the ToF camera. Unlike typical RGB image formation which integrates a spatial scene over a single timestep, pushbroom cameras need motion to generate a 2D spatial image. This was achieved by moving the camera and stitching subsequent rows into a singular spatial scene. The exposure time was set to 60&#xa0;ms per line image and the system moves at 0.01&#xa0;m/s.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Sensor array fitted to end effector of manipulator arm, with sensory systems for both scene and in-hand object sensing. <italic>NB</italic>: <italic>Z</italic>-axis is perpendicular, coming out of the page.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g002.tif"/>
</fig>
</sec>
<sec id="s3-3">
<title>3.3 Linear rail</title>
<p>The main robot assembly was mounted to a linear rail (LOPRO) driven by a high precision stepper motor. The rail provided a steady means to move the robot arm at a fixed rate along a linear path in the <italic>y</italic>-axis. This motion is critical to the successful operation of the hyperspectral camera, as the usable rail length (1.0&#xa0;m) exceeded the Cartesian path capabilities of the arm ( &#x2248; 20&#xa0;cm), while maintaining the end effector in a constant orientation. For usage with the hyperspectral camera, the rail was operated at a velocity of 1&#xa0;cm/s. This optimal velocity value was empirically determined by measuring pixel size distortion in the pushbroom image formation process and accounting for the number of detected photons per integration period.</p>
</sec>
<sec id="s3-4">
<title>3.4 Illumination</title>
<p>Good scene illumination is integral to hyperspectral imaging. Normal Light Emitting Diodes nominally cover <inline-formula id="inf5">
<mml:math id="m5">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>20</mml:mn>
<mml:mtext>nm&#x2009;Full&#x2009;Width&#x2009;Half&#x2009;Maximum&#x2009;</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mtext>FWHM</mml:mtext>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> <xref ref-type="bibr" rid="B42">Weik (2001)</xref> wavelength range, making them poor candidates for full scene illumination across the VNIR spectrum. We circumvent a complicated LED lighting display by using overhead mounted Quartz Tungsten Halogen (QTH) work lights. QTH bulbs provide uniform intensity illumination between 350&#x2013;2,500&#xa0;nm and are regularly used in spectroscopy for material interrogation. The lamps are rated at 250&#xa0;Watts and output of 4,000 lumens each. Although the lights do generate a significant amount of heat, that thermal energy is primarily convected upward resulting in only minimal heating of the surface. No heat related compensation is necessary in processing the raw hyperspectral datacube.</p>
</sec>
<sec id="s3-5">
<title>3.5 Computation</title>
<p>A core motivation for this research is anomaly detection algorithms congruent with reasonable computer requirements. All algorithms were developed in Ubuntu 20 on a desktop PC with 32 gigabytes (GB) Random Access Memory (RAM) and 8 processing cores. For training the autoencoder network, we used an NVIDIA GeForce GTX 1070 GPU to expedite training and offload computation from the CPU.</p>
</sec>
</sec>
<sec id="s4">
<title>4 Data registration</title>
<p>A depth image as well as RGB-image of the entire workspace can be obtained from the ToF infrared camera instantaneously from the home position of the arm, with the robot base located at {0,0,0} in the global X,Y,Z coordinate frame. The sensor&#x2019;s field of view allows for the imaging of the entire scene in a single image. In contrast to the ToF camera, the hyperspectral push-broom sensor has a horizontal field of view along the <italic>x</italic>-axis, requiring both linear motions and repositioning of the arm to characterize the entire workspace. For our calibration procedures, we constructed a working environment out of piles of unpainted wooden blocks of varying size and shape, constituting the &#x201c;pure&#x201d; material. We mixed in smaller colored blocks, made of both plastic and wood as anomalies.</p>
<sec id="s4-1">
<title>4.1 Data collection</title>
<p>To collect a scan, the system was initialized with three pre-planned end effector positions covering the top, middle, and bottom sections of the robot workcell. The chosen manipulator&#x2019;s small workspace constrained the coverage to three parallel scans offset by 10&#xa0;cm along the <italic>y</italic>-axis, but the methods presented in this section are generalizable to any number of scans. In each position the hyperspectral camera and ToF camera were aligned so their lenses are perpendicular to the surface plane. Holding this assumption simplifies the data association task by forcing image registration to be dominated by affine transformations. The inverse kinematic planning to each of these position was solved using the Levenberg&#x2013;Marquardt algorithm <xref ref-type="bibr" rid="B23">Levenberg (1944)</xref>. With the joint angles from the solution, the robot was commanded through ROS to move to set overhead scan positions.</p>
<p>In each scan configuration, the linear actuator translated the robot arm and imaging array over the cell contents at a speed of 1&#xa0;cm/s. A preallocated memory buffer was used to read incoming hyperspectral linescans and stack them into a singular image. The speed at this stage was precisely controlled to minimize stretching or compression induced by inconsistent scan speeds. Each image in its raw format is approximately 2.8 gigabytes (GB). After the scan was completed, the image was written to disk to avoid excess storage of data in the system RAM.</p>
</sec>
<sec id="s4-2">
<title>4.2 Image preprocessing</title>
<p>We first preprocess the raw hyperspectral sensor data. Association requires the generation of image features and descriptors. Since preprocessing is particularly challenging due to limited spatial resolution of the hyperspectral camera relative to the RGB camera, we first normalize the hyperspectral image according to the equation presented in <xref ref-type="disp-formula" rid="e1">Eq. 1</xref>. S<sub>raw</sub> is a row from the hyperspectral camera (640 &#xd7; 273 pixels). D<sub>HSI</sub> is the dark sensor reading averaged for each photodetector pixel over 100 lines of acquisition. Normalization allows us to account for sensor noise caused by temperature and system intrinsics. L<sub>HSI</sub> is an averaged sensor reading over a sheet of Spectralon white reference material, which reflects 99% of incident light in the VNIR range <xref ref-type="bibr" rid="B5">Bruegge et al. (1993)</xref>. The Spectralon reference provides and upper limit for what <inline-formula id="inf6">
<mml:math id="m6">
<mml:mo>&#x2248;</mml:mo>
<mml:mn>100</mml:mn>
<mml:mi>%</mml:mi>
</mml:math>
</inline-formula> reflectance looks like for each pixel subject to the current environmental lighting conditions.<disp-formula id="e1">
<mml:math id="m7">
<mml:msub>
<mml:mrow>
<mml:mtext>S</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>cal&#x2009;HSI</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>S</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>raw</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>D</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>HSI</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>L</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>HSI</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>D</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>HSI</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(1)</label>
</disp-formula>
</p>
<p>Next, we select bands constituting reflectance at the peaks of the visible Red, Blue, and Green reflectance as 707.48 nm, 477.27 nm, and 537.04 nm, respectively. Together these images yield an RGB representation of the data cube which is used in feature extraction. This image is then converted to grayscale by averaging the channel intensities together.</p>
<p>The hyperspectral sensor prioritizes spectral over spatial resolution, resulting in degraded borders and fuzzy features which would ordinarily frustrate detection of reliable image features. We first remove image noise by adopting the formulation provided by <xref ref-type="bibr" rid="B6">Buades et al. (2011)</xref>. We assume the measured value of each pixel is represented by <inline-formula id="inf7">
<mml:math id="m8">
<mml:mi>p</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> where <italic>p</italic>
<sub>0</sub> is the true intensity and is subject to zero-mean Gaussian noise. This step importantly removes image speckling which might otherwise create false features in the spectral signatures.</p>
<p>Next we sharpen the image using a convolved window function, following <xref ref-type="disp-formula" rid="e2">Eq. 2</xref>.<disp-formula id="e2">
<mml:math id="m9">
<mml:msub>
<mml:mrow>
<mml:mtext>Img</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>sharp</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mtext>Img</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>original</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mtext>Img</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>original</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="script">G</mml:mi>
<mml:mo>&#x229b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mtext>Img</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>original</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo> &#x2217;</mml:mo>
<mml:mi> &#x3ba;</mml:mi>
</mml:math>
<label>(2)</label>
</disp-formula>
<italic>&#x3ba;</italic> represents the proportional amount of the blurred image difference to remove. <italic>G</italic>
<sub>
<italic>i</italic>
</sub> is a Gaussian filter of set kernel size and width. Finally, we apply Contrast Limited Adaptive Histogram Equalization (CLAHE) which ensures localized contrast areas <xref ref-type="bibr" rid="B48">Zuiderveld (1994)</xref>. This step is not strictly necessary when the image has multiple different objects present but is aids when the scanned surface is relatively homogeneous as CLAHE can emphasize local features that were previously obscured by global image intensity. The individual steps of the image cleaning process are shown in <xref ref-type="fig" rid="F3">Figure 3</xref>.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Image registration with <bold>(A)</bold> Noise filtering, sharpening, and CLAHE applied to each respective image <bold>(B)</bold> Enhanced images stitched together from shared features and homography <bold>(C)</bold> Stitched hyperspectral image warped to directly correspond to the RGB image from shared features, and overlaid for visualization.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g003.tif"/>
</fig>
</sec>
<sec id="s4-3">
<title>4.3 Feature detection and matching</title>
<p>Our process entails the mosaicing of individual image scans to each other, before the registration to the full scene RGB image. Distinct features in all images are determined through using SIFT <xref ref-type="bibr" rid="B25">Lowe (2004)</xref>. We also considered the ORB feature detector <xref ref-type="bibr" rid="B34">Rublee et al. (2011)</xref>, but found the distribution of features across the image was confused by the poor image resolution. The Fast Library for Approximate Nearest Neighbors (FLANN) <xref ref-type="bibr" rid="B29">Muja and Lowe (2014)</xref> is used to identify and score candidate matches between images. Using Lowe&#x2019;s ratio test, we can eliminate ambiguous features matches by considering the L2 norm between both features as source and destination matches <xref ref-type="bibr" rid="B25">Lowe (2004)</xref>. Our usage of SIFT generates 1,000 candidate keypoints in each image, although the number of matches depends on the scene contents. The matched points are assumed to be co-planar, meaning we can warp the two images together with the formula given in <xref ref-type="disp-formula" rid="e3">Eq. 3</xref>. <italic>H</italic> is a 3 &#xd7; 3 homography matrix, <italic>c</italic> is a scale factor, and the two matrices represent pixel coordinates <xref ref-type="fig" rid="F4">Figure 4</xref>.<disp-formula id="e3">
<mml:math id="m10">
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mtable class="matrix">
<mml:mtr>
<mml:mtd columnalign="center">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="center">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="center">
<mml:mn>1</mml:mn>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
<mml:mi>c</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mtable class="matrix">
<mml:mtr>
<mml:mtd columnalign="center">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="center">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="center">
<mml:mn>1</mml:mn>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(3)</label>
</disp-formula>Random Sampling Consensus (RANSAC) <xref ref-type="bibr" rid="B12">Fischler and Bolles (1981)</xref> assists in the estimation of the homography matrix from matched points {<italic>x</italic>
<sub>
<italic>i</italic>
</sub>, <italic>y</italic>
<sub>
<italic>i</italic>
</sub>}, regardless of potential image noise or feature poor feature matches. This step is essential as the image formation process is subject to system noise, causing the length to vary from one scan to the next, typically by &#xb1; 10 pixels.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>The blocks labeled with red highlights showing ground truth regions that should be detected as anomalous and distinct from the background. When using RX as the statistical anomaly detector, the colorized outline scores are shown on the right. The RX outlier detector fails to distinguish anomalous regions from the pure wooden blocks.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g004.tif"/>
</fig>
<p>We start the association with the center image and work outward iteratively registering images to the center mosaic. As we combine images, we calculate an additional translation needed to keep the warped image fully in the bounds of the new image canvas: <italic>H</italic>&#x2032; &#x3d; <italic>H</italic> &#x22c5; <italic>t</italic>, storing the perspective transform of the cumulative hyperspectral image with each added hyperspectral image. The same method is repeated to register the hyperspectral mosaic to the RGB method. We found Gaussian blurring the RGB image yields better matches with the lower-resolution hyperspectral scene. In images with weak features, the fiducial markers <xref ref-type="bibr" rid="B41">Wang and Olson (2016)</xref> on the borders of the scene greatly aid in the successful registration of the image. The homographies determined from comparing the RGB representation datacubes among themselves and the RGB Kinect image are applied to each channel of the hyperspectral datacube. This results in warped and translated datacubes, which are added to the same final canvas, resulting in the a single RGB-D-Hypersectral data representation used in the rest of this work.</p>
<p>This image registration step holds an assumption that the scene held with be largely planar. This is reasonable given that the imaging array is translated linearly above the object surface at a fixed height. The selected objects for use in this study do not exceed a height greater than 10&#xa0;cm above the surface plane. Although we do observed some small distortions around taller objects, the homography can be quickly calculated and results in a 2D representation of the scene, aligned with the Kinetc-generated depth and RGB images. Treating these points as 3D would then require reprojection into a 2D frame for correlation with the Kinetc image, thus further complicating the reconstruction. The final perspective transform results in some spatial data reduction as the hyperspectral scan length, typically 4,000 pixels, exceeds that of the RGB image. The final data product includes three equally sized images: the hyperspectral mosaic, the scene RGB image, and the registered depth image. From the depth image, we are able to generate a point cloud for object manipulation.</p>
</sec>
</sec>
<sec id="s5">
<title>5 Anomaly detector</title>
<p>In order to achieve good unsupervised model results, we make assumptions regarding the composition of the workspace. We assume that the two dominant material abundances will be the background and the pure objects. We also assume the presence of anomalies will never constitute more than one-third of the total visible item surface area in the workspace. The novelty of our approach comes in a two stage detector leveraging both classical clustering techniques, and then an autoencoder network trained in real-time to rapidly identify anomalies.</p>
<sec id="s5-1">
<title>5.1 Clustered anomaly detection</title>
<p>Initially, we attempted to use a global RX detector for anomaly detection. This statistic based approaches considers spectral dissimilarity of pixels relative to the background of the scene. Given a set of pixels, with their full spectrum wavelength values, the RX score for each is calculated following <xref ref-type="disp-formula" rid="e4">Eq. 4</xref>.<disp-formula id="e4">
<mml:math id="m11">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b4;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>RX</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x22ba;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">&#x3a3;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(4)</label>
</disp-formula>
<italic>x</italic> represents the current pixel vector; <italic>&#x3bc;</italic> is the average spectral signature; <italic>N</italic> is the total number of pixels in the image, however, large clusters of anomalous pixels confuse the classical RX global anomaly detector. Following the results of <xref ref-type="bibr" rid="B37">Su et al. (2022)</xref>, we note that local patch-based anomaly detectors, such as CRD and LRX 2 will only further exacerbate runtime problems. In our RX results, we observed very poor detection of the anomalies due to their multiple pixel presence <xref ref-type="fig" rid="F4">Figure 4</xref>.</p>
<p>Therefore, our reformulation of the base detector problem is as follows. We begin by assuming the environment consists of four primary classes: {no-signal, background, base material, anomalies}. No-signal constitutes all regions where there is no co-registered hyperspectral data; background indicates regions where there is hyperspectral data but the dominant signal is the black table mat; base material is the &#x201c;pure&#x201d; material to which all anomalies should be considered; anomalies are all other regions not fitting the three prior descriptors. This presumed decomposition follows the following ranking of cardinality: &#x7c;anomalies&#x7c; &#x2264; &#x7c;base material&#x7c; &#x2264; &#x7c;background&#x7c; &#x2264; &#x7c;no-signal&#x7c;.</p>
<p>Simple heuristics here can guide the selection of candidate regions for these classes. Visual reference for the following procedure is given in <xref ref-type="fig" rid="F5">Figure 5</xref>. First, we decompose the <italic>x</italic>, <italic>y</italic>, <italic>&#x3bb;</italic> datacube into a 2D representation <italic>x</italic>&#x2a;<italic>y</italic>, <italic>&#x3bb;</italic>. Next, we consider datacube&#x2019;s wavelength channel is often redundant and not fully necessary to explain the total variance in the image. Minimum Noise Fraction (MNF), also known as noise-adjusted Principal Components Analysis (PCA) is used to perform a change of basis and reduce the wavelength channel dimensionality <xref ref-type="bibr" rid="B22">Lee et al. (1990)</xref>. We heuristically selected 10 components as the number of components to retain, as this exceeds the number of expected classes by a factor of 2.5. Here we apply mini batch <italic>k</italic>-means clustering to segment the scene into four regions. Prior dimensionality reduction provides the added benefit of faster cluster convergence, as the number of features needing comparison decreases by an order of magnitude through MNF. The number of pixels belonging to each class is counted, and the size-ordered regions are given the initial labels following the previously discussed ranking. Visual inspection of <xref ref-type="fig" rid="F6">Figure 6B</xref> reveals adequate clustering the background and no-signal, and base material classes, but generally poor performance within the anomaly class. As long as the base material is still accurately dominated by the true base material, erroneously assigned pixels in anomalous regions will not significantly impact the final classification.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>The data segmentation pipeline showing the flow of data during the initial segmentation.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g005.tif"/>
</fig>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>The process of cautiously creating definitively pure data to train the AE is as follows: First, superpixeling is used to split the RGB image into characteristic regions <bold>(A)</bold>. k-means segmentation in abundance classes from the hyperspectral datacube is applied to segment the associated RGB-HSI data into four clusters <bold>(B)</bold>. The dominant cluster within each superpixel, biased to favor potentially anomalous regions, is identified <bold>(C)</bold>. This information is then used to create a binary classification map, with the two labels being pure regions and potentially anomalous regions, the latter of which is excluded in the autoencoder training process <bold>(D)</bold>.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g006.tif"/>
</fig>
</sec>
<sec id="s5-2">
<title>5.2 Superpixel region creation and evaluation</title>
<p>As a result of <italic>k</italic>-means considering pixels in isolation, pixels lose out on surrounding neighborhood information. Isolated pixels may be erroneously assigned to the wrong initial class, thus skewing the correct assignment of the data. To regain spatial information and avoid erroneous pixels, the overhead RGB image of the workspace obtained from the Kinect ToF camera is decomposed into multi-pixel regions called superpixels. Superpixeling creates indicative pixel conglomerates to analyze for anomalies calculated through clustering which is simpler than evaluating each pixel for anomalies on an individual basis. We empirically determined 1,000 superpixels was a sufficient number given the size of the composite image. Superpixels under this strategy generally consist of 3,800 pixels, with an average spatial dimension of 3&#xa0;cm &#xd7; 3&#xa0;cm. Our implementation uses Simple Linear Iterative Clustering (SLIC) <xref ref-type="bibr" rid="B1">Achanta et al. (2010)</xref>, which converts images to the CIELAB color space before iteratively updating cluster centers. The distance function for determining cluster centers is enumerated as:<disp-formula id="equ1">
<mml:math id="m12">
<mml:mtable class="array">
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msqrt>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msqrt>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>total</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mi>S</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<italic>l</italic>, <italic>a</italic>, <italic>b</italic>, are values from the LAB color space conversion; <italic>x</italic>, and <italic>y</italic> are pixel coordinates, <italic>S</italic> is the average desired size of superpixels, in number of pixels, and <italic>m</italic> is a scale factor for the relative importance of color and spatial distance factors. This approach comes with the consequential assumption that superpixels will have relatively homogeneous visible color values. This assumption minimizes the time needed to generate regions of reasonable purity, using a subset of the hyperspectral camera range. We avoid overvaluing the contributions of color by favoring <italic>d</italic>
<sub>
<italic>s</italic>
</sub> by a factor of 10. Implementing a similar SLIC algorithm on the HSI data cube would include a distance function over 91 times more data per image pixel. <xref ref-type="fig" rid="F6">Figure 6A</xref> shows the distribution of superpixels in a sample image scene.</p>
<p>For each superpixel, we count the constituent class members, understanding the superpixels might contain several regions. Using majority voting biased towards anomalies we then reclassify each pixel as &#x201c;pure&#x201d; or &#x201c;impure&#x201d; according to the following binary classification rule:<disp-formula id="equ2">
<mml:math id="m13">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mtext mathvariant="italic">argmax</mml:mtext>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0.80</mml:mn>
<mml:mo> &#x2217;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mtext>no</mml:mtext>
<mml:mo>-</mml:mo>
<mml:mtext>signal</mml:mtext>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>&#x2b;</mml:mo>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mtext>background</mml:mtext>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>&#x2b;</mml:mo>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mtext>base&#x2009;material</mml:mtext>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mtext>anomalies</mml:mtext>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:math>
</disp-formula>where <inline-formula id="inf8">
<mml:math id="m14">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is the predicted class. The value 0.80 is an empirically determined constant that diminishes the weighting of non-anomalous pixels in the superpixel. This calculation is enabled through the aforementioned one-to-one mapping of stitched hyperspectral images to the RGB image using homography, where each pixel&#x2019;s location is the same across hyperspectral and RGB images. <xref ref-type="fig" rid="F6">Figures 6C,D</xref> show the majority voting and application of the binary classification rule. Weighted majority voting prevents the accidental inclusion of anomalies in the training of the autoencoder, detailed in the subsequent section.</p>
</sec>
<sec id="s5-3">
<title>5.3 Autoencoder</title>
<p>The <italic>k</italic>-means method constitutes a weak learner since it leverages assumptions and heuristics to create general separability in the scene data. The method is also designed to avoid overfitting description of the data. Namely, the classification rule for pure vs. impure is intentionally biased to avoid regions with potential impurity. The next stage in our detector pipeline uses an unsupervised autoencoder to provide per pixel scoring of anomalies in the environment.</p>
<p>The autoencoder works on a simple principle: by learning a low-dimension representation of the data (encoding), and then reconstructing the signal (decoding), the error in reconstruction can be used to assess the presence of anomalies. Because the encoding layers in the network are fully-connected, the latent space representation is a non-linear combination of the individual features of the input spectral signature. This contrasts with other dimensionality reduction techniques like Principal Components Analysis (PCA) or Non-negative Matrix Factorization (NMF) which provide a strictly linear combination of the input features.Formally we define the structure for our network:<disp-formula id="equ3">
<mml:math id="m15">
<mml:mtable class="align-star" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi mathvariant="script">X</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mi mathvariant="script">X</mml:mi>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mi>argmin</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c8;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mi mathvariant="script">X</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>&#x2218;</mml:mo>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mi mathvariant="script">X</mml:mi>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">&#x2016;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>where <inline-formula id="inf9">
<mml:math id="m16">
<mml:mi mathvariant="script">X</mml:mi>
</mml:math>
</inline-formula> is the input signal such that <inline-formula id="inf10">
<mml:math id="m17">
<mml:mi>x</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>273</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, and <inline-formula id="inf11">
<mml:math id="m18">
<mml:mi mathvariant="script">S</mml:mi>
</mml:math>
</inline-formula> is the latent space given that <inline-formula id="inf12">
<mml:math id="m19">
<mml:mtext>dim</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3c;</mml:mo>
<mml:mtext>dim</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="script">X</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. <italic>&#x3d5;</italic> is the encoder network, and <italic>&#x3c8;</italic> is the decoder network. When trained, we use a mean-squared loss function to construct the network weights of the encoder and decoder.</p>
<p>The pure regions of high certainty from the hyperspectral image are used as training input for the autoencoder. The encoder network decreases the data size from a 273 unit vector to a 20 unit vector. The network was implemented in Python using TensorFlow. The network consisted of fully-connected layers followed by a Rectified Linear Unit (ReLU) <xref ref-type="bibr" rid="B30">Nair and Hinton (2010)</xref>. The network architecture is illustrated in <xref ref-type="fig" rid="F7">Figure 7</xref> The model was trained for 20 epochs and utilized early stopping to exit model training in situations where the model failed to improve after five consecutive epochs. Using the compute setup detailed in <xref ref-type="sec" rid="s3-5">Section 3.5</xref> each epoch takes an average of 3&#xa0;min to train, and 10&#xa0;s to evaluate on the full datacube. After training the model weights are saved for later reuse in model evaluation on similar datasets. Although this network is shallow, the reduction in weights greatly expedites the training time and prevents the network from simply memorizing the existing data. This network is trained immediately following the initial binary segmentation, without tuning by a human operator. This real-time training results in a faster generation of a deployable anomaly detector compared to one that requires copious hyperparameter tuning and expert systems input <xref ref-type="fig" rid="F8">Figure 8</xref>.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Network architecture for fast hyperspectral anomaly detection. The input data is reduced by an order of magnitude in the latent space, before reconstruction into the original dimension.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g007.tif"/>
</fig>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Generation of optimized motion primitive to perturb object clutter. The circle shows the radially generated candidate motion plans. In the situation, the entry and exit points of the plan are modified to prevent collisions with the gripper as it descends into place.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g008.tif"/>
</fig>
<p>Once generated, anomalous pixels are scored by considering the Mean Absolute Error of the reconstruction loss:<disp-formula id="equ4">
<mml:math id="m20">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
</disp-formula>After training, the autoencoder is optimized to perfectly reconstruct spectra of the majority class, which dominated the distribution of training data. Anomalies, which are not particularly abundant, are reconstructed with a high degree of error.</p>
</sec>
</sec>
<sec id="s6">
<title>6 Motion primitives</title>
<p>With the results from the anomaly detection pipeline, the system shifts to focus around motion primitives to disturb the areas where anomalies are located. Grasp selection is another challenging problem in cluttered environment. Selecting the optimal attachment point requires understanding of the 3D structure and segmentation of items from one another. Moreover, grasping with a rigid gripper applies direct force, squeezing items as they are manipulated; potentially damaging deformable items. For these reasons, in this research we constrain our actions to pushing, instead of retrieval actions. Our approach is comparatively gentler and shows good generality to different environments. In executing a push, the two-finger gripper is closed to create a single contact point, providing more precisely controllable impact points than are capable with the open-jaw gripper. Given an anomalous region, we calculate its centroid under the assumption the polygon region is closed and non-intersecting. In this formulation, <italic>x</italic> and <italic>y</italic> represent the vertices of the polygon superpixel.<disp-formula id="equ5">
<mml:math id="m21">
<mml:mtable class="align-star" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
<mml:mi>A</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mi>A</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>From the center point, cartesian paths are generated radially from the center at intervals of <inline-formula id="inf13">
<mml:math id="m22">
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>12</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula> radians between paths. These plans are candidates which are heuristically scored by the volume of the cells they will cross. Intuitively, this means the robot will select the path which disturbs the smallest volume of clutter, and will increase the visible surface are of the occluded objects. The path selection is optimized by minimizing the intersected volume. The volume of the intersected superpixel is numerically estimated using a double trapezoidal integration of the <italic>z</italic>-axis values.<disp-formula id="e5">
<mml:math id="m23">
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>g</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo>&#x222c;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>d</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="-0.17em"/>
<mml:mo>d</mml:mo>
<mml:mi>x</mml:mi>
<mml:mspace width="-0.17em"/>
<mml:mo> d</mml:mo>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(5)</label>
</disp-formula>
<italic>x</italic>, <italic>y</italic> indicates the start of the motion path, and <italic>x</italic>&#x2032;, <italic>y</italic>&#x2032; indicates the end of the path. The summation is conducted over all intersecting cell values, and <italic>d</italic> is the depth values for the <italic>ith</italic> superpixel. If the start position places the gripper above the clutter, then it is further improved by extending the point radially along the same line, until a point with more open space is found. Minimizing the impacted object volume enforces a constraint that motions should directly target the anomaly and its vicinity, rather than perturbing a large path crossing the entirety of the object pile <xref ref-type="fig" rid="F8">Figure 8</xref>.</p>
<p>Upon selecting the optimized motion plan, the pixel coordinates are converted to a world coordinate frame using a pin-hole camera model. The arm first moves to <italic>x</italic>, <italic>y</italic>, <italic>z</italic> &#x2b; offset where the offset is a parameter, set to 10&#xa0;cm for the following experiments. The arm then descends to <italic>x</italic>, <italic>y</italic>, <italic>z</italic> and begins to move in a cartesian path to <italic>x</italic>&#x2032;, <italic>y</italic>&#x2032;, <italic>z</italic>&#x2032;. The arm then returns to the home position, and the cycle repeats itself until the anomalous regions have been depleted.</p>
</sec>
<sec id="s7">
<title>7 Experiments</title>
<p>To validate our modeling approach, we constructed several challenging scenarios for the robot to operate in. Namely each scenario consisted of one predominant object, with variations in size, shape and coloration. Anomalies consisting of reasonably considered debris and detritus were added to the scene. Similarly, these objects also possessed considerable variance in their shape, color, and optical transmission. The specific scenarios consisted of the following setups:<list list-type="simple">
<list-item>
<p>&#x2022; Plain natural wood blocks with painted, color blocks and plastic building block pieces both partially occluded.</p>
</list-item>
<list-item>
<p>&#x2022; Real green vegetation mixed with faux plastic leaves.</p>
</list-item>
<list-item>
<p>&#x2022; Lemons contaminated with small fragments of plastic from a shopping bag.</p>
</list-item>
<list-item>
<p>&#x2022; Real lemons mixed with visually identical fake lemons, and yellow-green limes.</p>
</list-item>
</list>
</p>
<p>These scenarios serve as demonstrations of the algorithms ability to learn anomalies with limited examples. Specifically the mixing of visually indistinguishable real and faux items challenge traditional RGB-based methods.</p>
<p>For each setup, the items were pseudo-randomly distributed on the table, with some manual reordering undertaken to increase the environment complexity. The items were then scanned following the previously delineated procedure and a single normalized hyperspectral datacube was generated. After fitting and applying the unsupervised two-stage anomaly detector to the environment, candidate regions of interest were generated. The three most likely anomalies were selected and minimally disruptive motion primitives to each point were planned. After executing the three motions, the scan process was repeated to generate an after-action hyperspectral datacube. We intentionally limited the number of allowed pushing motions to three to minimize over-perturbing the items. The end-to-end workflow to detect anomalies with the HSI camera is show in detail in <xref ref-type="fig" rid="F9">Figure 9</xref>.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Three stage process for automated anomaly detection and uncovering. The data workflow is separated into three categories: data registration, anomaly modeling, and motion primitives.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g009.tif"/>
</fig>
</sec>
<sec id="s8">
<title>8 Results</title>
<p>In performing our analysis of the effectiveness of the pipeline, we decompose the system into two parts:<list list-type="simple">
<list-item>
<p>&#x2022; Effectiveness of anomaly detector under partial occlusions</p>
</list-item>
<list-item>
<p>&#x2022; Effectiveness of the motion primitives in exposing occluded clutter</p>
</list-item>
</list>
</p>
<sec id="s8-1">
<title>8.1 Anomaly detector</title>
<p>The two-stage anomaly detector was evaluated as followed. After running through the workflow presented in <xref ref-type="fig" rid="F9">Figure 9</xref>, we saved the results collected from the autoencoder, the pixel-wise reconstruction loss, and used prior knowledge of the environment to create polygon labels for the anomalous regions in both the pre and post disturbance scene. Given a pixel <italic>s</italic>, in the data cube <italic>d</italic> the anomaly score is calculated by<disp-formula id="equ6">
<mml:math id="m24">
<mml:mtext>norm</mml:mtext>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:math>
</disp-formula>This formula normalizes the anomaly scores in a range between 0 and 1. The data. Once the normalized value is obtained, the score used in determining final probability of anomaly is given by:<disp-formula id="equ7">
<mml:math id="m25">
<mml:mtext>score</mml:mtext>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mtext>norm</mml:mtext>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
</disp-formula>
</p>
<p>Here <italic>&#x3bc;</italic> represents the mean value of all the normalized data, and <italic>&#x3c3;</italic> is the standard deviations of the normalized values. Essentially, here we treat the likelihood of a pixel being anomalous as the number of standard deviations a pixel is from the mean. These values are used to observe the overall performance of the anomaly detection workflow.</p>
<p>As a metric for quantifying the performance of the system we consider the True Positives (TP), True Negatives (TN), False Positives (FP), and False Negatives (FN). We define TP as considered anomalous material that is correctly identified, TN as &#x201c;pure&#x201d; regions that are correctly identified, FP as pure regions that are incorrectly classified as anomalous, and FN as regions that are anomalous that are identified as pure. These individual categorizations are used to create metrics for the overall performance of the system. Specifically, we calculate the following metrics for each scene:<disp-formula id="equ8">
<mml:math id="m26">
<mml:mtable class="align-star" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mtext>Precision</mml:mtext>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right">
<mml:mtext>Recall</mml:mtext>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
</p>
<p>
<xref ref-type="fig" rid="F10">Figure 10</xref> shows an extracted wavelength channel from the associated, normalized datacube and the associated ground truth information.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Four scenarios showing the pile of clutter after the initial scan, with associated ground truth labels for anomalous items. The end image shows the scene after disruption by three motion primitives, and ground truth shows the labeled anomalies in the scene.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g010.tif"/>
</fig>
</sec>
<sec id="s8-2">
<title>8.2 Motion primitives</title>
<p>For deciding on actionable pixels, we note that single pixels are not strong indications of an anomaly; however, clusters of anomalous pixels within a region are a better marker. For this calculation, we turn to our previous superpixeling strategy to generate small pixel groups. Given a superpixel <italic>p</italic> containing normalized score values, the priority that the region should be perturbed with a pushing motion is given as:<disp-formula id="equ9">
<mml:math id="m27">
<mml:mtext>Priority</mml:mtext>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mover>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x223c;</mml:mo>
</mml:mrow>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
<mml:mi>&#x3c3;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:munderover accentunder="false" accent="false">
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3e;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mo>&#x304;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</disp-formula>The notation <inline-formula id="inf14">
<mml:math id="m28">
<mml:mrow>
<mml:mover>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x223c;</mml:mo>
</mml:mrow>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> indicates the median value of the superpixel and <inline-formula id="inf15">
<mml:math id="m29">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mo>&#x304;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is its mean. We used median in contrast to mean since it avoided situations where a single erroneous pixel would skew the scores for the entire region. <italic>&#x3c3;</italic>(<italic>s</italic>) designates the standard deviation of the superpixel. The calculation is designed to give maximum weight to regions with large standard deviations, indicating a relatively large reconstruction error, and multiple pixels that exceed the mean. The summation prevents sensor noise from the hyperspectral camera, occasionally manifesting in the form of dead pixels, from generating false positives. Our decision rule for detecting anomalous pixels is bound to an outlier detection approach when comparing the score of a single superpixel the collection of superpixels in the entire scene.</p>
<p>Following from the results of the anomaly detector and region prioritization, where the anomalies consistently identified, we utilized a per-pixel count for the true number of visible anomalies. By counting the number of regions identified as anomalous both before and after the application of pushing motions, we can quantify the tangible difference the arm made in exposing occluded clutter. <xref ref-type="table" rid="T1">Table 1</xref> shows the results of the motion primitives and the percent change in the visible surface area of the exposed anomalies.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Change in exposed anomalous pixels before and after application of pushing motions.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Scenario</th>
<th align="center">Pre-motion pixels</th>
<th align="center">Post-motion pixels</th>
<th align="center">Change %</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Lemons &#x2b; Plastic Bags</td>
<td align="char" char=".">576,308</td>
<td align="char" char=".">1,222,574</td>
<td align="char" char=".">112.14</td>
</tr>
<tr>
<td align="left">Real &#x2b; Plastic Leaves</td>
<td align="char" char=".">881,866</td>
<td align="char" char=".">2,009,668</td>
<td align="char" char=".">127.89</td>
</tr>
<tr>
<td align="left">Lemons &#x2b; Fake Lemons/Limes</td>
<td align="char" char=".">383,116</td>
<td align="char" char=".">813,200</td>
<td align="char" char=".">112.26</td>
</tr>
<tr>
<td align="left">Painted &#x2b; Unpainted Blocks</td>
<td align="char" char=".">231,724</td>
<td align="char" char=".">372,970</td>
<td align="char" char=".">60.95</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s8-3">
<title>8.3 Receiver operator/precision-recall curve evaluation</title>
<p>As the anomaly detection algorithm is a variant of an unsupervised classification problem, we characterize our results with a Receiver Operator Curve (ROC) to evaluate the performance of the classifier as the classification threshold is altered. For each of the scenarios, we generate a plot showing the ROC curves as show in <xref ref-type="fig" rid="F11">Figure 11</xref>. The ideal curve here would feature a curve immediately ascending to 1.0 for both the True Positive and False Positive rates, with an Area Under the Curve (AUC) of 1.0. In these graphics, class 0 is the pure material, and class 1 is the anomalous material. The ROC curve for the anomalies quickly ascends to a greater than 90% true positive rate before the false positive rate exceeds 10%. Along with the ROC curves, each scenario also includes an image presenting the reconstruction error for each pixel. The stronger yellow accents indicate a higher reconstruction error and a correspondingly higher probability of constituting an anomalous region <xref ref-type="fig" rid="F12">Figure 12</xref>.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Mean absolute reconstruction error for each of the four environments and their associated Receiver Operator Curve (ROC) for multiple classification thresholds.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g011.tif"/>
</fig>
<fig id="F12" position="float">
<label>FIGURE 12</label>
<caption>
<p>Precision recall curves for each of the scenarios. A consistently high precision score is desirable. A no-skill classifier will lie on the <italic>x</italic>-axis (recall).</p>
</caption>
<graphic xlink:href="frobt-09-982131-g012.tif"/>
</fig>
<p>Although ROC curves are a classically used metric to demonstrate performance in hyperspectral anomaly detection, they can demonstrate skewed performance under situations of high class imbalance. The anomalies represent a fractional portion of the total information visible in the images. Under this imbalanced class distribution, the classifier performance is further evaluated by generating precision-recall (PR) curves. For both the leaves and the lemons, the anomaly classifier exemplifies strong performance as the recall increases. These results demonstrate that the model is able to consistently classify anomalous pixels, even those at lower threshold values. The Blocks and Lemon &#x2b; Plastic Bag scenarios also demonstrate good initial performance, but then begins to fall off as recall increases. This initial spike indicate the highest probability points are correctly classified, while the lower thresholds are likely to be incorrectly classified. Although individual pixel values are important, averaging the probability across the superpixel has the two-fold effect of eliminating noise, and strengthening regions where a multi-pixel anomaly is present. Moreover, by design the robot is programmed to only act on the most probable regions to avoid unnecessary actions. The results in <xref ref-type="sec" rid="s8-2">Section 8.2</xref> further underscore the notion that good performance can be achieved by only executing a few motions on the most likely anomaly points. <xref ref-type="table" rid="T2">Table 2</xref> directly compares the performance of both measures in each of the scenarios.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Anomaly detector performance with the area under the Receiver Operator and Precision Recall Curves.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Scenario</th>
<th align="center">AUC ROC</th>
<th align="center">AUC PR</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Lemons &#x2b; Plastic Bags</td>
<td align="char" char=".">0.97</td>
<td align="char" char=".">0.483</td>
</tr>
<tr>
<td align="left">Real &#x2b; Plastic Leaves</td>
<td align="char" char=".">0.97</td>
<td align="char" char=".">0.842</td>
</tr>
<tr>
<td align="left">Lemons &#x2b; Fake Lemons/Limes</td>
<td align="char" char=".">0.98</td>
<td align="char" char=".">0.718</td>
</tr>
<tr>
<td align="left">Painted &#x2b; Unpainted Blocks</td>
<td align="char" char=".">0.94</td>
<td align="char" char=".">0.413</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s8-4">
<title>8.4 Ablation study</title>
<p>As a further validation of our two stage anomaly detector, we remove the first stage of the pipeline to avoid any of the initial clustering; excluding superpixeling, noise adjusted PCA, and <italic>k</italic>-means segmentation. In this scenario, the autoencoder is trained on the entirety of the registered hyperspectral datacube obtained directly after data registration 4. As a consequence, the autoencoder is given training samples for each of the anomalous pixels, and attempts to reconstruct the sample spectra while minimizing the MSE. <xref ref-type="fig" rid="F13">Figure 13</xref> shows the results of removing the data segmentation from the pipeline. As before, yellow indicates the strong likelihood of a pixel being anomalous. Comparing the results excluding segmentation to those which include segmentation in <xref ref-type="fig" rid="F11">Figure 11</xref>, we see that the non-segmented results are in general noisier. The presence of darker violet indicates a comparatively low reconstruction error. In particular the block, leaves, and lemons environments are all substantially noisier when not segmented as compared to the pipeline which includes segmentation. This observation is also reflected in the ablation precision-recall curves. Each of these three reduced scenarios has a smaller AUC than the pipeline which includes segmentation. This result corresponds to worse classifier performance at every possible decision threshold. From these results, the clustering step functions sufficiently as a noise removal step, allowing the autoencoder to learn a better representation of the dominant class. In the ablation study, the presence of anomalies increases the average noise, even if the anomalies trigger a slightly stronger response than the average pixel.</p>
<fig id="F13" position="float">
<label>FIGURE 13</label>
<caption>
<p>Mean absolute reconstruction error for each of the four environments and their associated precision recall curves conducted for the ablation study.</p>
</caption>
<graphic xlink:href="frobt-09-982131-g013.tif"/>
</fig>
</sec>
</sec>
<sec id="s9">
<title>9 Discussion</title>
<p>The results presented above demonstrate the effectiveness of the system by quickly identifying anomalies without operator intervention. We note that on rare occurrences, a poor initialization of the center of the <italic>k</italic>-means clusters could lead to poor initial segmentation of the trainable data. This segmentation was generally over-conservative, and excludes additional pure regions that ideally could contribute to the model training. Even in the midst of such poor initializations, the autoencoder was able to learn a generally good representation of the non-anomalous class, although the reconstruction error in such situations was generally limited.</p>
<p>In the results for the anomaly detector, we see surprisingly good performance of the detector in identifying other anomalies not considered part of the original clutter. For instance, in the lemons environment, the scan not only detected the partially occluded lemons, but one lemon which had a grocery store sticker on it was also flagged as highly anomalous. Additionally, some of the leaves are connected to woody stems, which peek through the rest of the leaves. Although we did not consider stems as initially part of the anomaly class, their minimal presence and spectral difference from leaves with an abundance of chlorophyll logically follows.</p>
<p>The motion primitives demonstrate impressive improvements in exposing object clutter. In 3 of the 4 scenarios, impurity surface area was increased by over 100%, and in the other scenario (painted blocks) the change in surface area was non-negligible. The approach proved to be generalizable to multiple scenarios and fast to execute. Planning from the time of identification of the target coordinate, to optimization of the pushing trajectory averaged 7&#xa0;s to generate the joint angles needed to achieve the desired motion. As it takes several minutes to acquire a hyperspectral datacube with a pushbroom camera, we reuse the same hyperspectral data in the determination of target regions of interest for all motion primitives. This approach succeeds with items that will not move beyond the point of applied motion, but can cause discrepancies with objects that continue to roll, such as lemons and impact objects not in the gripper path of motion. Pushing also had the effect of creating a greater distribution of the scene anomalies, creating better opportunities for grasping. In <xref ref-type="fig" rid="F10">Figure 10</xref>, the end ground truth images demonstrate a greater distribution of anomalies over the image plane. A wider spread is advantageous for grasp planning, as isolation of the anomalies from the pure items allows the target item to be cleanly grasped with minimized risk of perturbing unnecessary items.</p>
<p>In the ablation study, the lemon &#x2b; plastic bag scenario generates similar results to the two stage pipeline. The AUC in both setups is also similar. This could be a result of the plastic bag pieces being different in both color and material, leading to a greater difference in the mean spectral signatures of the two items. Nonetheless, this observation shows that the two-stage pipeline only improves results, and is able to identify anomalies that are visually similar, which supports the generality of this work.</p>
<p>In future work, we will study the selection of motion primitives and how they are heuristically generated. The formulation we employed in the current scope of work made assumptions regarding the nature of clutter. Specifically, we assumed the objects would be separable with linear motions in the x-y plane. However as the leaf example best demonstrated, the presence of items with large surface areas and contact between items causes difficulty in separation. This fact is further exacerbated when the coefficient of friction is lower between the table and the items than between items. Initial pushing and nudging could be used to create larger visibility of previously occluded items. With an opening into the clutter at least as large as the gripper finger width, the items could then be grasped and removed. Additionally, the UR3e co-robot used in this research has a limited working distance. This constraint limited the number of cluttered points that could be properly addressed to within an area generally beneath the robot. Increasing the size of the robot should ameliorate this concern and enable motion planning to all points in the visible scene. Improving the diversity of motions available to declutter the workspace will increase the versatility and generality of the proposed algorithm.</p>
</sec>
<sec id="s10">
<title>10 Conclusion</title>
<p>In this paper, we present a novel generalizable model to detect and expose partially occluded anomalies in a cluttered scene. Our model does not assume prior semantic knowledge of the scene or the objects contained within, operating on the assumption that the anomalies are the minority of objects in the scene. Our methodology circumvents the intensive process of needing to curate labels for comparable problems solved with purely RGB data. We accomplish this by registering together hyperspectral and RGB-Depth data to create an information rich model of the environment which can be interpreted with magnitudes greater granularity than RGB data. Through feeding an AE definitively pure regions from the registered HSI-RGB-Depth data selected with iterative clustering, we train a more complex generalizable model where anomalies are detected in regions with high reconstructive loss. We found that traditional approaches to detecting anomalies within hyperspectral images either do not work for regions where anomaly sizes are greater than a few pixels, or are prohibitively expensive computationally, taking far too long to run. We found that our approach works well in situations where purely RGB-driven solutions likely would fail, as demonstrated in our experiments where we are able to successfully differentiate plastic fruit from their visually similar real fruit counterparts. With the information obtained from our anomaly detection AE, we are able to uncover potentially occluded anomalies by selecting an optimal plan from our heuristic motion primitives.</p>
<p>Moving forwards, we plan to increase the robustness and speed of our system, as well as to decrease the collection period of the scans. Our pushbroom hyperspectral camera requires several passes to survey a workspace, passes that could be eliminated entirely by a snapshot hyperspectral camera with a reasonable horizontal field of view. We plan to increase the robustness and speed of the scans by optimizing or scheduling our algorithms involved with registering data and creating the pure feed for the AE. This work represents a substantial step towards meaningful integration of robot-centric hyperspectral data into the handling of cluttered environments.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s11">
<title>Data availability statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s12">
<title>Author contributions</title>
<p>GL authored the &#x201c;Data Registration&#x201d; and &#x201c;Prior Work&#x201d; sections, their respective figures, and the pure data selection figure within &#x201c;Anomaly Detection.&#x201d; NH authored the sections &#x201c;System Architecture,&#x201d; &#x201c;Anomaly Detection,&#x201d; &#x201c;Motion Primitives,&#x201d; &#x201c;Experiments,&#x201d; &#x201c;Results&#x201d;, and &#x201c;Discussion&#x201d; and their respective figures. All authors conceptualized the foundations and motivations for the work and iteratively labored to improved it. TP supervised the work.</p>
</sec>
<sec id="s13">
<title>Funding</title>
<p>The authors gratefully acknowledge the support of the National Science Foundation under Award Number 1928654.</p>
</sec>
<ack>
<p>The authors are grateful to Hillel Hochsztein and Jessica Healey for their assistance in 3D printing part mounts. Joseph Berman and Dominik Ritzenhoff helped develop the initial ROS control code for the linear rail. Deniz Erdogmus and Mark Zolotas provided helpful insights into autoencoder network design. The authors would also like to thank Yuri Lvov and Salah Bazzi for their close review of the manuscript and insightful suggestions. The authors are also thankful to the reviewers for useful feedback.</p>
</ack>
<sec sec-type="COI-statement" id="s14">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s15">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Achanta</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Shaji</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Smith</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Lucchi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Fua</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>S&#xfc;sstrunk</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Slic superpixels</article-title>. <comment>Tech. rep.</comment> </citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Arisoy</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Nasrabadi</surname>
<given-names>N. M.</given-names>
</name>
<name>
<surname>Kayabol</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Unsupervised pixel-wise hyperspectral anomaly detection via autoencoding adversarial networks</article-title>. <source>IEEE Geosci. Remote Sens. Lett.</source> <volume>19</volume>, <fpage>1</fpage>&#x2013;<lpage>5</lpage>. <pub-id pub-id-type="doi">10.1109/lgrs.2021.3049711</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Barnab&#xe9;</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Dislaire</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Leroy</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Pirard</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Design and calibration of a two-camera (visible to near-infrared and short-wave infrared) hyperspectral acquisition system for the characterization of metallic alloys from the recycling industry</article-title>. <source>J. Electron. Imaging</source> <volume>24</volume>, <fpage>061115</fpage>. <pub-id pub-id-type="doi">10.1117/1.jei.24.6.061115</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Bejjani</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Dogar</surname>
<given-names>M. R.</given-names>
</name>
<name>
<surname>Leonetti</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Learning physics-based manipulation in clutter: Combining image-based generalization and look-ahead planning</article-title>,&#x201d; in <conf-name>2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>6562</fpage>&#x2013;<lpage>6569</lpage>. </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bruegge</surname>
<given-names>C. J.</given-names>
</name>
<name>
<surname>Stiegman</surname>
<given-names>A. E.</given-names>
</name>
<name>
<surname>Rainen</surname>
<given-names>R. A.</given-names>
</name>
<name>
<surname>Springsteen</surname>
<given-names>A. W.</given-names>
</name>
</person-group> (<year>1993</year>). <article-title>Use of spectralon as a diffuse reflectance standard for in-flight calibration of earth-orbiting sensors</article-title>. <source>Opt. Eng.</source> <volume>32</volume>, <fpage>805</fpage>&#x2013;<lpage>814</lpage>. <pub-id pub-id-type="doi">10.1117/12.132373</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Buades</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Coll</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Morel</surname>
<given-names>J.-M.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Non-local means denoising</article-title>. <source>Image Process. Line</source> <volume>1</volume>, <fpage>208</fpage>&#x2013;<lpage>212</lpage>. <pub-id pub-id-type="doi">10.5201/ipol.2011.bcm_nlm</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Gong</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Du</surname>
<given-names>L.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>Hyperspectral lidar point cloud segmentation based on geometric and spectral information</article-title>. <source>Opt. Express</source> <volume>27</volume>, <fpage>24043</fpage>. <pub-id pub-id-type="doi">10.1364/OE.27.024043</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Debes</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Merentitis</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Heremans</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Hahn</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Frangiadakis</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>van Kasteren</surname>
<given-names>T.</given-names>
</name>
<etal/>
</person-group> (<year>2014</year>). <article-title>Hyperspectral and lidar data fusion: Outcome of the 2013 grss data fusion contest</article-title>. <source>IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens.</source> <volume>7</volume>, <fpage>2405</fpage>&#x2013;<lpage>2418</lpage>. <pub-id pub-id-type="doi">10.1109/jstars.2014.2305441</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Erickson</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Luskey</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Chernova</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Kemp</surname>
<given-names>C. C.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Classification of household materials via spectroscopy</article-title>. <source>IEEE Robot. Autom. Lett.</source> <volume>4</volume>, <fpage>700</fpage>&#x2013;<lpage>707</lpage>. <pub-id pub-id-type="doi">10.1109/lra.2019.2892593</pub-id> </citation>
</ref>
<ref id="B10">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Erickson</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Xing</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Srirangam</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Chernova</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Kemp</surname>
<given-names>C. C.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Multimodal material classification for robots using spectroscopy and high resolution texture imaging</article-title>,&#x201d; in <conf-name>2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>10452</fpage>&#x2013;<lpage>10459</lpage>. </citation>
</ref>
<ref id="B11">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Ester</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kriegel</surname>
<given-names>H.-P.</given-names>
</name>
<name>
<surname>Sander</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>1996</year>). &#x201c;<article-title>A density-based algorithm for discovering clusters in large spatial databases with noise</article-title>,&#x201d; in <conf-name>KDD-96 Proceedings</conf-name>, <fpage>226</fpage>&#x2013;<lpage>231</lpage>. </citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fischler</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Bolles</surname>
<given-names>R. C.</given-names>
</name>
</person-group> (<year>1981</year>). <article-title>Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography</article-title>. <source>Commun. ACM</source> <volume>24</volume>, <fpage>381</fpage>&#x2013;<lpage>395</lpage>. <pub-id pub-id-type="doi">10.1145/358669.358692</pub-id> </citation>
</ref>
<ref id="B13">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Foote</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2013</year>). &#x201c;<article-title>tf: The transform library</article-title>,&#x201d; in <conf-name>2013 IEEE Conference on Technologies for Practical Robot Applications (TePRA)</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>6</lpage>. </citation>
</ref>
<ref id="B14">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Hanson</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Hochsztein</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Vaidya</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Dorsey</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Padir</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2022a</year>). &#x201c;<article-title>In-hand object recognition with innervated fiber optic spectroscopy for soft grippers</article-title>,&#x201d; in <conf-name>2022 5th IEEE International Conference on Soft Robotics, RoboSoft 2022</conf-name> (<publisher-name>IEEE</publisher-name>). </citation>
</ref>
<ref id="B15">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Hanson</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Kelestemur</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Berman</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ritzenhoff</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Padir</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2022</year>). &#x201c;<article-title>Hyperbot &#x2013; A benchmarking testbed for acquisition of robot-centric hyperspectral scene and in-hand object data</article-title>,&#x201d; in <conf-name>2022 12th Workshop on Hyperspectral Imaging and Signal Processing: Evolution in Remote Sensing (WHISPERS)</conf-name> (<publisher-name>IEEE</publisher-name>). </citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Hanson</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Kelestemur</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Erdogmus</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Padir</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2022b</year>). <source>Pregrasp object material classification by a novel gripper design with integrated spectroscopy</source>. <comment>[Dataset]</comment>. <pub-id pub-id-type="doi">10.48550/ARXIV.2207.00942</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Hanson</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Shaham</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Erdogmus</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Padir</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2022c</year>). &#x201c;<article-title>Vast: Visual and spectral terrain classification in unstructured multi-class environments</article-title>,&#x201d; in <conf-name>2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</conf-name> (<publisher-name>IEEE</publisher-name>). <comment>To appear</comment>. </citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Khodadadzadeh</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Prasad</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Plaza</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Fusion of hyperspectral and lidar remote sensing data using multiple feature learning</article-title>. <source>IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens.</source> <volume>8</volume>, <fpage>2971</fpage>&#x2013;<lpage>2983</lpage>. <pub-id pub-id-type="doi">10.1109/jstars.2015.2432037</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ku</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Xiao</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Zhuang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Deep learning of grasping detection for a robot used in sorting construction and demolition waste</article-title>. <source>J. Mater. Cycles Waste Manag.</source> <volume>23</volume>, <fpage>84</fpage>&#x2013;<lpage>95</lpage>. <pub-id pub-id-type="doi">10.1007/s10163-020-01098-z</pub-id> </citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kurillo</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Hemingway</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>M.-L.</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Evaluating the accuracy of the azure kinect and kinect v2</article-title>. <source>Sensors</source> <volume>22</volume>, <fpage>2469</fpage>. <pub-id pub-id-type="doi">10.3390/s22072469</pub-id> </citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kwak</surname>
<given-names>D.-H.</given-names>
</name>
<name>
<surname>Son</surname>
<given-names>G.-J.</given-names>
</name>
<name>
<surname>Park</surname>
<given-names>M.-K.</given-names>
</name>
<name>
<surname>Kim</surname>
<given-names>Y.-D.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Rapid foreign object detection system on seaweed using vnir hyperspectral imaging</article-title>. <source>Sensors</source> <volume>21</volume>, <fpage>5279</fpage>. <pub-id pub-id-type="doi">10.3390/s21165279</pub-id> </citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lee</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Woodyatt</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Berman</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>1990</year>). <article-title>Enhancement of high spectral resolution remote-sensing data by a noise-adjusted principal components transform</article-title>. <source>IEEE Trans. Geosci. Remote Sens.</source> <volume>28</volume>, <fpage>295</fpage>&#x2013;<lpage>304</lpage>. <pub-id pub-id-type="doi">10.1109/36.54356</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Levenberg</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>1944</year>). <article-title>A method for the solution of certain non-linear problems in least squares</article-title>. <source>Q. Appl. Math.</source> <volume>2</volume>, <fpage>164</fpage>&#x2013;<lpage>168</lpage>. <pub-id pub-id-type="doi">10.1090/qam/10666</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Du</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Collaborative representation for hyperspectral anomaly detection</article-title>. <source>IEEE Trans. Geosci. Remote Sens.</source> <volume>53</volume>, <fpage>1463</fpage>&#x2013;<lpage>1474</lpage>. <pub-id pub-id-type="doi">10.1109/TGRS.2014.2343955</pub-id> </citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lowe</surname>
<given-names>D. G.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>Distinctive image features from scale-invariant keypoints</article-title>. <source>Int. J. Comput. Vis.</source> <volume>60</volume>, <fpage>91</fpage>&#x2013;<lpage>110</lpage>. <pub-id pub-id-type="doi">10.1023/b:visi.0000029664.99615.94</pub-id> </citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ma</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Peng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Leong</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>An unsupervised deep hyperspectral anomaly detector</article-title>. <source>Sensors</source> <volume>18</volume>, <fpage>693</fpage>. <pub-id pub-id-type="doi">10.3390/s18030693</pub-id> </citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mao</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Ji</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Dai</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Surface material perception through multimodal learning</article-title>. <source>IEEE J. Sel. Top. Signal Process.</source> <volume>16</volume>, <fpage>843</fpage>&#x2013;<lpage>853</lpage>. <pub-id pub-id-type="doi">10.1109/jstsp.2022.3171682</pub-id> </citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Matteoli</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Diani</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Corsini</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>A tutorial overview of anomaly detection in hyperspectral images</article-title>. <source>IEEE Aerosp. Electron. Syst. Mag.</source> <volume>25</volume>, <fpage>5</fpage>&#x2013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1109/maes.2010.5546306</pub-id> </citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Muja</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Lowe</surname>
<given-names>D. G.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Scalable nearest neighbor algorithms for high dimensional data</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell.</source> <volume>36</volume>, <fpage>2227</fpage>&#x2013;<lpage>2240</lpage>. <pub-id pub-id-type="doi">10.1109/TPAMI.2014.2321376</pub-id> </citation>
</ref>
<ref id="B30">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Nair</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Hinton</surname>
<given-names>G. E.</given-names>
</name>
</person-group> (<year>2010</year>). &#x201c;<article-title>Rectified linear units improve restricted Boltzmann machines</article-title>,&#x201d; in <conf-name>Proceedings of the 27th International Conference on Machine Learning (ICML-10)</conf-name>. </citation>
</ref>
<ref id="B31">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Quigley</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Conley</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Gerkey</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Faust</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Foote</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Leibs</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2009</year>). &#x201c;<article-title>Ros: an open-source robot operating system</article-title>,&#x201d; in <conf-name>ICRA workshop on open source software</conf-name>, <conf-loc>Kobe, Japan</conf-loc>, <fpage>5</fpage>. </citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rasti</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Ghamisi</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Gloaguen</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Hyperspectral and lidar fusion using extinction profiles and total variation component analysis</article-title>. <source>IEEE Trans. Geosci. Remote Sens.</source> <volume>55</volume>, <fpage>3997</fpage>&#x2013;<lpage>4007</lpage>. <pub-id pub-id-type="doi">10.1109/tgrs.2017.2686450</pub-id> </citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Reed</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>1990</year>). <article-title>Adaptive multiple-band cfar detection of an optical pattern with unknown spectral distribution</article-title>. <source>IEEE Trans. Acoust.</source> <volume>38</volume>, <fpage>1760</fpage>&#x2013;<lpage>1770</lpage>. <pub-id pub-id-type="doi">10.1109/29.60107</pub-id> </citation>
</ref>
<ref id="B34">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Rublee</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Rabaud</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Konolige</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Bradski</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2011</year>). &#x201c;<article-title>Orb: An efficient alternative to sift or surf</article-title>,&#x201d; in <conf-name>2011 International conference on computer vision</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>2564</fpage>&#x2013;<lpage>2571</lpage>. </citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shahinfar</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Meek</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Falzon</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>How many images do i need?&#x201d; understanding how sample size per class affects deep learning model performance metrics for balanced designs in autonomous wildlife monitoring</article-title>. <source>Ecol. Inf.</source> <volume>57</volume>, <fpage>101085</fpage>. <pub-id pub-id-type="doi">10.1016/j.ecoinf.2020.101085</pub-id> </citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shorten</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Khoshgoftaar</surname>
<given-names>T. M.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>A survey on image data augmentation for deep learning</article-title>. <source>J. Big Data</source> <volume>6</volume>, <fpage>60</fpage>&#x2013;<lpage>48</lpage>. <pub-id pub-id-type="doi">10.1186/s40537-019-0197-0</pub-id> </citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Su</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Du</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Hyperspectral anomaly detection: A survey</article-title>. <source>IEEE Geosci. Remote Sens. Mag.</source> <volume>10</volume>, <fpage>64</fpage>&#x2013;<lpage>90</lpage>. <pub-id pub-id-type="doi">10.1109/MGRS.2021.3105440</pub-id> </citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Taitano</surname>
<given-names>Y. P.</given-names>
</name>
<name>
<surname>Geier</surname>
<given-names>B. A.</given-names>
</name>
<name>
<surname>Bauer</surname>
<given-names>K. W.</given-names>
<suffix>Jr</suffix>
</name>
</person-group> (<year>2010</year>). <article-title>A locally adaptable iterative rx detector</article-title>. <source>EURASIP J. Adv. Signal Process.</source> <volume>2010</volume>, <fpage>341908</fpage>. <pub-id pub-id-type="doi">10.1155/2010/341908</pub-id> </citation>
</ref>
<ref id="B39">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Thananjeyan</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Kerr</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Gonzalez</surname>
<given-names>J. E.</given-names>
</name>
<name>
<surname>Goldberg</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2022</year>). <source>All you need is luv: Unsupervised collection of labeled images using invisible uv fluorescent indicators</source>. <comment>[Dataset]</comment>. <pub-id pub-id-type="doi">10.48550/ARXIV.2203.04566</pub-id> </citation>
</ref>
<ref id="B40">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Vali</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Kr&#xe4;mer</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Strzoda</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Comai</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Gigler</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Matteucci</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Hyperspectral image analysis for automatic detection and discrimination of residual manufacturing contaminants</article-title>,&#x201d; in <conf-name>2021 26th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA)</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>8</lpage>. </citation>
</ref>
<ref id="B41">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Olson</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Apriltag 2: Efficient and robust fiducial detection</article-title>,&#x201d; in <conf-name>2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>4193</fpage>&#x2013;<lpage>4198</lpage>. </citation>
</ref>
<ref id="B42">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Weik</surname>
<given-names>M. H.</given-names>
</name>
</person-group> (<year>2001</year>). &#x201c;<article-title>Spectral width</article-title>,&#x201d; in <source>Computer science and communications dictionary</source> (<publisher-loc>Boston, MA</publisher-loc>: <publisher-name>Springer US</publisher-name>), <fpage>1633</fpage>. </citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Du</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Hyperspectral anomaly detection based on machine learning: An overview</article-title>. <source>IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens.</source> <volume>15</volume>, <fpage>3351</fpage>&#x2013;<lpage>3364</lpage>. <pub-id pub-id-type="doi">10.1109/jstars.2022.3167830</pub-id> </citation>
</ref>
<ref id="B44">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Zeng</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Song</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>K.-T.</given-names>
</name>
<name>
<surname>Donlon</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Hogan</surname>
<given-names>F. R.</given-names>
</name>
<name>
<surname>Bauza</surname>
<given-names>M.</given-names>
</name>
<etal/>
</person-group> (<year>2018a</year>). &#x201c;<article-title>Robotic pick-and-place of novel objects in clutter with multi-affordance grasping and cross-domain image matching</article-title>,&#x201d; in <conf-name>2018 IEEE international conference on robotics and automation (ICRA)</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>3750</fpage>&#x2013;<lpage>3757</lpage>. </citation>
</ref>
<ref id="B45">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Zeng</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Sui</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Jenkins</surname>
<given-names>O. C.</given-names>
</name>
</person-group> (<year>2018b</year>). &#x201c;<article-title>Semantic robot programming for goal-directed manipulation in cluttered scenes</article-title>,&#x201d; in <conf-name>2018 IEEE international conference on robotics and automation (ICRA)</conf-name> (<publisher-name>IEEE</publisher-name>), <fpage>7462</fpage>&#x2013;<lpage>7469</lpage>. </citation>
</ref>
<ref id="B46">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Mu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Deep-irtarget: An automatic target detector in infrared imagery using dual-domain feature extraction and allocation</article-title>. <source>IEEE Trans. Multimed.</source> <volume>24</volume>, <fpage>1735</fpage>&#x2013;<lpage>1749</lpage>. <pub-id pub-id-type="doi">10.1109/tmm.2021.3070138</pub-id> </citation>
</ref>
<ref id="B47">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhao</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Qi</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Global and local real-time anomaly detectors for hyperspectral remote sensing imagery</article-title>. <source>Remote Sens.</source> <volume>7</volume>, <fpage>3966</fpage>&#x2013;<lpage>3985</lpage>. <pub-id pub-id-type="doi">10.3390/rs70403966</pub-id> </citation>
</ref>
<ref id="B48">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zuiderveld</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>1994</year>). &#x201c;<article-title>Contrast limited adaptive histogram equalization</article-title>,&#x201d; in <source>Graph. gems</source>. <publisher-name>Academic Press Professional, Inc.</publisher-name>, <fpage>474</fpage>&#x2013;<lpage>485</lpage>. <pub-id pub-id-type="doi">10.1016/b978-0-12-336156-1.50061-6</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>