Skip to content
/ CADDN Public

codes for the paper "Shadow detection using a cross-attentional dual-decoder network with self-supervised image reconstruction features"

Notifications You must be signed in to change notification settings

rufernan/CADDN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Shadow detection using a cross-attentional dual-decoder network with self-supervised image reconstruction features

This repo contains the codes for the paper: Shadow detection using a cross-attentional dual-decoder network with self-supervised image reconstruction features. Shadow detection is a challenging problem in computer vision due to the high variability in lighting conditions, object shapes, and scene layouts. Despite the positive results achieved by some existing technologies, the problem becomes particularly challenging with complex and heterogeneous images where shadow-casting objects coexist and shadows can have different depths, scales, and morphologies. As a result, more advanced and accurate solutions are still needed to deal with this type of complexities. To address these challenges, this paper proposes a novel deep learning model, called the Cross-Attentional Dual Decoder Network (CADDN), to improve shadow detection by using fine-grained image reconstruction features. Unlike other existing methods, the CADDN uses an innovative encoder-decoder architecture with two decoder segments that work together to reconstruct the input images and their corresponding shadow masks. In this way, the features used to reconstruct the original input image can be used to support the shadow detection process itself. The proposed model also incorporates a cross-attention mechanism to weight the most relevant features for detecting shadows and skip connections with noise to improve the quality of the transferred features. The experimental results, including several benchmark image datasets and state-of-the-art detection methods, demonstrate the suitability of the presented approach for detecting shadows in computer vision applications.

alt text

Usage

./codes/model.py is the proposed CADDN model.

./codes/main_demo.py is a sample of the main script.

Citation

@article{fernandez2024shadow,
  title={Shadow detection using a cross-attentional dual-decoder network with self-supervised image reconstruction features},
  author={Ruben Fernandez-Beltran and Angélica Guzmán-Ponce and Rafael Fernandez and Jian Kang and Ginés García-Mateos},
  journal={Image and Vision Computing},
  volume={143},
  pages={104922},
  year={2024},
  publisher={Elsevier},
  doi={10.1016/j.imavis.2024.104922}
}

References

[1] Hu, X., Wang, T., Fu, C. W., Jiang, Y., Wang, Q., & Heng, P. A. (2021). Revisiting shadow detection: A new benchmark dataset for complex world. IEEE Transactions on Image Processing, 30, 1925-1934.

About

codes for the paper "Shadow detection using a cross-attentional dual-decoder network with self-supervised image reconstruction features"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages