arXiv:2504.14294cs.CV2025-04TPAMI被引 4

用自适应对齐机制提升图像修复的连贯性与细节

From Missing Pieces to Masterpieces: Image Completion with Context-Adaptive Diffusion

  • 引入上下文自适应差异模型,动态对齐生成与原图分布
  • 在多个数据集上显著超越现有方法,修复区域更自然
  • 适合需要高保真图像修复的视觉生成任务

图像补全是一项挑战性任务,尤其在确保生成内容与图像已有部分无缝融合方面。尽管最近的扩散模型展现出潜力,但常因扩散过程中缺乏显式的空间与语义对齐,导致生成内容与原图不连贯。此外,扩散模型通常依赖全局学习分布而非局部特征,造成生成与现有部分不一致。本文提出ConFill框架,引入上下文自适应差异(CAD)模型,确保已知与未知区域在扩散过程中的中间分布紧密对齐。通过CAD,模型在每一步扩散中逐步减少生成与原图之间的差异,实现上下文一致的补全。同时,ConFill采用动态采样机制,自适应提高高重建复杂度区域的采样率,从而精确调整细节并增强恢复区域的融合度。大量实验表明,ConFill优于当前方法,在图像补全任务上树立了新基准。

原文摘要 · Abstract (English)

Image completion is a challenging task, particularly when ensuring that generated content seamlessly integrates with existing parts of an image. While recent diffusion models have shown promise, they often struggle with maintaining coherence between known and unknown (missing) regions. This issue arises from the lack of explicit spatial and semantic alignment during the diffusion process, resulting in content that does not smoothly integrate with the original image. Additionally, diffusion models typically rely on global learned distributions rather than localized features, leading to inconsistencies between the generated and existing image parts. In this work, we propose ConFill, a novel framework that introduces a Context-Adaptive Discrepancy (CAD) model to ensure that intermediate distributions of known and unknown regions are closely aligned throughout the diffusion process. By incorporating CAD, our model progressively reduces discrepancies between generated and original images at each diffusion step, leading to contextually aligned completion. Moreover, ConFill uses a new Dynamic Sampling mechanism that adaptively increases the sampling rate in regions with high reconstruction complexity. This approach enables precise adjustments, enhancing detail and integration in restored areas. Extensive experiments demonstrate that ConFill outperforms current methods, setting a new benchmark in image completion.

图像修复扩散模型上下文对齐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。