Saved in:
Bibliographic Details
Main Authors: Larchenko, Maria, Lobashev, Alexander, Guskov, Dmitry, Palyulin, Vladimir Vladimirovich
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.19062
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916758575644672
author Larchenko, Maria
Lobashev, Alexander
Guskov, Dmitry
Palyulin, Vladimir Vladimirovich
author_facet Larchenko, Maria
Lobashev, Alexander
Guskov, Dmitry
Palyulin, Vladimir Vladimirovich
contents In this work, we introduce Modulated Flows (ModFlows), a novel approach for color transfer between images based on rectified flows. The primary goal of the color transfer is to adjust the colors of a target image to match the color distribution of a reference image. Our technique is based on optimal transport and executes color transfer as an invertible transformation within the RGB color space. The ModFlows utilizes the bijective property of flows, enabling us to introduce a common intermediate color distribution and build a dataset of rectified flows. We train an encoder on this dataset to predict the weights of a rectified model for new images. After training on a set of optimal transport plans, our approach can generate plans for new pairs of distributions without additional fine-tuning. We additionally show that the trained encoder provides an image embedding, associated only with its color style. The presented method is capable of processing 4K images and achieves the state-of-the-art performance in terms of content and style similarity. Our source code is available at https://github.com/maria-larchenko/modflows
format Preprint
id arxiv_https___arxiv_org_abs_2503_19062
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Color Transfer with Modulated Flows
Larchenko, Maria
Lobashev, Alexander
Guskov, Dmitry
Palyulin, Vladimir Vladimirovich
Computer Vision and Pattern Recognition
In this work, we introduce Modulated Flows (ModFlows), a novel approach for color transfer between images based on rectified flows. The primary goal of the color transfer is to adjust the colors of a target image to match the color distribution of a reference image. Our technique is based on optimal transport and executes color transfer as an invertible transformation within the RGB color space. The ModFlows utilizes the bijective property of flows, enabling us to introduce a common intermediate color distribution and build a dataset of rectified flows. We train an encoder on this dataset to predict the weights of a rectified model for new images. After training on a set of optimal transport plans, our approach can generate plans for new pairs of distributions without additional fine-tuning. We additionally show that the trained encoder provides an image embedding, associated only with its color style. The presented method is capable of processing 4K images and achieves the state-of-the-art performance in terms of content and style similarity. Our source code is available at https://github.com/maria-larchenko/modflows
title Color Transfer with Modulated Flows
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.19062