MagicStyle: Portrait Stylization Based on Reference Image

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Deng, Zhaoli, Zhou, Kaibin, Wang, Fanyi, Mi, Zhenpeng
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909313464795136
author Deng, Zhaoli
Zhou, Kaibin
Wang, Fanyi
Mi, Zhenpeng
author_facet Deng, Zhaoli
Zhou, Kaibin
Wang, Fanyi
Mi, Zhenpeng
contents The development of diffusion models has significantly advanced the research on image stylization, particularly in the area of stylizing a content image based on a given style image, which has attracted many scholars. The main challenge in this reference image stylization task lies in how to maintain the details of the content image while incorporating the color and texture features of the style image. This challenge becomes even more pronounced when the content image is a portrait which has complex textural details. To address this challenge, we propose a diffusion model-based reference image stylization method specifically for portraits, called MagicStyle. MagicStyle consists of two phases: Content and Style DDIM Inversion (CSDI) and Feature Fusion Forward (FFF). The CSDI phase involves a reverse denoising process, where DDIM Inversion is performed separately on the content image and the style image, storing the self-attention query, key and value features of both images during the inversion process. The FFF phase executes forward denoising, harmoniously integrating the texture and color information from the pre-stored feature queries, keys and values into the diffusion generation process based on our Well-designed Feature Fusion Attention (FFA). We conducted comprehensive comparative and ablation experiments to validate the effectiveness of our proposed MagicStyle and FFA.
format Preprint
id arxiv_https___arxiv_org_abs_2409_08156
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MagicStyle: Portrait Stylization Based on Reference Image
Deng, Zhaoli
Zhou, Kaibin
Wang, Fanyi
Mi, Zhenpeng
Computer Vision and Pattern Recognition
The development of diffusion models has significantly advanced the research on image stylization, particularly in the area of stylizing a content image based on a given style image, which has attracted many scholars. The main challenge in this reference image stylization task lies in how to maintain the details of the content image while incorporating the color and texture features of the style image. This challenge becomes even more pronounced when the content image is a portrait which has complex textural details. To address this challenge, we propose a diffusion model-based reference image stylization method specifically for portraits, called MagicStyle. MagicStyle consists of two phases: Content and Style DDIM Inversion (CSDI) and Feature Fusion Forward (FFF). The CSDI phase involves a reverse denoising process, where DDIM Inversion is performed separately on the content image and the style image, storing the self-attention query, key and value features of both images during the inversion process. The FFF phase executes forward denoising, harmoniously integrating the texture and color information from the pre-stored feature queries, keys and values into the diffusion generation process based on our Well-designed Feature Fusion Attention (FFA). We conducted comprehensive comparative and ablation experiments to validate the effectiveness of our proposed MagicStyle and FFA.
title MagicStyle: Portrait Stylization Based on Reference Image
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.08156