A METHOD OF REORDERING LOSSLESS COMPRESSION OF HYPERSPECTRAL IMAGES

Xianjun Gao, Liang Wang, Tiancheng Li, Junfeng XieISPRS 2023

Abstract

An improved lossless compression method utilizing adaptive band reordering and minimum mean square error (MMSE) prediction is proposed to address the challenges of massive data volume in remote sensing. The method adaptively determines optimal band ordering using a Minimum Spanning Tree (MST) algorithm to maximize inter-spectral correlation. Following reordering, adaptive spatial and spectral prediction is applied, and residuals are encoded via binary arithmetic coding. Experimental results using ZY1-02D satellite imagery demonstrate that this approach effectively utilizes image redundancies, outperforming standard compression methods such as JPEG-LS and the CCSDS Fast Lossless standard.

Introduction

Hyperspectral imaging captures detailed spectral information across numerous narrow bands, resulting in massive 3D data cubes. For scientific and precision applications, lossless compression is essential to preserve data integrity. However, the sheer volume of data poses significant transmission and storage challenges. Traditional sequential compression often fails to exploit the full range of redundancies—both spatial (intra-spectral) and spectral (inter-spectral)—present in these images. This paper presents a method to optimize compression by adaptively reordering bands to maximize correlation before prediction.

Methods

The proposed compression architecture consists of three primary stages: adaptive band reordering, prediction, and entropy coding.

The proposed compression pipeline architecture, featuring adaptive band reordering and dual-mode prediction.

Adaptive Band Reordering

The core innovation is the use of a Minimum Spanning Tree (MST) algorithm to determine the optimal coding order. Rather than processing bands in their physical wavelength sequence, the algorithm groups bands and constructs a graph where edges represent the correlation between bands. The MST identifies the path that maximizes overall correlation, ensuring each band is predicted from its most highly correlated reference band.

Prediction and Entropy Coding

The prediction stage employs two modes to minimize the mean square error:

  1. Intra-spectral (Spatial) Prediction: An enhanced median predictor with diagonal edge detection is used to capture complex spatial features within a single band.
  2. Inter-spectral (Spectral) Prediction: An improved Spectral-oriented Least SQuares (SLSQ) approach adaptively selects local pixel contexts from the reference band to predict the current band.

Finally, the resulting prediction residuals are mapped and compressed using binary arithmetic coding to eliminate statistical redundancy.

Experimental Results and Analysis

The method was evaluated using 16-bit uncalibrated hyperspectral images from the ZY1-02D satellite, covering both Visible Near-Infrared (VN) and Shortwave Infrared (SW) bands.

Correlation Analysis

A key finding of the research is the dominance of inter-spectral correlation over intra-spectral correlation.

Correlation analysis of Shortwave Infrared (SW) bands, showing higher inter-spectral correlation compared to intra-spectral correlation.

As illustrated in the correlation plots, the inter-spectral correlation coefficient (red line) remains consistently high and more stable across bands compared to the intra-spectral coefficient (dashed line). This validates the focus on adaptive band reordering to exploit cross-band redundancies.

Performance Comparison

The proposed method achieved average compression ratios of 3.58 for VN bands and 3.36 for SW bands. In comparative benchmarks, the method consistently outperformed standard algorithms:

  • Proposed Method: ~3.58 (VN average)
  • Fast Lossless (FL): ~3.44 - 3.53
  • JPEG-LS: ~3.12 - 3.17
  • JPEG2000: ~2.42 - 2.76
  • WinRAR: ~1.93 - 2.08

Conclusion

The adaptive band reordering method significantly improves lossless compression ratios for hyperspectral imagery by uncovering and exploiting non-linear spectral correlations. While the method is computationally intensive due to the sophisticated reordering and prediction steps, future work involving GPU acceleration (CUDA) or multi-threading could make it suitable for high-throughput production environments.

Summary updated

BibTeX
@inproceedings{gao2023method,
  author = {Xianjun Gao and Liang Wang and Tiancheng Li and Junfeng Xie},
  title = {{A METHOD OF REORDERING LOSSLESS COMPRESSION OF HYPERSPECTRAL IMAGES}},
  booktitle = {ISPRS},
  year = {2023},
  doi = {10.5194/isprs-annals-x-1-w1-2023-821-2023},
}
Figure