Skip to main content
QUICK REVIEW

[Paper Review] Deep Painterly Harmonization

Fujun Luan, Sylvain Paris|arXiv (Cornell University)|Apr 9, 2018
Computer Graphics and Visualization TechniquesComputer Science14 references13 citations
TL;DR

This paper proposes Deep Painterly Harmonization, a two-pass deep learning method that transfers local color, texture, and structural statistics from a painting to a pasted photo element using VGG neural network features. By enforcing spatial and inter-scale consistency in feature statistics, the method produces seamless, artistically consistent composites that are visually indistinguishable from genuine paintings, outperforming both photo compositing and global style transfer techniques in user studies.

ABSTRACT

Copying an element from a photo and pasting it into a painting is a challenging task. Applying photo compositing techniques in this context yields subpar results that look like a collage --- and existing painterly stylization algorithms, which are global, perform poorly when applied locally. We address these issues with a dedicated algorithm that carefully determines the local statistics to be transferred. We ensure both spatial and inter-scale statistical consistency and demonstrate that both aspects are key to generating quality results. To cope with the diversity of abstraction levels and types of paintings, we introduce a technique to adjust the parameters of the transfer depending on the painting. We show that our algorithm produces significantly better results than photo compositing or global stylization techniques and that it enables creative painterly edits that would be otherwise difficult to achieve.

Motivation & Objective

  • To address the challenge of seamlessly compositing photo elements into paintings without visible seams or unnatural artifacts.
  • To overcome the limitations of global style transfer and photo compositing techniques when applied to painterly backgrounds.
  • To develop a method that preserves both local texture and multi-scale structure in the harmonized composite.
  • To enable creative, artist-like edits by ensuring the pasted element matches the painting's unique visual style.

Proposed method

  • The method uses a two-pass optimization framework: the first pass performs coarse harmonization using global statistics, and the second pass refines results with local and multi-scale consistency.
  • It transfers statistics of deep neural network (VGG) activations between the painting and the pasted image to match color, texture, and structure.
  • Spatial consistency is enforced by selecting a small, coherent set of regions in the painting to guide feature transfer, avoiding isolated or noisy statistics.
  • Inter-scale consistency is maintained by preserving correlations between feature responses across different layers of the VGG network.
  • A separate neural network is trained to predict optimal transfer parameters based on the painting’s style, enabling adaptation to diverse artistic styles.
  • The approach combines deep image analogy principles with targeted statistical transfer, focusing on perceptually relevant features rather than full image reconstruction.

Experimental results

Research questions

  • RQ1Can deep neural network statistics be effectively used to harmonize a photo element into a painting while preserving local texture and structure?
  • RQ2How does enforcing spatial and inter-scale consistency in feature statistics improve the realism of composites compared to isolated or global statistics?
  • RQ3To what extent can a single algorithm generalize across diverse painting styles without requiring manual tuning?
  • RQ4Can the proposed method produce composites that are indistinguishable from real paintings in user perception?
  • RQ5How does the method compare to state-of-the-art photo compositing and global style transfer techniques in terms of visual quality and perceptual realism?

Key findings

  • User studies show that the proposed method is most preferred by participants, with results often perceived as genuine paintings rather than composites.
  • The method significantly outperforms Poisson blending, multi-scale harmonization [SJMP10], and image melding [DSB*12] in preserving both texture and color consistency.
  • Results demonstrate that spatial and inter-scale consistency in neural feature statistics are critical for high-quality harmonization.
  • The algorithm successfully handles a wide variety of painting styles, including those with strong abstraction, brushwork, and non-uniform textures.
  • The method produces composites that are visually consistent with the original painting’s style, as confirmed by statistical similarity analysis showing closer alignment with real paintings than with other methods.
  • The approach enables creative applications such as inserting a canonical object (e.g., a hot air balloon) into diverse paintings in a way that blends naturally with the style.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.