ERX: A Fast Real-Time Anomaly Detection Algorithm for Hyperspectral Line Scanning

Samuel Garske, Bradley Evans, Christopher Artlett, KC Wong
8/27/2024
16 citations
eess.IVcs.CV

Official code: WiseGamgee/HyperAD (17 stars, Python, Apache-2.0, last commit 2025-02-15).

Abstract

Detecting unexpected objects (anomalies) in real time has great potential for monitoring, managing, and protecting the environment. Hyperspectral line-scan cameras are a low-cost solution that enhance confidence in anomaly detection over RGB and multispectral imagery.

Show full abstract

However, existing line-scan algorithms are too slow when using small computers (e.g. those onboard a drone or small satellite), do not adapt to changing scenery, or lack robustness against geometric distortions. This paper introduces the Exponentially moving RX algorithm (ERX) to address these issues, and compares it with four existing RX-based anomaly detection methods for hyperspectral line scanning. Three large and more complex datasets are also introduced to better assess the practical challenges when using line-scan cameras (two hyperspectral and one multispectral). ERX was evaluated using a Jetson Xavier NX edge computing module (6-core CPU, 8GB RAM, 20W power draw), achieving the best combination of speed and detection performance. ERX was 9 times faster than the next-best algorithm on the dataset with the highest number of bands (108 band), with an average speed of 561 lines per second on the Jetson. It achieved a 29.3% AUC improvement over the next-best algorithm on the most challenging dataset, while showing greater adaptability through consistently high AUC scores regardless of the camera's starting location. ERX performed robustly across all datasets, achieving an AUC of 0.941 on a drone-collected hyperspectral line scan dataset without geometric corrections (a 16.9% improvement over existing algorithms). This work enables future research on the detection of anomalous objects in real time, adaptive and automatic threshold selection, and real-time field tests. The datasets and the Python code are openly available at: https://github.com/WiseGamgee/HyperAD, promoting accessibility and future work.

View on arXivView PDF

Code Implementations(1)

WiseGamgee/HyperADOfficial100%
Apache-2.0

Contains different RX-based anomaly detection algorithms designed for real-time hyperspectral line-scan/pushbroom cameras.

175PythonDec 5, 20221 years agoApache-2.0
anomaly-detectionhyperspectralpythonreal-timeunsupervised-learning

Similar Papers

Cite this paper

@article{garske2024erx,
  title  = {ERX: A Fast Real-Time Anomaly Detection Algorithm for Hyperspectral Line Scanning},
  author = {Samuel Garske and Bradley Evans and Christopher Artlett and KC Wong},
  year   = {2024},
  eprint = {2408.14947},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.14947v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.14947.svg)](https://codeofpaper.com/paper/2408.14947)

Discussion