Binocular distance measuring method and device

A technology of binocular ranging and binocular camera, applied in the field of computer vision, can solve the problem of low accuracy of binocular ranging

Pending Publication Date: 2019-09-10
BEIJING TUSEN ZHITU TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In view of the above problems, the present invention provides a binocular ranging method and its device to solve the problem of low accuracy of binocular ranging in the prior art

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
  • Binocular distance measuring method and device
  • Binocular distance measuring method and device
  • Binocular distance measuring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] see figure 2 , which is a flowchart of a binocular ranging method in an embodiment of the present invention, the method includes:

[0071] Step 101, perform feature extraction on the left image and the right image collected by the binocular camera to obtain a left feature map and a right feature map.

[0072] Step 102: Select one of the left feature map and the right feature map as a standard feature map, and use a block matching algorithm to perform correlation calculations on the left feature map and the right feature map to obtain the cost volume (ie cost volume) of the standard feature map.

[0073] Step 103: Perform normalization processing on the calculation costs of all difference values ​​in the difference dimension of each pixel in the cost volume to obtain a confidence volume (ie, confidence volume).

[0074] Step 104, taking the maximum value of the confidence of all difference values ​​on the difference dimension of each pixel in the confidence volume to o...

example 1

[0108] Take the left feature map as the standard feature map, take the right feature map as the reference feature map, set the sliding range to d, the horizontal moving direction to the horizontal left, and set the step size to 1 times the distance between two adjacent pixels; set the standard The pixels in the feature map are called standard pixels, the pixels in the reference feature map are called reference pixels, and the cost volume can be obtained by performing the following steps 1a to 3a for each standard pixel in the left feature map . Take the standard pixel point A as an example to perform the following steps 1a to 3a for description:

[0109] Step 1a. Slide to the left once in the right feature map based on the coordinates of the standard pixel point A to obtain the reference pixel point A1; slide to the left once again based on the previous reference pixel point A1 in the right feature map to obtain Reference pixel point A2; ..., slide to the left once based on t...

example 2

[0115] The right feature map is used as the standard feature map, the left feature map is used as the reference feature map, the sliding range is set to d, the horizontal moving direction is horizontal to the right, and the step size is set to 1 times the distance between two adjacent pixels; the standard The pixels in the feature map are called standard pixels, the pixels in the reference feature map are called reference pixels, and the cost volume can be obtained by performing the following steps 1b to 3b for each standard pixel in the right feature map . Take the standard pixel point B as an example to perform the following steps 1b to 3b for description:

[0116]Step 1b. Slide to the right once in the left feature map based on the coordinates of the standard pixel point B to obtain the reference pixel point B1; slide to the right once again based on the previous reference pixel point B1 in the left feature map to obtain Reference pixel point B2; ..., slide to the right on...

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 discloses a binocular distance measuring method and device, to improve binocular distance measure accuracy. The method comprises following steps: performing feature extraction toa left image and a right image to obtain a left feature map and a right feature map; selecting a standard feature map, and performing correlation calculation on the left feature map and the right feature map using a block matching algorithm to obtain a cost volume of the standard feature map; normalizing a calculation cost on a difference dimension of each pixel in the cost volume to obtain a confidence volume; taking a maximum value of a confidence level in the difference dimension of the each pixel in the confidence volume to obtain a confidence map; mapping pixel points in the confidence map with a confidence greater than a preset threshold to 1, and mapping pixel points with a confidence less than or equal to the threshold to 0, to obtain a mask map; taking an argmax value of the confidence value of all the difference values in the difference dimension of the each pixel point in the confidence volume, to obtain a difference map; multiplying the mask map and the difference map to obtain a target difference map; and performing distance estimation according to the target difference map.

Description

technical field [0001] The invention relates to the field of computer vision, in particular to a binocular ranging method and a device thereof. Background technique [0002] Binocular distance measurement is a kind of visual measurement by calculating the position difference between the left image and the right image collected by the binocular camera (the left image and the right image refer to the two images captured by the binocular camera at a certain moment). distance algorithm. With the development of automatic driving technology, binocular ranging has become an indispensable technical point in automatic driving technology. Traditional binocular ranging algorithms such as figure 1 shown, including the following steps: [0003] Step a, take the left image as the standard image, calculate the left image and the right image through the block matching algorithm, and obtain the cost volume corresponding to the standard image; [0004] Step b. Perform cost aggregation on ...

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
IPC IPC(8): G01C3/00
CPCG01C3/00G06T7/593G06T2207/30252G06T2207/20084G03B13/20H04N2013/0081H04N13/128G01C3/14G01C11/16G01C3/04G06T7/80
Inventor卢远勤王乃岩
OwnerBEIJING TUSEN ZHITU TECH CO LTD