arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02743cs.CV
收藏

MultiShadow: 基于扩散模型的多物体阴影生成用于图像合成

MultiShadow: Multi-Object Shadow Generation for Image Compositing via Diffusion Model

School of Information Technology, Murdoch University(信息科技学院,穆尔彻大学)

Waqas Ahmed, Dean Diepeveen, Ferdous Sohel

AI总结:

本文提出基于扩散模型的多物体阴影生成方法,通过多模态特征融合和注意力对齐损失,实现多物体阴影的物理合理合成。

摘要:

真实感的阴影生成对于实现无缝图像合成至关重要,但现有方法主要集中在单个物体插入,且在多个前景物体被合成到背景场景时往往无法泛化。然而,在实践中,现代合成管线和现实应用经常同时插入多个物体,需要在几何、附着和位置上联合一致的阴影。在本文中,我们解决了尚未被充分探索的多物体阴影生成问题,旨在为多个插入物体合成物理合理的阴影。我们的方法利用了预训练的文本到图像扩散模型的多模态能力。图像路径注入密集的多尺度特征,以提供细粒度的空间指导,而文本路径将每个物体的阴影边界框编码为学习的位置标记,并通过交叉注意融合。注意力对齐损失进一步将这些标记与对应的阴影区域联系起来。为了支持此任务,我们通过构建包含多个插入物体的复合场景来增强DESOBAv2数据集,并自动推导结合物体类别和阴影位置信息的提示。实验结果表明,我们的方法在单个和多个物体阴影生成设置中均实现了最先进的性能。

英文摘要:

Realistic shadow generation is crucial for achieving seamless image compositing, yet existing methods primarily focus on single-object insertion and often fail to generalize when multiple foreground objects are composited into a background scene. In practice, however, modern compositing pipelines and real-world applications often insert multiple objects simultaneously, necessitating shadows that are jointly consistent in terms of geometry, attachment, and location. In this paper, we address the under-explored problem of multi-object shadow generation, aiming to synthesize physically plausible shadows for multiple inserted objects. Our approach exploits the multimodal capabilities of a pre-trained text-to-image diffusion model. An image pathway injects dense, multi-scale features to provide fine-grained spatial guidance, while a text-based pathway encodes per-object shadow bounding boxes as learned positional tokens and fuses them via cross-attention. An attention-alignment loss further grounds these tokens to their corresponding shadow regions. To support this task, we augment the DESOBAv2 dataset by constructing composite scenes with multiple inserted objects and automatically derive prompts combining object category and shadow positioning information. Experimental results demonstrate that our method achieves state-of-the-art performance in both single and multi-object shadow generation settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