ColorFM: An Optimization-to-Learning Framework for Color Transfer via Flow Matching

Yuhang He, Kai Zhang, Xiaoming Li, Du Chen, Jian Yang
7/8/2026
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Color transfer aims to align the color distribution of a source image with that of a reference image while preserving structural and semantic consistency. However, existing methods often suffer from inaccurate global mapping, semantic misalignment, and visual artifacts. To address these issues, we propose ColorFM, an optimization-to-learning framework. ColorFM connects online optimization to offline inference by reformulating color transfer as the transport of pixel distributions along velocity fields via Flow Matching. Specifically, we introduce ColorFM-O, an instance-specific optimization scheme that fits the velocity field through hierarchical color coupling guided by semantic priors. By numerically integrating the induced flow trajectories, ColorFM-O produces precise and semantically consistent color transfer results, while generating high-quality paired data as pseudo-supervision. Building upon this, we design ColorFM-L, an efficient feed-forward model trained on the generated pairs. Through implicit state modeling, ColorFM-L extracts deep semantic features to predict flow parameters for bidirectional linearized transport, ensuring accurate color transfer. Extensive experiments demonstrate that ColorFM-L outperforms state-of-the-art methods in visual quality, structural fidelity, and semantic consistency, successfully combining the accuracy of optimization with the speed of feed-forward inference.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{he2026colorfm,
  title  = {ColorFM: An Optimization-to-Learning Framework for Color Transfer via Flow Matching},
  author = {Yuhang He and Kai Zhang and Xiaoming Li and Du Chen and Jian Yang},
  year   = {2026},
  eprint = {2607.07119},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.07119v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.07119.svg)](https://codeofpaper.com/paper/2607.07119)

Discussion