Color Transfer with Modulated Flows
Preprint
Abstract
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/modflowsKeywords
All Related Versions
This publication has 6 references indexed in Scilit:
- DepthFM: Fast Generative Monocular Depth Estimation with Flow MatchingProceedings of the AAAI Conference on Artificial Intelligence, 2025
- LDC: Lightweight Dense CNN for Edge DetectionIEEE Access, 2022
- Image Quality Assessment: Unifying Structure and Texture SimilarityIEEE Transactions on Pattern Analysis and Machine Intelligence, 2020
- The linear Monge-Kantorovitch linear colour mapping for example-based colour transfer2007
- Accurate 3D image colour histogram transformationPattern Recognition Letters, 2003
- Color transfer between imagesIEEE Computer Graphics and Applications, 2001