OmniSR: Shadow Removal under Direct and Indirect Lighting
Jiamin Xu, Zelong Li, Yuxin Zheng, Chenyu Huang, Renshu Gu, Weiwei Xu, Gang Xu
TL;DR
OmniSR addresses shadow removal under both direct and indirect illumination by introducing a path-traced INdirect Shadow (INS) dataset and a RGBD-based semantic-geometry aware network. The model uses Depth-Anything-V2 for depth, DINO features for semantic cues, and Context-aware Swin Attention with semantic and geometric weighting to jointly remove direct and indirect shadows. Empirical results on INS and real-world data surpass state-of-the-art methods, demonstrating robust generalization to complex lighting in indoor and outdoor scenes. This work improves practical shadow removal for downstream vision tasks in realistic environments by providing high-quality training data and a powerful, geometry-informed network.
Abstract
Shadows can originate from occlusions in both direct and indirect illumination. Although most current shadow removal research focuses on shadows caused by direct illumination, shadows from indirect illumination are often just as pervasive, particularly in indoor scenes. A significant challenge in removing shadows from indirect illumination is obtaining shadow-free images to train the shadow removal network. To overcome this challenge, we propose a novel rendering pipeline for generating shadowed and shadow-free images under direct and indirect illumination, and create a comprehensive synthetic dataset that contains over 30,000 image pairs, covering various object types and lighting conditions. We also propose an innovative shadow removal network that explicitly integrates semantic and geometric priors through concatenation and attention mechanisms. The experiments show that our method outperforms state-of-the-art shadow removal techniques and can effectively generalize to indoor and outdoor scenes under various lighting conditions, enhancing the overall effectiveness and applicability of shadow removal methods.
