# US 2021/0343051 A1 · Generating procedural materials from digital images

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0343051 A1
- Document ID: US20210343051A1
- Status: Published application
- Kind: A1
- Application number: 16/863,540
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Milos Hasan; Liang Shi; Tamy Boubekeur; Kalyan Sunkavalli; Radomir Mech
- Web page: https://patentgrep.com/patent/US20210343051A1

## CPC

- G06T 11/00: Two-dimensional [2D] image generation
- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 15/04: Texture mapping
- G06N 5/02: Knowledge representation; Symbolic representation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to using end-to-end differentiable pipeline for optimizing parameters of a base procedural material to generate a procedural material corresponding to a target physical material. For example, the disclosed systems can receive a digital image of a target physical material. In response, the disclosed systems can retrieve a differentiable procedural material for use as a base procedural material in response. The disclosed systems can compare a digital image of the base procedural material with the digital image of the target physical material using a loss function, such as a style loss function that compares visual appearance. Based on the determined loss, the disclosed systems can modify the parameters of the base procedural material to determine procedural material parameters for the target physical material. The disclosed systems can generate a procedural material corresponding to the base procedural material using the determined procedural material parameters.

## Claims

### Claim 1

A non-transitory computer-readable medium storing instructions thereon that, when executed by at least one processor, cause a computing device to:
retrieve, from a database, a base procedural material with differentiable nodes in response to receiving a digital image of a target physical material;
determine procedural material parameters for the target physical material by:
generating a comparison of a digital image of the base procedural material and the digital image of the target physical material; and
modifying parameters of the base procedural material with the differentiable nodes via back propagation based on the comparison; and
generate a procedural material corresponding to the target physical material using the procedural material parameters.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the instructions, when executed by the at least one processor, cause the computing device to retrieve the base procedural material with the differentiable nodes by:
retrieving, from the database, a procedural material node graph comprising a plurality of nodes; and
replacing the plurality of nodes with the differentiable nodes.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, further comprising instructions that, when executed by the at least one processor, cause the computing device to generate the differentiable nodes by:
generating a plurality of differentiable atomic nodes; and
combining one or more differentiable atomic nodes from the plurality of differentiable atomic nodes to generate the differentiable nodes.

### Claim 4 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein generating the comparison of the digital image of the base procedural material and the digital image of the target physical material comprises:
extracting a first set of deep neural features from the digital image of the target physical material utilizing a feature extraction neural network;
extracting a second set of deep neural features from the digital image of the base procedural material using the feature extraction neural network; and
comparing the first set of deep neural features and the second set of deep neural features.

### Claim 5 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein comparing the first set of deep neural features and the second set of deep neural features comprises using a style loss function to compare the first set of deep neural features and the second set of deep neural features.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to:
generate a plurality of material parameter maps using the parameters of the base procedural material; and
generate the digital image of the base procedural material based on the plurality of material parameter maps using a differentiable rendering layer.

### Claim 7 (depends on 6)

The non-transitory computer-readable medium of claim 6, wherein the instructions, when executed by the at least one processor, cause the computing device to generate the plurality of material parameter maps by generating an albedo map, a normal map, a roughness map, and a metallicity map.

### Claim 8 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the instructions, when executed by the at least one processor, cause the computing device to retrieve the base procedural material by:
determining a material category of the target physical material; and
retrieving, from the database, a differentiable procedural material associated with the material category.

### Claim 9 (depends on 1)

The non-transitory computer-readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to receive the digital image of the target physical material by receiving a plurality of material parameter maps corresponding to the target physical material.

### Claim 10 (depends on 1)

The non-transitory computer-readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to combine the procedural material with a second procedural material to generate a third procedural material having a number of differentiable nodes that is larger than the procedural material or the second procedural material.

### Claim 11

A system comprising:
at least one memory device comprising a base procedural material comprising a plurality of differentiable nodes; and
at least one server device configured to cause the system to:
receive a digital image of a target physical material;
determine procedural material parameters for the target physical material by:
extracting a first set of deep neural features from the digital image of the target physical material;
extracting a second set of deep neural features from a digital image of the base procedural material;
comparing the first set of deep neural features and the second set of deep neural features using a loss function; and
modifying parameters of the plurality of differentiable nodes of the base procedural material via back propagation based on comparing the first set of deep neural features and the second set of deep neural features; and
generate a target procedural material corresponding to the target physical material using the procedural material parameters.

### Claim 12 (depends on 11)

The system of claim 11, wherein the at least one server device is further configured to cause the system to determine the procedural material parameters for the target physical material by:
iteratively generating an updated digital image of the base procedural material based on modified parameters of the plurality of differentiable nodes of the base procedural material;
comparing, with each iteration, the first set of deep neural features associated with the digital image of the target physical material and an updated set of deep neural features associated with the updated digital image of the base procedural material; and
updating, with each iteration, the modified parameters of the plurality of differentiable nodes of the base procedural material.

### Claim 13 (depends on 11)

The system of claim 11, wherein:
the digital image of the target physical material comprises a first resolution; and
the at least one server device is further configured to cause the system to utilize the target procedural material to generate a second digital image of an object having the target physical material applied thereto, wherein the second digital image has a second resolution that is higher than the first resolution.

### Claim 14 (depends on 11)

The system of claim 11, wherein the at least one server device is further configured to cause the system to generate the base procedural material based on a reference procedural material node graph comprising a plurality of nodes by:
generating the plurality of differentiable nodes by generating differentiable approximations of operations performed by the plurality of nodes of the reference procedural material node graph; and
replacing the plurality of nodes of the reference procedural material node graph with the plurality of differentiable nodes.

### Claim 15 (depends on 11)

The system of claim 11, wherein the at least one server device is further configured to generate, based on the parameters of the base procedural material, the digital image of the base procedural material utilizing a differentiable rendering layer.

### Claim 16 (depends on 11)

The system of claim 11, wherein:
the at least one server device is further configured to:
generate the digital image of the base procedural material by generating a triplet of digital images of the base procedural material using different sets of parameters and different sets of noise for the base procedural material; and
determine a noise-agnostic embedding for the digital image of the base procedural material by minimizing a triplet loss associated with the triplet of digital images of the base procedural material; and
extracting the second set of deep neural features from the digital image of the base procedural material comprises extracting the second set of deep neural features based on the noise-agnostic embedding for the digital image of the base procedural material.

### Claim 17 (depends on 11)

The system of claim 11, wherein the at least one server device is further configured to transmit the target procedural material corresponding to the target physical material to a client device via a communications network.

### Claim 18

In a digital medium environment for simulating real-world images, a computer-implemented method for generating procedural materials comprising:
receiving a digital image of a target physical material;
determining a material category corresponding to the target physical material;
retrieving a differentiable procedural material associated with a with the material category corresponding to the target physical material by selecting the differentiable procedural material from a plurality of differentiable procedural materials associated with the material category; and
performing a step for generating a procedural material corresponding to the target physical material using the differentiable procedural material.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, further comprising modifying the procedural material corresponding to the target physical material in response to receiving user input from a client device.

### Claim 20

(canceled)

### Claim 21 (depends on 18)

The computer-implemented method of claim 18, further comprising generating the differentiable procedural material by:
accessing a procedural material node graph comprising a plurality of nodes;
translating the plurality of nodes into differentiable nodes; and
replacing the plurality of nodes in the procedural material node graph with the differentiable nodes.
