# US 2022/0292351 A1 · Systems, methods, and storage media for generating synthesized depth data

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

- Number: US 2022/0292351 A1
- Document ID: US20220292351A1
- Status: Published application
- Kind: A1
- Application number: 17/690,173
- Filed: 2022-03-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: Irdeto B.V.
- Applicants: Irdeto B.V.
- Inventors: Ali ETEMAD; Alireza SEPAS-MOGHADDAM; Hardik UPPAL; Michael GREENSPAN; Martin SOUKUP
- Web page: https://patentgrep.com/patent/US20220292351A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/048: Activation functions
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06T 3/4038: Image mosaicing, e.g. composing plane images from plane sub-images
- G06T 7/50: Depth or shape recovery
- G06T 2207/10024: Color image
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30201: Face
- G06T 2207/30236: Traffic on road, railway or crossing
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Disclosed implementations include a depth generation method using a novel teacher-student GAN architecture (TS-GAN) to generate depth images for 2-D images, such as RGB images, where no corresponding depth information is available. An example model consists of two components, a teacher and a student. The teacher consists of a fully convolutional encoder-decoder network as a generator along with a fully convolution classification network as the discriminator. The generator takes 2-D images as inputs and aims to output the corresponding depth images. The teacher learns an initial latent mapping between 2-dimensional and co-registered depth images and the student applies the latent mapping to provide feedback to the classification network for refinement.

## Claims

### Claim 1

A method implemented by a neural network for determining mapping function weightings that are optimized for generating synthesized depth image data from 2-dimensional image data, the method comprising:
receiving training data, the training data including at least one set of 2-dimensional image data and corresponding co-registered depth image data;
training a first generator, with the training data, to develop a set of mapping functions weightings for mapping between sets of 2-dimensional image data and corresponding co-registered depth image data;
applying the mapping function weightings, by a second generator, to a first set of 2-dimensional image data, to thereby generate synthesized depth data corresponding to the set of 2-dimensional image data;
processing the synthesized depth data, by an inverse generator, to transform the depth data to a second set of 2-dimensional image data;
comparing the first set of 2-dimensional image data to the second set of 2-dimensional image data and generating an error signal based on the comparison;
adjusting the set of mapping function weightings based on the error signal; and
repeating the applying, processing comparing and adjusting steps until specified end criterion is satisfied.

### Claim 2 (depends on 1)

The method of claim 1, wherein the neural network is a Teacher Student Generative Adversarial Network (TS-GAN) the TS-GAN including a teacher component consisting of the first generator as a teacher generator and a teacher discriminator, the TS-GAN also including a student component consisting of the second generator as a student generator, a student inverse generator, and a student discriminator, the student generator sharing a common set of weightings with the teacher generator.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first generator and the second generator are implemented as the same instance of a generator.

### Claim 4 (depends on 2)

The method of claim 2, wherein the teacher generator and the student generator are implemented as separate instances of a generator that have the same set of mapping function weightings.

### Claim 5 (depends on 1)

The method of claim 1, wherein the 2-dimensional image data is RGB image data.

### Claim 6 (depends on 1)

The method of claim 1, wherein the 2-dimensional image data is facial data representing a face of a person.

### Claim 7 (depends on 1)

The method of claim 1, wherein the 2-dimensional image data represents at least one of objects, vehicles, or machines on a roadway.

### Claim 8 (depends on 1)

The method of claim 1, further comprising using the 2-dimensional image data and synthesized depth data for image recognition.

### Claim 9 (depends on 1)

The method of claim 1, wherein the 2-dimensional image data and depth data are stored in a single file.

### Claim 10 (depends on 2)

