首页|期刊导航|重庆工商大学学报(自然科学版)|基于轻量级和笔触的超高清图像艺术风格迁移

基于轻量级和笔触的超高清图像艺术风格迁移OA

Artistic Style Transfer for Ultra-High-Resolution Images Based on a Lightweight Model with Large Brushstrokes

中文摘要英文摘要

目的 随着现代技术逐渐发展,图像的分辨率和用户需求日益增加,而有限的GPU显存面对超高清分辨率图像样式迁移任务时往往会发生内存溢出,此外现有的超高清图像艺术迁移方法忽视了笔触的影响,通常使用小笔触迁移样式,为此,本文提出了一个结合补丁切割方法的轻量级模型PCLM(Patch Cutting and Lightweight Model).方法 为了有效减少内存消耗,PCLM采用两步措施:首先将超高清大图切割成小补丁集合,将大作业转换为小作业,从根本上解决内存消耗问题,同时采用知识蒸馏压缩模型大小.此外,提出了补丁相关损失PRL(Patch Relation Loss)来控制样式迁移中的笔触大小和补丁一致性.结果 通过大量定性和定量的实验证明,PCLM能够在低显存下实现大笔触的超高分辨率风格迁移,在保证低内存占用的同时,在测试集上生成的艺术画作质量指标SSIM、PSNR、LPIPS 和储存空间(GB)分别达到 0.495 928、11.610 026、0.546 720 和 3.373 454.结论 从理论和实验分析了模型PCLM能够有效解决内存消耗问题,生成大笔触下高质量的超高清艺术画作,对后续处理超高分辨率图像任务具有参考价值.

Objective With the continuous advancement of modern technology,image resolution and user demands continue to increase.However,limited GPU memory frequently causes out-of-memory errors during ultra-high-resolution(UHR)style transfer tasks.Furthermore,existing UHR artistic transfer methods often neglect brushstroke characteristics,predominantly relying on small brushstrokes for style transfer.To address these challenges,this paper presents a lightweight framework integrating patch cutting,termed the Patch Cutting and Lightweight Model(PCLM).Methods To effectively reduce memory consumption,the proposed model employed a dual optimization strategy.First,UHR images were segmented into patch collections,a process that broke down a large-scale task into smaller subtasks to fundamentally address the memory bottleneck.Simultaneously,knowledge distillation was utilized to compress model parameters.In addition,a patch relation loss(PRL)was proposed to control both brushstroke size and patch consistency during style transfer.Results Extensive qualitative and quantitative experiments demonstrated that PCLM successfully realized UHR style transfer with large brushstrokes under constrained memory conditions.While maintaining a minimal memory footprint,the model achieved the following evaluation metrics on the test set:0.495 928(SSIM),11.610 026 dB(PSNR),0.546 720(LPIPS),and 3.373 454 GB(GPU memory usage).Conclusion Theoretical analysis and empirical results confirm that PCLM effectively resolves the memory consumption challenge and generates high-quality UHR artistic paintings featuring large brushstrokes.This study provides a valuable reference for subsequent UHR image processing tasks.

杨天;丁一峰;尹淑婷;李长庚

安徽理工大学计算机科学与工程学院,安徽淮南 232001安徽理工大学计算机科学与工程学院,安徽淮南 232001安徽理工大学计算机科学与工程学院,安徽淮南 232001安徽理工大学计算机科学与工程学院,安徽淮南 232001

信息技术与安全科学

切割补丁超高清模型压缩大笔触

patch cuttingultra-high-resolutionmodel compressionlarge brushstroke

《重庆工商大学学报(自然科学版)》 2026 (4)

10-17,8

安徽省自然科学基金项目资助(2023085MF220).

10.16055/j.issn.1672-058X.2026.0004.002

评论