Gradient Domain CNN for Natural Image Style Transform

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current image style transform methods, such as those using neural networks, often result in face edge deformation and inconsistent skin color when applied to self-portrait images, leading to unnatural stylized outputs that do not resemble the original.

Innovation Solution

The implementation of a Convolutional Neural Network (CNN) structure based on an image gradient domain, which incorporates pixel-wise loss and perceptual loss to maintain structural and color information, ensuring more natural and accurate style transformations by focusing on stroke rather than color.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If existing neural network methods are used for image style transform, then the image can be stylized, but face edge deformation occurs and skin color becomes inconsistent

Engineering Contradiction:
Improveimage style transform capabilityVSAvoidface edge accuracy and skin color consistency
Core Design Contradiction:
Adaptability or versatilityVSManufacturing precision

Solution Approach 1:

The patent changes the parameter space from pixel domain to gradient domain for image representation. By transforming the image into gradient domain and performing style transfer in this transformed space, the method preserves structural information (edges) more effectively while achieving style transformation, thus resolving the contradiction between style adaptability and structural precision

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces gradient domain as an intermediary representation between the original image and the stylized output. This intermediate gradient domain serves as a mediator that decouples the structural preservation from style transformation, allowing the neural network to operate in a space where both objectives can be simultaneously achieved

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If pixel-wise loss is used for training, then color accuracy is improved, but structural information and edges are lost

Engineering Contradiction:
Improvecolor accuracyVSAvoidstructural information and edge preservation
Core Design Contradiction:
Measurement precisionVSShape

Solution Approach 1:

The patent transitions from pixel-wise color matching to gradient-domain structural matching by changing the dimension of operation from intensity values to gradient magnitudes and directions. This dimensional change allows the loss function to operate on gradient information rather than pixel values, thereby preserving edges and structures while maintaining color accuracy through the gradient magnitude information

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Shape

If perceptual loss is used for training, then structural information is preserved, but color fidelity deteriorates

Engineering Contradiction:
Improvestructural information preservationVSAvoidcolor fidelity
Core Design Contradiction:
ShapeVSMeasurement precision

Solution Approach 1:

The patent creates a composite loss function that combines gradient domain loss and perceptual loss components. This composite approach integrates the strengths of both methods: gradient domain loss preserves structural information through gradient magnitude and direction, while perceptual loss components maintain color fidelity through feature map comparisons in the gradient domain, achieving both structural and color preservation simultaneously

Inventive Principle:
Principle #40Composite materials

Data Source

PatentUS11200638B2Image style transform methods and apparatuses, devices and storage media
Publication Date: 2021.12.14 SHENZHEN SENSETIME TECH CO LTD
  • US11200638B2 patent drawing
  • US11200638B2 patent drawing
  • US11200638B2 patent drawing

AI summary

An image style transform method includes: acquiring an initial image to be subjected to style transform; inputting a gradient of the initial image to an image style transform model, and obtaining a feature map of the initial image in a gradient domain from the image style transform model, where the image style transform model is obtained by being trained in the gradient domain based on a pixel-wise loss and a perceptual loss; and performing image reconstruction according to the feature map of the initial image in the gradient domain to obtain a style image.