Hierarchical Regression Network
Four-level network that reconstructs 31-band spectral images from RGB using PixelShuffle between levels.
373 operations Checked
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
- 31.7M
- Operations
- 373
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR Workshops 2020 (NTIRE)
- Cited by
- 212 (as of 3 November 2026)
- Authors
- Yuzhi Zhao, Lai-Man Po, Qiong Yan and others
- Source
- GitHub: zhaoyuzhi/Hierarchical-Regression-Network-for-Spectral-Reconstruction-from-RGB-Images
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17353
- Graph hash
- 99be96058a5ee17f31fb17ace1041f754420ced53dd1b6019002ab69d83aa689
- Skeleton hash
- 44c757d89c4861507a11b4e5048fb2e5bebaf84a9d23d7942ae2813c70905b73
- Architecture hash
- 063cb6ea633a9692aa02d31032823f9637e5d006817abe7eba27a3566acf14f0
- Diagram SHA-256
- 6bcc2d0d99d320df173f306d6259e41158059f5df0ee59f6141570652d002035
- 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
The Hierarchical Regression Network (HRNet) reconstructs a hyperspectral image from an RGB image, the reverse of hyperspectral imaging. The paper's motivation is cost: hyperspectral hardware is still expensive and complex, so the authors present an approach based only on RGB cameras. In the data the paper uses, each spectral image has 31 bands in the range of 400 nm to 700 nm.
The network has 4 levels, and the authors chose this layout because, in their words, the encoder-decoder pair in current algorithms leads to loss of information. PixelUnShuffle layers downsample the input to each level without adding parameters, and learnable PixelShuffle layers upsample feature maps and reduce channels to connect the levels. To reduce artifacts the network uses residual dense blocks, each containing 5 densely connected convolutional layers and a residual connection. A residual global block with a shortcut from its input extracts attention across distant pixels using MLP layers. All layers are LeakyReLU activated except the output layer, and no normalization is used, in order to maintain the data distribution.
The authors evaluated the network by entering the NTIRE 2020 Challenge on Spectral Reconstruction from RGB Images, where the paper reports it as the winning method of track 2 (real world images) and 3rd on track 1 (clean images). For training, image pairs are randomly cropped to 256 × 256 regions and normalized to the range [0, 1].
Key idea. The paper proposes a 4-level network for spectral reconstruction from RGB images that uses PixelUnShuffle and PixelShuffle layers for downsampling and upsampling without information loss.
- Hierarchical Regression Network
- HRNet (spectral reconstruction)
- spectral reconstruction from RGB
- hyperspectral reconstruction
- NTIRE 2020
- PixelShuffle
- PixelUnShuffle
- residual dense block
- residual global block
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhao2020hierarchicalregressionnetworkspectral,
title={Hierarchical Regression Network for Spectral Reconstruction from RGB Images},
author={Yuzhi Zhao and Lai-Man Po and Qiong Yan and Wei Liu and Tingyu Lin},
year={2020},
eprint={2005.04703},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2005.04703},
}