Overpainting: Localized Context-aware Diffusion Image Editing
Sam Sartor, Iliyan Georgiev, Michael Fischer, Valentin Deschaintre, Pieter Peers
Abstract
We present "overpainting", an image editing operation which offers both control over the location of the edit and awareness of the previous content in that location. The overpainted area is given by a trimap, where white-annotated pixels must be edited, gray-annotated pixels may be edited, and black-annotated pixels must not be edited. This enables both precise and loose control, depending on user intent. We implement overpainting by adapting a pretrained image editing diffusion model using a combination of joint attention and low-rank adaption across input images with attention-dropout to balance the information flow between noise, source and mask images. We present a novel, automated, training data generation pipeline that (1) generates a set of candidate image pairs leveraging existing language-based editing models, (2) carefully curates those pairs, and (3) extracts a trimap from each usable pair. We demonstrate the versatility of our overpainting model on a wide range of editing tasks.
Create a lesson
Metadata
- Comments
- Project page: https://overpainting.github.io/
Related papers
Recalling the Past to Answer the Present: Context-Aware Multi-Evidence Reasoning for Streaming Video Question Answering
Shared title terminologycs.CVCui Yakun, Tiantian Geng, Huixiang Kong et al.
Semantically Aligned Gradient-Driven Context-Preserving Image Editing
Shared title terminologycs.CVChiranjeev Chiranjeev, Muskan Dosi, Mayank Vatsa et al.
Context-Aware Causal Gaze Forecasting for Human-Vehicle Interaction During In-Cabin Tracking Dropouts
Shared title terminologycs.CVShabnam Shabani, Ghazal Farhani
High-Fidelity Image Matting with Pixel-Space Diffusion Transformers
Shared title terminologycs.CVBaihan Yang, Xin Lin, Yufan Wei et al.
DocDUR-Net: Degradation-Aware Unified Document Image Restoration
Shared title terminologycs.CVHaowei Xu, Peirong Zhang, Xuhan Zheng et al.
Physics-Guided Generative Modelling of Oxy-Combustion Flame Images: From Conditional LSGANs to Denoising Diffusion Models
Shared title terminologycs.CVImane Er-rabhi, Gorkem Oztarlik, Jean Caudal et al.