All models

SingleHDR

Turns one LDR photo into HDR by learning to undo clipping, camera response and quantization.

561 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 (14 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
29M
Operations
561
Framework
PyTorch
Recurrent
No
Published
CVPR 2020
Cited by
15 (as of 5 October 2026)
Authors
Yu-Lun Liu, Wei-Sheng Lai, Yu-Sheng Chen and others
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
m14415
Graph hash
bbc27e4e4096e24c226d690deb4a86a7ba7e5581a8da1ec2ef5d658af869bfd8
Skeleton hash
4a9a4ad69795ba4c2f824ab764d50663cacaa9d6264f8dcc4cfaa11a6250e232
Architecture hash
ac26c8ce5d0205289c02673f7b1aea4e3b4a837fccdad363fc472daeea201fbd
Diagram SHA-256
642c7051648de95260a8c634572ded00d38558af8bf5775f4b15dcefa91b9862
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

SingleHDR recovers a high dynamic range image from one ordinary photograph, filling in the detail that quantization and sensor saturation destroyed in the dark and blown-out regions. Rather than learn the whole inverse mapping blindly, it builds in how a camera turns scene radiance into an LDR picture: dynamic range clipping, a non-linear camera response function, then quantization. Three specialized CNNs each learn to reverse one of those steps.

Splitting the problem this way lets the authors impose physical constraints on each sub-network while it trains. The whole chain is then fine-tuned end to end so errors from one stage do not pile up in the next. The paper reports that the method performs favorably against state-of-the-art single-image HDR reconstruction algorithms across diverse image datasets.

The captured member is the full model, with dequantization, linearization, hallucination and refinement nets, which the authors' code runs from a single jointly fine-tuned checkpoint. Part of the hallucination network's code is forked from HDRCNN. The reference implementation is TensorFlow, tested with TensorFlow 1.10.0, and the README links pre-trained weights plus the HDR-Synth, HDR-Real, RAISE and HDR-Eye test sets.

Key idea. Single-image HDR reconstruction that models the camera's HDR-to-LDR pipeline as clipping, camera response and quantization, and trains three specialized CNNs to reverse those steps before joint fine-tuning.

  • SingleHDR
  • single-image HDR
  • HDR reconstruction
  • inverse tone mapping
  • LDR to HDR
  • reverse camera pipeline
  • camera response function
  • dequantization
  • HDR-Synth
  • HDR-Real

AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{liu2020singleimagehdrreconstructionlearning,
      title={Single-Image HDR Reconstruction by Learning to Reverse the Camera Pipeline}, 
      author={Yu-Lun Liu and Wei-Sheng Lai and Yu-Sheng Chen and Yi-Lung Kao and Ming-Hsuan Yang and Yung-Yu Chuang and Jia-Bin Huang},
      year={2020},
      eprint={2004.01179},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2004.01179}, 
}