Publication | Closed Access
Paint by Example: Exemplar-based Image Editing with Diffusion Models
275
Citations
54
References
2023
Year
Unknown Venue
EngineeringMachine LearningImage ManipulationStyle TransferExemplar ImageImage AnalysisExemplar-guided ImagePattern RecognitionComputational ImagingSynthetic Image GenerationExemplar-based Image EditingMachine VisionComputer ScienceHuman Image SynthesisDeep LearningMedical Image ComputingNon-photorealistic RenderingComputer VisionLanguage-guided Image EditingInpaintingVideo Hallucination
Language-guided image editing has achieved great success recently. In this paper, we investigate exemplar-guided image editing for more precise control. We achieve this goal by leveraging self-supervised training to disentangle and re-organize the source image and the exemplar. However, the naive approach will cause obvious fusing artifacts. We carefully analyze it and propose a content bottleneck and strong augmentations to avoid the trivial solution of directly copying and pasting the exemplar image. Meanwhile, to ensure the controllability of the editing process, we design an arbitrary shape mask for the exemplar image and leverage the classifier-free guidance to increase the similarity to the exemplar image. The whole framework involves a single forward of the diffusion model without any iterative optimization. We demonstrate that our method achieves an impressive performance and enables controllable editing on in-the-wild images with high fidelity. The code and pretrained models are available at https://github.com/Fantasy-Studio/Paint-by-Example.
| Year | Citations | |
|---|---|---|
Page 1
Page 1