ColorEdit: Training-free Image-Guided Color editing with diffusion model

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yin, Xingxi, Li, Zhi, Zhang, Jingfeng, Li, Chenglin, Zhang, Yin
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912354141208576
author Yin, Xingxi
Li, Zhi
Zhang, Jingfeng
Li, Chenglin
Zhang, Yin
author_facet Yin, Xingxi
Li, Zhi
Zhang, Jingfeng
Li, Chenglin
Zhang, Yin
contents Text-to-image (T2I) diffusion models, with their impressive generative capabilities, have been adopted for image editing tasks, demonstrating remarkable efficacy. However, due to attention leakage and collision between the cross-attention map of the object and the new color attribute from the text prompt, text-guided image editing methods may fail to change the color of an object, resulting in a misalignment between the resulting image and the text prompt. In this paper, we conduct an in-depth analysis on the process of text-guided image synthesizing and what semantic information different cross-attention blocks have learned. We observe that the visual representation of an object is determined in the up-block of the diffusion model in the early stage of the denoising process, and color adjustment can be achieved through value matrices alignment in the cross-attention layer. Based on our findings, we propose a straightforward, yet stable, and effective image-guided method to modify the color of an object without requiring any additional fine-tuning or training. Lastly, we present a benchmark dataset called COLORBENCH, the first benchmark to evaluate the performance of color change methods. Extensive experiments validate the effectiveness of our method in object-level color editing and surpass the performance of popular text-guided image editing approaches in both synthesized and real images.
format Preprint
id arxiv_https___arxiv_org_abs_2411_10232
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ColorEdit: Training-free Image-Guided Color editing with diffusion model
Yin, Xingxi
Li, Zhi
Zhang, Jingfeng
Li, Chenglin
Zhang, Yin
Computer Vision and Pattern Recognition
Artificial Intelligence
Text-to-image (T2I) diffusion models, with their impressive generative capabilities, have been adopted for image editing tasks, demonstrating remarkable efficacy. However, due to attention leakage and collision between the cross-attention map of the object and the new color attribute from the text prompt, text-guided image editing methods may fail to change the color of an object, resulting in a misalignment between the resulting image and the text prompt. In this paper, we conduct an in-depth analysis on the process of text-guided image synthesizing and what semantic information different cross-attention blocks have learned. We observe that the visual representation of an object is determined in the up-block of the diffusion model in the early stage of the denoising process, and color adjustment can be achieved through value matrices alignment in the cross-attention layer. Based on our findings, we propose a straightforward, yet stable, and effective image-guided method to modify the color of an object without requiring any additional fine-tuning or training. Lastly, we present a benchmark dataset called COLORBENCH, the first benchmark to evaluate the performance of color change methods. Extensive experiments validate the effectiveness of our method in object-level color editing and surpass the performance of popular text-guided image editing approaches in both synthesized and real images.
title ColorEdit: Training-free Image-Guided Color editing with diffusion model
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2411.10232