登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

基于对抗生成网络的图像修复应用毕业论文

 2022-01-13 09:01  

论文总字数:19877字

摘 要

当今随着影像设备的普及,几乎人人都拥有了记录美好画面的设备,得益于这些设备,我们能够保留最美好的回忆,每个人都能创造出独一无二的作品。但是其中也不乏一些影响其成为一幅优秀作品的因素,比如一些遮挡,一些技术或设备缺陷造成的缺损。传统的图像修复[1]算法往往能够在某些方面能够有不错的表现,但是存在泛化能力比较差的缺点,无法作为一个图像修复的模型普遍适用于多种不同的缺失问题,往往都是由多个模型组合使用。

本文致力于应用深度生成对抗神经网络,寻找一种能够有较强适应性,能够作为单一的模型进行部署的方案。通过使用TensorFlow构建了DCGAN[2],在GPU上完成了DCGAN针对CelebA数据集的训练并且保存了完成训练的生成对抗神经网络的结构和训练参数,提取了网络结构中关于由100阶噪声生成图像的生成网络部分以及训练好的参数,并将其单独作为图像修复的核心,围绕生成生成网络构建一个修复优化问题。即通过缺损图像未缺失部分来使得生成器可以生成与原图非缺失部分最为相似的图像,从而将生成的图像的对应位置填充到原图的未缺失部分。简单的填充可能会有较明显的边缘,所以在填充的时候运用了一些泊松融合的方式。

实验表明,该算法能够在对噪声进行不错的填充,对较少的缺失能够有良好的修复效果,对较大的缺失能够做到内容上的正确填充。最后展现了一下修复效果,以及提出了一个假设,并对这个假设进行了一些讨论。

关键词:深度学习 对抗神经网络 图像修复 TensorFlow

Image completion application based on GAN

ABSTRACT

With the popularity of video equipment today, almost everyone has the equipment to record beautiful pictures. Thanks to these equipment, we can retain the best memories, and everyone can create unique works. But there are also some factors that prevent it from becoming a good work, such as defects caused by some technical. Traditional image restoration algorithms can often perform well in some aspects, but have the disadvantage of poor generalization ability. They cannot be used as an image restoration model and are generally applicable to many different missing problems, often composed of multiple The model is used in combination.

This paper is devoted to the application of deep generative adversarial networks to find a solution that can be more adaptive and can be deployed as a single model. By constructing DCGAN using TensorFlow, DCGAN is trained on the CelebA dataset on the GPU and the structure and training parameters of the neural network will be saved. The generation network will generate image from 100th order noise. Structure and trained parameters, and making them as the core of image inpainting, build a repair optimization problem around the generative adversarial networks. In another word, the missing image of the defect image enables the generator to generate an image that is most similar to the non-missing portion of the original image, thereby filling the corresponding position of the generated image into the unmissed portion of the original image. Simple fills may have more pronounced edges, so the Poisson Blend is used during the inpainting.

After experimentation, the algorithm can fill the random noise of the picture well, can have a good repair effect for fewer missing, and can correctly fill the content of large missing. At the end,it shows the repair effect, and puts forward a hypothesis, and some discussion on this hypothesis

Keywords: Deep Learning; GAN; Image Inpainting; TensorFlow

目录

摘 要 II

ABSTRACT III

目录 IV

第一章 绪论 1

1.1 课题背景 1

1.2 课题研究现状 1

1.3 主要内容 2

第二章 文献综述 3

2.1生成对抗网络 3

2.2神经网络 4

2.2.1 传统神经网络 4

2.2.1 卷积神经网络 5

2.3深度卷积对抗生成网络 6

2.2.1 生成器G 7

2.2.2 判别器D 7

2.2.3 损失函数 8

2.4 Shannon信息论 9

2.5 训练技巧 10

2.5.1 BatchNormalization 10

2.5.2 Leaky ReLU 11

2.5.3 动量梯度下降 12

第三章 模型设计 13

3.1 实验平台 13

3.1.1 实验环境的搭建 13

3.1.2 深度学习平台 13

3.2 修复算法设计 14

3.2.1深度对抗神经网络 14

3.2.2修复优化 16

3.2.3 第三部分,泊松融合 17

3.3 训练数据的预处理 18

第四章 模型应用与测试 19

4.1 训练可视化 19

4.1.1 信号变量与槽函数 20

4.2 效果展示 21

4.3 进一步探讨 23

参考文献 26

总 结 28

致 谢 29

第一章 绪论

1.1 课题背景

随着人工智能在今年来的爆炸式发展,越来越多的与AI有关的产品开始进入到人们的日常生活中去。尤其是在中国,由于科研团队的强大和国家政策的扶持,再加上人口红利的优势,使得AI在国内能够有更加强大的发展、更加广泛的应用,更加勇敢的尝试,这给了我们把AI带入普通人生活之方方面面以巨大的信心。

目前,影像设备的蓬勃发展,图像数据产生规模之大、涉及之广、结构之复杂前所未有,可也存在着各种各样的缺陷,使得其不能成为一副完美的作品,所以修复技术的发展与应用是有着非常重要的客观条件和实际需求的。

1.2 课题研究现状

图像修复是指在一张图片中存在缺失或者存在人为原因需要去除的部分,可以利用已知的先验信息来将这些区域进行修复或填充的工作[3]。以下介绍两类图像修复的基本算法,以及其适用性。

请支付后下载全文,论文总字数:19877字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图