Adaptive Illumination Mapping for Shadow Detection in Raw Images
Jiayu Sun, Ke Xu, Youwei Pang, Lihe Zhang, Huchuan Lu, Gerhard P. Hancke, Rynson W. H. Lau
Abstract
Shadow detection methods rely on multi-scale contrast, especially global contrast, information to locate shadows correctly. However, we observe that the camera image signal processor (ISP) tends to preserve more local contrast information by sacrificing global contrast information during the raw-to-sRGB conversion process. This often causes existing methods to fail in scenes with high global contrast but low local contrast in shadow regions. In this paper, we propose a novel method to detect shadows from raw images. Our key idea is that instead of performing a many-to-one mapping like the ISP process, we can learn a many-to-many mapping from the high dynamic range raw images to the sRGB images of different illumination, which is able to preserve multi-scale contrast for accurate shadow detection. To this end, we first construct a new shadow dataset with 7000 raw images and shadow masks. We then propose a novel network, which includes a novel adaptive illumination mapping (AIM) module to project the input raw images into sRGB images of different intensity ranges and a shadow detection module to leverage the preserved multi-scale contrast information to detect shadows. To learn the shadow-aware adaptive illumination mapping process, we propose a novel feedback mechanism to guide the AIM during training. Experiments show that our method outperforms state- of-the-art shadow detectors. Code and dataset are available at https://github.com/jiayusun/SARA.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1925a491-8623-4f7f-9d7b-25edfedb3c65Cited by top-tier papers5
- Recasting Regional Lighting for Shadow RemovalYuhao Liu, Zhanghan Ke, Ke Xu, Fang Liu et al.AAAI 2024 · 30 citations
- Spider: A Unified Framework for Context-dependent Concept SegmentationXiaoqi Zhao, Youwei Pang, Wei Ji, Baicheng Sheng et al.ICML 2024 · 21 citations
- OmniSR: Shadow Removal Under Direct and Indirect LightingJiamin Xu, Zelong Li, Yuxin Zheng, Chenyu Huang et al.AAAI 2025 · 18 citations
- Refining Context-Entangled Content Segmentation via Curriculum Selection and Anti-Curriculum PromotionChunming He, Rihan Zhang, Fengyang Xiao, Dingming Zhang et al.ICML 2026 · 7 citations
- Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow DetectionXiaotian Qiao, Ke Xu, Xianglong Yang, Ruijie Dong et al.NeurIPS 2025 · 1 citation
Builds on5
- A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations
- Pyramidal Feature Shrinking for Salient Object DetectionMingcan Ma, Changqun Xia, Jia LiAAAI 2021 · 180 citations
- Mitigating Intensity Bias in Shadow Detection via Feature Decomposition and ReweightingLei Zhu, Ke Xu, Zhanghan Ke, Rynson W. H. LauICCV 2021 · 81 citations
- A Multi-Task Mean Teacher for Semi-Supervised Shadow DetectionZhihao Chen, Lei Zhu, Liang Wan, Song Wang et al.CVPR 2020
- Interactive Two-Stream Decoder for Accurate and Fast Saliency DetectionHuajun Zhou, Xiaohua Xie, Jian-Huang Lai, Zixuan Chen et al.CVPR 2020
Related papers
- RawHDR: High Dynamic Range Image Reconstruction from a Single Raw ImageYunhao Zou, Chenggang Yan, Ying FuICCV 2023 · 36 citations
- Generalizing ISP Model by Unsupervised Raw-to-raw MappingDongyu Xie, Chaofan Qiao, Lanyue Liang, Zhiwen Wang et al.ACM MM 2024 · 5 citations
- Learning RAW-to-sRGB Mappings with Inaccurately Aligned SupervisionZhilu Zhang, Haolin Wang, Ming Liu, Ruohao Wang et al.ICCV 2021 · 57 citations
- ParamISP: Learned Forward and Inverse ISPs Using Camera ParametersWoohyeok Kim, Geonu Kim, Junyong Lee, Seungyong Lee et al.CVPR 2024
- ISPDiffuser: Learning RAW-to-sRGB Mappings with Texture-Aware Diffusion Models and Histogram-Guided Color ConsistencyYang Ren, Hai Jiang, Menglong Yang, Wei Li et al.AAAI 2025 · 7 citations
