Scaling Painting Style Transfer

Bruno Galerne, Lara Raad, José Lezama, Jean-Michel Morel
12/27/2022
cs.CVeess.IV

Official code: bgalerne/scaling_painting_style_transfer (10 stars, Python, GPL-3.0, last commit 2024-07-01).

Abstract

Neural style transfer (NST) is a deep learning technique that produces an unprecedentedly rich style transfer from a style image to a content image. It is particularly impressive when it comes to transferring style from a painting to an image.

Show full abstract

NST was originally achieved by solving an optimization problem to match the global statistics of the style image while preserving the local geometric features of the content image. The two main drawbacks of this original approach is that it is computationally expensive and that the resolution of the output images is limited by high GPU memory requirements. Many solutions have been proposed to both accelerate NST and produce images with larger size. However, our investigation shows that these accelerated methods all compromise the quality of the produced images in the context of painting style transfer. Indeed, transferring the style of a painting is a complex task involving features at different scales, from the color palette and compositional style to the fine brushstrokes and texture of the canvas. This paper provides a solution to solve the original global optimization for ultra-high resolution (UHR) images, enabling multiscale NST at unprecedented image sizes. This is achieved by spatially localizing the computation of each forward and backward passes through the VGG network. Extensive qualitative and quantitative comparisons, as well as a \textcolor{coverletter}{perceptual study}, show that our method produces style transfer of unmatched quality for such high-resolution painting styles. By a careful comparison, we show that state-of-the-art fast methods are still prone to artifacts, thus suggesting that fast painting style transfer remains an open problem. Source code is available at https://github.com/bgalerne/scaling_painting_style_transfer.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Official repository for the paper "Scaling Painting Style Transfer"

102PythonFeb 24, 20242 years agoGPL-3.0

Similar Papers

Cite this paper

@article{galerne2022scaling,
  title  = {Scaling Painting Style Transfer},
  author = {Bruno Galerne and Lara Raad and José Lezama and Jean-Michel Morel},
  year   = {2022},
  eprint = {2212.13459},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.13459}
}

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/2212.13459.svg)](https://codeofpaper.com/paper/2212.13459)

Discussion