# US 2022/0284655 A1 · Computing photorealistic versions of synthetic images

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

- Number: US 2022/0284655 A1
- Document ID: US20220284655A1
- Status: Published application
- Kind: A1
- Application number: 17/751,429
- Filed: 2022-05-23
- Published: 2022-09-08
- Earliest claimed: 2020-05-04
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Stephan Joachim GARBIN; Marek Adam KOWALSKI; Matthew Alastair JOHNSON; Tadas BALTRUSAITIS; Martin DE LA GORCE; Virginia ESTELLERS CASAS; Sebastian Karol DZIADZIO; Jamie Daniel Joseph SHOTTON
- Web page: https://patentgrep.com/patent/US20220284655A1

## CPC

- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06F 18/2135: based on approximation criteria, e.g. principal component analysis
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 3/094: Adversarial learning
- G06T 11/00: Two-dimensional [2D] image generation
- G06T 15/005: {General purpose rendering architectures}
- G06T 15/205: {Image-based rendering}
- G06V 10/82: using neural networks
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06T 2207/20084: Artificial neural networks [ANN]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

There is a region of interest of a synthetic image depicting an object from a class of objects. A trained neural image generator, having been trained to map embeddings from a latent space to photorealistic images of objects in the class, is accessed. A first embedding is computed from the latent space, the first embedding corresponding to an image which is similar to the region of interest while maintaining photorealistic appearance. A second embedding is computed from the latent space, the second embedding corresponding to an image which matches the synthetic image. Blending of the first embedding and the second embedding is done to form a blended embedding. At least one output image is generated from the blended embedding, the output image being more photorealistic than the synthetic image.

## Claims

### Claim 1

An image processing apparatus comprising:
a memory storing a region of interest of a synthetic image depicting an object from a class of objects;
a trained neural image generator having been trained to map embeddings from a multi-dimensional latent space to photorealistic images of objects in the class; and
a processor arranged to:
compute a first embedding from the latent space, the first embedding corresponding to the region of interest;
compute a second embedding from the latent space, the second embedding corresponding to the synthetic image; and
blend the first embedding and the second embedding to form at least one blended embedding; and
wherein the trained neural image generator further generates an output image from the blended embedding.

### Claim 2 (depends on 1)

The image processing apparatus of claim 1, wherein the processor is arranged to compute the first embedding by sampling an approximate nearest neighbor from the latent space and then refining the sampled approximate nearest neighbor.

### Claim 3 (depends on 2)

The image processing apparatus of claim 2, wherein the processor is arranged to refine the approximate nearest neighbor based on:
traversing the latent space while being constrained to adhere to a set of possible points in the latent space which correspond to photorealistic images when reconstructed by the trained neural image generator.

### Claim 4 (depends on 3)

The image processing apparatus of claim 3, wherein the processor is arranged to traverse the latent space by:
iteratively combining the approximate nearest neighbor with samples drawn from the latent space, the combination being weighted according to optimized weights constrained to be a combination of samples from the latent space of the trained neural image generator.

### Claim 5 (depends on 2)

The image processing apparatus of claim 2, wherein the processor further computes the sampling by:
selecting one of a plurality of specified centroids in the latent space.

### Claim 6 (depends on 5)

The image processing apparatus of claim 5, wherein the processor further:
adds noise to the selected centroid, and
combines the centroid with one or more control vectors to vary attributes of an object depicted in an image corresponding to the centroid.

### Claim 7 (depends on 6)

The image processing apparatus of claim 6, wherein the processor further:
repeats selecting the centroid and combining the centroid with one or more control vectors to obtain a plurality of samples, and
selects one of the samples by using a loss function which relates to similarity of the synthetic image region of interest and a corresponding region of interest generated from the sample using the neural image generator.

### Claim 8 (depends on 1)

The image processing apparatus of claim 1, wherein the output image is a photorealistic version of the synthetic image.

### Claim 9 (depends on 1)

The image processing apparatus of claim 1, wherein the processor further computes the second embedding by:
evaluating a sampling of points in the latent space using a loss function.

### Claim 10 (depends on 1)

The image processing apparatus of claim 1, wherein the processor further computes the second embedding by:
using a brute force search to obtain a latent code that matches the synthetic image.

### Claim 11

A computer-implemented method comprising:
storing, at a memory, a region of interest of a synthetic image depicting an object from a class of objects;
accessing a trained neural image generator having been trained to map embeddings from a multi-dimensional latent space to photorealistic images of objects in the class;
computing a first embedding from the latent space, the first embedding corresponding to the region of interest;
computing a second embedding from the latent space, the second embedding corresponding to the synthetic image;
blending the first embedding and the second embedding to form a blended embedding; and
generating at least one output image from the blended embedding.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein computing the first embedding further comprises:
sampling an approximate nearest neighbor from the latent space and then refining the sampled approximate nearest neighbor.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein refining the approximate nearest neighbor further comprises:
traversing the latent space while being constrained to adhere to a set of possible points in the latent space which correspond to photorealistic images when reconstructed by the trained neural image generator.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein traversing the latent space further comprises:
iteratively combining the approximate nearest neighbor with samples drawn from the latent space, the combination being weighted according to optimized weights constrained to be a combination of samples from the latent space of the trained neural image generator.

### Claim 15 (depends on 12)

The computer-implemented method of claim 12, wherein computing the sampling further comprises:
selecting one of a plurality of specified centroids in the latent space.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, further comprising:
adding noise to the selected centroid, and
combining the centroid with one or more control vectors to vary attributes of an object depicted in an image corresponding to the centroid.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, further comprising:
repeating selecting the centroid and combining the centroid with one or more control vectors to obtain a plurality of samples, and
selecting one of the samples by using a loss function which relates to similarity of the synthetic image region of interest and a corresponding region of interest generated from the sample using the neural image generator.

### Claim 18 (depends on 11)

The computer-implemented method of claim 11, wherein computing the second embedding further comprises:
evaluating a sampling of points in the latent space using a loss function.

### Claim 19 (depends on 11)

The computer-implemented method of claim 11, wherein computing the second embedding further comprises:
using a brute force search to obtain a latent code that matches the synthetic image.

### Claim 20

One or more device-readable media with device-executable instructions that, when executed by a computing system, direct the computing system to perform operations comprising:
storing, at a memory, a region of interest of a synthetic image depicting an object from a class of objects;
accessing a trained neural image generator having been trained to map embeddings from a multi-dimensional latent space to photorealistic images of objects in the class;
computing a first embedding from the latent space, the first embedding corresponding to the region of interest;
computing a second embedding from the latent space, the second embedding corresponding to the synthetic image;
blending the first embedding and the second embedding to form a blended embedding; and
generating at least one output image from the blended embedding.
