[Paper Review] Deep Photo Style Transfer
A deep learning approach for photorealistic style transfer that preserves content while transferring style from a reference image, using a local color-affine constraint and semantic segmentation. It avoids painting-like distortions and achieves photorealism across various scenarios.
This paper introduces a deep-learning approach to photographic style transfer that handles a large variety of image content while faithfully transferring the reference style. Our approach builds upon the recent work on painterly transfer that separates style from the content of an image by considering different layers of a neural network. However, as is, this approach is not suitable for photorealistic style transfer. Even when both the input and reference images are photographs, the output still exhibits distortions reminiscent of a painting. Our contribution is to constrain the transformation from the input to the output to be locally affine in colorspace, and to express this constraint as a custom fully differentiable energy term. We show that this approach successfully suppresses distortion and yields satisfying photorealistic style transfers in a broad variety of scenarios, including transfer of the time of day, weather, season, and artistic edits.
Motivation & Objective
- Address photorealistic style transfer across diverse content.
- Prevent spatial distortion while enabling strong local color changes.
- Mitigate content-m mismatch by semantic-aware style transfer.
- Combine neural style loss with a photorealism regularizer.
- Demonstrate broad applicability to time-of-day, weather, season, and edits.
Proposed method
- Extend Neural Style with a photorealism regularization that enforces locally affine color transformations via the Matting Laplacian.
- Introduce an augmented style loss that incorporates semantic segmentation to avoid content spillover.
- Combine content loss, augmented style loss, and photorealism regularization into a single objective for optimization.
- Use pre-trained VGG-19 features to define content and style terms, with specific layer selections (conv4_2 for content; conv1_1, conv2_1, conv3_1, conv4_1, conv5_1 for style).
- Provide a two-stage optimization initialized from Neural Style output and use CUDA-accelerated gradients for the photorealism term.
- Employ semantic segmentation masks (via DilatedNet) to constrain style transfer to semantically corresponding regions.
Experimental results
Research questions
- RQ1Can photorealistic image style transfer transfer reference style while preserving geometric structure?
- RQ2Does constraining color transformations locally via a Matting Laplacian prevent distortions typical of neural style transfer?
- RQ3How can semantic labeling reduce content-mismatch and spillover during style transfer?
- RQ4What are practical parameter settings that balance style fidelity and photorealism across scenes?
- RQ5Is the approach effective across applications like time-of-day, weather, season changes, and artistic edits?
Key findings
- The method suppresses painting-like distortions while faithfully transferring style.
- Augmented style loss with semantic masks prevents semantic spillover and improves realism.
- Photorealism regularization using the Matting Laplacian enforces locally affine color transformations (λ around 10^4 yields good results).
- Two-stage optimization (Neural Style initialization followed by photorealism-regularized refinement) yields better results than direct optimization.
- Compared to Neural Style and CNNMRF, the proposed method reduces distortions and preserves texture in a semantically consistent way.
- User studies show our method achieves photorealism and style faithfulness; about 80%+ of participants judged it most faithful to reference style against some global methods.
- Results can be produced in 3–5 minutes on an NVIDIA Titan X GPU per image.
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.