Overview  /  Hyperspectral

Downstream task · hyperspectral adaptation

Hyperspectral translation

With a band-identity embedding for each hyperspectral channel, fitted observation parameters, LoRA-adapted Stage B networks and a new decoder, EAGLE translates between multispectral, radar and 368-band HySpex imagery on MDAS (Augsburg).

8.28 RMSE from radar alone (HSCNN+ 9.44) 30.00 dB PSNR from S2 −48% error in withheld VNIR bands once S2 is added

Adaptation

Adding a hyperspectral sensor

  1. 1

    Band identity

    An embedding for each of the 368 HySpex channels, from its wavelength and bandwidth.

  2. 2

    Observation model

    Its Ai, bi, Ri fitted, so HySpex fuses in closed form with S2 and S1.

  3. 3

    LoRA

    Low-rank adaptation of the Stage B predictor and flow.

  4. 4

    New decoder

    A hyperspectral decoder trained on the shared scene latent.

Predicted HySpex spectra from S1 GRD and from S2 L2A for a selected patch, against pix2pix, HSCNN+ and the ground truthClick to enlarge
Predicted HySpex spectrum of a selected patch, from radar alone (top) and from S2 L2A (bottom), against pix2pix, HSCNN+ and the ground truth (RMSE × 100 in the legend; grey bands: water absorption).

Translation · MDAS test area

Lowest RMSE when translating from radar, Sentinel-2 or both

From radar alone, from S2 or from both, EAGLE generates hyperspectral imagery with the lowest RMSE and the highest PSNR and SSIM.

TransferMethodRMSE ↓PSNR ↑SSIM ↑
S1 → HSIpix2pix10.7419.990.216
HSCNN+9.4421.090.290
EAGLE8.2822.170.315
S2 → HSIpix2pix4.3027.900.811
HSCNN+3.6029.730.873
EAGLE3.4830.000.878
S1 + S2 → HSIpix2pix4.0228.500.835
HSCNN+3.6329.640.868
EAGLE3.4929.980.877
RMSE × 100; each prediction is the average of 8 samples.

Spectra

Predicted and measured spectra

The predicted HySpex spectrum anywhere in the MDAS test area, from Sentinel-2 or from radar alone, next to the measured spectrum and both baselines. Click a location in the images.

Input
Input
Measured HySpex
Measured HySpex
EAGLE's HySpex
EAGLE

The four test windows of the MDAS test area (Augsburg); EAGLE's prediction is the mean of 8 samples. Spectra are averaged over a 16 × 16 px cell; 92 of the 368 bands are shown. HySpex false colour: 860, 650 and 550 nm. Grey bands: water absorption. Window RMSE × 100 over all bands and valid pixels.

Band completion

Sentinel-2 improves the completion of withheld hyperspectral bands

EAGLE also completes withheld bands within a hyperspectral cube; adding S2 reduces the error in all four settings. The deep hyperspectral prior (DHP) is shown for reference.

Usage

Command-line usage

An .npz with S2L2A (reflectance × 10,000), S1GRD (dB) and/or HSI, and optional lat, lon, date. Tasks: s2, s1 and s2_s1 to HySpex; hsi to S2 L2A; hsi_s1 to S1 GRD.

bash
python infer.py hyperspectral --arrays window.npz --task s2
# outputs/hyperspectral/window/HSI.npz: 368 bands, reflectance