All models

Fusformer

Transformer that treats each pixel as a token to fuse low-resolution hyperspectral and multispectral images.

161 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
504.5K
Operations
161
Framework
PyTorch
Recurrent
No
Published
IEEE Geoscience and Remote Sensing Letters (arXiv 2021)
Authors
Jin-Fan Hu, Ting-Zhu Huang, Liang-Jian Deng
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16773
Graph hash
bb690801cd0cbab5afc690fc9911be83cabaeeeb027cdead1e5fd156e3984ed6
Skeleton hash
5b0c3473b9a1a61748a777e9c7901138210b5057005e7db0896879d2ec434cd4
Architecture hash
2f430229aa23989b972c69b2a0a8e488f5cadada220ef6b5831ef51828db59c5
Diagram SHA-256
5d18d9d39c13a609bb1174b348289d272a3581d62b297cd7c29ca4d73ccdec29
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Fusformer is a transformer-based network that fuses low-resolution hyperspectral images and high-resolution multispectral images to obtain high-resolution hyperspectral images. The paper's motivation is that CNN based methods only consider local information, because of the limited kernel size of the receptive field in convolution. The authors state that, to their knowledge, it is the first time the transformer was used to solve the hyperspectral image super-resolution problem.

The inputs are the upsampled low-resolution hyperspectral image and the multispectral image, joined along the spectral dimension. Each vector fed to the transformer represents a single pixel with its spectral structure and corresponding spatial information. Other vision transformers reshape a small image patch into a vector, but with so many spectral bands the vector reshaped from an image patch would be too long to compute. A fully connected layer embeds each pixel into 48 feature channels, and the model uses both the encoder and decoder part of the original transformer. A refine module then produces a residual, so the network concentrates on spatial detail instead of reconstructing the whole data.

The experiments use 20 CAVE images for training, with 11 CAVE images and 10 Harvard images for testing. The paper reports the best results on almost every quality index on those two datasets, with only 0.1 million parameters.

Key idea. Fusformer applies a transformer over per-pixel tokens to fuse low-resolution hyperspectral and high-resolution multispectral images, estimating a residual instead of the whole image.

  • Fusformer
  • hyperspectral image super-resolution
  • hyperspectral image fusion
  • LR-HSI HR-MSI fusion
  • hyperspectral
  • multispectral
  • CAVE dataset
  • transformer fusion
  • remote sensing

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{hu2021fusformertransformerbasedfusionapproach,
      title={Fusformer: A Transformer-based Fusion Approach for Hyperspectral Image Super-resolution}, 
      author={Jin-Fan Hu and Ting-Zhu Huang and Liang-Jian Deng},
      year={2021},
      eprint={2109.02079},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1109/LGRS.2022.3194257},
      url={https://arxiv.org/abs/2109.02079}, 
}