Supercharge Your Innovation With Domain-Expert AI Agents!

A method and device for generating a depth image

A technology of depth image and scene image, applied in the field of computer vision, which can solve problems such as low accuracy

Active Publication Date: 2021-01-12
BEIJING TSINGMICRO INTELLIGENT TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For more complex scene images, the parallax of each pixel in the local area may have a large range of variation, resulting in low accuracy of the depth estimation results for each pixel in the scene image.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for generating a depth image
  • A method and device for generating a depth image
  • A method and device for generating a depth image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Specific embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0039] Such as figure 1 As shown, an embodiment of the present invention is a method for generating a depth image, comprising the following steps:

[0040] S110: Obtain the scene image and the pre-stored reference image, and calculate the sub-pixel of each scene pixel in the scene image according to the coordinates and grayscale of the scene pixel in the scene image and the coordinates and grayscale of the corresponding reference pixel in the reference image Parallax value.

[0041] figure 2 A scene image 1 and a pre-stored reference image 2 are shown. Wherein, scene image 1 is an image of a scene actually captured by a camera. Reference image 2 is an image captured by a camera after a fine speckle pattern is projected onto the scene surface by a speckle projection device.

[0042] S120: Centering on a single scene pixel in the scene image, constr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention is a method and device for generating a depth image, comprising: calculating the gray gradient of each scene pixel in a scene image block, and taking multiple scene pixels exceeding a gradient threshold as effective scene pixels. Obtain the initial coordinates and gray value of the sub-pixel corresponding to the same name in the reference image corresponding to the valid scene pixel, and express the parallax of the valid scene pixel as a linear polynomial function of the pixel coordinates. Obtain the normalized cross-correlation function value between the gray value of a valid scene pixel and the gray value of a sub-pixel with the same name. Get the target polynomial coefficient corresponding to the maximum value of the normalized cross-correlation function. Get the target disparity of the scene pixel at the center of the image patch. The depth value corresponding to the scene pixel is calculated from the disparity to generate the depth image corresponding to the scene image, and the accuracy of the depth estimation result of each pixel in the scene image is improved.

Description

technical field [0001] The invention relates to the technical field of computer vision, in particular to a method and device for generating a depth image. Background technique [0002] The monocular speckle structured light system is a depth perception device, which is used in intelligent security, mobile robots, augmented reality and other fields. The system uses a speckle projection device to project fine speckle patterns onto the surface of the scene, and at the same time, a camera captures a scene image, and matches the image with a pre-stored reference image to obtain a depth map of the scene. In this process, image matching is an important step to generate a depth map, and the quality of the matching result directly affects the accuracy of the depth result. [0003] Existing matching methods are mainly divided into two categories: grayscale-based methods and binary-based methods. These two types of methods generally use the idea of ​​image block matching to calculate ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/50
CPCG06T7/50
Inventor 周凯唐士斌欧阳鹏
Owner BEIJING TSINGMICRO INTELLIGENT TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More