Lune

AAAI2025Top-tier venue

Spin: Diffusion-based Semantic Image Painting Through Independent Information Injection

Dantong Wu, Zhiqiang Chen, Tianjiao Du, Peipei Ran, Mengchao Bai, Kai Zhang

2025Year

Abstract

Diffusion models have been utilized as powerful tools for various image editing tasks, including semantic image painting(SIP), which aims to generate content within masked regions conditioned on a reference image or text. SIP, especially those using images as condition, often suffers from three issues: semantic inconsistency, unnatural transitions and style inconsistency, which significantly hinder its practical application. To address these challenges, we propose a novel Semantic image Painting framework with INdependent INformation INjection(Spin). Specifically, we compute a saliency map to segregate the reference image into salient and non-salient components. We then filter out the non-salient information of it during the semantic embedding extraction phrase, and precisely inject the semantic embedding into the masked region instead of the whole image during the semantic generation phrase. Furthermore, we impose an additional style guidance to promote style consistency between background and foreground. Experimental results demonstrate that Spin achieve superior semantic similarity and image coherence across various styles, including realistic, pencil drawings, cartoon, and oil painting. Additionally, Spin offers diversity and editability, and can be integrated into other models that meet our prerequisites.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 6e490fc9-6ca5-4592-b91c-e317c2f3984a

Builds on12

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines