留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

结构引导的图像修复

胡凯 赵健 刘昱 牛余凯 姬港

胡凯, 赵健, 刘昱, 等 . 结构引导的图像修复[J]. 北京航空航天大学学报, 2022, 48(7): 1269-1277. doi: 10.13700/j.bh.1001-5965.2021.0004
引用本文: 胡凯, 赵健, 刘昱, 等 . 结构引导的图像修复[J]. 北京航空航天大学学报, 2022, 48(7): 1269-1277. doi: 10.13700/j.bh.1001-5965.2021.0004
HU Kai, ZHAO Jian, LIU Yu, et al. Images inpainting via structure guidance[J]. Journal of Beijing University of Aeronautics and Astronautics, 2022, 48(7): 1269-1277. doi: 10.13700/j.bh.1001-5965.2021.0004(in Chinese)
Citation: HU Kai, ZHAO Jian, LIU Yu, et al. Images inpainting via structure guidance[J]. Journal of Beijing University of Aeronautics and Astronautics, 2022, 48(7): 1269-1277. doi: 10.13700/j.bh.1001-5965.2021.0004(in Chinese)

结构引导的图像修复

doi: 10.13700/j.bh.1001-5965.2021.0004
基金项目: 

国家自然科学基金 62006244

详细信息
    通讯作者:

    赵健, E-mail: zhaojian90@u.nus.edu

  • 中图分类号: TN911.73

Images inpainting via structure guidance

Funds: 

National Natural Science Foundation of China 62006244

