基于生成对抗网络的人脸灰度图上色
2018-07-28李炬
李炬
摘要:生成对抗网络给深度学习领域引入了一种新的模型训练思想。基于这种对抗生成的思想设计了一种人脸灰度图上色模型, 其中包含一个特征图尺寸不变的卷积神经网络作为生成器和两方面代价函数。对整个网络进行端到端的训练, 以人脸灰度图作为直接输入, 在生成器的输出端为三通道的彩色图像, 在判别部分的输出端给出生成图像质量的评价。实验表明, 在一定的数据和迭代次数下所提方法是可行的, 所生成的图像也能有效保留原灰度图中的细节信息。
关键词:生成对抗网络;生成器;判别器;人脸图像;上色
中图分类号:TP183 文献标识码:A 文章编号:1009-3044(2018)11-0179-03
Gray-Scale Face Images Colorization Based on Generative Adversarial Network
LI Ju
(Department of Information Science and Technology, Chengdu 611756, China )
Abstract: Generative adversarial network has introduced a new training idea for deep learning. This work designed a model for colorization of gray-scale face images based on the idea of GAN. The model contains a convolutional network treated as generator with fixed size of feature maps and two aspects of cost functions. To achieve desired colorization, the model was trained end-to-end with gray-scale face images as input and extracted 3-channel colorful images at the output end of generator. Quality assessments for generated images can be obtained at the output end of discriminator. Experiments show that proposed method is practicable under a limited number of datum and iterations and generated images retaining effectively the details of input gray-scale images.
Key words: generative adversarial network; generator; discriminator; face images; colorization
彩色圖像比灰度图像携带了更多的信息, 能使人类更清楚地观察世界, 然而在很多情况下人们获取的仍然是比较单一的灰度图像。人类在眼睛和大脑的帮助下能轻松地推理出灰度图像所对应的彩色图像大致是什么样的,但是对于计算机而言,要展示这种色彩推理能力并不那么容易。上色问题面对的现实情况复杂多样。人们了解的某一类物体的颜色可能有多种, 例如人的皮肤可能呈现白色、黄色、黑色等;许多物体在灰度图上的亮度值没有太大的区别, 例如深蓝色与紫色的服装, 这使得很多上色成为多解的问题;一些物体的颜色几乎是固定的色几乎是固定的, 如蓝色的海洋, 这又给出了色彩信息的约束条件。本文旨在利用深度学习技术对这一问题做一定探索。……
