Adaptive Illumination Mapping for Shadow Detection in Raw Images
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.
Code (1)
Tasks
Shadow DetectionMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Efficient Model-Driven Network for Shadow Removal
Abstract: Deep Convolutional Neural Networks (CNNs)-based methods have achieved significant breakthroughs in the task of single image shadow removal. However, the performance of these methods remains limited for several …
Image Shadow RemovalmodelShadow RemovalBenchmarking Adversarial Robustness of Image Shadow Removal with Shadow-adaptive Attacks
Shadow removal is a task aimed at erasing regional shadows present in images and reinstating visually pleasing natural scenes with consistent illumination. While recent deep learning techniques have demonstrated impressi…
Adversarial AttackAdversarial RobustnessBenchmarkingImage Shadow Removal+1Recasting Regional Lighting for Shadow Removal
Removing shadows requires an understanding of both lighting conditions and object textures in a scene. Existing methods typically learn pixel-level color mappings between shadow and non-shadow images, in which the joint …
ObjectShadow RemovalLocal Water-Filling Algorithm for Shadow Detection and Removal of Document Images
Shadow detection and removal is an important task for digitized document applications. It is hard for many methods to distinguish shadow from printed text due to the high darkness similarity. In this paper, we propose a …
Document Shadow RemovalShadow DetectionShadow Detection And RemovalShadow RemovalShadowRefiner: Towards Mask-free Shadow Removal via Fast Fourier Transformer
Shadow-affected images often exhibit pronounced spatial discrepancies in color and illumination, consequently degrading various vision applications including object detection and segmentation systems. To effectively elim…
Image Shadow Removalobject-detectionObject DetectionRepresentation Learning+1