Style Transfer via Whitening Transform and Iterative Patch Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current image editing applications that transfer the style of one image to another often result in blurry images, consume excessive processing resources, and fail to generalize to arbitrary styles, introducing undesirable distortions and being limited to 'seen' style classes, making them unsuitable for real-time applications with limited resources.

Innovation Solution

An image editing system utilizing a generative network with a whitening and color transform for one-pass encoding and decoding, featuring an encoder to extract image features, a feature transfer module for iterative patch matching, and a decoder to produce output images that accurately transfer style without significant delay or resource consumption, enabling generalization to 'unseen' style classes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If multiple passes of encoding and decoding are applied to transfer image style, then style transfer accuracy is improved, but processing time and memory consumption increase significantly

Engineering Contradiction:
Improvestyle transfer accuracyVSAvoidprocessing delay
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent segments the style transfer process into distinct functional modules: an encoder to extract content and style features, a whitening and color transform module to generate coarse features, and a feature transfer module to swap features iteratively. This segmentation allows each module to perform its specific function efficiently, achieving accurate style transfer in a single pass without requiring multiple repeated encoding-decoding cycles.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a whitening and color transform as an intermediary step between feature extraction and style transfer. This intermediary module generates coarse features by applying whitening and color transformation to the extracted features, serving as a bridge that enables accurate style transfer without requiring multiple passes of the entire encoding-decoding process.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If transformations are applied to data between layers of a neural network for style transfer, then style transfer capability is improved, but processing resources and memory consumption increase

Engineering Contradiction:
Improvestyle transfer capabilityVSAvoidprocessing resources
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent applies transformations partially rather than exhaustively. Instead of applying transformations to all layers of the neural network, it selectively applies whitening and color transformation only to the coarse features generated by the encoder, reducing the computational burden while maintaining effective style transfer capability.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the parameters of the feature representation through whitening and color transformation. By transforming the mean and covariance parameters of the extracted features, the system achieves style transfer without needing to process every layer of the neural network, thus reducing processing resource consumption.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If style transfer applications are trained on limited style classes, then training efficiency is improved, but generalization to arbitrary styles deteriorates

Engineering Contradiction:
Improvetraining efficiencyVSAvoidgeneralization to unseen styles
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal style transfer system through the feature transfer module that can handle both seen and unseen style classes. The module iteratively swaps features between content and style images, enabling the system to generalize to arbitrary styles not present in the training data, thus achieving multi-functionality across different style domains.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The feature transfer module employs an iterative process with feedback mechanisms to improve generalization. By repeatedly swapping features and comparing results, the system adapts to new style classes dynamically, allowing it to handle unseen styles effectively without requiring retraining for each new style category.

Inventive Principle:
Principle #23Feedback

4Speed

If direct patch transfer from style image to output image is performed, then processing speed is improved, but image quality deteriorates due to unnatural features

Engineering Contradiction:
Improveprocessing speedVSAvoidimage quality
Core Design Contradiction:
SpeedVSManufacturing precision

Solution Approach 1:

The patent applies local quality by selectively transferring only the relevant style features to the content image. The feature transfer module identifies and swaps only the coarse features that correspond to style information, while preserving the content structure, thus achieving both speed and quality improvement compared to blind patch transfer.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The whitening and color transform serves as an intermediary that processes features before they are transferred. This intermediary step ensures that only appropriately transformed and normalized features are swapped, preventing the introduction of unnatural artifacts while maintaining processing efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10839493B2Transferring image style to content of a digital image
Publication Date: 2020.11.17 ADOBE INC
  • US10839493B2 patent drawing
  • US10839493B2 patent drawing
  • US10839493B2 patent drawing

AI summary

In implementations of transferring image style to content of a digital image, an image editing system includes an encoder that extracts features from a content image and features from a style image. A whitening and color transform generates coarse features from the content and style features extracted by the encoder for one pass of encoding and decoding. Hence, the processing delay and memory requirements are low. A feature transfer module iteratively transfers style features to the coarse feature map and generates a fine feature map. The image editing system fuses the fine features with the coarse features, and a decoder generates an output image with content of the content image in a style of the style image from the fused features. Accordingly, the image editing system efficiently transfers an image style to image content in real-time, without undesirable artifacts in the output image.