Saved in:
Bibliographic Details
Main Authors: Lobashev, Alexander, Larchenko, Maria, Guskov, Dmitry
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.19034
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914522265026560
author Lobashev, Alexander
Larchenko, Maria
Guskov, Dmitry
author_facet Lobashev, Alexander
Larchenko, Maria
Guskov, Dmitry
contents We propose SW-Guidance, a training-free approach for image generation conditioned on the color distribution of a reference image. While it is possible to generate an image with fixed colors by first creating an image from a text prompt and then applying a color style transfer method, this approach often results in semantically meaningless colors in the generated image. Our method solves this problem by modifying the sampling process of a diffusion model to incorporate the differentiable Sliced 1-Wasserstein distance between the color distribution of the generated image and the reference palette. Our method outperforms state-of-the-art techniques for color-conditional generation in terms of color similarity to the reference, producing images that not only match the reference colors but also maintain semantic coherence with the original text prompt. Our source code is available at https://github.com/alobashev/sw-guidance/.
format Preprint
id arxiv_https___arxiv_org_abs_2503_19034
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Color Conditional Generation with Sliced Wasserstein Guidance
Lobashev, Alexander
Larchenko, Maria
Guskov, Dmitry
Computer Vision and Pattern Recognition
We propose SW-Guidance, a training-free approach for image generation conditioned on the color distribution of a reference image. While it is possible to generate an image with fixed colors by first creating an image from a text prompt and then applying a color style transfer method, this approach often results in semantically meaningless colors in the generated image. Our method solves this problem by modifying the sampling process of a diffusion model to incorporate the differentiable Sliced 1-Wasserstein distance between the color distribution of the generated image and the reference palette. Our method outperforms state-of-the-art techniques for color-conditional generation in terms of color similarity to the reference, producing images that not only match the reference colors but also maintain semantic coherence with the original text prompt. Our source code is available at https://github.com/alobashev/sw-guidance/.
title Color Conditional Generation with Sliced Wasserstein Guidance
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.19034