The method of claim 2, wherein a loss of the teacher discriminator is determined based on the following equation:
ℒ
⁡
(
D
depth
)
=
1
2
⁢
𝔼
B
t
∼
p
data
(
B
t
)
[
(
D
depth
(
B
t
)
-
1
)
2
]
+
1
2
⁢
?
[
(
D
depth
(
G
A
⁢
2
⁢
B
(
A
t
)
)
2
]
,
?
indicates text missing or illegible when filed
where:
Bi represents a depth image sampled from training data ptrain(At, Bt);
At represents a set of 2-dimensional image data;
Bt represents depth data corresponding to At; and
GA2B is the mapping function.

### Claim 11 (depends on 2)

The method of claim 2, wherein a Euclidean loss of the teacher discriminator is determined based on the following equation:
ℒ
pixel
=
(
1
n
)
⁢
∑
i
=
1
n
❘
"\[LeftBracketingBar]"
B
t
-
G
A
⁢
2
⁢
B
(
A
t
)
❘
"\[RightBracketingBar]"
.

### Claim 12 (depends on 2)

The method of claim 2, wherein a loss of the student discriminator is determined based on the following equation:
ℒ
⁡
(
D
RGB
)
=
1
2
⁢
𝔼
A
r
∼
p
target
(
A
r
)
[
(
D
RGB
(
A
r
)
-
1
)
2
]
+
1
2
⁢
𝔼
A
r
∼
p
target
(
A
r
)
[
(
D
RGB
(
G
B
⁢
2
⁢
A
(
G
A
⁢
2
⁢
B
(
A
r
)
)
)
2
]
.
where:
ptarget(Ar) represents the distribution of a 2-dimensional target data set;
Ar represents an image sampled from ptarget(Ar);
GA2B is the mapping function; and
GB2A is the inverse mapping function.

### Claim 13 (depends on 2)

The method of claim 2, wherein at least one of the teacher generator, the student generator, and the student inverse generator comprise a convolutional neural network.

### Claim 14 (depends on 13)

The method of claim 13, wherein the 2-dimensional image data and the synthesized depth data is of the size 128×128×3, and wherein an encoder portion of the student generator and an encoder portion of the teacher generator include the following structure:
3 convolution layers applying a rectified linear activation function (ReLU);
a quantity of feature maps is gradually increased from 64 to 128 to 256 with a kernel size of 7×7 and a stride of 1 for the first layer; and
subsequent layers use a kernel size of 3×3 and a stride of 2 followed by 6 residual blocks, consisting 2 convolution layers each with a kernel size of 3×3 and a stride of 2; and
a final decoder portion of the generator includes the following structure:
3 de-convolution layers for up-sampling applying a rectified linear activation function (ReLU);
a quantity of feature maps is gradually decreased from 128 to 64 to 3; and
a last de-convolution layer, which is used to map the features back to images, uses a kernel size of 7×7 and a stride of 1, with a tan h activation function.

### Claim 15 (depends on 1)

The method of claim 1, where there are multiple iterations of the receiving, training, applying, processing, and adjusting steps.

### Claim 16

A computing system implementing a neural network for determining mapping function weightings that are optimized for generating synthesized depth image data from 2-dimensional image data, the system comprising:
at least one hardware computer processor operative to execute computer-readable instructions; and
at least one non-transient memory device storing computer executable instructions thereon, which when executed by the at least one hardware computer processor, cause the at least one hardware computer processor to conduct a method of;
receiving training data, the training data including at least one set of 2-dimensional image data and corresponding co-registered depth image data;
training a first generator, with the training data, to develop a set of mapping functions weightings for mapping between sets of 2-dimensional image data and corresponding co-registered depth image data;
applying the mapping function weightings, by a second generator, to a first set of 2-dimensional image data, to thereby generate synthesized depth data corresponding to the set of 2-dimensional image data;
processing the synthesized depth data, by an inverse generator, to transform the depth data to a second set of 2-dimensional image data;
comparing the first set of 2-dimensional image data to the second set of 2-dimensional image data and generating an error signal based on the comparison;
adjusting the set of mapping function weightings based on the error signal; and
repeating the applying, processing comparing and adjusting steps until specified end criterion is satisfied.

### Claim 17 (depends on 16)

The system of claim 16, wherein the neural network is a Teacher Student Generative Adversarial Network (TS-GAN) the TS-GAN including a teacher component consisting of the first generator as a teacher generator and a teacher discriminator, the TS-GAN also including a student component consisting of the second generator as a student generator, a student inverse generator, and a student discriminator, the student generator sharing a common set of weightings with the teacher generator.

### Claim 18 (depends on 16)

The system of claim 16, wherein the teacher generator and the student generator are implemented as the same instance of a generator.

### Claim 19 (depends on 17)

The system of claim 17, wherein the teacher generator and the student generator are implemented as separate instances of a generator that have the same set of mapping function weightings.

### Claim 20 (depends on 16)

The system of claim 16, wherein the 2-dimensional image data is RGB image data.

### Claim 21 (depends on 16)

The system of claim 16, wherein the 2-dimensional image data is facial data representing a face of a person.

### Claim 22 (depends on 16)

The system of claim 16, wherein the 2-dimensional image data represents at least one of objects, vehicles, or machines on a roadway.

### Claim 23 (depends on 16)

The system of claim 16, further comprising using the 2-dimensional image data and synthesized depth data for image recognition.

### Claim 24 (depends on 16)

The system of claim 16, wherein the 2-dimensional image data and depth data are stored in a single file.

### Claim 25 (depends on 17)

The system of claim 17, wherein a loss of the teacher discriminator is determined based on the following equation:
ℒ
⁡
(
D
depth
)
=
1
2
⁢
𝔼
B
t
∼
p
data
(
B
t
)
[
(
D
depth
(
B
t
)
-
1
)
2
]
+
1
2
⁢
?
[
(
D
depth
(
G
A
⁢
2
⁢
B
(
A
t
)
)
2
]
,
?
indicates text missing or illegible when filed
where:
Bt represents a depth image sampled from training data;
Bt represents a set of 2-dimensional image data;
At represents depth data corresponding to Bt; and
GA2B is the mapping function.

### Claim 26 (depends on 17)

The method of claim 17, wherein a Euclidean loss of the teacher discriminator is determined based on the following equation:
ℒ
pixel
=
(
1
n
)
⁢
∑
i
=
1
n
❘
"\[LeftBracketingBar]"
B
t
-
G
A
⁢
2
⁢
B
(
A
t
)
❘
"\[RightBracketingBar]"
.

### Claim 27 (depends on 17)

The method of claim 17, wherein a loss of the student discriminator is determined based on the following equation:
ℒ
⁡
(
D
RGB
)
=
1
2
⁢
𝔼
A
r
∼
p
target
(
A
r
)
[
(
D
RGB
(
A
r
)
-
1
)
2
]
+
1
2
⁢
𝔼
A
r
∼
p
target
(
A
r
)
[
(
D
RGB
(
G
B
⁢
2
⁢
A
(
G
A
⁢
2
⁢
B
(
A
r
)
)
)
2
]
,
where:
ptarget(Ar) represents the distribution of a 2-dimensional target data set;
Ar represents an image sampled from ptarget(Ar);
GA2B is the mapping function; and
GB2A is the inverse mapping function.

### Claim 28 (depends on 7)

The method of claim 7, wherein at least one of the teacher generator, the student generator, and the student inverse generator comprise a convolutional neural network.

### Claim 29 (depends on 28)

The method of claim 28, wherein the 2-dimensional image data and the synthesized depth data is of the size 128×128×3, and wherein an encoder portion of the student generator and an encoder portion of the teacher generator include the following structure:
3 convolution layers applying a rectified linear activation function (ReLU);
a quantity of feature maps is gradually increased from 64 to 128 to 256 with a kernel size of 7×7 and a stride of 1 for the first layer; and
subsequent layers use a kernel size of 3×3 and a stride of 2 followed by 6 residual blocks, consisting 2 convolution layers each with a kernel size of 3×3 and a stride of 2; and
a final decoder portion of the generator includes the following structure:
3 de-convolution layers for up-sampling applying a rectified linear activation function (ReLU);
a quantity of feature maps is gradually decreased from 128 to 64 to 3; and
a last de-convolution layer, which is used to map the features back to images, uses a kernel size of 7×7 and a stride of 1, with a tan h activation function.

### Claim 30 (depends on 1)

The method of claim 1, where there are multiple iterations of the receiving, training, applying, processing, and adjusting steps.

### Claim 31

Non-transient computer-readable media having computer-readable instructions stored thereon which, when executed by a computer processor cause the computer processor to conduct a method implemented by a neural network for determining mapping function weightings that are optimized for generating synthesized depth image data from 2-dimensional image data, the method comprising:
receiving training data, the training data including at least one set of 2-dimensional image data and corresponding co-registered depth image data;
training a first generator, with the training data, to develop a set of mapping functions weightings for mapping between sets of 2-dimensional image data and corresponding co-registered depth image data;
applying the mapping function weightings, by a second generator, to a first set of 2-dimensional image data, to thereby generate synthesized depth data corresponding to the set of 2-dimensional image data;
processing the synthesized depth data, by an inverse generator, to transform the depth data to a second set of 2-dimensional image data;
comparing the first set of 2-dimensional image data to the second set of 2-dimensional image data and generating an error signal based on the comparison;
adjusting the set of mapping function weightings based on the error signal; and
repeating the applying, processing comparing and adjusting steps until specified end criterion is satisfied.
