IP Library › Granted Patent US 11,443,445
Granted Patent B2
US 11,443,445 · App. 16/830,363 · Granted Sep 13, 2022

Method and apparatus for depth estimation of monocular image, and storage medium

Inventors: Yukang Gan (Shenzhen, CN); Xiangyu Xu (Shenzhen, CN); Wenxiu Sun (Shenzhen, CN); Liang Lin (Shenzhen, CN)
Assignee: SHENZHEN SENSETIME TECHNOLOGY CO., LTD.
G06T7/50G06N3/0454G06N3/08G06T2207/10028G06T2207/20081G06T2207/20084
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,443,445
App. No.
16/830,363
Granted
Sep 13, 2022
Kind
B2
Abstract

A method and apparatus for depth estimation of a monocular image, and a storage medium are provided. The method includes: obtaining, through a depth estimation neural network, a global feature of a monocular image according to absolute features of preset regions and relative features among the preset regions in the monocular image; and obtaining a predicted depth map of the monocular image according to the global feature, and the absolute features of preset regions and relative features among the preset regions in the monocular image.

Claims (43)

1. A computer-implemented method for depth estimation of a monocular image, comprising: obtaining, through a depth estimation neural network, a global feature of a monocular image according to absolute features of preset regions and relative features among the preset regions in the monocular image; and obtaining a predicted depth map of the monocular image according to the global feature, the absolute features of preset regions and the relative features among the preset regions in the monocular image.

2. The method according to claim 1 , wherein before the obtaining a global feature of a monocular image according to absolute features of preset regions and relative features among the preset regions in the monocular image, the method further comprises:

performing, through a first neural network, feature extraction on the monocular image to obtain features of preset regions in the monocular image, and taking the features of the preset regions as the absolute features of the preset regions in the monocular image; and

obtaining the relative features among the preset regions in the monocular image according to the absolute features of the preset regions in the monocular image.

3. The method according to claim 2 , wherein the obtaining relative features among the preset regions in the monocular image according to the absolute features of the preset regions in the monocular image comprises:

performing, through an association layer, a vector operation on the absolute features of the preset regions in the monocular image to obtain the relative features among the preset regions in the monocular image.

4. The method according to claim 2 , wherein before performing, through a first neural network, feature extraction on the monocular image, the method further comprises:

performing downsampling on the monocular image to obtain a monocular image having a preset dimension, wherein a dimension of the monocular image is a multiple of the preset dimension.

5. The method according to claim 1 , wherein the obtaining a global feature of a monocular image according to absolute features of preset regions and relative features among the preset regions in the monocular image comprises:

obtaining, through a full connection layer, the global feature of the monocular image by combining the absolute features of the preset regions and the relative features among the preset regions in the monocular image.

6. The method according to claim 1 , wherein the obtaining a predicted depth map of the monocular image according to the global feature and the absolute features of preset regions and relative features among the preset regions in the monocular image comprises:

performing, through a depth estimator, depth estimation according to the global feature, the absolute features of the preset regions and the relative features among the preset regions in the monocular image to obtain the predicted depth map of the monocular image.

7. The method according to claim 1 , wherein after the obtaining a predicted depth map of the monocular image according to the global feature, the absolute features of preset regions and relative features among the preset regions in the monocular image, the method further comprises:

performing optimization on the predicted depth map according to a longitudinal variation law of depth information of the monocular image to obtain a target depth map of the monocular image.

8. The method according to claim 7 , wherein the performing optimization on the predicted depth map according to a longitudinal variation law of depth information of the monocular image to obtain a target depth map of the monocular image comprises:

performing residual estimation on the predicted depth map according to the longitudinal variation law of depth information of the monocular image to obtain a residual plot of the predicted depth map; and

performing optimization on the predicted depth map according to the residual plot to obtain the target depth map of the monocular image.

9. The method according to claim 8 , wherein the performing residual estimation on the predicted depth map according to a longitudinal variation law of depth information of the monocular image to obtain a residual plot of the predicted depth map comprises:

performing, through a residual estimation network, residual estimation on the predicted depth map according to the longitudinal variation law of depth information of the monocular image to obtain a residual plot of the predicted depth map; and

the performing optimization on the predicted depth map according to the residual plot to obtain a target depth map of the monocular image comprises

performing a pixel-by-pixel superposition operation on the residual plot and the predicted depth map to obtain the target depth map of the monocular image.

10. The method according to claim 7 , wherein before the performing optimization on the predicted depth map according to a longitudinal variation law of depth information of the monocular image to obtain a target depth map of the monocular image, the method further comprises:

