CVAIGRHCDec 17, 2024

Pattern Analogies: Learning to Perform Programmatic Image Edits by Analogy

arXiv:2412.12463v2h-index: 40CVPR
Originality Highly original
AI Analysis

This work addresses the challenge of intuitive, structure-aware editing of pattern images for users like artists and designers, representing a novel approach rather than an incremental improvement.

The paper tackles the problem of performing programmatic edits on pattern images by introducing a method that uses pattern analogies and a learning-based generative model, achieving faithful edits and generalization to related pattern styles beyond the training distribution.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes