Spatial-Temporal Transformer for Video Snapshot Compressive Imaging

Lishun Wang, Miao Cao, Yong Zhong, Xin Yuan
9/4/2022
eess.IVcs.CV
transformer-attention

Official code: ucaswangls/STFormer (39 stars, Python, last commit 2023-08-21).

Abstract

Video snapshot compressive imaging (SCI) captures multiple sequential video frames by a single measurement using the idea of computational imaging. The underlying principle is to modulate high-speed frames through different masks and these modulated frames are summed to a single measurement captured by a low-speed 2D sensor (dubbed optical encoder); following this, algorithms are employed to reconstruct the desired high-speed frames (dubbed software decoder) if needed.

Show full abstract

In this paper, we consider the reconstruction algorithm in video SCI, i.e., recovering a series of video frames from a compressed measurement. Specifically, we propose a Spatial-Temporal transFormer (STFormer) to exploit the correlation in both spatial and temporal domains. STFormer network is composed of a token generation block, a video reconstruction block, and these two blocks are connected by a series of STFormer blocks. Each STFormer block consists of a spatial self-attention branch, a temporal self-attention branch and the outputs of these two branches are integrated by a fusion network. Extensive results on both simulated and real data demonstrate the state-of-the-art performance of STFormer. The code and models are publicly available at https://github.com/ucaswangls/STFormer.git

View on arXivView PDF

Code Implementations(1)

393Python, ShellSep 7, 20223 years ago

Similar Papers

Cite this paper

@article{wang2022spatialtemporal,
  title  = {Spatial-Temporal Transformer for Video Snapshot Compressive Imaging},
  author = {Lishun Wang and Miao Cao and Yong Zhong and Xin Yuan},
  year   = {2022},
  eprint = {2209.01578},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.01578}
}

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/2209.01578.svg)](https://codeofpaper.com/paper/2209.01578)

Discussion