CANet: A Context-Aware Network for Shadow Removal
In this paper, we propose a novel two-stage context-aware network named CANet for shadow removal, in which the contextual information from non-shadow regions is transferred to shadow regions at the embedded feature spaces. At Stage-I, we propose a contextual patch matching (CPM) module to generate a set of potential matching pairs of shadow and non-shadow patches. Combined with the potential contextual relationships between shadow and non-shadow regions, our well-designed contextual feature transfer (CFT) mechanism can transfer contextual information from non-shadow to shadow regions at different scales. With the reconstructed feature maps, we remove shadows at L and A/B channels separately. At Stage-II, we use an encoder-decoder to refine current results and generate the final shadow removal results. We evaluate our proposed CANet on two benchmark datasets and some real-world shadow images with complex scenes. Extensive experimental results strongly demonstrate the efficacy of our proposed CANet and exhibit superior performance to state-of-the-arts.
Code (1)
Tasks
DecoderPatch MatchingShadow RemovalSimilar Papers 제목 키워드 기반
Direction-aware Spatial Context Features for Shadow Detection and Removal
Shadow detection and shadow removal are fundamental and challenging tasks, requiring an understanding of the global image semantics. This paper presents a novel deep neural network design for shadow detection and removal…
Shadow DetectionShadow Detection And RemovalShadow RemovalFine-Context Shadow Detection using Shadow Removal
Current shadow detection methods perform poorly when detecting shadow regions that are small, unclear or have blurry edges. In this work, we attempt to address this problem on two fronts. First, we propose a Fine Context…
Shadow DetectionShadow Detection And RemovalShadow RemovalPrompt-Aware Controllable Shadow Removal
Shadow removal aims to restore the image content in shadowed regions. While deep learning-based methods have shown promising results, they still face key challenges: 1) uncontrolled removal of all shadows, or 2) controll…
Shadow RemovalShaDocNet: Learning Spatial-Aware Tokens in Transformer for Document Shadow Removal
Shadow removal improves the visual quality and legibility of digital copies of documents. However, document shadow removal remains an unresolved subject. Traditional techniques rely on heuristics that vary from situation…
Document Shadow RemovalImage Shadow RemovalShadow DetectionShadow RemovalBoundary-Aware Divide and Conquer: A Diffusion-Based Solution for Unsupervised Shadow Removal
Recent deep learning methods have achieved superior results in shadow removal. However, most of these supervised methods rely on training over a huge amount of shadow and shadow-free image pairs, which require labori…
Shadow Removal