首页 | 本学科首页   官方微博 | 高级检索  
     

融合边缘检测和自注意力的图像修复方法
引用本文:李维乾,张晓文.融合边缘检测和自注意力的图像修复方法[J].计算机系统应用,2021,30(5):150-156.
作者姓名:李维乾  张晓文
作者单位:西安工程大学 计算机科学学院, 西安 710600
摘    要:针对修复后图像边界模糊、图像纹理不清晰、视觉效果差的问题,提出了一种融合边缘检测和自注意力机制的生成式对抗修复模型.通过边缘检测可提取出图像的轮廓信息,避免了修复后边界模糊的问题;利用自注意力机制能够捕获图像全局信息并生成图像精确细节的能力,设计出融合自注意力机制的纹理修复网络.该模型由边缘补全网络和纹理修复网络组成,首先,设计的边缘补全网络对受损图像的边缘进行补全,得到边缘补全图像;其次,利用纹理修复网络联合补全的边缘图像对缺失区域的纹理进行精确修复.在CelebA和Place2两个图像数据集上对本文所建模型进行了训练和测试.实验结果表明:本文所建模型与现有图像修复方法相比,大幅提高了图像修复的精确度,且生成的图像更加逼真.

关 键 词:图像修复  生成对抗网络  自注意力机制  边缘检测  纹理修复
收稿时间:2020/8/31 0:00:00
修稿时间:2020/9/23 0:00:00

Combining Edge Detection and Self-Attention for Image Inpainting
LI Wei-Qian,ZHANG Xiao-Wen.Combining Edge Detection and Self-Attention for Image Inpainting[J].Computer Systems& Applications,2021,30(5):150-156.
Authors:LI Wei-Qian  ZHANG Xiao-Wen
Affiliation:School of Computer Science, Xi''an Polytechnic University, Xi''an 710600, China
Abstract:To address the problems of blurred image boundaries, unclear image texture, and poor visual effect after inpainting, we propose a generative adversarial inpainting model that combines edge detection with self-attention mechanism in this study. Through this model, the contour information of the images can be extracted by edge detection, avoiding the problem of blurred boundaries after inpainting. Since the self-attention mechanism can capture the global information of images and generate precise details, a texture inpainting network incorporating the self-attention mechanism is designed. The proposed model is composed of an edge complement network and a texture inpainting network. First, the designed edge complement network completes the edges of a damaged image to obtain an edge complement image. Secondly, the texture of the missing region is accurately inpainted by the texture inpainting network combining the complemented edge image. Finally, the model proposed in this study is trained and tested on the CelebA and Place2 image datasets. The experimental results show that compared with the existing image inpainting methods, the model can greatly improve the accuracy of image inpainting and generate vivid images.
Keywords:image inpainting  generation adversarial network  self-attention mechanism  edge detection  texture inpainting
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号