Auto-Exposure Shadow Removal
Shadow removal treated as exposure fusion: a network predicts how to blend over-exposed copies of the photo.
523 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
- 196.8M
- Operations
- 523
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2021
- Cited by
- 171 (as of 28 October 2026)
- Authors
- Lan Fu, Changqing Zhou, Qing Guo and others
- 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
- m14769
- Graph hash
- 1f567294be258bf2d811de0a5d410652ffc4e6a9c9c8bd35605c0acd76f30d45
- Skeleton hash
- b54bb83990b830cb7d89ea4c4374a1d0a0de7764d85223bdc183bbb7e0469a0e
- Architecture hash
- a4e5d156bcda041b6dc4800a8d6d65a54afe0f14d8eaefcd389f0e1310502f4b
- Diagram SHA-256
- 0ca04df4f56256a817191e4be39823401f1825464b0fd8a7e1beb65914368e7e
- 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
This model removes shadows from a single photograph by treating the job as an exposure fusion problem. The idea is to first make several over-exposure versions of the input, so that the shadowed regions take on the same color as the shadow-free areas, and then fuse the original with those brighter copies. The paper sets the number of over-exposure images to five.
Because a shadow varies across the image, the fusion has to pick the right over-exposed pixel at each position. That is what the shadow-aware FusionNet does: it takes the shadow image and its shadow mask and produces fusion weight maps across all the over-exposure images, with the mask steering it to assign low weights outside the shadow. A second network, the boundary-aware RefineNet, then cleans up the remaining shadow trace along the partially shadowed boundary, guided by a penumbra mask built from dilated and eroded versions of the shadow mask. It uses the same backbone as FusionNet, a U-Net256.
The paper evaluates on the ISTD, ISTD+ and SRD datasets, and reports an RMSE on ISTD of 7.77 in shadow regions and 5.92 over the whole image. Training resizes inputs to 256 by 256.
Key idea. The paper recasts single-image shadow removal as exposure fusion, learning per-pixel fusion weights over five over-exposed copies and refining the shadow boundary with a second network.
- Auto-Exposure Fusion Shadow Removal
- Auto-Exposure Shadow Removal
- exposure-fusion-shadow-removal
- shadow removal
- FusionNet
- RefineNet
- exposure fusion
- ISTD
- image restoration
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{fu2021autoexposurefusionsingleimageshadow,
title={Auto-Exposure Fusion for Single-Image Shadow Removal},
author={Lan Fu and Changqing Zhou and Qing Guo and Felix Juefei-Xu and Hongkai Yu and Wei Feng and Yang Liu and Song Wang},
year={2021},
eprint={2103.01255},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2103.01255},
}