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

将物理推理嵌入基于扩散的阴影生成

Embedding Physical Reasoning into Diffusion-Based Shadow Generation Under the Sun and Sky

Stony Brook University(石溪大学);UNC Charlotte(北卡罗来纳大学夏洛特分校)

Shilin Hu, Jingyi Xu, Akshat Dave, Dimitris Samaras, Hieu Le

AI总结:

本文提出通过几何推理和物理原理生成真实阴影,提升阴影的真实性和定位精度,实验显示在DESOBAV2数据集上效果优于现有方法。

摘要:

生成插入物体的真实阴影需要推理场景几何和光照。然而,现有方法大多在图像空间中操作,导致阴影与物体和光照的物理关系隐式学习,常产生错位或不合理的阴影。本文将阴影生成基于阴影形成的物理原理。给定复合图像和物体掩膜,我们恢复近似的场景几何并估计主导光照方向,通过几何推理得到物理基础的阴影估计。尽管粗略,该估计为阴影放置提供空间锚点。由于单张图像无法唯一推断光照,我们预测光照和阴影提示的置信度,并利用它们在生成过程中调节影响。这些提示、阴影掩膜、光照方向及其置信度,条件一个基于扩散的生成器,将估计细化为真实的阴影。在DESOBAV2上的实验表明,本文方法在阴影真实性和定位方面均优于现有方法,实现了23%的阴影区域RMSE和30%的阴影区域BER的降低。

英文摘要:

Generating realistic cast shadows for inserted foreground objects requires reasoning about scene geometry and illumination. However, most learning-based approaches treat shadow generation as an image translation problem and capture these physical relationships only implicitly. This often results in misaligned or implausible shadows. Motivated by the physics of shadow formation, we introduce explicit geometric guidance for outdoor shadow generation. Given a composite image and a foreground object mask, we recover approximate scene geometry and estimate a dominant light direction to derive a coarse shadow estimate via geometric reasoning. While coarse, this estimate provides a spatial anchor for shadow placement. Because illumination cannot always be uniquely inferred from a single image, we predict confidence scores for both lighting and shadow cues and use them to regulate their influence during generation. These cues (shadow mask, light direction, and their confidence scores) condition a diffusion-based generator that refines the estimate into a realistic shadow. Experiments on DESOBAV2 show substantially improved shadow-region fidelity and localization, with an overall 23% lower shadow-region RMSE and 30% lower shadow-mask BER than the prior state-of-the-art method.

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

↑