[Paper Review] Preserving Color in Neural Artistic Style Transfer
This note adds two simple color-preservation methods to neural style transfer: color histogram matching onto the style image and luminance-only style transfer.
This note presents an extension to the neural artistic style transfer algorithm (Gatys et al.). The original algorithm transforms an image to have the style of another given image. For example, a photograph can be transformed to have the style of a famous painting. Here we address a potential shortcoming of the original method: the algorithm transfers the colors of the original painting, which can alter the appearance of the scene in undesirable ways. We describe simple linear methods for transferring style while preserving colors.
Motivation & Objective
- Motivate and address undesired color transfer in neural style transfer.
- Propose practical methods to preserve the content image colors during stylization.
- Evaluate trade-offs between color-accurate results and stylization fidelity.
Proposed method
- Color histogram matching: transform the style image colors to match the content image statistics using a linear color transformation (A and b) to equate means and covariances.
- Two variants for A: Cholesky-based and Image Analogies-based, with Image Analogies generally preferred.
- Option to transfer color after style transfer rather than before, noting improved results in some cases.
- Luminance-only transfer: perform style transfer on the luminance channel (Y) and combine with content color channels, possibly histogram-matching luminance first.
Experimental results
Research questions
- RQ1Can color-preservation improve perceptual fidelity of neural style transfer without sacrificing stylistic textures?
- RQ2Which color-preservation approach yields better visual results across diverse style images: pre-transfer color matching or luminance-only transfer?
- RQ3What are the trade-offs between preserving content colors and maintaining style-driven luminance-texture relationships?
Key findings
- Color histogram matching onto the style image can preserve content colors but may not perfectly match all colors.
- Luminance-only transfer preserves content colors exactly but can decouple luminance from color, affecting brushstroke alignment.
- Pre-transfer color matching generally yields more faithful reproduction of style textures with color constraints.
- Luminance-only transfer reduces optimization dimensionality but may lose dependencies between luminance and color.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.