Shape Bias Diffusion Network for Removing Human Shadows in Dark Environments Based on a Diffusion Model

25 Pages Posted: 23 Dec 2024

See all articles by Zhihao Ma

Zhihao Ma

affiliation not provided to SSRN

Weiliang Meng

affiliation not provided to SSRN

Xixi Zhao

affiliation not provided to SSRN

Rongtao Xu

affiliation not provided to SSRN

Longyu Jiang

Southeast University

Abstract

When taking photos on city streets at night, shadows of ourselves or passersby often get captured, significantly affecting the quality of the photos. Current shadow removal techniques for images primarily focus on prominent shadows during the daytime, but the task of removing human shadows in nighttime images has been largely neglected. In this paper, we propose a shape bias network called Shape Bias Diffusion Network (ShapeBiasDiff) based on the diffusion model, to address this task due to the indistinct texture information between shadows and surrounding areas in nighttime images. To our knowledge, this is the first work aimed at removing human shadows while preserving other shadows in nighttime images. In our ShapeBiasDiff, we design an edge composite module to prepare for the subsequent addition of features to the diffusion model. Then, we provide dynamic feature guidance to optimize the feature guidance process. Additionally, we introduce a novel Capsule Mamba UNet (CMUNet) network as the embedding network for the diffusion model. Furthermore, we construct our own Nocturnal Human Shadow Removal Dataset (NHSR) for this task, with a hybrid stylization training method. Experiments validate that our ShapeBiasDiff significantly outperforms other networks in the task of removing human shadows from nighttime images.The code is available at the link below:https://github.com/mzh529/ShapeBiasDiff.

Keywords: Human shadow removal, Diffusion models, State space sequence models, Capsule networks, Stylized training, Computer Vision

Suggested Citation

Ma, Zhihao and Meng, Weiliang and Zhao, Xixi and Xu, Rongtao and Jiang, Longyu, Shape Bias Diffusion Network for Removing Human Shadows in Dark Environments Based on a Diffusion Model. Available at SSRN: https://ssrn.com/abstract=5069206 or http://dx.doi.org/10.2139/ssrn.5069206

Zhihao Ma (Contact Author)

affiliation not provided to SSRN ( email )

Weiliang Meng

affiliation not provided to SSRN ( email )

Xixi Zhao

affiliation not provided to SSRN ( email )

Rongtao Xu

affiliation not provided to SSRN ( email )

Longyu Jiang

Southeast University ( email )

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
20
Abstract Views
124
PlumX Metrics