基于边缘提示引导的轻量化单幅图像去雪网络Edge Prompt Guided Lightweight Network for Single Image Snow Removal
余孝源,梁天雨,李丰果
摘要(Abstract):
针对单幅图像去雪方法计算开销较大、边缘细节恢复不足以及复杂雪纹干扰下结构信息易退化等问题,提出一种基于边缘提示引导的轻量化单幅图像去雪网络(Edge-Prompt Lightweight Multi-Scale Network, EPLMS-Net)。该网络首先利用显式边缘算子构建输入图像的边缘提示信息,以低额外开销为网络提供结构先验;然后设计非对称多尺度编码器,在控制参数量和计算量的同时增强多尺度特征表征能力;接着,在解码恢复阶段引入边缘提示引导交互模块,对不同尺度恢复特征进行空间调制,以提升网络对雪干扰区域和高频结构区域的关注能力;随后,构建由重建损失、结构相似性损失和边缘一致性损失组成的联合损失函数,从像素和结构2个层面约束去雪结果。为了验证网络性能,在Snow100K数据集上,将EPLMS-Net与JSTASR、Desnow-Net、Restormer等6个基线方法进行了对比实验。此外,为了验证边缘提示引导交互模块和边缘一致性损失的有效性,进行了消融实验。对比实验结果验证了EPLMS-Net能以较低的计算开销获得具有竞争力的图像复原性能:(1)与主流强基线方法(Restormer)相比,高参数配置版EPLMS-Net-l在仅牺牲少量复原性能的情况下,显著降低了模型复杂度,其中EPLMS-Net-l的SSIM值仅降低0.007,参数量却减少了51.7%;(2)最轻量化版本EPLMS-Net-n的计算量FLOPs仅为6.29 G,约为EPLMS-Net-l的28%,且取得了较好的去雪效果,其PSNR、SSIM值分别达到30.43 dB和0.911 4。消融实验结果表明边缘提示引导交互模块和边缘一致性损失对提升模型去雪效果具有积极作用:相较于EPLMS-Net,分别缺少边缘提示引导交互模块、边缘一致性损失函数的2个网络变体的PSNR值下降了0.501 7、0.137 3 dB。综上所述,EPLMS-Net在图像复原性能与模型复杂度之间取得了较好的平衡,适用于资源受限场景下的视觉恢复任务。
关键词(KeyWords): 单幅图像去雪;轻量化网络;边缘提示;多尺度特征
基金项目(Foundation): 广东省基础与应用基础研究基金项目(2022A1515110119)
作者(Author): 余孝源,梁天雨,李丰果
参考文献(References):
- [1] 谢亚轩,吴一全.基于深度学习的无人机航拍图像车辆检测方法研究进展[J/OL].系统工程与电子技术,(2026-04-26)[2026-05-10].https://link.cnki.net/urlid/11.2422.TN.20260424.1309.006.Xie Y X,Wu Y Q.Advances of vehicle detection in drone aerial images based on deep learning[J].Systems Engineering and Electronics,(2026-04-26)[2026-05-10].https://link.cnki.net/urlid/11.2422.TN.20260424.1309.006.
- [2] 伍锡如,郝家琦,赵一波,等.复杂天气条件下基于YOLO-CGT的自动驾驶车辆检测[J].光学精密工程,2025,33(19):3135-3149.Wu X R,Hao J Q,Zhao Y B,et al.Autonomous vehicle detection in complex weather based on YOLO-CGT[J].Optics and Precision Engineering,2025,33(19):3135-3149.
- [3] Wang X,Zhang X D,Zhang J,et al.Image dehazing algorithm by combining light field multi-cues and atmospheric scattering model[J].Opto-Electronic Engineering,2020,47:190634.
- [4] Chen W T,Fang H Y,Ding J J,et al.JSTASR:Joint size and transparency-aware snow removal algorithm based on modified partial convolution and veiling effect removal[C]//Computer Vision:ECCV 2020:16th European Conference on Computer Vision.Cham:Springer,2020:754-770.
- [5] Liu Y F,Jaw D W,Huang S C,et al.Desnownet:context-aware deep network for snow removal[J].IEEE Transactions on Image Processing,2018,27(6):3064-3073.
- [6] Wang T Y,Yang X,Xu K,et al.Spatial attentive single-image deraining with a high quality real rain dataset[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway,NJ:IEEE,2019:12270-12279.
- [7] Zamir S W,Arora A,Khan S,et al.Restormer:efficient transformer for high-resolution image restoration[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway,NJ:IEEE,2022:5728-5739.
- [8] Liang J Y,Cao J Z,Sun G L,et al.Swinir:image restoration using Swin Transformer[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.Piscataway,NJ:IEEE,2021:1833-1844.
- [9] Yu Y B,Li W D,Bai L Y,et al.UTDM:a universal transformer-based diffusion model for multi-weather-degraded images restoration[J].The Visual Computer,2025,41(6):4269-4285.
- [10] Valanarasu J M J,Yasarla R,Patel V M.Transweather:Transformer-based restoration of images degraded by adverse weather conditions[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway,NJ:IEEE,2022:2353-2363.
- [11] Ye D J,Ni Z K,Wang H L,et al.CSformer:bridging convolution and transformer for compressive sensing[J].IEEE Transactions on Image Processing,2023,32:2827-2842.
- [12] Cai Y H,Lin J,Lin Z D,et al.Mst++:multi-stage spectral-wise transformer for efficient spectral reconstruction[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway,NJ:IEEE,2022:745-755.
- [13] Zhu R X,Tu Z Z,Liu J M,et al.Mwformer:multi-weather image restoration using degradation-aware transformers[J].IEEE Transactions on Image Processing,2024,33:6790-6805.
- [14] 林晓,苏世辉,赵天娜,等.RASP-Net:基于残差块和高相似传递注意力的图像去雪网络[J].计算机辅助设计与图形学学报,2026,38(1):155-164.Lin X,Su S H,Zhao T N,et al.RASP-Net:residual block with high similarity pass attention for image desnowing[J].Journal of Computer-Aided Design & Computer Graphics,2026,38(1):155-164.
- [15] 秦溢,战鹏祥,鲜峰,等.FE-DARFormer:基于频域增强与退化感知路由Transformer的图像去雪模型[J].计算机科学,2025,52(11):113-122.Qin Y,Zhan P X,Xian F,et al.FE-DARFormer:image desnowing model based on frequency enhancement and degradation-aware routing transformer[J].Computer Science,2025,52(11):113-122.
- [16] 文渊博,高涛,安毅生,等.基于视觉提示学习的天气退化图像恢复[J].计算机学报,2024,47(10):2401-2416.Wen Y B,Gao T,An Y S,et al.Weather-degraded image restoration based on visual prompt learning[J].Chinese Journal of Computers,2024,47(10):2401-2416.
- [17] Potlapalli V,Zamir S W,Khan S H,et al.Promptir:prompting for all-in-one image restoration[C]//Proceedings of the 37th International Conference on Neural Information Processing Systems.Red Hook,NY:Curran Associates,Inc,2023,36:71275-71293.
- [18] Wang C,Pan J S,Wang W,et al.PromptRestorer:a prompting image restoration method with degradation perception[C]//Proceedings of the 37th International Conference on Neural Information Processing Systems.Red Hook,NY:Curran Associates,Inc,2023,36:8898-8912.
- [19] Li R T,Tan R T,Cheong L F,et al.All in one bad weather removal using architectural search[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern recognition.Piscataway,NJ:IEEE,2020:3175-3185.
- [20] Zhu Y R,Wang T Y,Fu X Y,et al.Learning weather-general and weather-specific features for image restoration under multiple adverse weather conditions[C]//Procee-dings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.Piscataway,NJ:IEEE,2023:21747-21758.