CN102867304B - Method for establishing relation between scene stereoscopic depth and vision difference in binocular stereoscopic vision system - Google Patents

Method for establishing relation between scene stereoscopic depth and vision difference in binocular stereoscopic vision system Download PDF

Info

Publication number
CN102867304B
CN102867304B CN201210324572.6A CN201210324572A CN102867304B CN 102867304 B CN102867304 B CN 102867304B CN 201210324572 A CN201210324572 A CN 201210324572A CN 102867304 B CN102867304 B CN 102867304B
Authority
CN
China
Prior art keywords
scene
parallax
depth
vision system
stereo vision
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210324572.6A
Other languages
Chinese (zh)
Other versions
CN102867304A (en
Inventor
魏许
徐贵力
王彪
郭瑞鹏
田裕鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Aeronautics and Astronautics
Original Assignee
Nanjing University of Aeronautics and Astronautics
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Aeronautics and Astronautics filed Critical Nanjing University of Aeronautics and Astronautics
Priority to CN201210324572.6A priority Critical patent/CN102867304B/en
Publication of CN102867304A publication Critical patent/CN102867304A/en
Application granted granted Critical
Publication of CN102867304B publication Critical patent/CN102867304B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for establishing a relation between a scene stereoscopic depth and a vision difference in a binocular stereoscopic vision system. the method comprises the steps of firstly, solving inner parameters, and relative rotary matrixes and translation vectors of left and right cameras; then, analyzing a main error source and an error model of the binocular stereoscopic vision system; then, analyzing influences of the main error on a base line length and the vision difference of the parallel binocular stereoscopic vision system; then, establishing a common relation model of the scene stereoscopic depth and the vision difference in the binocular stereoscopic vision system; obtaining depth information by a laser distance measuring instrument by selecting a certain amount of demarcation points and carrying out demarcation based on a least square method to solve a relation model between the scene stereoscopic depth and the vision difference in the binocular stereoscopic vision system; and finally, solving the vision difference in left and right images through a corresponding fixed matching method so as to realize accurate recovery and three-dimensional reestablishment of the scene stereoscopic depth. The method has the beneficial effect of directly, simply, accurately and extremely improving the accuracy of the stereoscopic depth recovery and the three-dimensional reestablishment.

Description

The relation establishing method of Binocular Stereo Vision System Scene three-dimensional depth and parallax
Technical field
The scene depth that the present invention relates to a kind of stereo visual system of arbitrary disposition recovers and three-dimensional rebuilding method, be specifically related to the model of the universal relation of a kind of run-in index Binocular Stereo Vision System Scene three-dimensional depth and parallax, be applicable to machine vision and photogrammetric in scene three-dimensional depth recover and three-dimensional reconstruction.Belong to advanced to manufacture and automatic field.
Background technology
The research of binocular stereo vision is one of hot issue of field of machine vision, and the three-dimensional depth utilizing Binocular Stereo Vision System can realize scene point recovers and three-dimensional reconstruction.The three-dimensional depth of scene recovers to be obtain scene point relative to certain video camera along the axial distance of key light according to the pixel coordinate of the corresponding diagram picture point of scene point in stereo visual system.And three-dimensional reconstruction is exactly on the basis of depth recovery, obtain the three-dimensional coordinate of scene point under a certain camera coordinate system further.
Binocular stereo vision is generally divided into convergence type and run-in index, and wherein run-in index binocular stereo vision is a kind of special case of convergence type binocular tri-dimensional vision model.Run-in index Binocular Stereo Vision System middle left and right two camera properties of standard are identical, rotation relationship is there is not between camera coordinate system, namely the optical axis of two video cameras needs completely parallel, and only there is translation relation along certain direction in left and right two camera coordinate systems, translational movement is commonly referred to base length, for the run-in index Binocular Stereo Vision System of standard, the relational model of scene three-dimensional depth and parallax is known by stereoscopic vision field.But under real world conditions, the idealized configuration of the run-in index Binocular Stereo Vision System of standard is difficult to realize, and its main cause has two aspects: on the one hand, and the inner parameter of left and right two video cameras can not reach incomplete same; On the other hand, it is impossible for by mechanical means, the position relationship of left and right two video cameras being adjusted to complete parallel placement.For off-gauge run-in index Binocular Stereo Vision System, lens distortion, perspective error and systematic error equal error source is mainly there is in Binocular Stereo Vision System, cause the scene three-dimensional depth of Binocular Stereo Vision System and parallax relational model to there occurs certain change, the degree of accuracy of the recovery of scene three-dimensional depth and three-dimensional reconstruction is decreased.
At present, directly scene depth recovery and three-dimensional reconstruction can be carried out owing to also there is no a kind of method, so existing method is all adopt round-about way to carry out scene depth to recover and three-dimensional reconstruction, mainly be divided into two classes: the first kind is the image be converted into by the image in unparallel shaft stereo visual system by the method for image rectification in standard parallel axle stereo visual system, then calls depth recovery and the three-dimensional rebuilding method of standard parallel axle stereo visual system; Another Equations of The Second Kind is by the projection line reverse extending of scene point in two video cameras, is then found in scene by optimization method and nearestly with two projection lines a bit carries out depth recovery and three-dimensional reconstruction.Equations of The Second Kind method needs first to carry out initial estimate usually, then carries out iteration optimizing, not only time-consuming but also easily converge to locally optimal solution, thus seldom adopts in actual applications.So, in stereoscopic vision, carry out at present scene depth to recover and three-dimensional reconstruction generally adopts first kind method, but need first to carry out image rectification when adopting first kind method, this is also a time-consuming step, and error can be produced in the conversion process of image rectification, affect scene three-dimensional depth and parallax relational model, make the degree of accuracy of the recovery of scene three-dimensional depth and three-dimensional reconstruction reduce equally.Therefore, this area needs are a kind of is applicable to the scene three-dimensional depth of the run-in index Binocular Stereo Vision System of arbitrary disposition and the universal model of parallax.
Summary of the invention
For solving the problem, the main error that the object of the invention is to exist for run-in index Binocular Stereo Vision System is on the impact of scene three-dimensional depth and parallax relational model, the universal relation model of a kind of run-in index Binocular Stereo Vision System Scene three-dimensional depth and parallax is proposed, to realize accurate recovery and the three-dimensional reconstruction of scene three-dimensional depth, and neither need the image of Binocular Stereo Vision System carrying out polar curve correction, do not need to carry out initial estimate and iteration optimizing, have directly yet, simply, advantage accurately.
For solving the problem, the present invention takes following technical scheme to realize:
A relation establishing method for Binocular Stereo Vision System Scene three-dimensional depth and parallax, is characterized in that, comprises the following steps:
1) to be demarcated by monocular-camera and the method for Binocular Stereo Vision System demarcation, obtain the intrinsic parameter of left and right cameras and relative rotation matrices and translation vector;
2) by the pin-hole model of video camera perspective imaging, according to the change of Binocular Stereo Vision System base length and parallax, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax is set up;
3) by choosing the calibration point of some, obtaining depth information by laser range finder, carrying out the demarcation based on least square method, obtain the relational model of given Binocular Stereo Vision System scene three-dimensional depth and parallax;
4) for left and right cameras obtain two width images of Same Scene, by the method for corresponding point matching, obtain the scene parallax in left images;
5) by scene parallax, Exact recovery and the three-dimensional reconstruction of scene three-dimensional depth is realized.
The relation establishing method of aforesaid Binocular Stereo Vision System Scene three-dimensional depth and parallax, is characterized in that, in described step 2) in, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model step of parallax are:
21) only considering in model error situation, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax are such as formula (18):
z = a + b d - - - ( 18 )
Wherein, a and b is constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain;
22) under considering model error and matching error situation at the same time, completing steps 21) after, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax are formula (20)
z = a + b d + Δd = ad + aΔd + b d + Δd = A ′ d + B ′ d + C ′ - - - ( 20 )
Wherein, A ', B ' and C ' are constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain, and z represents scene depth, d is the parallax of scene point in left and right cameras image, and the converted quantity of parallax is Δ d.
Utilize the relational implementation three-dimensional depth of the aforesaid Binocular Stereo Vision System neutral body degree of depth and parallax to recover and the method for three-dimensional reconstruction, it is characterized in that, comprise the following steps:
(1) to be demarcated by monocular-camera and the method for Binocular Stereo Vision System demarcation, obtain the intrinsic parameter of left and right cameras and relative rotation matrices and translation vector;
(2) by the pin-hole model of video camera perspective imaging, according to the change of run-in index Binocular Stereo Vision System base length and parallax, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax is set up;
(3) two width images of scaling board in the Same Scene obtained for left and right cameras, by the method for Point matching, are extracted corresponding match point, obtain the pixel coordinate of corresponding point, and asked for the parallax of corresponding point by Euclidean distance.
(4) laser range finder is demarcated, make laser range finder and calibrating template keep vertical, ensure that camera coordinate system and laser range finder are in the same coordinate system simultaneously, thus under obtaining current parallax, the degree of depth between video camera to scaling board;
(5) mobile optical translation stage, repeats the operation of (3)-(4), and obtain the data of many group parallaxes and the degree of depth, in moving process, scaling board keeps vertical with video camera and laser range finder.
(6) carry out least square fitting by the parallax of corresponding point and the depth value of scene point in camera coordinate system as a pair data, thus obtain corresponding parameter, obtain the scene three-dimensional depth of given Binocular Stereo Vision System and the relational model of parallax;
(7) for left and right cameras obtain two width images of Same Scene, the method for surely being mated by correspondence, obtains the scene parallax in left images;
(8) by scene parallax, Exact recovery and the three-dimensional reconstruction of scene three-dimensional depth is completed.
Usefulness of the present invention is, the present invention considers the impact on scene three-dimensional depth and parallax relational model of the main error that exists in Binocular Stereo Vision System, establish and be a kind ofly applicable to the scene three-dimensional depth of the run-in index Binocular Stereo Vision System of arbitrary disposition and the universal model of parallax, and neither need the image of Binocular Stereo Vision System carrying out polar curve correction, do not need to carry out initial estimate and iteration optimizing yet, have directly, simply, advantage accurately, drastically increase three-dimensional depth and recover and the degree of accuracy of three-dimensional reconstruction.
Accompanying drawing explanation
Fig. 1 is standard parallel formula Binocular Stereo Vision System geometric model;
Fig. 2 is camera lens distortion schematic diagram;
Fig. 3 is Binocular Stereo Vision System error separation;
Fig. 4 is binocular stereo vision parallax and Depth Information Acquistion installation drawing;
Fig. 5 is the parameter acquisition procedure figure of binocular stereo vision universal relation model.
Embodiment
Below in conjunction with accompanying drawing, concrete introduction is done to the present invention:
Fig. 1 is the geometric model of standard parallel formula Binocular Stereo Vision System.As shown in Figure 1, standard parallel formula Binocular Stereo Vision System is made up of two identical video cameras, and two planes of delineation are positioned in a plane, and the coordinate axis of two video cameras is parallel to each other, and x-axis overlaps.If O l, O rfor the optical centre position of left and right cameras, O lwith O rbetween distance be baseline B, the focal length of video camera is f, the scene point p subpoint in the left and right plane of delineation is p land p r.The ideal relationship model of standard parallel formula Binocular Stereo Vision System scene three-dimensional depth and parallax is such as formula (1):
z = fB d - - - ( 1 )
Wherein, d is scene parallax, and z represents scene depth.
In practical situations both, in camera optics imaging process, camera lens also exists radial distortion, tangential distortion and thin prism distortion, causes image coordinate to there is distortion, so Binocular Stereo Vision System introduces model error; The Binocular Stereo Vision System simultaneously adopted not is the run-in index Binocular Stereo Vision System of standard, incomplete same and the position relationship of left and right cameras of the intrinsic parameter of left and right cameras can not complete parallel placement, causes Binocular Stereo Vision System to introduce perspective error, polar curve correction error, systematic error etc.
Fig. 2 is camera lens distortion schematic diagram.As shown in Figure 2, radial distortion in video camera imaging process, tangential distortion and thin prism distortion introduce radial distortion, and tangential distortion and thin prism distortion introduce tangential distortion, and the error that radial distortion and tangential distortion system are introduced is referred to as model error.Image physical coordinates during scene point consideration model error is such as formula (2):
x d = x u + δ x u ( x u , y u )
(2)
y d = y u + δ y u ( x u , y u )
Wherein, (x u, y u) be the ideal position image physical coordinates of scene point, (x d, y d) be the location drawing after scene point distortion as physical coordinates, be the impact of model error on the image physical coordinates of scene point, specifically can be expressed as formula (3):
δ x u = ( k 1 R 2 + k 2 R 4 + k 5 R 6 ) x u + 2 k 3 x u y u + k 4 ( R 2 + 2 x u 2 )
(3)
δ y u = ( k 1 R 2 + k 2 R 4 + k 5 R 6 ) y u + k 3 ( R 2 + 2 y u 2 ) + 2 k 4 x u y u
R 2=x u 2+ y u 2, k 1, k 2, k 5for camera lens radial distortion parameter, k 3, k 4for tangential distortion parameter.
For general video camera, above-mentioned radial distortion can describe the nonlinear distortion of camera lens, and too much nonlinear parameter can reduce stability of solution on the contrary, and therefore emphasis of the present invention considers the radial distortion of camera lens, namely
δ x u = ( k 1 R 2 + k 2 R 4 + k 5 R 6 ) x u
(4)
δ y u = ( k 1 R 2 + k 2 R 4 k 5 R 6 ) y u
Then single camera model error can be expressed as formula (5):
Δδ = ( x d - x u ) 2 + ( y d - y u ) 2
= δ x u 2 + δ y u 2 - - - ( 5 )
= ( k 1 R 2 + k 2 R 4 + k 5 R 6 ) 2 x u 2 + ( k 1 R 2 + k 2 R 4 + k 5 R 6 ) 2 y u 2
The model error of video camera can be reduced by some nonlinear calibration methods.
When utilizing Binocular Stereo Vision System to realize the three-dimensional reconstruction of scene point, that usually choose Minimum Mean Square Error and that (SSD) mates as scene point similarity measure.In the ideal case in match window (window of 9*9 pixel size) mean square deviation and be expressed as formula (6):
M ( d ) = Σ x = - 4 4 Σ y = - 4 4 ( I l ( x u , y u ) - I r ( x u - d , y u ) ) 2 - - - ( 6 )
Wherein, (x u, y u) be the ideal position image physical coordinates of scene point, d is parallax, I l, I rthe gray scale at sight spot, left and right cameras image midfield respectively.
In practical situations both, the optical axis non-critical of left and right cameras is parallel, namely there is certain anglec of rotation, the picture of scene point in the left and right cameras plane of delineation not only also exists translation and there is certain rotational deformation simultaneously, Binocular Stereo Vision System introduces perspective distortion error, and the gray scale of the right camera review scene point after therefore introducing perspective distortion error can be expressed as formula (7):
I r(x f,y f)=I l(x u+d 0+ay u,y u) (7)
Wherein, a is the non-zero gradient of disparity on y-axis direction.
Formula (7) is launched, such as formula (8) by Taylor's formula:
I l ( x u + d 0 + ay u , y u ) ≈ I l ( x u , y u ) + ( d 0 + ay u ) ∂ I l ∂ x u - - - ( 8 )
Formula (8) is brought into formula (6), obtain the mean square deviation under actual conditions and as follows:
M ( d ) ≈ Σ x = - 4 4 Σ y = - 4 4 ( ( d - d 0 - ay u ) ∂ I l ∂ x u ) 2 - - - ( 9 )
Work as d=d 0+ ae ftime, mean square deviation with minimum.Therefore, perspective distortion error can represent such as formula (10):
e f = Σ x = - 4 4 Σ y = - 4 4 y u | ∂ I l ∂ x u | 2 Σ x = - 4 4 Σ y = - 4 4 | ∂ I l ∂ x u | 2 - - - ( 10 )
Scene depth for off-gauge run-in index Binocular Stereo Vision System recovers and three-dimensional reconstruction, main method is corrected by the image in off-gauge run-in index Binocular Stereo Vision System to the image pair of run-in index Binocular Stereo Vision System being converted into standard by the polar curve of stereoscopic image, and also can produce error in the polar curve trimming process that image is right.Suppose that polar curve corrects on rear y-axis direction and there is very little misalignment degree m, now the gray scale of right camera review scene point can be expressed as formula (11):
I r(x m,y m)=I l(x u+d 0,y u+m) (11)
In like manner, formula (11) is launched, such as formula (12) by Taylor's formula:
I l ( x u + d 0 , y u + m ) ≈ I l ( x u , y u ) + d 0 ∂ I l ∂ x u + m ∂ I l ∂ y u - - - ( 12 )
Formula (12) is brought into formula (6), obtain the mean square deviation under actual conditions and as follows:
M ( d ) ≈ Σ x = - 4 4 Σ y = - 4 4 ( ( d - d 0 ) - ∂ I l ∂ x u - m ∂ I l ∂ y u ) 2 - - - ( 13 )
Work as d=d 0+ me mtime, mean square deviation with minimum.Therefore, polar curve correction error can be expressed as formula (14):
e m = Σ x = - 4 4 Σ y = - 4 4 ∂ I l ∂ x u · ∂ I l ∂ y u Σ x = - 4 4 Σ y = - 4 4 | ∂ I l ∂ x u | 2 - - - ( 14 )
Meanwhile, run-in index Binocular Stereo Vision System also exists systematic error, and systematic error mainly comprises window effect error and linear error.Perspective error, polar curve correction error and systematic error are referred to as matching error.
Fig. 3 is run-in index Binocular Stereo Vision System error separation.As shown in Figure 3, O l, O rrepresent the photocentre of left and right cameras, O lz land O rz rbe respectively the optical axis of left and right video camera, two optical axises are parallel, O land O rbetween distance be baseline B, the focal length of video camera is f.
Set up two-dimensional coordinate system O ro lz, with O lfor true origin, O lo rfor X-axis, O lz is Z axis, then O l(0,0), O r(B, 0), as plane on plane Z=f.If p 1, p 2for calibration point, conveniently derive, if its coordinate is respectively (x 1, z), (x 2, z), then put p 1and p 2ideal position in left and right cameras coordinate system is respectively p l1, p r1and p l2, p r2.Because left and right cameras inner parameter is incomplete same, therefore suppose that scene point is respectively Δ δ at the model error of left and right cameras 1with Δ δ 2.
Consider model error, p 1and p 2physical location in left and right cameras is respectively p l1', p r1' and p l2', p r2', the photocentre position of the video camera that can calculate accordingly is O l', O r', some p l1coordinate be (fx 1/ z, f), some p l2coordinate be (fx 2/ z, f), some p l1' coordinate (fx 1/ z+ Δ δ 1, f), some p l2' coordinate (fx 2/ z+ Δ δ 1, f), some p r1coordinate be (B+f (x 1-B)/z, f), some p r2coordinate be (B+f (x 2-B)/z, f), some p r1' coordinate be (B+f (x 1-B)/z+ Δ δ 2, f), some p r2' coordinate be (B+f (x 2-B)/z+ Δ δ 2, f), by p 1p l1' and p 2p l2' can O be obtained l' coordinate (z Δ δ 1/ (z-f), 0), in like manner obtain O r' coordinate be (B+z Δ δ 2/ (z-f), 0), now the base length of stereo visual system is:
B′=B+z(Δδ 2-Δδ 1)/(z-f)=B+ΔB (15)
The introducing of model error makes base length there occurs change.
If p 3for test point, p 3the coordinate of point is (x 3, z), then p 3picture point in left and right cameras plane is p l3' and p r3', consider model error Δ δ and matching error Δ ε, the p obtained simultaneously 3picture point is p l3' and p r3', obtain a p according to linear model 3'.P l3' coordinate be (fx 3/ z+ Δ δ 1, f), p r3' coordinate be (B+f (x 3-B)/z+ Δ δ 2, f), p r3" coordinate of point is (B+f (x 3-B)/z+ Δ δ 2+ Δ ε, f), now p 3the parallax of point is:
d′=(z-f)B/z+Δε+Δδ 2-Δδ 1=d+Δd (16)
When only considering model error, the base length of run-in index Binocular Stereo Vision System there occurs change, if the variable quantity of base length is Δ B, the depth error that the change of base length causes is Δ z, then scene point three-dimensional depth and parallax relational model can be expressed as:
z = f ( B + z ( Δδ 2 - Δδ 1 ) / ( z - f ) ) d + Δz = f ( B + ΔB ) d + Δz - - - ( 17 )
Wherein, f is the focal length of video camera, and d is the parallax of scene point in left and right cameras image.
When the base length information of stereo visual system is inaccurate or there are some unknown errors, formula (17) still also exists larger error, and therefore formula (17) is extended to general type, such as formula (18) by the present invention:
z = a + b d - - - ( 18 )
Wherein, a and b is constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain.
When to consider model error and matching error simultaneously, base length and the parallax information of run-in index Binocular Stereo Vision System all there occurs conversion, if the variable quantity of base length is Δ B, the converted quantity of parallax is Δ d, the depth error that the change of base length causes is Δ z, formula (17) is promoted, such as formula (19) by the present invention further:
z = f ( B + ΔB ) d + Δd + Δz = dΔz + f ( B + ΔB ) + ΔdΔz d + Δd - - - ( 19 )
Formula (18) is promoted, such as formula (20):
z = a + b d + Δd = ad + aΔd + b d + Δd = A ′ d + B ′ d + C ′ - - - ( 20 )
Wherein, A ', B ' and C ' are constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain.
For left and right cameras obtain two width images of Same Scene, the method for surely being mated by correspondence, obtains the scene parallax in left images.By scene parallax, complete Exact recovery and the three-dimensional reconstruction of scene three-dimensional depth.
Fig. 4 is binocular stereo vision parallax and Depth Information Acquistion installation drawing, and this device is made up of optical translation platform (containing scaling board), image capture device, laser range finder and integrated information processing platform four part; Optical translation platform is made up of calibrating template and single shaft mobile platform, and template is fixed on the platform that horizontal direction moves freely, thus realizes the translation in horizontal direction.Image capture device is made up of arbitrary binocular stereo vision camera, realizes the collection that image is right.Laser range finder adopts one dimension laser range finder, and measuring accuracy can reach 2mm.The information processing platform comprises PC and corresponding program, carries out treatment and analysis to the stereo pairs obtained and range information.
Fig. 5 is the parameter acquisition procedure figure of binocular stereo vision universal relation model, concrete steps as shown in the figure:
(1) scaling board is placed in the public view field of two video cameras, uses binocular camera to carry out image acquisition to above-mentioned scaling board simultaneously and obtain image pair
(2) two width images of scaling board in the Same Scene obtained for left and right cameras, by the method for corresponding point matching, extract corresponding match point.
(3) for a pair match point in left images, obtain the pixel coordinate of corresponding point, and asked for the parallax of corresponding point by Euclidean distance.
(4) laser range finder is demarcated, make laser range finder and calibrating template keep vertical, ensure that camera coordinate system and laser range finder are in the same coordinate system simultaneously, thus under obtaining current parallax, the degree of depth between video camera to scaling board.
(5) mobile optical translation stage, ensures in moving process, and scaling board keeps vertical with video camera and laser range finder, thus obtains the data of many group parallaxes and the degree of depth.
(6) carry out least square fitting by the parallax of corresponding point and the depth value of scene point in camera coordinate system as one group of data, thus obtain corresponding parameter and obtain the scene three-dimensional depth of given Binocular Stereo Vision System and the relational model of parallax;
Exact recovery and the three-dimensional reconstruction of scene three-dimensional depth can be realized by above method and step.
It should be noted that, above-described embodiment does not limit the present invention in any form, the technical scheme that the form that all employings are equal to replacement or equivalent transformation obtains, and all drops within protection scope of the present invention.