More Information
  • 摘要:

    针对粗网络引入先验知识较少使得补全的内容存在明显视觉伪影问题,提出了基于边缘结构生成器的两段式图像修复方法。采用边缘结构生成器对输入的图像边缘和色彩平滑信息进行特征学习,生成缺失区域的结构内容,以引导精细网络重构高质量的语义图像。通过在公开的图像修复基准数据集Paris Street-View上进行实验测试,结果表明,所提模型可对掩膜占比达50%的图像进行补全。在客观的量化评价指标上,峰值信噪比、结构相似度系数、L1L2均值误差等数值整体优于EC、GC、SF等方法,其中,掩膜占比为0%~20%时,峰值信噪比指数达到33.40 dB,优于其他方法2.37~6.57 dB,结构相似度系数提高了0.006~0.138。同时,补全的图像纹理更清晰,视觉质量更高。

     

  • 图 1  边缘连接方法的两段式修复模型

    Figure 1.  Two-stage restoration model of edge-connection method

    图 2  本文提出的图像修复模型

    Figure 2.  Proposed image inpainting model

    图 3  输入的掩膜样本

    Figure 3.  Input mask samples

    图 4  不同方法在粗网络阶段时输出结果的可视化对比

    Figure 4.  Visual comparison of output results for different methods in the coarse network stage

    图 5  不同方法在数据集Paris Street-View上的可视化对比结果

    Figure 5.  Comparison of visual results of different approaches in Paris Street-View dataset

    图 6  输入不同结构信息得到的可视化修复结果

    Figure 6.  Visual restoration results obtained from different input structure information

    表  1  不同方法在数据集Paris Street-View上的对比结果

    Table  1.   Comparison results of different approaches over Paris Street-View dataset

    方法 掩膜占比/% PSNR/dB SSIM L1/% L2/%
    0~20 28.71 0.953 2.49 2.07
    SF 20~40 25.41 0.895 3.96 3.65
    40~60 22.32 0.756 5.26 5.03
    0~20 31.03 0.963 2.12 1.21
    EC 20~40 26.07 0.876 3.43 3.04
    40~60 23.45 0.721 6.33 5.89
    0~20 28.26 0.932 3.30 2.30
    GC 20~40 24.83 0.821 4.21 4.26
    40~60 22.61 0.650 7.21 6.13
    0~20 26.83 0.831 8.12 3.84
    CA 20~40 23.81 0.694 10.2 5.49
    40~60 20.26 0.535 11.32 7.81
    0~20 33.40 0.969 1.31 1.07
    本文方法 20~40 28.65 0.883 3.10 3.01
    40~60 24.51 0.762 5.09 4.75
    下载: 导出CSV

    表  2  不同输入信息通过网络测试输出的修复结果

    Table  2.   Image inpainting results of different input information outputs through network test

    结构信息 PSNR/dB SSIM
    边缘信息 28.25 0.842
    色彩平滑信息 24.637 0.767
    两者皆有(本文) 30.23 0.971
    下载: 导出CSV
  • [1] SHAO H, WANG Y X, FU Y H, et al. Generative image inpainting via edge structure and color aware fusion[J]. Signal Processing: Image Communication, 2020, 87: 115929. doi: 10.1016/j.image.2020.115929
    [2] LIU H Y, JIANG B, XIAO Y, et al. Coherent semantic attention for image inpainting[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV). Piscataway: IEEE Press, 2019: 4169-4178.
    [3] YU J H, LIN Z, YANG J M, et al. Generative image inpainting with contextual attention[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2018: 5505-5514.
    [4] NAZERI K, NG E, JOSEPH T, et al. EdgeConnect: Generative image inpainting with adversarial edge learning[EB/OL]. (2019-01-01)[2020-12-31]. https://arxiv.org/abs/1901.00212.
    [5] YU J H, LIN Z, YANG J M, et al. Free-form image inpainting with gated convolution[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV). Piscataway: IEEE Press, 2019: 4471-4480.
    [6] REN Y R, YU X M, ZHANG R N, et al. StructureFlow: Image inpainting via structure-aware appearance flow[C]//2019 IEEE/CVF International Conference on Computer Vision (ICCV). Piscataway: IEEE Press, 2019: 181-190.
    [7] RONNEBERGER O, FISCHER P, BROX T. U-Net: Convolutional networks for biomedical image segmentation[C]//International Conference on Medical Image Computing and Computer-assisted Intervention. Berlin: Springer, 2015: 234-241.
    [8] YU F, KOLTUN V, FUNKHOUSER T. Dilated residual networks[C]//2017 IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2017: 472-480.
    [9] WANG T C, LIU M Y, ZHU J Y, et al. High-resolution image synthesis and semantic manipulation with conditional gans[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2018: 8798-8807.
    [10] MIYATO T, KATAOKA T, KOYAMA M, et al. Spectral normalization for generative adversarial networks[EB/OL]. (2018-02-16)[2020-12-31]. https://arxiv.org/abs/1802.05957.
    [11] GOODFELLOW I, POUGET-ABADIE J, MIRZA M, et al. Generative adversarial nets[C]//Proceedings of the 27th International Conference on Neural Information Processing Systems, 2014: 2672-2680.
    [12] GATYS L A, ECKER A S, BETHGS M. Image style transfer using convolutional neural networks[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2016: 2414-2423.
    [13] JOHNSON J, ALAHI A, FEI-FEI L. Perceptual losses for real-time style transfer and super-resolution[C]//European Conference on Computer Vision. Berlin: Springer, 2016: 694-711.
    [14] SONG Y, YANG C, LIN Z X, et al. Contextual-based image inpainting: Infer, match, and translate[C]//European Conference on Computer Vision. Berlin: Springer, 2018: 3-19.
    [15] XU L, LU C, XU Y, et al. Image smoothing via L0 gradient minimization[J]. ACM Transactions on Graphics, 2011, 30(6): 174.
    [16] XU L, YAN Q, XIA Y, et al. Structure extraction from texture via relative total variation[J]. ACM Transactions on Graphics, 2012, 31(6): 139.
    [17] YU F, KOLTUN V. Multi-scale context aggregation by dilated convolutions[EB/OL]. (2015-11-23)[2020-12-31]. https://arxiv.org/abs/1511.07122.
    [18] LIU G, REDA F A, SHIH K J, et al. Image inpainting for irregular holes using partial convolutions[C]//European Conference on Computer Vision. Berlin: Springer, 2018: 85-100.
    [19] MAO X, LI Q, XIE H, et al. Least squares generative adversarial networks[C]//2017 IEEE International Conference on Computer Vision. Piscataway: IEEE Press, 2017: 2794-2802.
    [20] LIU Y, CHENG M M, HU X, et al. Richer convolutional features for edge detection[C]//2017 IEEE Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2017: 5872-5881.
    [21] CANNY J. A computational approach to edge detection[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 1986, PAMI-8(6): 679-698. doi: 10.1109/TPAMI.1986.4767851
    [22] DOLLAR P, TU Z, BELONGIE S. Supervised learning of edges and object boundaries[C]//2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. Piscataway: IEEE Press, 2006: 1964-1971.
    [23] KINGMA D P, BA J. Adam: A method for stochastic optimization[EB/OL]. (2014-12-22)[2020-12-31]. https://arxiv.org/abs/1412.6980.
  • 加载中
图(6) / 表(2)
计量
  • 文章访问数:  257
  • HTML全文浏览量:  101
  • PDF下载量:  33
  • 被引次数: 0
出版历程
  • 收稿日期:  2021-01-06
  • 录用日期:  2021-03-05
  • 网络出版日期:  2021-03-16
  • 整期出版日期:  2022-07-20

目录

    /

    返回文章
    返回
    常见问答