Method and device for generating depth map

A depth map and gradient technology, applied in the field of computer vision, can solve the problems of prone to stripe effect, difficult to obtain high-quality stereo reconstruction effect, slow algorithm speed, etc.

Active Publication Date: 2009-12-16
TSINGHUA UNIV
View PDF0 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The method based on local correlation has many problems such as serious noise, poor effect on the weak texture area of ​​the image and poor robustness, and it is difficult to obtain high-quality stereoscopic reconstruction effect; the method based on dynamic programming is prone to stripe effect at the edge of the object
And for real-time applications, the amount of calculation is still too large
[0007] It can be seen that the existing depth map generation technology still has the following problems: first, the algorithm that can generate high-quality depth maps is very slow; second, the depth map obtained by the algorithm that can quickly generate depth maps is of poor quality

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
  • Method and device for generating depth map
  • Method and device for generating depth map
  • Method and device for generating depth map

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0081] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0082] An embodiment of the present invention provides a method for generating a depth map, including:

[0083] The left view of the input image pair is used as a reference image, the right view of the input image pair is used as a target image, and the grayscale transformation is performed on the reference image and the target image respectively;

[0084] Calculate the upper gradient matrix, lower gradient matrix, left gradient matrix and right gradient matrix of the reference image after gray scale transformation;

[0085] Calculate the cost function matrix and perform boundary processing according to the reference image after grayscale transformation, the target image after grayscale transformation, and the disparity between the ref...

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 invention discloses a method and a device for generating a depth map, which belongs to the technical field of computer vision. The method comprises the following steps: performing gray-scale transformation by using a left view and a right view of an input image pair as a reference image and a target image respectively; computing upper, lower, left and right gradient matrixes of the reference image after the gray-scale transformation; computing a cost function matrix according to parallax, and processing borders; computing an original information storage matrix, and initializing upper, lower, left and right information storage matrixes; performing iterative calculation in a GPU memory by using a CUDA belief propagation algorithm to acquire upper, lower, left and right information storage matrixes after iteration, and computing a belief matrix according to the result of the iteration; and computing the depth map according to the belief matrix. The device comprises a gray-scale transformation module, a gradient computation module, a cost function matrix computation module, an original information storage matrix computation module, an iteration module, a belief matrix computation module and a depth map computation module. The method and the device improve computing efficiency of the depth map and realize high-quality and fast generation of the depth map.

Description

technical field [0001] The present invention relates to the technical field of computer vision, in particular to a method and device for generating a depth map. Background technique [0002] Three-dimensional images and displays are an important form of expression for future information systems. Three-dimensional images and displays are clearly layered and colorful, and have a strong visual impact, allowing viewers to stay longer and leave a deep impression; The images and displays are real and lifelike, the characters are ready to appear, there is an immersive feeling, and there is a high artistic appreciation value. Just because three-dimensional images and videos have the characteristics that these plane images and videos do not have, they have broad application prospects in fields such as computer display, television, video, robotics, measurement, inspection, medical treatment, advertising media, and electronic games. [0003] The reason why the human eye sees the world...

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 Applications(China)
IPC IPC(8): H04N13/00G06T7/00
Inventor 戴琼海刘继明曹汛
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products