Claims (2)

1. a relation establishing method for Binocular Stereo Vision System Scene three-dimensional depth and parallax, is characterized in that, comprises the following steps:
1) to be demarcated by monocular-camera and the method for Binocular Stereo Vision System demarcation, obtain the intrinsic parameter of left and right cameras and relative rotation matrices and translation vector;
2) by the pin-hole model of video camera perspective imaging, according to the change of Binocular Stereo Vision System base length and parallax, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax is set up;
The universal relation model step of the scene three-dimensional depth and parallax of setting up Binocular Stereo Vision System is:
21) only considering in model error situation, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax are such as formula (18):
z = a + b d - - - ( 18 )
Wherein, a and b is constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain;
22) under considering model error and matching error situation at the same time, completing steps 21) after, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax are formula (20)
z = a + b d + Δd = ad + aΔd + b d + Δd = A ′ d + B ′ d + C ′ - - - ( 20 )
Wherein, A ', B ' and C ' are constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain, and z represents scene depth, d is the parallax of scene point in left and right cameras image, and the converted quantity of parallax is Δ d;
3) by choosing the calibration point of some, obtaining depth information by laser range finder, carrying out the demarcation based on least square method, obtain the relational model of given Binocular Stereo Vision System scene three-dimensional depth and parallax;
4) for left and right cameras obtain two width images of Same Scene, by the method for corresponding point matching, obtain the scene parallax in left images;
5) by scene parallax, Exact recovery and the three-dimensional reconstruction of scene three-dimensional depth is realized.
2. utilize the relational implementation three-dimensional depth of the Binocular Stereo Vision System neutral body degree of depth and parallax to recover and the method for three-dimensional reconstruction, it is characterized in that, comprise the following steps:
(1) to be demarcated by monocular-camera and the method for Binocular Stereo Vision System demarcation, obtain the intrinsic parameter of left and right cameras and relative rotation matrices and translation vector;
(2) by the pin-hole model of video camera perspective imaging, according to the change of run-in index Binocular Stereo Vision System base length and parallax, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax is set up;
The universal relation model step of the scene three-dimensional depth and parallax of setting up Binocular Stereo Vision System is:
21) only considering in model error situation, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax are such as formula (18):
z = a + b d - - - ( 18 ) Wherein, a and b is constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain;
22) under considering model error and matching error situation at the same time, completing steps 21) after, the scene three-dimensional depth of Binocular Stereo Vision System and the universal relation model of parallax are formula (20)
z = a + b d + Δd = ad + aΔd + b d + Δd = A ′ d + B ′ d + C ′ - - - ( 20 )
Wherein, A ', B ' and C ' are constant, and the parallax information of its depth information and correspondence thereof of solving by gathering some calibration points utilizes least square method to obtain, and z represents scene depth, d is the parallax of scene point in left and right cameras image, and the converted quantity of parallax is Δ d;
(3) two width images of scaling board in the Same Scene obtained for left and right cameras, by the method for Point matching, are extracted corresponding match point, obtain the pixel coordinate of corresponding point, and asked for the parallax of corresponding point by Euclidean distance;
(4) laser range finder is demarcated, make laser range finder and calibrating template keep vertical, ensure that camera coordinate system and laser range finder are in the same coordinate system simultaneously, thus under obtaining current parallax, the degree of depth between video camera to scaling board;
(5) mobile optical translation stage, repeats the operation of (3)-(4), and obtain the data of many group parallaxes and the degree of depth, in moving process, scaling board keeps vertical with video camera and laser range finder;
(6) least square fitting is carried out by the parallax of corresponding point and the depth value of scene point in camera coordinate system as a pair data, thus obtain corresponding parameter, obtain the scene three-dimensional depth of given Binocular Stereo Vision System and the relational model of parallax;
(7) for left and right cameras obtain two width images of Same Scene, by the method for corresponding point matching, obtain the scene parallax in left images;
(8) by scene parallax, Exact recovery and the three-dimensional reconstruction of scene three-dimensional depth is completed.
CN201210324572.6A 2012-09-04 2012-09-04 Method for establishing relation between scene stereoscopic depth and vision difference in binocular stereoscopic vision system Expired - Fee Related CN102867304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210324572.6A CN102867304B (en) 2012-09-04 2012-09-04 Method for establishing relation between scene stereoscopic depth and vision difference in binocular stereoscopic vision system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210324572.6A CN102867304B (en) 2012-09-04 2012-09-04 Method for establishing relation between scene stereoscopic depth and vision difference in binocular stereoscopic vision system

