# US 2026/0093256 A1 · Method and device for generating depth map

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

- Number: US 2026/0093256 A1
- Document ID: US20260093256A1
- Status: Published application
- Kind: A1
- Application number: 19/217,764
- Filed: 2025-05-23
- Published: 2026-04-02
- Earliest claimed: 2024-09-30
- Assignees: Hyundai Motor Company; Kia Corporation
- Applicants: Hyundai Motor Company; Kia Corporation
- Inventors: Sohee Kim; Sunkyung Kim
- Web page: https://patentgrep.com/patent/US20260093256A1

## CPC

- G05D 1/246: using environment maps, e.g. simultaneous localisation and mapping [SLAM]
- G01S 17/89: for mapping or imaging
- G06T 7/11: Region-based segmentation
- G05D 2101/15: using machine learning, e.g. neural networks
- G05D 2105/87: {for exploration, e.g. mapping of an area}
- G05D 2109/10: Land vehicles
- G05D 2111/17: {Coherent light, e.g. laser signals}
- G06T 2207/10024: Color image
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Disclosed is a depth map generation method and device. The method includes: acquiring an RGB color image via a monocular camera provided in a robot system; acquiring a three-dimensional point cloud via a light detection and ranging (LiDAR) sensor provided in the robot system; generating, from the three-dimensional point cloud, a sparse depth map including depth information for only some points in a given space; inputting the RGB color image and the sparse depth map into a pre-trained diffusion model; and generating, based on the diffusion model, a dense depth map including depth information for all points in the given space, in which the diffusion model is trained by introducing a loss function that reflects confidence, which is a numerical representation of confidence level in a prediction of the diffusion model.

## Claims

### Claim 1

A method of generating a depth map, the method comprising:
acquiring an RGB color image via a monocular camera provided in a robot system;
acquiring a three-dimensional point cloud via a light detection and ranging (LiDAR) sensor provided in the robot system;
generating, from the three-dimensional point cloud, a sparse depth map including first depth information for only some points in a particular space;
inputting the RGB color image and the sparse depth map into a pre-trained diffusion model; and
generating, based on the pre-trained diffusion model, a dense depth map including second depth information for all points in the particular space,
wherein:
the pre-trained diffusion model is trained by introducing a loss function that reflects confidence, and
the confidence is a numerical representation of a confidence level in a prediction of the pre-trained diffusion model.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
training the pre-trained diffusion model to predict the dense depth map when noise and the sparse depth map are input, by using the noise and the sparse depth map as training data according to a predetermined setting.

### Claim 3 (depends on 2)

The method of claim 2, wherein the training of the pre-trained diffusion model includes:
reading the predetermined setting;
when it is determined that the predetermined setting includes a first setting, normalizing a depth value of the sparse depth map to a value in a range of −1 to 1;
setting one or more local regions in the sparse depth map;
replacing, in the noise, a value of a location corresponding to the one or more local regions with a sparse depth value in the one or more local regions; and
training the pre-trained diffusion model based on the noise, in which the value of the location corresponding to the one or more local regions is replaced, and the sparse depth map in which the normalization has been performed.

### Claim 4 (depends on 2)

The method of claim 2, wherein the training of the pre-trained diffusion model includes:
reading the predetermined setting;
when it is determined that the predetermined setting includes a second setting, normalizing a depth value of the sparse depth map used as the training data to a value in a range of −1 to 1; and
training the pre-trained diffusion model based on the noise and the sparse depth map on which the normalization has been performed.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the loss function is determined by Equation 1 below,
L
=
Mean
⁢
(
L
*
)
,
L
∈
R
(
Equation
⁢
1
)
in which L is the loss function, Mean( ) is a function that computes a mean, R is a set of real numbers, and L* is determined according to Equation 2 below:
L
*
=
C
d
⁢
c
⊙
(
GTDDM
-
PDDM
)
2
,
⁢
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
2
)
in which Cdc is the confidence, an operator ⊙ is a pixel wise dot product operator, and GTDDM (Ground Truth Dense Depth Map) is an actual true answer for the dense depth map, PDDM (Predicted Dense Depth Map) is a predicted value for the dense depth map, and RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, and W is a horizontal length of the dense depth map.

### Claim 6 (depends on 5)

