HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Mask-guided Spectral-wise Transformer for Efficient Hyperspectral Image Reconstruction

Yuanhao Cai Jing Lin Xiaowan Hu Haoqian Wang Xin Yuan Yulun Zhang Radu Timofte Luc Van Gool

Mask-guided Spectral-wise Transformer for Efficient Hyperspectral Image Reconstruction

Abstract

Hyperspectral image (HSI) reconstruction aims to recover the 3D spatial-spectral signal from a 2D measurement in the coded aperture snapshot spectral imaging (CASSI) system. The HSI representations are highly similar and correlated across the spectral dimension. Modeling the inter-spectra interactions is beneficial for HSI reconstruction. However, existing CNN-based methods show limitations in capturing spectral-wise similarity and long-range dependencies. Besides, the HSI information is modulated by a coded aperture (physical mask) in CASSI. Nonetheless, current algorithms have not fully explored the guidance effect of the mask for HSI restoration. In this paper, we propose a novel framework, Mask-guided Spectral-wise Transformer (MST), for HSI reconstruction. Specifically, we present a Spectral-wise Multi-head Self-Attention (S-MSA) that treats each spectral feature as a token and calculates self-attention along the spectral dimension. In addition, we customize a Mask-guided Mechanism (MM) that directs S-MSA to pay attention to spatial regions with high-fidelity spectral representations. Extensive experiments show that our MST significantly outperforms state-of-the-art (SOTA) methods on simulation and real HSI datasets while requiring dramatically cheaper computational and memory costs. Code and pre-trained models are available at https://github.com/caiyuanhao1998/MST/

Code Repositories

wxy11-27/gmsr
pytorch
Mentioned in GitHub
caiyuanhao1998/MST-plus-plus
pytorch
Mentioned in GitHub
caiyuanhao1998/MST
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
spectral-reconstruction-on-arad-1kMST-L
MRAE: 0.1772
PSNR: 33.90
RMSE: 0.0256
spectral-reconstruction-on-caveMST-L
PSNR: 35.18
SSIM: 0.948
spectral-reconstruction-on-kaistMST-L
PSNR: 35.18
SSIM: 0.948
spectral-reconstruction-on-real-hsiMST
User Study Score: 12

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp