修补
先验概率
人工智能
计算机科学
棱锥(几何)
背景(考古学)
图像(数学)
推论
发电机(电路理论)
模式识别(心理学)
概率逻辑
计算机视觉
机器学习
贝叶斯概率
数学
古生物学
功率(物理)
物理
几何学
量子力学
生物
作者
Wendong Zhang,Yunbo Wang,Bingbing Ni,Xiaokang Yang
标识
DOI:10.1016/j.patcog.2023.109741
摘要
Restoring reasonable and realistic content for arbitrary missing regions in images is an important yet challenging task. Although recent image inpainting models have made significant progress in generating vivid visual details, they can still lead to texture blurring or structural distortions due to contextual ambiguity when dealing with more complex scenes. To address this issue, we propose the Semantic Pyramid Network (SPN) motivated by the idea that learning multi-scale semantic priors from specific pretext tasks can greatly benefit the recovery of locally missing content in images. SPN consists of two components. First, it distills semantic priors from a pretext model into a multi-scale feature pyramid, achieving a consistent understanding of the global context and local structures. Within the prior learner, we present an optional module for variational inference to realize probabilistic image inpainting driven by various learned priors. The second component of SPN is a fully context-aware image generator, which adaptively and progressively refines low-level visual representations at multiple scales with the (stochastic) prior pyramid. We train the prior learner and the image generator as a unified model without any post-processing. Our approach achieves the state of the art on multiple datasets, including Places2, Paris StreetView, CelebA, and CelebA-HQ, under both deterministic and probabilistic inpainting setups.
科研通智能强力驱动
Strongly Powered by AbleSci AI