The method of claim 5, wherein:
the confidence Cdc is determined according to Equation 3 and Equation 4 below;
C
d
⁢
c
*
=
C
+
C
e
(
Equation
⁢
3
)
C
d
⁢
c
=
{
C
d
⁢
c
*
,
(
if
⁢
⁢
C
d
⁢
c
*
>
0
)
1
,
(
Otherwise
)
(
Equation
⁢
4
)
in which C is a difference between an output value and an answer in the pre-trained diffusion model, and Ce is determined according to Equation 5 and Equation 6 below:
C
e
=
C
⊙
E
*
(
Equation
⁢
5
)
E
*
=
{
w
*
E
⁡
(
if
⁢
Sobel
(
PDDM
)
>
γ
,
w
>
1
)
0
,
(
Otherwise
)
(
Equation
⁢
6
)
in which E is an edge map acquired by passing through an edge detector, Sobel( ) is a function for detecting an edge intensity in the edge map, γ is a predetermined reference value, and w is a predetermined weight.

### Claim 7 (depends on 6)

The method of claim 6, wherein:
the C is determined according to Equation 7 and Equation 8 below;
C
*
=
(
GTDDM
-
PDDM
)
2
,
⁢
C
*
∈
R
D
×
H
×
W
(
Equation
⁢
7
)
C
=
{
α
⁢
(
if
⁢
⁢
C
*
>
Mean
⁢
(
C
*
)
⁢
and
⁢
GTDDM
>
0
&
,
α
>
1
)
0
⁢
(
Otherwise
)
(
Equation
⁢
8
)
in which α is a predetermined weight.

### Claim 8 (depends on 1)

The method of claim 1, wherein:
the loss function is determined according to Equation 9 below:
L
=
Mean
⁢
(
L
*
)
,
L
∈
R
(
Equation
⁢
9
)
in which L is the loss function, Mean( ) is the function that computes the mean, R is the set of real numbers, and L* is determined according to Equation 10 below:
L
*
=
C
⁢
❘
"\[LeftBracketingBar]"
GTDDM
-
PDDM
❘
"\[RightBracketingBar]"
,
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
10
)
in which GTDDM is an actual true answer for the dense depth map, PDDM is a predicted value for the dense depth map, RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, W is a horizontal length of the dense depth map, and C is determined according to Equation 11 and Equation 12 below:
C
*
=
❘
"\[LeftBracketingBar]"
GTDDM
-
PDDM
❘
"\[RightBracketingBar]"
,
C
*
∈
R
D
×
H
×
W
(
Equation
⁢
11
)
C
=
{
α
⁢
(
if
⁢
⁢
C
*
>
Mean
⁢
(
C
*
)
⁢
and
⁢
GTDDM
>
0
&
,
α
>
1
)
0
⁢
(
Otherwise
)
(
Equation
⁢
12
)
in which α is a predetermined weight.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
the loss function is determined according to Equation 13 below:
L=Mean(L*),L∈R (Equation 13)
in which L is the loss function, Mean( ) is the function that computes a mean, R is the set of real numbers, and L* is determined according to Equation 14 below:
L
*
=
C
⊙
(
G
⁢
T
⁢
D
⁢
D
⁢
M
-
P
⁢
D
⁢
D
⁢
M
)
2
,
⁢
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
14
)
in which the operator ⊙ is a pixel wise dot product, GTDDM is an actual true answer for the dense depth map, PDDM is a predicted value for the dense depth map, RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, and W is a horizontal length of the dense depth map, and C is determined according to Equation 15 and Equation 16 below:
C
*
=
(
GTDDM
-
PDDM
)
2
,
⁢
C
*
∈
R
D
×
H
×
W
(
Equation
⁢
15
)
C
=
{
α
⁢
(
if
⁢
⁢
C
*
>
Mean
⁢
(
C
*
)
⁢
and
⁢
GTDDM
>
0
&
,
α
>
1
)
0
⁢
(
Otherwise
)
(
Equation
⁢
16
)
in which α is a predetermined weight.

### Claim 10 (depends on 1)

The method of claim 1, wherein:
the loss function is determined according to Equation 17 below:
L
=
Mean
⁢
(
L
*
)
,
L
∈
R
(
Equation
⁢
17
)
in which L is the loss function, Mean( ) is a function that computes a mean, R is a set of real numbers, and L* is determined according to Equation 18 below,
L
*
=
E
*
⊙
(
GTDDM
-
PDDM
)
2
,
⁢
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
18
)
herein, the operator ⊙ is a pixel wise dot product, GTDDM is an actual true answer for the dense depth map, PDDM is a predicted value for the dense depth map, RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, and W is a horizontal length of the dense depth map, and E* is determined according to Equation 19 below:
E
*
=
{
w
*
E
⁡
(
if
⁢
Sobel
⁢
(
PDDM
)
>
γ
,
w
>
1
)
0
,
(
Otherwise
)
(
Equation
⁢
19
)
in which E is an edge map acquired by passing an edge detector, Sobel( ) is a function that detects edge intensity in the edge map, γ is a predetermined reference value, and w is a predetermined weight.

### Claim 11

A device for generating a depth map, comprising:
one or more processors; and
one or more memory devices storing program code which, when executed by the one or more processors, causes the one or more processors to:
acquire an RGB color image via a monocular camera provided in a robot system;
acquire a three-dimensional point cloud via a light detection and ranging (LiDAR) sensor provided in the robot system;
generate, from the three-dimensional point cloud, a sparse depth map including first depth information for only some points in a particular space;
input the RGB color image and the sparse depth map into a pre-trained diffusion model; and
generate, based on the diffusion model, a dense depth map including second depth information for all points in the particular space,
wherein:
the pre-trained diffusion model is trained by introducing a loss function that reflects confidence, and
the confidence is a numerical representation of confidence level in a prediction of the pre-trained diffusion model.

### Claim 12 (depends on 11)

The device of claim 11, wherein the execution of the program code by the one or more processors further causes the one or more processors to:
train the pre-trained diffusion model to predict the dense depth map when noise and the sparse depth map are input, by using the noise and the sparse depth map as training data according to a predetermined setting.

### Claim 13 (depends on 12)

The device of claim 12, wherein, to train the pre-trained diffusion model, the execution of the program code by the one or more processors further causes the one or more processors to:
read the predetermined setting;
when it is determined that the predetermined setting includes a first setting, normalize a depth value of the sparse depth map to a value in a range of −1 to 1;
set one or more local regions in the sparse depth map;
replace, in the noise, a value of a location corresponding to the one or more local regions with a sparse depth value in the one or more local regions; and
train the pre-trained diffusion model based on the noise, in which the value of the location corresponding to the one or more local regions is replaced, and the sparse depth map in which the normalization has been performed.

### Claim 14 (depends on 12)

The device of claim 12, wherein, to train the pre-trained diffusion model, the execution of the program code by the one or more processors further causes the one or more processors to:
read the predetermined setting;
when it is determined that the predetermined setting includes a second setting, normalize a depth value of the sparse depth map used as the training data to a value in a range of −1 to 1; and
train the pre-trained diffusion model based on the noise and the sparse depth map on which the normalization has been performed.

### Claim 15 (depends on 11)

The device of claim 11, wherein:
the loss function is determined by Equation 1 below,
L
=
Mean
⁢
(
L
*
)
,
L
∈
R
(
Equation
⁢
1
)
in which L is the loss function, Mean( ) is a function that computes a mean, R is a set of real numbers, and L* is determined according to Equation 2 below:
L
*
=
C
dc
⊙
(
GTDDM
-
PDDM
)
2
,
⁢
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
2
)
herein, Cdc is the confidence, an operator ⊙ is a pixel wise dot product operator, and GTDDM (Ground Truth Dense Depth Map) is an actual true answer for the dense depth map, PDDM (Predicted Dense Depth Map) is a predicted value for the dense depth map, and RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, and W is a horizontal length of the dense depth map.

### Claim 16 (depends on 15)

The device of claim 15, wherein:
the confidence Cdc is determined according to Equation 3 and Equation 4 below;
C
d
⁢
c
*
=
C
+
C
e
(
Equation
⁢
3
)
C
d
⁢
c
=
{
C
dc
*
,
(
if
⁢
C
d
⁢
c
*
>
0
)
1
,
(
Otherwise
)
(
Equation
⁢
4
)
in which C is a difference between an output value and an answer in the pre-trained diffusion model, and Ce is determined according to Equation 5 and Equation 6 below:
C
e
=
C
⊙
E
*
(
Equation
⁢
5
)
E
*
=
{
w
*
E
⁡
(
if
⁢
Sobel
⁢
(
PDDM
)
>
γ
,
w
>
1
)
0
,
(
Otherwise
)
(
Equation
⁢
6
)
in which E is an edge map acquired by passing through an edge detector, Sobel( ) is a function for detecting an edge intensity in the edge map, γ is a predetermined reference value, and w is a predetermined weight.

### Claim 17 (depends on 16)

The device of claim 16, wherein:
the C is determined according to Equation 7 and Equation 8 below;
C
*
=
(
G
⁢
T
⁢
D
⁢
D
⁢
M
-
P
⁢
D
⁢
D
⁢
M
)
2
,
C
*
∈
R
D
×
H
×
W
(
Equation
⁢
7
)
C
=
{
α
(
if
⁢
C
*
>
Mean
⁢
(
C
*
)
⁢
and
⁢
GTDDM
>
0
&
,
α
>
1
0
⁢
(
Otherwise
)
(
Equation
⁢
8
)
in which α is a predetermined weight.

### Claim 18 (depends on 11)

The device of claim 11, wherein:
the loss function is determined according to Equation 9 below:
L
=
Mean
⁢
(
L
*
)
,
L
∈
R
(
Equation
⁢
9
)
in which L is the loss function, Mean( ) is the function that computes the mean, R is the set of real numbers, and L* is determined according to Equation 10 below:
L
*
=
C
⁢
❘
"\[LeftBracketingBar]"
GTDDM
-
PDDM
❘
"\[RightBracketingBar]"
,
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
10
)
in which GTDDM is an actual true answer for the dense depth map, PDDM is a predicted value for the dense depth map, RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, W is a horizontal length of the dense depth map), and C is determined according to Equation 11 and Equation 12 below:
C
*
=
❘
"\[LeftBracketingBar]"
GTDDM
-
PDDM
❘
"\[RightBracketingBar]"
,
C
*
∈
R
D
×
H
×
W
(
Equation
⁢
11
)
C
=
{
α
⁡
(
if
⁢
C
*
>
Mean
⁢
(
C
*
)
⁢
and
⁢
GTDDM
>
0
&
,
α
>
1
)
0
⁢
(
Otherwise
)
(
Equation
⁢
12
)
in which α is a predetermined weight.

### Claim 19 (depends on 11)

The device of claim 11, wherein:
the loss function is determined according to Equation 13 below:
L
=
Mean
⁢
(
L
*
)
,
L
∈
R
(
Equation
⁢
13
)
in which L is the loss function, Mean( ) is the function that computes a mean, R is the set of real numbers, and L* is determined according to Equation 14 below:
L
*
=
C
⊙
(
G
⁢
T
⁢
D
⁢
D
⁢
M
-
P
⁢
D
⁢
D
⁢
M
)
2
,
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
14
)
in which the operator ⊙ is a pixel wise dot product, GTDDM is an actual true answer for the dense depth map, PDDM is a predicted value for the dense depth map, RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, and W is a horizontal length of the dense depth map, and C is determined according to Equation 15 and Equation 16 below:
C
*
=
(
G
⁢
T
⁢
D
⁢
D
⁢
M
-
P
⁢
D
⁢
D
⁢
M
)
2
,
C
*
∈
R
D
×
H
×
W
(
Equation
⁢
15
)
C
=
{
α
⁡
(
if
⁢
C
*
>
Mean
⁢
(
C
*
)
⁢
and
⁢
GTDDM
>
0
&
,
α
>
1
)
0
⁢
(
Otherwise
)
(
Equation
⁢
16
)
in which α is a predetermined weight.

### Claim 20 (depends on 11)

The device of claim 11, wherein:
the loss function is determined according to Equation 17 below:
L
=
Mean
⁢
(
L
*
)
,
L
∈
R
(
Equation
⁢
17
)
in which L is the loss function, Mean( ) is a function that computes a mean, R is a set of real numbers, and L* is determined according to Equation 18 below,
L
*
=
E
*
⊙
(
GTDDM
-
PDDM
)
2
,
⁢
L
*
∈
R
D
×
H
×
W
(
Equation
⁢
18
)
in which the operator ⊙ is a pixel wise dot product, GTDDM is an actual true answer for the dense depth map, PDDM is a predicted value for the dense depth map, RD×H×W is a set of real numbers in which D is a number of channels of the dense depth map, H is a vertical length of the dense depth map, and W is a horizontal length of the dense depth map, and E* is determined according to Equation 19 below:
E
*
=
{
w
*
E
⁡
(
if
⁢
Sobel
⁢
(
PDDM
)
>
γ
,
w
>
1
)
0
,
(
Otherwise
)
(
Equation
⁢
19
)
in which E is an edge map acquired by passing an edge detector, Sobel( ) is a function that detects edge intensity in the edge map, γ is a predetermined reference value, and w is a predetermined weight.
