arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07784cs.CVcs.GR
收藏

MatSwap:图像中感知光照的材质迁移

MatSwap: Light-aware material transfers in images

Inria(法国国家信息与自动化技术研究所);Adobe Research(Adobe研究院)

Ivan Lopes, Valentin Deschaintre, Yannick Hold-Geoffroy, Raoul de Charette

AI总结:

本文提出MatSwap方法,通过定制感知光照与几何的扩散模型并微调预训练模型,实现无需显式UV映射的图像材质逼真迁移,在定性与定量上均优于现有工作。

摘要:

我们提出了MatSwap,一种将材质逼真地迁移到图像中指定表面的方法。由于照片中材质外观、几何形状和光照之间存在严重的纠缠,这一任务并不简单。在现有文献中,材质编辑方法通常依赖于繁琐的文本工程,或者需要大量的手动标注,这要求具备艺术知识以及难以获取的3D场景属性。相比之下,我们提出直接学习输入材质(在平坦表面上观察到的)与其在场景中外观之间的关系,而无需显式的UV映射。为了实现这一点,我们依赖一个定制的感知光照与几何的扩散模型。我们使用合成数据集对大规模预训练的文本到图像模型进行微调以实现材质迁移,同时保留其强大的先验知识,以确保对真实图像的有效泛化。因此,我们的方法将所需材质无缝集成到照片的目标位置中,同时保留场景的同一性。我们在合成图像和真实图像上评估了该方法,并表明它在定性和定量上均优于近期的工作。我们在 https://github.com/astra-vision/MatSwap 上发布了代码和数据。

英文摘要:

We present MatSwap, a method to transfer materials to designated surfaces in an image photorealistically. Such a task is non-trivial due to the large entanglement of material appearance, geometry, and lighting in a photograph. In the literature, material editing methods typically rely on either cumbersome text engineering or extensive manual annotations requiring artist knowledge and 3D scene properties that are impractical to obtain. In contrast, we propose to directly learn the relationship between the input material -- as observed on a flat surface -- and its appearance within the scene, without the need for explicit UV mapping. To achieve this, we rely on a custom light- and geometry-aware diffusion model. We fine-tune a large-scale pre-trained text-to-image model for material transfer using our synthetic dataset, preserving its strong priors to ensure effective generalization to real images. As a result, our method seamlessly integrates a desired material into the target location in the photograph while retaining the identity of the scene. We evaluate our method on synthetic and real images and show that it compares favorably to recent work both qualitatively and quantitatively. We release our code and data on https://github.com/astra-vision/MatSwap

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

↑