Skip to main content
QUICK REVIEW

[Paper Review] Instance Shadow Detection

Tianyu Wang, Xiaowei Hu|arXiv (Cornell University)|Nov 16, 2019
Video Surveillance and Tracking MethodsComputer Science62 references6 citations
TL;DR

This paper introduces instance shadow detection, a novel task that jointly detects shadow and object instances and associates them, proposing the SOBA dataset with 3,623 shadow-object pairs and the LISA framework for end-to-end prediction of instances, associations, and light direction. The key contribution is a new evaluation metric, SOAP, and demonstrated applications in light direction estimation and photo editing with consistent shadow transfer.

ABSTRACT

Instance shadow detection is a brand new problem, aiming to find shadow instances paired with object instances. To approach it, we first prepare a new dataset called SOBA, named after Shadow-OBject Association, with 3,623 pairs of shadow and object instances in 1,000 photos, each with individual labeled masks. Second, we design LISA, named after Light-guided Instance Shadow-object Association, an end-to-end framework to automatically predict the shadow and object instances, together with the shadow-object associations and light direction. Then, we pair up the predicted shadow and object instances, and match them with the predicted shadow-object associations to generate the final results. In our evaluations, we formulate a new metric named the shadow-object average precision to measure the performance of our results. Further, we conducted various experiments and demonstrate our method's applicability on light direction estimation and photo editing.

Motivation & Objective

  • To address the lack of a dedicated benchmark and method for detecting individual shadow and object instances and their associations in images.
  • To develop a new dataset, SOBA, with 1,000 images and 3,623 labeled shadow-object instance pairs, including individual masks for shadows, objects, and associations.
  • To design an end-to-end deep learning framework, LISA, that predicts shadow and object instance masks, their associations, and light direction simultaneously.
  • To formulate a new evaluation metric, Shadow-Object Average Precision (SOAP), to quantitatively measure instance shadow detection performance.
  • To demonstrate practical applications in light direction estimation and intelligent photo editing, such as removing objects with their shadows or transferring objects with consistent shadows.

Proposed method

  • The SOBA dataset is constructed with 1,000 images, each annotated with three instance masks: shadow instances, object instances, and shadow-object association pairs, using unique colors for each instance.
  • The LISA framework is an end-to-end deep learning model that jointly predicts: (1) bounding boxes and masks for shadow and object instances, (2) bounding boxes for shadow-object associations, and (3) light direction for each association.
  • A post-processing module pairs predicted shadow and object instances based on their spatial proximity and matching with predicted shadow-object association boxes.
  • The framework uses a multi-task learning strategy with shared backbone features and task-specific heads for mask prediction, box regression, and light direction estimation.
  • Light direction is estimated from the geometric relationship between the shadow and object instance, using the vector from the object's center to the shadow's center as a proxy.
  • The method leverages instance segmentation heads and a light-guided attention module to improve association accuracy and robustness.

Experimental results

Research questions

  • RQ1Can a new dataset with fine-grained instance-level annotations for shadows and their associated objects be effectively constructed to support instance shadow detection?
  • RQ2Can an end-to-end deep learning framework jointly predict shadow and object instances, their associations, and light direction with high accuracy?
  • RQ3Can a new evaluation metric, SOAP, provide a reliable and meaningful quantitative assessment of instance shadow detection performance?
  • RQ4Can the predicted shadow-object associations and light directions be effectively used for downstream applications such as light direction estimation and photo editing?
  • RQ5How does the proposed method compare to baseline methods in terms of instance detection and association accuracy on the new SOBA benchmark?

Key findings

  • The SOBA dataset contains 1,000 images with 3,623 unique shadow-object instance pairs, each annotated with three distinct masks for shadows, objects, and associations.
  • The LISA framework achieves state-of-the-art performance on the SOBA benchmark, demonstrating strong generalization across diverse scenes and shadow types.
  • The proposed SOAP metric enables reliable quantitative evaluation, showing that LISA outperforms baseline methods in both instance detection and association accuracy.
  • The predicted light directions are consistent with real-world lighting, as validated by rendering virtual shadows that align with real shadows in test images.
  • In photo editing tasks, the method enables complete removal of objects and their associated shadows, avoiding the issue of residual shadows seen in prior work.
  • The method supports light-aware object transfer, where shadows are adjusted according to the estimated light direction in the target scene, resulting in visually consistent edits.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.