obtaining the longitudinal variation law of depth information of the monocular image according to the predicted depth map.

11. The method according to claim 10 , wherein the obtaining a longitudinal variation law of depth information of the monocular image according to the predicted depth map comprises:

performing, through a longitudinal pooling layer, processing on the predicted depth map to obtain the longitudinal variation law of depth information of the monocular image.

12. The method according to claim 7 , wherein the performing optimization on the predicted depth map according to a longitudinal variation law of depth information of the monocular image comprises:

performing a preset number of upsamplings on the predicted depth map, obtaining the longitudinal variation law of depth information according to a predicted depth map, obtained by each upsampling, having a dimension sequentially increased by a multiple, and performing optimization on the predicted depth map, obtained by each upsampling, having a dimension sequentially increased by a multiple according to the obtained longitudinal variation law of the depth information to obtain an optimized target depth map;

wherein the optimized target depth map obtained by each of the upsamplings other than a last upsampling is taken as a predicted depth map of a next upsampling, the optimized target depth map obtained by the last upsampling is taken as the target depth map of the monocular image, and the target depth map has the same dimension as the monocular image.

13. The method according to claim 1 , wherein the depth estimation neural network comprises an association layer, a full connection layer, and a depth estimator, and is obtained by training the depth estimation neural network by using a sparse depth map and a dense depth map obtained by stereo matching for binocular images as marking data.

14. An apparatus for the depth estimation of a monocular image, comprising: one or more processors; and a memory, configured to storing instructions executable by the one or more processors, wherein the one or more processors are configured to: obtain, through a depth estimation neural network, a global feature of a monocular image according to absolute features of preset regions and relative features among the preset regions in the monocular image, and obtain a predicted depth map of the monocular image according to the global feature and the absolute features of preset regions and the relative features among the preset regions in the monocular image.

15. The apparatus according to claim 14 , wherein the one or more processors are further configured to:

perform, through a first neural network, feature extraction on the monocular image to obtain features of preset regions in the monocular image, and take the features of the preset regions as the absolute features of the preset regions in the monocular image; and

obtain, through the depth estimation neural network, the relative features among the preset regions in the monocular image according to the absolute features of the preset regions in the monocular image.

16. The apparatus according to claim 15 , wherein the depth estimation neural network comprises:

an association layer, and the one or more processors are configured to perform, through the association layer, a vector operation on the absolute features of the preset regions in the monocular image to obtain the relative features among the preset regions in the monocular image.

17. The apparatus according to claim 15 , wherein the one or more processors are further configured to:

perform, through a downsampling layer, downsampling on the monocular image before performing feature extraction on the monocular image to obtain a monocular image having a preset dimension, wherein a dimension of the monocular image is a multiple of the preset dimension.

18. The apparatus according to claim 14 , wherein the depth estimation neural network comprises:

a full connection layer, and the one or more processors are configured to obtain, through the full connection layer, the global feature of the monocular image by combining the absolute features of the preset regions and the relative features among the preset regions in the monocular image; or

a depth estimator, and the one or more processors are configured to perform, through the depth estimator, depth estimation according to the global feature and the absolute features of the preset regions and the relative features among the preset regions in the monocular image to obtain the predicted depth map of the monocular image.

19. The apparatus according to claim 14 , wherein the one or more processors are further configured to:

perform, through a second neural network, optimization on the predicted depth map according to a longitudinal variation law of depth information of the monocular image to obtain a target depth map of the monocular image.

20. A non-transitory computer storage medium, configured to store computer readable instructions that, when being executed, implement a method for depth estimation of a monocular image, comprising: obtaining, through a depth estimation neural network, a global feature of a monocular image according to absolute features of preset regions and relative features among the preset regions in the monocular image; and obtaining a predicted depth map of the monocular image according to the global feature, the absolute features of preset regions and the relative features among the preset regions in the monocular image.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 10, 2020
From: GAN, YUKANG; XU, XIANGYU; SUN, WENXIU; LIN, LIANG
To: SHENZHEN SENSETIME TECHNOLOGY CO., LTD.
Reel/Frame 053183/0052 →
Priority Claims (1)
CN 201810845040.4 · Jul 27, 2018 · national
Continuity (2)
Continuation PCTCN2019082314 · Apr 11, 2019
Related Publication 20200226773A1 · Jul 16, 2020
Cited By (4)
US 12,456,212 US 12,539,037 US 12,555,255 US 12,555,395