Reproduce “Preserving Color in Neural Artistic Style Transfer” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Leon A. Gatys, Matthias Bethge, Aaron Hertzmann, Eli Shechtman

This research introduces and evaluates two linear methods to preserve the content image's original color scheme during neural artistic style transfer, providing more control over the output compared to existing techniques. These methods include color histogram matching applied to the style image and luminance-only transfer, with the former generally yielding more stylistically coherent results.

Key insights

  • Applying color histogram matching to the style image *before* neural style transfer yields better stylistic integration than applying it *after* the transfer, as it reduces conflict between content reconstruction and texture matching.
  • Luminance-only transfer intrinsically guarantees perfect content color preservation but can lead to a loss of stylistic coherence, where colors do not align naturally with synthesized brushstrokes or textures.
  • The Image Analogies variant of color histogram matching (using covariance square roots) proved visually superior and invariant to channel ordering compared to other linear transformation methods.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.