A Novel Rate Control Algorithm for Onboard Predictive Coding of Multispectral and Hyperspectral Images

Diego Valsesia, Enrico Magli · DOI

TL;DR

This paper introduces a novel rate control algorithm for onboard predictive coding of multispectral and hyperspectral images, enabling flexible compression from lossless to lossy modes. The algorithm achieves accurate rate control and competitive rate-distortion performance, outperforming state-of-the-art transform coding methods for space applications.

What Problem Does This Paper Address?

Spacecraft missions generate vast amounts of multispectral and hyperspectral image data. Compressing this data onboard is crucial to save transmission time and bandwidth. While predictive coding offers advantages like low computational complexity and memory requirements, it traditionally struggles with variable output rates and precise quality control, especially in lossy compression. Existing methods often focus on lossless or near-lossless modes, where the maximum error is bounded but the rate is unpredictable. This paper tackles the challenge of developing a predictive coding scheme that can accurately control the compression rate across a spectrum of quality levels, from near-lossless to lossy, while remaining computationally feasible for onboard systems.

Methods

The core of the proposed solution is a novel rate control algorithm designed for predictive encoders. It operates by:

  • Block-based Rate and Distortion Modeling: The image is partitioned into blocks, and for each block, a model estimates the rate and distortion based on the predicted residual variance and a chosen quantization step size. This model leverages a Laplace probability density function for prediction residuals, a common assumption for accurate predictors.
  • l₁ Projection Algorithm: This algorithm provides an initial allocation of quantization step sizes to blocks within a slice to meet a target rate. It projects the current rate-distortion point onto a simplex defined by the rate constraint, offering a starting point for optimization.
  • Selective Diet Algorithm: This local search algorithm refines the quantization step size allocation. It iteratively adjusts step sizes by small increments (+2 or -2) to minimize distortion while ensuring the rate constraint is met. This is achieved by minimizing a cost function that balances rate reduction and quality loss.
  • Block Classification: To handle challenging cases, blocks are classified into NORMAL, INFTY (very low residual variance), and SKIP (for very low rates). INFTY blocks are treated specially to avoid inaccurate rate estimations, and SKIP blocks are used to achieve rates below 1 bpp.
  • Feedback-based Mode (Mode B): To further improve rate accuracy, a feedback mechanism adjusts the target rate for future slices based on the actual rate of previously encoded slices. This allows for more precise global rate control.
  • Extension of CCSDS-123: The proposed rate control framework is integrated with the CCSDS-123 standard for lossless compression, creating an extended encoder capable of lossless, near-lossless, and rate-controlled lossy compression within a single package.

Datasets

The paper evaluates its algorithm on a comprehensive dataset of 47 images, including:

  • Ultraspectral images from IASI and AIRS sensors.
  • Hyperspectral images from CASI, SFSI, AVIRIS, and Hyperion sensors.
  • Multispectral images from MODIS, Landsat, Vegetation, MSG, Pleiades, and SPOT5 sensors.

Specific image names like "AVIRIS SCO_RAW," "AIRS GRAN9," and "CRISM-SC182-NUC" are mentioned and used for detailed results. No new benchmarks were introduced; the focus was on evaluating against existing standards and methods.

Key Insights and Ideas

  • Predictive Coding's Rate Control Challenge: The paper highlights that the inherent dependencies in predictive coding (quantization affecting prediction, and vice-versa) make rate control significantly harder than in transform coding, where coefficients are often treated as independent.
  • Model-Based Optimization: The success hinges on accurately modeling the rate and distortion of quantized residuals, allowing for intelligent allocation of quantization steps.
  • Selective Diet for Fine-Tuning: The "Selective Diet" algorithm is a clever way to iteratively refine the quantization step allocation, balancing rate and distortion through local adjustments, which is computationally efficient.
  • Hybrid Near-Lossless: The ability to simultaneously constrain both rate and maximum distortion (via a CLIP parameter) offers a powerful new operating mode for applications requiring specific quality guarantees.
  • Competitive Advantage: The proposed predictive coding approach, with its integrated rate control, demonstrates superior or comparable rate-distortion performance to state-of-the-art transform coding methods, especially at higher rates.

Key Results

  • Accurate Rate Control: The algorithm achieves excellent accuracy in controlling the output rate, with Mode B (feedback-based) being particularly precise. Histograms show output rates often within 1% of the target.
  • Competitive Rate-Distortion Performance: The proposed method consistently achieves better or comparable Signal-to-Noise Ratio (SNR) and lower Mean Absolute Distortion (MAD) compared to transform coding methods for the same target rate. For example, at 2 bpp, the gap to near-lossless performance is often small (e.g., 0.2-0.4 dB).
  • Efficiency: The algorithm is designed for onboard implementation, with a computational complexity that is only marginally higher than standard lossless compression. The overhead for rate control is around 10%.
  • Hybrid Mode Effectiveness: Constraining the maximum quantization step size (CLIP) successfully controls both rate and distortion, leading to improved SNR and MAD.
  • CCSDS-123 Extension: The integration with CCSDS-123 provides a unified solution for lossless, near-lossless, and rate-controlled lossy compression.

Limitations and Future Work

  • Model Assumptions: The rate and distortion models rely on assumptions of independent residuals and a Laplace distribution. While these are often good approximations, severe noise in images can degrade predictor performance and thus model accuracy.
  • Suboptimality of Per-Slice Control: The feedback-based Mode B, while accurate, can introduce slight suboptimality in rate-distortion performance compared to a global optimization, as it operates on slices independently.
  • Future Work: The paper suggests that further improvements could be made by developing more sophisticated models that account for dependencies between residuals and quantization noise. Exploring different entropy coding stages could also enhance performance, especially at very low bitrates. The authors also mention that a lower complexity solution could be achieved by not adjusting the Lagrange multiplier $\lambda$ dynamically.

Summary updated

BibTeX
@article{valsesia2014novel,
  author = {Diego Valsesia and Enrico Magli},
  title = {{A Novel Rate Control Algorithm for Onboard Predictive Coding of Multispectral and Hyperspectral Images}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2014},
  doi = {10.1109/tgrs.2013.2296329},
}
Figure