BMNet
An invertible network that removes shadows from an image, given the image and its shadow mask.
Diffusion and generative · 1,097 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
- 431.6K
- Operations
- 1,097
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2022
- Cited by
- 118 (as of 28 October 2026)
- Authors
- Yurui Zhu, Jie Huang, Xueyang Fu and others
- Source
- GitHub: KevinJ-Huang/BMNet
- 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
- m14861
- Graph hash
- 9431ae462df49d81f0564403368c7673b24c5bf9a2f94a9f33fd27afcd917f54
- Skeleton hash
- 90f9c2688dc172dced64b4910216a6199a4ddc9a5c9457654382d88b9bf9f26e
- Architecture hash
- 613e8344ff869200f872b8401f1bb1a35044724cc6fc2fda464354411a625171
- Diagram SHA-256
- 0567d8d5390d3c14fcec98b9b1179ebfa5a8466b84567839ff315d5f1bbf5486
- 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
BMNet, the Bijective Mapping Network, removes shadows from images, which means restoring the background in the shadow regions. The authors argue that shadow removal and shadow generation are interrelated and can supervise each other. BMNet therefore learns both procedures in one framework with shared parameters.
The shadow image is turned into features by a plain convolutional layer with a 1 × 1 kernel. The features and the conditions, which are the shadow mask and a color map, then pass through a cascade of invertible blocks that apply affine transformations. Run forward the network removes a shadow, and run in reverse it generates one.
A Shadow-Invariant Color Guidance Module (SICGM) brings both color and mask information into the network at several scales. The paper reports that on the ISTD, ISTD+ and SRD benchmarks BMNet outperforms the method it compares against while using 0.25% of that method's network parameters and 6.25% of its floating point operations.
Key idea. BMNet couples shadow removal and shadow generation in one invertible network with shared parameters, so that each procedure supervises the other.
- bmnet
- bijective mapping network
- shadow removal
- shadow generation
- invertible network
- sicgm
- shadow-invariant color guidance
- istd
- srd
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@inproceedings{Zhu_2022, title={Bijective Mapping Network for Shadow Removal}, url={http://dx.doi.org/10.1109/cvpr52688.2022.00554}, DOI={10.1109/cvpr52688.2022.00554}, booktitle={2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, publisher={IEEE}, author={Zhu, Yurui and Huang, Jie and Fu, Xueyang and Zhao, Feng and Sun, Qibin and Zha, Zheng-Jun}, year={2022}, month=June, pages={5617–5626} }