基于MADSUNet网络的图像阴影检测OA
Image Shadow Detection Based on MADSUNet Network
现有基于Unet++图像分割模型在复杂光照条件下图像阴影检测中由于堆叠卷积和下采样操作,可能导致浅层细节(如纹理、亮度梯度)的丢失,从而影响阴影边界的精准定位和弱阴影区域的检测效果.为了解决这个问题,该文提出一个图像阴影检测模型MADSUNet.在深层编码器加入自适应多头掩码注意力模块,该模块通过动态权重分配机制增强对阴影区域关键特征的聚焦能力,同时抑制非阴影背景的干扰,从而提升模型在复杂光照条件下的鲁棒性.此外,在解码器部分引入高效动态上采样器,进一步改善阴影边界的平滑性和连续性.实验结果表明,该模型在图像阴影检测方向有较高的准确率和检测性能,在SBU、UCF、ISTD三个数据集上平衡错误率(BER)值分别达到了4.99%、8.72%、2.06%,这意味着该模型可以准确识别不同光照条件下的图像阴影和非阴影区域,从而准确区分阴影和黑色背景.
In shadow detection within images under complex lighting conditions,the Unet++image segmentation model may lose shallow-level details(such as texture and brightness gradients)due to stacked convolutions and downsampling operations,thereby affecting the precise localization of shadow boundaries and the detection performance in weak shadow regions.To address this issue,we propose a shadow detection model named MADSUNet.An adaptive multi-head masked attention module is incorporated into the deep encoder,which enhances the focus on key features of shadow regions through a dynamic weight allocation mechanism while suppressing interference from non-shadow backgrounds,thereby improving the model's robustness under complex lighting conditions.Additionally,an efficient dynamic upsampler is introduced in the decoder to further refine the smoothness and continuity of shadow boundaries.Experi-mental results demonstrate that the proposed model achieves high accuracy and detection performance in shadow detection.On the SBU,UCF,and ISTD datasets,the Balanced Error Rate(BER)values reach 4.99%,8.72%,and 2.06%,respectively,indicating that the model can accurately identify shadow and non-shadow regions under varying lighting conditions,effectively distinguishing shadows from dark backgrounds.
何俊;张晓滨
西安工程大学 计算机科学学院,陕西 西安 710699西安工程大学 计算机科学学院,陕西 西安 710699
信息技术与安全科学
阴影检测Unet++动态上采样自适应多头掩码注意力特征增强
shadow detectionUnet++dynamic upsamplingadaptive multi-head masked attentionfeature enhancement
《计算机技术与发展》 2026 (3)
77-82,91,7
陕西省自然科学基础研究计划项目(2023-JC-YB-568)
评论