基于自注意力机制的图像去阴影算法
Image shadow removal algorithm based on self-attention mechanism
由于光源被不透明的物体遮挡,图像中往往会存在阴影,这干扰了下游视觉任务的精确性,也降低了图片的美观度。因此,需要对图像去除阴影。现有的去阴影方法通常基于卷积网络,受限于卷积的局部性无法有效获取全局上下文。为此,本文提出了基于自注意力机制的图像去阴影算法,能从远距离的非阴影区域借鉴色彩和亮度信息。同时,本文方法在LAB 颜色空间中修复色彩和亮度,避免RGB 颜色空间色彩、亮度相互耦合带来的干扰。此外,本文提出了色彩和亮度损失来约束色彩和亮度的一致性。本文方法在ISTD+ 数据集上相较于其他方法取得了更优的去阴影性能,证明了本文方法的有效性。
ue to the occlusion of opaque objects, shadows often exist in images, which affects the accuracy of downstream visual tasks and reduces the aesthetics of the image. Therefore, it is necessary to remove shadows from images. Existing shadow removal methods are usually based on convolutional neural networks, which are limited by the locality of convolution and cannot effectively obtain global context. To address this issue, this paper proposes an image shadow removal algorithm based on self-attention mechanism, which can borrow color and brightness information from distant non-shadow regions. Moreover, the proposed method restores color and brightness in the LAB color space to avoid interference caused by the coupling of color and brightness in the RGB color space. In addition, color and brightness losses are introduced to constrain the consistency of color and brightness. The proposed method outperforms other methods on the ISTD+ dataset, demonstrating its effectiveness.
王宝江、傅慧源
电子技术应用
人工智能计算机视觉阴影去除自注意力机制
artificial intelligencecomputer visionshadow removalself-attention mechanism
王宝江,傅慧源.基于自注意力机制的图像去阴影算法[EB/OL].(2023-04-07)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/202304-111.点此复制
评论