arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.12463cs.CVcs.AIcs.GRcs.HC
收藏

模式类比:通过类比学习执行程序化图像编辑

Pattern Analogies: Learning to Perform Programmatic Image Edits by Analogy

Brown University(布朗大学);Adobe Research(奥多比研究院)

Aditya Ganeshan, Thibault Groueix, Paul Guerrero, Radomír Měch, Matthew Fisher, Daniel Ritchie

AI总结:

本文提出通过模式类比和SplitWeave语言构建合成训练数据,并用TriFuser潜在扩散模型实现对模式图像的程序化编辑,实验证明该方法能忠实执行编辑并泛化到训练分布之外的模式风格。

摘要:

模式图像在数字和物理世界中无处不在,编辑它们的工具具有重要价值。但编辑模式图像十分棘手:期望的编辑往往是程序化的,即改变生成该模式的底层程序的结构感知编辑。人们可以尝试推断这一底层程序,但现有方法在处理复杂图像时表现不佳,并且生成的程序缺乏组织性,使编辑过程繁琐。在这项工作中,我们提出了一种对模式图像执行程序化编辑的新方法。通过使用模式类比——一对用于演示预期编辑的简单模式——以及基于学习的生成模型来执行这些编辑,我们的方法使用户能够直观地编辑模式。为了实现这一范式,我们引入了SplitWeave,一种领域特定语言,结合一个用于采样合成模式类比的框架,能够创建大规模、高质量的合成训练数据集。我们还提出了TriFuser,一种Latent Diffusion Model(LDM),旨在克服将LDM直接部署到此任务时出现的关键问题。在真实世界、艺术家来源的模式上进行的大量实验表明,我们的方法能够忠实地执行所演示的编辑,同时还能泛化到训练分布之外的相关模式风格。

英文摘要:

Pattern images are everywhere in the digital and physical worlds, and tools to edit them are valuable. But editing pattern images is tricky: desired edits are often programmatic: structure-aware edits that alter the underlying program which generates the pattern. One could attempt to infer this underlying program, but current methods for doing so struggle with complex images and produce unorganized programs that make editing tedious. In this work, we introduce a novel approach to perform programmatic edits on pattern images. By using a pattern analogy -- a pair of simple patterns to demonstrate the intended edit -- and a learning-based generative model to execute these edits, our method allows users to intuitively edit patterns. To enable this paradigm, we introduce SplitWeave, a domain-specific language that, combined with a framework for sampling synthetic pattern analogies, enables the creation of a large, high-quality synthetic training dataset. We also present TriFuser, a Latent Diffusion Model (LDM) designed to overcome critical issues that arise when naively deploying LDMs to this task. Extensive experiments on real-world, artist-sourced patterns reveals that our method faithfully performs the demonstrated edit while also generalizing to related pattern styles beyond its training distribution.

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

↑