Publications (2)

Publication Number Publication Date
CN102867304A CN102867304A (en) 2013-01-09
CN102867304B true CN102867304B (en) 2015-07-01

Family

ID=47446160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210324572.6A Expired - Fee Related CN102867304B (en) 2012-09-04 2012-09-04 Method for establishing relation between scene stereoscopic depth and vision difference in binocular stereoscopic vision system

Country Status (1)

Country Link
CN (1) CN102867304B (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103158161B (en) * 2013-03-29 2015-11-11 中国科学院自动化研究所 Microtubule microballoon based on monocular micro-vision is aimed at and assembling device and method
CN103824303A (en) * 2014-03-14 2014-05-28 格科微电子(上海)有限公司 Image perspective distortion adjusting method and device based on position and direction of photographed object
CN104697500B (en) * 2015-02-05 2017-02-22 北京林业大学 Method for determining moving target state parameters based on image method
CN106264536A (en) * 2015-05-21 2017-01-04 长沙维纳斯克信息技术有限公司 A kind of 3D anthropometric scanning apparatus and method
CN105258673B (en) * 2015-11-02 2017-05-31 南京航空航天大学 A kind of target ranging method based on binocular synthetic aperture focusing image, device
CN106204731A (en) * 2016-07-18 2016-12-07 华南理工大学 A kind of multi-view angle three-dimensional method for reconstructing based on Binocular Stereo Vision System
CN106225676B (en) * 2016-09-05 2018-10-23 凌云光技术集团有限责任公司 Method for three-dimensional measurement, apparatus and system
CN106485207B (en) * 2016-09-21 2019-11-22 清华大学 A kind of Fingertip Detection and system based on binocular vision image
WO2018076529A1 (en) * 2016-10-25 2018-05-03 华为技术有限公司 Scene depth calculation method, device and terminal
CN108024051B (en) * 2016-11-04 2021-05-04 宁波舜宇光电信息有限公司 Distance parameter calculation method, double-camera module and electronic equipment
CN106931879B (en) * 2017-01-23 2020-01-21 成都通甲优博科技有限责任公司 Binocular error measurement method, device and system
CN107622510A (en) * 2017-08-25 2018-01-23 维沃移动通信有限公司 A kind of information processing method and device
CN107884767A (en) * 2017-10-31 2018-04-06 暨南大学 A kind of method of binocular vision system measurement ship distance and height
CN108012143B (en) * 2017-12-04 2021-02-09 深圳市无限动力发展有限公司 Binocular camera calibration method and device
CN109922251B (en) * 2017-12-12 2021-10-22 华为技术有限公司 Method, device and system for quick snapshot
CN109084959B (en) * 2018-06-05 2020-10-02 南京理工大学 Optical axis parallelism correction method based on binocular distance measurement algorithm
CN109141344A (en) * 2018-06-15 2019-01-04 北京众星智联科技有限责任公司 A kind of method and system based on the accurate ranging of binocular camera
CN109712192B (en) * 2018-11-30 2021-03-23 Oppo广东移动通信有限公司 Camera module calibration method and device, electronic equipment and computer readable storage medium
CN110176032B (en) * 2019-04-28 2021-02-26 暗物智能科技(广州)有限公司 Three-dimensional reconstruction method and device
CN111504258B (en) * 2020-03-10 2021-08-31 临沂中科人工智能创新研究院有限公司 Stereoscopic vision calculation method for single pan-tilt camera
CN111445529B (en) * 2020-03-16 2021-03-23 天目爱视(北京)科技有限公司 Calibration equipment and method based on multi-laser ranging
CN111784757B (en) * 2020-06-30 2024-01-23 北京百度网讯科技有限公司 Training method of depth estimation model, depth estimation method, device and equipment
CN111897349B (en) * 2020-07-08 2023-07-14 南京工程学院 Autonomous obstacle avoidance method for underwater robot based on binocular vision
CN112197746B (en) * 2020-09-16 2022-06-21 上海建工四建集团有限公司 Intelligent detection device and detection method for weathering degree of wall surface of brick wall
CN112326206B (en) * 2020-11-06 2023-06-13 歌尔光学科技有限公司 AR module binocular fusion detection device and detection method
CN113205592B (en) * 2021-05-14 2022-08-05 湖北工业大学 Light field three-dimensional reconstruction method and system based on phase similarity
CN115657061B (en) * 2022-12-13 2023-04-07 成都量芯集成科技有限公司 Indoor wall surface three-dimensional scanning device and method
CN115597551B (en) * 2022-12-14 2023-04-07 成都量芯集成科技有限公司 Handheld laser-assisted binocular scanning device and method
CN115984512B (en) * 2023-03-22 2023-06-13 成都量芯集成科技有限公司 Three-dimensional reconstruction device and method for plane scene

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1178435A2 (en) * 1999-04-12 2002-02-06 Fujitsu Limited Image measurement method, image measurement apparatus and image measurement program storage medium
CN102523464A (en) * 2011-12-12 2012-06-27 上海大学 Depth image estimating method of binocular stereo video

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1178435A2 (en) * 1999-04-12 2002-02-06 Fujitsu Limited Image measurement method, image measurement apparatus and image measurement program storage medium
CN102523464A (en) * 2011-12-12 2012-06-27 上海大学 Depth image estimating method of binocular stereo video

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
一种双目立体视觉系统的误差分析方法;刘佳音 等;《光学技术》;20030520;第29卷(第03期);第354-357页 *
基于视觉导航的三维重建算法误差分析及补偿;王海彬 等;《传感技术学报》;20041231(第04期);第556-559页 *
月球车立体视觉与视觉导航方法研究;侯建;《中国博士学位论文全文数据库(电子期刊)》;20090115(第01期);第17-44页 *

Also Published As

Publication number Publication date
CN102867304A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN102867304B (en) Method for establishing relation between scene stereoscopic depth and vision difference in binocular stereoscopic vision system
CN110322702B (en) Intelligent vehicle speed measuring method based on binocular stereo vision system
CN110285793B (en) Intelligent vehicle track measuring method based on binocular stereo vision system
CN110033489B (en) Method, device and equipment for evaluating vehicle positioning accuracy
CN107093195B (en) A kind of locating mark points method of laser ranging in conjunction with binocular camera
CN103292695B (en) A kind of single eye stereo vision measuring method
CN105716542B (en) A kind of three-dimensional data joining method based on flexible characteristic point
CN102519434B (en) Test verification method for measuring precision of stereoscopic vision three-dimensional recovery data
CN102376089B (en) Target correction method and system
CN103278138B (en) Method for measuring three-dimensional position and posture of thin component with complex structure
CN109579695B (en) Part measuring method based on heterogeneous stereoscopic vision
CN102221331B (en) Measuring method based on asymmetric binocular stereovision technology
CN102538763B (en) Method for measuring three-dimensional terrain in river model test
CN104539928B (en) A kind of grating stereo printing image combining method
CN104036542B (en) Spatial light clustering-based image surface feature point matching method
CN103868524A (en) Speckle-pattern-based method and device for calibrating monocular measurement system
JP2011007794A (en) Distance measuring device equipped with dual stereo camera
CN113592721B (en) Photogrammetry method, apparatus, device and storage medium
CN111091076B (en) Tunnel limit data measuring method based on stereoscopic vision
CN103473771A (en) Method for calibrating camera
CN109920009B (en) Control point detection and management method and device based on two-dimensional code identification
CN109465830B (en) Robot monocular stereoscopic vision calibration system and method
CN104021588A (en) System and method for recovering three-dimensional true vehicle model in real time
CN102419172B (en) Stereo image pair automatic relative orientation method with additional non-linear constraint condition
CN104574388A (en) Camera calibration system and 3D (three-dimensional) calibration method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150701

Termination date: 20160904

CF01 Termination of patent right due to non-payment of annual fee