CN101149836B - Three-dimensional reconfiguration double pick-up camera calibration method - Google Patents
Three-dimensional reconfiguration double pick-up camera calibration method Download PDFInfo
- Publication number
- CN101149836B CN101149836B CN200710031249A CN200710031249A CN101149836B CN 101149836 B CN101149836 B CN 101149836B CN 200710031249 A CN200710031249 A CN 200710031249A CN 200710031249 A CN200710031249 A CN 200710031249A CN 101149836 B CN101149836 B CN 101149836B
- Authority
- CN
- China
- Prior art keywords
- camera
- rightarrow
- dimensionalreconstruction
- point
- pick
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 239000011159 matrix material Substances 0.000 claims description 10
- 238000013519 translation Methods 0.000 claims description 6
- 238000013459 approach Methods 0.000 claims description 4
- 239000004744 fabric Substances 0.000 claims description 4
- 238000012937 correction Methods 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 3
- 239000007787 solid Substances 0.000 abstract 1
- 238000005259 measurement Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000003205 fragrance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
The 3-D reconstitution demarcating method for two pick-up cameras includes: (1) turn on the two pick-up cameras to obtain at same time a series of images about demarcating object points and adopts traditional single-pick-up-camera demarcation method to respectively demarcate the two pick-up cameras; (2) use the central point of the common perpendicular of the two pick-up-cameras' sight lines as the space object point of 3-D reconstitution to build a 3-D reconstitution algebra expression and use the minimum 3-D reconstitution error of the object point as aim function and use the internal and the external parameters obtained from the previous step as primary value to resolve through interation to demarcate the relative positions of the two pick-up cameras. Numerically resolve the solid demarcation model set up by the step 2 to complete the demarcation course of the two pick-up cameras. Advantage: accurate demarcation and minimum error.
Description
Technical field
The present invention relates to a kind of double-camera calibrating method of three-dimensionalreconstruction, be a kind of be the double-camera calibrating method of application background with the three-dimensionalreconstruction.Belong to the vision detection technology field.
Background technology
In the vision detection system,, need carry out camera calibration for the picture element from image calculates the three-dimensional coordinate of space object point.Camera calibration is exactly according to selected camera model, finds the solution the geometry and the optical characteristics of video camera inside, i.e. the pose of the relative world coordinate system of intrinsic parameter, and camera coordinate system changes, promptly outer parameter.
All adopt non-linear camera model for the field that accuracy requirement is higher, document " J.Weng; P.Cohen and M.Herniou.Calibration of stereo camerasusing a non-linear distortion model.Proc.Int.Confer.onPattern Recognition; p246~253,1990. " has carried out comparatively perfect description to the lens distortion of non-linear video camera.Numerous scholars has launched research at non-linear Camera calibration, for example document " Roger Y.Tsai.A versatile cameracalibration technique for high-accuracy 3d machine visionmetrology using off-the-shelf TV cameras and lenses.IEEEjournal of Robotics and Automation; 1,987 3 (4); 323~343. " under the radially geometric distortion situation of only considering camera lens, has proposed famous two-step approach; Document " G.Q.Wei and S.D.Ma.Implicit and explicit cameracalibration:theory and experiment.PRMI; 1994; 16 (5). " proposes a kind of biplane camera model, this method is combined into intermediate parameters with linear dimensions and nonlinear parameter, carry out linear solution then, simplified computation process; Document " Zhengyou Zhang.A flexible new technique for camera calibration.TechnicalReport MSR-TR-98-71. " proposes a kind of plane template scaling method, carries out the demarcation of camera interior and exterior parameter by obtaining the plane reference plate at a few width of cloth images of any different azimuth.
These methods have solved the Camera calibration problem to a certain extent, but they mainly are at single camera calibration, are objective function (the straight line p as shown in fig. 1 of calibrated and calculated with the error minimum of spatial point re-projection
1q
1), or objective function does not have tangible geometric meaning.Because the existence of calibrated error, when carrying out the stereoscopic vision measurement, the calibrated error of its outer parameter will inevitably cause bigger measuring error with two video cameras of demarcating separately.
Summary of the invention
Purpose of the present invention is to measure and demarcate the shortcoming that has bigger measuring error carrying out stereoscopic vision with the video cameras of demarcating separately with two in order to overcome prior art, and a kind of double-camera calibrating method of three-dimensionalreconstruction error minimum is provided.
Purpose of the present invention can reach by taking following measure:
A kind of double-camera calibrating method of three-dimensionalreconstruction is characterized in: the three-dimensional reconstruction error minimum with the space calibration point is an objective function, and the relative pose of twin camera is demarcated, and comprises the steps:
1) initial value of acquisition camera intrinsic parameter and outer parameter
Open two video cameras, obtain simultaneously, adopt traditional single camera calibration method, respectively two video cameras are demarcated about demarcating a series of images of object point;
2) set up the three-dimensional peg model of twin camera
Mid point with the common vertical line of twin camera sight line is the space object point of three-dimensionalreconstruction, set up the algebraic expression of three-dimensionalreconstruction, three-dimensionalreconstruction error minimum with object point is an objective function, the inside and outside parameter that obtains with previous step is an initial value, by iterative, the relative pose of twin camera is demarcated;
3) to the 2nd) the three-dimensional peg model set up of step quantizes and finds the solution, and finishes the double-camera calibrating process.
Purpose of the present invention can also reach by taking following measure:
One embodiment of the present invention are: adopt following two kinds of scaling methods to obtain camera intrinsic parameter and outer parameter initial value;
1) adopts the two-step approach of Tsai, require all calibration points can not coplane;
2) the plane template scaling method of employing Zhang, the amount of images that requires to be in different poses can not be less than 3 width of cloth.
One embodiment of the present invention are: in the process that entire image is gathered, the relative pose between the twin camera can not change; Gather in each process to image at twin camera, the pose of demarcating object point can not change.
The image that obtains is carried out feature extraction and feature identification, set up the corresponding relation between space object point and the image pixel point, calculate according to the scaling method of selecting then, obtain the initial value of the inside and outside parameter of video camera; The intrinsic parameter that utilizes camera calibration to obtain carries out geometric distortion correction to uncalibrated image.
One embodiment of the present invention are: the three-dimensional peg model of the twin camera of being set up is expressed by following equation:
One embodiment of the present invention are: the three-dimensional peg model method for solving that quantizes is to take following strategy to carry out numerical solution:
1) directly goes out linear iterative formula based on the matrix algebra equation inference;
2) utilize all information of matrix equation in the linearization procedure, construct the contradiction system of linear equations, take the solution technique of inconsistent equation group to find the solution then.
Adopt the present invention and have following beneficial effect:
The present invention is that to utilize twin camera be application background with the three-dimensionalreconstruction, and adopting a kind of is the double-camera calibrating method that error is passed judgment on criterion with three-dimensionalreconstruction error minimum.The present invention at first utilizes traditional camera marking method, as Tsai method, Zhang method etc., single camera is demarcated, and obtains the initial value of camera interior and exterior parameter; Mid point with the common vertical line of twin camera sight line is the space object point of three-dimensionalreconstruction then, is that error is passed judgment on criterion with the three-dimensionalreconstruction error minimum of object point, and the relative position of twin camera is demarcated.The present invention overcomes prior art and measures and demarcate the shortcoming that has bigger measuring error carrying out stereoscopic vision with the video cameras of demarcating separately with two, have demarcate accurately, outstanding beneficial effect that error is minimum.
Description of drawings
Fig. 1 is an objective function to demarcate object point re-projection error minimum during to single camera calibration.
Fig. 2 is during to double-camera calibrating, and the present invention is an objective function with the error minimum of spatial point three-dimensionalreconstruction.
Fig. 3 is during to double-camera calibrating, and the present invention is the space calibration point of correspondence with the mid point of twin camera sight line vertical line.
Embodiment
Describe the present invention below in conjunction with example:
(1) image acquisition and video camera initial value obtain
As previously mentioned, can adopt different scaling methods to obtain camera intrinsic parameter and outer parameter initial value.According to the difference of selected method, the space distribution of calibration point, amount of images etc. there is different requirements, for example: adopt the two-step approach of Tsai, require all calibration points can not coplane; The amount of images that the plane template scaling method of Zhang requires to be in different poses can not be less than 3 width of cloth etc.For this part concrete requirement, according to the difference of selecting method, can be with reference to relevant list of references.
In the process that entire image is gathered, the relative pose between the twin camera can not change; Gather in each process to image at twin camera, the pose of demarcating object point can not change.
The image that obtains is carried out feature extraction and feature identification, set up the corresponding relation between space object point and the image pixel point, calculate according to the scaling method of selecting then, obtain the initial value of the inside and outside parameter of video camera; The intrinsic parameter that utilizes camera calibration to obtain carries out geometric distortion correction to uncalibrated image.
(2) the three-dimensional peg model of twin camera
Since the existence of various errors, straight line R
1, R
2Can not really intersect, its geometric relationship is the space line of antarafacial.Can set up the simultaneously vertical R of a line segment
1, R
2, and hand over two straight lines respectively in a P
1, P
2, the mid point P of this line segment is the most close straight line R
1, R
2Point can be it as picture point p
1, p
2Corresponding calibration point, as shown in Figure 3.Point P
1, P
2, O
1, O
2Between relation can be expressed as:
Inside and outside parameter with single camera calibration is an initial value, and formula (1) is rewritten as equation in first camera coordinate system:
Wherein
Be the coordinate vector of spatial point P in first camera coordinate system,
Be the coordinate vector of spatial point P in second camera coordinate system, the result that these two coordinate figures can be used single camera calibration obtains by changes in coordinates as initial value.R, T represent second video camera rotation, the translation matrix of first video camera relatively, and λ is the unknown quantity of corresponding spatial point P.Formula (2) be one about rotating vector (α, beta, gamma), translation vector (t
x, t
y, t
z) and the nonlinear equation of λ, be expressed as with matrix form:
Wherein, (x
1, y
1, z
1), (x
2, y
2, z
2) respectively expression demarcate the coordinate of object point in first, second camera coordinate system.By the third line of equation, can obtain the expression formula of λ:
Brief note is: λ=λ (α, β, λ, t
x, t
y, t
z)
Bring following formula (4) into formula (3), can get:
For a given n spatial point, form Nonlinear System of Equations:
X
(i)=A
(i)
(6)
i=1,...,n
Wherein, X
(i)Be the left-hand component of i some corresponding (5), A
(i)It is the right-hand component of i some corresponding (5).
(3) quantizing of model found the solution
Formula (6) is the luxuriant and rich with fragrance system of linear equations of a matrix form, is difficult to directly search out effective algebraic equation by this equation, therefore, takes following strategy to carry out numerical solution: 1) directly to go out linear iterative formula based on the matrix algebra equation inference; 2) utilize all information of matrix equation in the linearization procedure, construct the contradiction system of linear equations, take the solution technique of inconsistent equation group to find the solution then.
For discussing conveniently, with rotating vector (α, beta, gamma), translation vector (t
x, t
y, t
z) in the variable unification be designated as x, to make the single order Taylor expansion:
By Gauss-Seidel iteration (Li Qingyang. wait numerical analysis. publishing house of HUST, 1986.) find the solution following formula, obtain whole rotating vector (α, beta, gamma), translation vector (t
x, t
y, t
z).In theory, the three-dimensional demarcation can be finished, in reality is demarcated, the number of the number of equation should be made, to reduce the influence that error causes considerably beyond error when n 〉=3.
In demarcating practice, for two video cameras of demarcating separately, in the process of demarcating, only considered the inside and outside parameter of single camera relative Calibration object point, the result of demarcation is the optimum to the inside and outside parameter of single camera.And stereoscopic vision is measured the inside and outside parameter that need use two video cameras, and the inside and outside parameter optimum of single camera can not guarantee the last result optimal of measuring, and reason is as follows:
For two video cameras of demarcating separately, the relative pose between two video cameras is by demarcating how much a kind of indirect position orientation relations that object point is set up, because there is error in single camera calibration, also there is error in how much position orientation relations therefore being set up.And the calibrated error of stereoscopic vision measurement process, particularly outer parameter that to be error amplify is particularly evident to the influence of measuring accuracy, and therefore, two video cameras of demarcating separately will inevitably bigger together measuring error when carrying out the stereoscopic vision measurement.
Three-dimensional reconstruction is exactly at a concrete mock-up, adopts someway, obtains a large amount of point data about the model geometric profile, then according to these point data, sets up a digital model in computing machine.
Stereoscopic vision scaling method proposed by the invention, the error minimum with three-dimensionalreconstruction in calibration process is the objective function of camera calibration, by external Parameter Optimization, effectively reduces the error that stereoscopic vision is measured.
The present invention utilizes to demarcate object point, simultaneously two video cameras is demarcated.
Camera intrinsic parameter mainly comprises: the scale factor of focal length, center position and pixel etc., outer parameter mainly are meant pose conversion such as the rotation, translation of camera coordinate system relative reference coordinate system.
Claims (6)
1. the double-camera calibrating method of a three-dimensionalreconstruction, it is characterized in that: the three-dimensional reconstruction error minimum with the space calibration point is an objective function, and the relative pose of twin camera is demarcated, and comprises the steps:
1) initial value of acquisition camera intrinsic parameter and outer parameter
Open two video cameras, obtain simultaneously, adopt traditional single camera calibration method, respectively two video cameras are demarcated about demarcating a series of images of object point;
2) set up the three-dimensional peg model of twin camera
Mid point with the common vertical line of two video camera sight lines is the space object point of three-dimensionalreconstruction, set up the algebraic expression of three-dimensionalreconstruction, three-dimensionalreconstruction error minimum with object point is an objective function, with the 1st) the inside and outside parameter that obtains of step is initial value, by iterative, the relative pose of two video cameras is demarcated;
3) to the 2nd) the three-dimensional peg model set up of step quantizes and finds the solution, and finishes two camera calibration processes.
2. according to the double-camera calibrating method of the described a kind of three-dimensionalreconstruction of claim 1, it is characterized in that: adopt the two-step approach of Tsai to obtain camera intrinsic parameter and outer parameter initial value, require all demarcation object points can not coplane; Perhaps adopt the plane template scaling method of Zhang to obtain camera intrinsic parameter and outer parameter initial value, the amount of images that requires to be in different poses can not be less than 3 width of cloth.
3. according to the double-camera calibrating method of the described a kind of three-dimensionalreconstruction of claim 1, it is characterized in that: in the process that entire image is gathered, the relative pose between two video cameras can not change; In each process to image of two camera acquisitions, the pose of demarcating object point can not change.
4. according to the double-camera calibrating method of the described a kind of three-dimensionalreconstruction of claim 1, it is characterized in that: the image that obtains is carried out feature extraction and feature identification, set up the corresponding relation between space object point and the image pixel point, calculate according to the scaling method of selecting then, obtain the initial value of the inside and outside parameter of video camera; Utilize the 1st) go on foot the intrinsic parameter that camera calibration obtains, uncalibrated image is carried out geometric distortion correction.
5. according to the double-camera calibrating method of the described a kind of three-dimensionalreconstruction of claim 1, it is characterized in that: the three-dimensional peg model of the twin camera of being set up is expressed by following equation:
Wherein,
Be the coordinate vector of spatial point P in first camera coordinate system,
Be the coordinate vector of spatial point P in second camera coordinate system, R, T represent second video camera rotation, the translation matrix of first video camera relatively, and λ is the unknown quantity of corresponding spatial point P.
6. according to the double-camera calibrating method of the described a kind of three-dimensionalreconstruction of claim 1, it is characterized in that: the three-dimensional peg model method for solving that quantizes is to take following strategy to carry out numerical solution:
1) directly goes out linear iterative formula based on the matrix algebra equation inference;
2) utilize all information of matrix equation in the linearization procedure, construct the contradiction system of linear equations, take the solution technique of inconsistent equation group to find the solution then.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710031249A CN101149836B (en) | 2007-11-05 | 2007-11-05 | Three-dimensional reconfiguration double pick-up camera calibration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710031249A CN101149836B (en) | 2007-11-05 | 2007-11-05 | Three-dimensional reconfiguration double pick-up camera calibration method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101149836A CN101149836A (en) | 2008-03-26 |
CN101149836B true CN101149836B (en) | 2010-05-19 |
Family
ID=39250347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710031249A Expired - Fee Related CN101149836B (en) | 2007-11-05 | 2007-11-05 | Three-dimensional reconfiguration double pick-up camera calibration method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101149836B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101308012B (en) * | 2008-05-29 | 2010-06-23 | 上海交通大学 | Double monocular white light three-dimensional measuring systems calibration method |
CN102123290B (en) * | 2011-01-05 | 2014-12-10 | 中兴通讯股份有限公司 | Method and device for correcting translation error between images shot by two cameras |
CN103473758A (en) * | 2013-05-13 | 2013-12-25 | 中国科学院苏州生物医学工程技术研究所 | Secondary calibration method of binocular stereo vision system |
US10290118B2 (en) | 2015-08-06 | 2019-05-14 | Cognex Corporation | System and method for tying together machine vision coordinate spaces in a guided assembly environment |
CN105509671B (en) * | 2015-12-01 | 2018-01-09 | 中南大学 | A kind of robot tooling center points scaling method using plane reference plate |
CN107784672B (en) * | 2016-08-26 | 2021-07-20 | 百度在线网络技术(北京)有限公司 | Method and device for acquiring external parameters of vehicle-mounted camera |
CN107346425B (en) * | 2017-07-04 | 2020-09-29 | 四川大学 | Three-dimensional texture photographing system, calibration method and imaging method |
CN108765484B (en) * | 2018-05-18 | 2021-03-05 | 北京航空航天大学 | Living insect motion acquisition and data reconstruction method based on two high-speed cameras |
CN109341530B (en) * | 2018-10-25 | 2020-01-21 | 华中科技大学 | Object point positioning method and system in binocular stereo vision |
CN111080714B (en) * | 2019-12-13 | 2023-05-16 | 太原理工大学 | Parallel binocular camera calibration method based on three-dimensional reconstruction |
CN111973204B (en) * | 2020-08-04 | 2022-09-06 | 上海涛影医疗科技有限公司 | Calibration method of novel double-flat-plate X-ray machine bringing gravity into effect |
CN112361989B (en) * | 2020-09-30 | 2022-09-30 | 北京印刷学院 | Method for calibrating parameters of measurement system through point cloud uniformity consideration |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1617174A (en) * | 2004-12-09 | 2005-05-18 | 上海交通大学 | Human limb three-dimensional model building method based on image cutline |
CN1719477A (en) * | 2005-05-19 | 2006-01-11 | 上海交通大学 | Calibration method of pick up camera or photographic camera geographic distortion |
CN1851752A (en) * | 2006-03-30 | 2006-10-25 | 东南大学 | Dual video camera calibrating method for three-dimensional reconfiguration system |
CN101021947A (en) * | 2006-09-22 | 2007-08-22 | 东南大学 | Double-camera calibrating method in three-dimensional scanning system |
-
2007
- 2007-11-05 CN CN200710031249A patent/CN101149836B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1617174A (en) * | 2004-12-09 | 2005-05-18 | 上海交通大学 | Human limb three-dimensional model building method based on image cutline |
CN1719477A (en) * | 2005-05-19 | 2006-01-11 | 上海交通大学 | Calibration method of pick up camera or photographic camera geographic distortion |
CN1851752A (en) * | 2006-03-30 | 2006-10-25 | 东南大学 | Dual video camera calibrating method for three-dimensional reconfiguration system |
CN101021947A (en) * | 2006-09-22 | 2007-08-22 | 东南大学 | Double-camera calibrating method in three-dimensional scanning system |
Also Published As
Publication number | Publication date |
---|---|
CN101149836A (en) | 2008-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101149836B (en) | Three-dimensional reconfiguration double pick-up camera calibration method | |
CN100388319C (en) | Multi-viewpoint attitude estimating and self-calibrating method for three-dimensional active vision sensor | |
CN102663767B (en) | Method for calibrating and optimizing camera parameters of vision measuring system | |
CN100429476C (en) | Double-sensor laser visual measuring system calibrating method | |
CN102376089B (en) | Target correction method and system | |
CN105913439B (en) | A kind of large-field shooting machine scaling method based on laser tracker | |
CN102654391B (en) | Stripe projection three-dimensional measurement system based on bundle adjustment principle and calibration method thereof | |
CN105139411A (en) | Large visual field camera calibration method based on four sets of collinear constraint calibration rulers | |
CN102155923A (en) | Splicing measuring method and system based on three-dimensional target | |
Chatterjee et al. | Algorithms for coplanar camera calibration | |
CN105931222A (en) | High-precision camera calibration method via low-precision 2D planar target | |
Toschi et al. | On the evaluation of photogrammetric methods for dense 3D surface reconstruction in a metrological context | |
CN105910584B (en) | Large scale dynamic photogrammtry system it is high-precision fixed to and orientation accuracy evaluation method | |
CN103925912B (en) | Interior visual field optical segmentation type large CCD images geometry joining method | |
CN107144241A (en) | A kind of binocular vision high-precision measuring method compensated based on the depth of field | |
CN105654476A (en) | Binocular calibration method based on chaotic particle swarm optimization algorithm | |
CN104422425A (en) | Irregular-outline object space attitude dynamic measuring method | |
CN105066962A (en) | Multiresolution large visual field angle high precision photogrammetry apparatus | |
CN106500625A (en) | A kind of telecentricity stereo vision measuring apparatus and its method for being applied to the measurement of object dimensional pattern micron accuracies | |
CN103390102A (en) | Method for calculating three-dimensional intersection angle of satellite images | |
CN111768451A (en) | Large-size binocular vision defocusing calibration method based on mobile display screen | |
CN116030202B (en) | Three-dimensional image reconstruction method and device, electronic equipment and storage medium | |
CN101907705B (en) | Universal combined adjustment method for geometric correction model of multi-source remote sensing images | |
CN106204416A (en) | Panoramic parking assist system and wide angle picture adjustment method thereof and device | |
Xiao et al. | Large-scale structured light 3D shape measurement with reverse photography |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100519 Termination date: 20101105 |