TextureDiffusion: Target Prompt Disentangled Editing for Various Texture Transfer

Zihan Su, Junhao Zhuang, Chun Yuan
9/15/2024
cs.CV

Official code: THU-CVML/TextureDiffusion (18 stars, last commit 2025-03-13).

Abstract

Recently, text-guided image editing has achieved significant success. However, existing methods can only apply simple textures like wood or gold when changing the texture of an object. Complex textures such as cloud or fire pose a challenge. This limitation stems from that the target prompt needs to contain both the input image content and <texture>, restricting the texture representation. In this paper, we propose TextureDiffusion, a tuning-free image editing method applied to various texture transfer. Initially, the target prompt is directly set to "<texture>", making the texture disentangled from the input image content to enhance texture representation. Subsequently, query features in self-attention and features in residual blocks are utilized to preserve the structure of the input image. Finally, to maintain the background, we introduce an edit localization technique which blends the self-attention results and the intermediate latents. Comprehensive experiments demonstrate that TextureDiffusion can harmoniously transfer various textures with excellent structure and background preservation. Code is publicly available at https://github.com/THU-CVML/TextureDiffusion

View on arXivView PDF

Code Implementations(1)

[ICASSP 2025 Oral] The official implementation of paper "TextureDiffusion: Target Prompt Disentangled Editing for Various Texture Transfer"

180Python, Jupyter NotebookSep 16, 20241 years ago

Similar Papers

Cite this paper

@article{su2024texturediffusion,
  title  = {TextureDiffusion: Target Prompt Disentangled Editing for Various Texture Transfer},
  author = {Zihan Su and Junhao Zhuang and Chun Yuan},
  year   = {2024},
  eprint = {2409.09610},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09610v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.09610.svg)](https://codeofpaper.com/paper/2409.09610)

Discussion