CN101025824A - Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system - Google Patents

Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system Download PDF

Info

Publication number
CN101025824A
CN101025824A CN 200710021141 CN200710021141A CN101025824A CN 101025824 A CN101025824 A CN 101025824A CN 200710021141 CN200710021141 CN 200710021141 CN 200710021141 A CN200710021141 A CN 200710021141A CN 101025824 A CN101025824 A CN 101025824A
Authority
CN
China
Prior art keywords
circle
coordinate
parameters
image
variable element
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.)
Granted
Application number
CN 200710021141
Other languages
Chinese (zh)
Other versions
CN100461220C (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.)
NANTONG XINTANG TEXTILE DYING CO., LTD.
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CNB2007100211411A priority Critical patent/CN100461220C/en
Publication of CN101025824A publication Critical patent/CN101025824A/en
Application granted granted Critical
Publication of CN100461220C publication Critical patent/CN100461220C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

A calibration method based on fixed and variable parameters in three-dimensional scanning system relates to the camera model parameter calibration in the visual system including the following steps: (1) fixed parameters calibration is primarily to acquire coordinates of sampling points on circular contour and heart in image coordinates through image processing techniques, and then use n sampling points to get aspect ratio through least squares method, (2) after obtaining the fixed parameters, it uses the image coordinates of image midpoint and the corresponding space coordinates of world midpoint to demarcate the initial value of variable parameters for the camera, including the equivalent focal length, main point coordinates, axis tilt factor, distortion factor and external parameters, (3) after demarcation, it takes fixed parameters as a constraint for nonlinear optimization objective function to establish a binding target function and get the optimal solution of variable parameters through the nonlinear optimization method.

Description

Scaling method in the 3 D scanning system based on preset parameter and variable element
Technical field
The present invention relates to the demarcation problem of the camera model parameter in the vision system, relate in particular to the scaling method in a kind of 3 D scanning system based on preset parameter and variable element.
Background technology
One of basic task of computer vision is to take the image that obtains from video camera, calculates the three-dimensional information of object in the visual field, comes thus three-dimensional body is rebuild and discerned.The three-dimensional geometric information of body surface point and its mutual relationship between the corresponding point on the image are that in fact the process of setting up this geometric model is exactly the solution procedure of camera parameters by the decision of the imaging model of video camera.Therefore, the demarcation to camera parameters is the prerequisite and the key of this modeling process.Solution procedure to camera parameters is called camera calibration.
Document " Image Processing; Analysis; and Machine Vision " (M.Sonka, V.Hlavac, R.Boyle, International Thomson Publishing, 1998) set forth a kind of comparatively general video camera imaging model in, this imaging model can be described with following formula:
u v 1 = λA R T X w Y w Z w 1
Wherein, X w, Y w, Z wBe the world coordinate system coordinate of demarcating thing, u, v are the two-dimensional coordinates in image coordinate system, and λ is a scalar, and R, T are the external parameter matrix of video camera, have defined video camera respectively in three-dimensional attitude and position, A = f x s u 0 0 f y v 0 0 0 1 Be intrinsic parameters of the camera matrix, wherein f x, f yBe illustrated respectively in the scale-up factor of the physical coordinates of picture point on x direction and the y direction to image coordinate, or be called the equivalent focal length on x direction and the y direction, s represents between centers inclination factor, (u 0, v 0) the principal point coordinate of presentation video.
Camera calibration is exactly a process of calculating the camera model parameter.The camera calibration technology roughly can be divided into two classes: traditional camera marking method and camera self-calibration method.
In recent years, video camera obtained very big progress from calibration algorithm, delivered a considerable amount of documents, the some of them algorithm has obtained comparatively widely to use.But because poor with respect to traditional calibration algorithm precision, be not suitable for accuracy of detection being required very high occasion such as 3-D scanning etc. from calibration algorithm.
Traditional calibration algorithm has also obtained using comparatively widely, has also obtained effect preferably simultaneously.Document " A flexible new technique for camera calibration " (Zhang Z Y.IEEETransaction on Pattern Analysis and Machine Intelligence for example, 2000,22 (11): the constraint condition that discloses a kind of corresponding relation that utilizes unique point on the plane template and intrinsic parameters of the camera 1330-1334) is found the solution the scaling method of camera parameters.This method does not need to know the size of marker, only utilize the corresponding relation of the unique point on the plane template, plane template any rotation before video camera can be finished demarcation more than twice or twice, need not to understand the kinematic parameter of template, calibration process is become be more prone to convenient.Shortcoming is only to have considered radial distortion in this method, and is inapplicable for the occasion that tangential distortion is bigger.What adopt when finding the solution initial value in addition is the unique point of entire image, rather than adopts near the less unique point of distortion the picture centre, and initial value is found the solution improper meeting and caused the convergence of nonlinear optimization and the reduction of stated accuracy like this.
Existing traditional cameras scaling method generally is divided into camera parameters inner parameter and external parameter, and inner parameter is usually demarcated in the laboratory and finished, and the demarcation of external parameter is then finished at the scene the 3-D scanning process.This sorting technique is not perfectly in the engineering practical application, usually can bring bigger systematic error.If this is because think that when each the measurement inner parameter is constant and do not demarcate, thereby but in fact some the easy variable element in the inner parameter can change and influence system accuracy; If all demarcate inner parameter at every turn, but be limited to the condition of measure field, can be bigger for the calibrated error of some fixed value in the inner parameter, thus cause the increase of systematic error.
Summary of the invention
The invention provides the scaling method in a kind of 3 D scanning system, have the advantage of stated accuracy height and good stability based on preset parameter and variable element.
Technical scheme of the present invention is as follows: the scaling method based on preset parameter and variable element in the 3 D scanning system of the present invention comprises: at first demarcate preset parameter, also promptly demarcate aspect ratio; Utilize the plane template method to demarcate the initial value of variable element then, promptly demarcate external parameter, principal point coordinate, focal length, between centers inclination factor, distortion factor; At last preset parameter as a constraint, set up the optimization aim function of belt restraining, with the Levenberg-Marquardt method variable element is carried out nonlinear optimization and tries to achieve optimum solution.
The operation steps of this method is:
Step 1: at first vertically take the standard form circle, extract the circle contour in the image coordinate system, utilize least square method that the circle contour that extracts is carried out curve fitting, obtain the central coordinate of circle under the image coordinate system, then, utilization is as the corresponding relation of the plane and the plane of delineation, will be as circle contour equation on the plane:
(x l-x c) 2+(y i-y c) 2=r 2,i=1,2,3,…,n
Be transformed to the circle contour equation of representing with image coordinate:
x(u i-u c)] 2+[μ y(v l-v c)] 2=r 2,i=1,2,3,…,n
(x wherein i, y l), i=1,2,3 ..., n is as the coordinate of putting on the flat circle profile, (x c, y c) be central coordinate of circle, u i, v i, u c, v cHorizontal ordinate, ordinate, center of circle horizontal ordinate and the ordinate of match circle contour point in the difference presentation video, r is a match radius of a circle on the plane of delineation, μ x, μ yFor the physical size of each pixel on u axle and v direction of principal axis, make τ Xyx/ μ y, by μ x, μ yDefinition know τ XyBe exactly aspect ratio to be calibrated, then can obtain:
[ τ xy ( u i - u c ) ] 2 + ( v i - v c ) 2 = r 2 μ y 2 , i = 1,2,3 , . . . , n
At last, utilize the sampled point of the n on the circle contour in the image coordinate system, utilize least square method to obtain aspect ratio τ again Xy
Step 2: try to achieve the preset parameter τ of video camera XyAfter, utilizing image coordinate and its corresponding world coordinate of image coordinate system mid point is the volume coordinate of mid point, find the solution homography matrix, according to the initial value of homography matrix calibrating camera variable element, this initial value comprises equivalent focal length, principal point coordinate, between centers inclination factor, distortion factor and external parameter then;
Step 3: after calibrating the initial value of variable element, be a constraint of nonlinear optimization objective function, set up the objective function of belt restraining with the preset parameter:
Figure A20071002114100052
Find the solution the optimum solution of variable element by nonlinear optimization method.
Compared with prior art, the present invention has following advantage:
(1) among the present invention camera parameters is divided into preset parameter and variable element, agrees with the engineering practical application more.
(2) the present invention has more intactly demarcated the preset parameter and the variable element of video camera, comprises aspect ratio, equivalent focal length, principal point coordinate, between centers inclination factor, attitude parameter and translation parameters, has demarcated the distortion factor of camera lens simultaneously.
(3) adopt nonlinear optimization algorithm among the present invention, with the constraint of the preset parameter demarcated as the nonlinear optimization objective function, set up the objective function of belt restraining, by the demarcation of simple calibration facility realization to variable element, make on-the-spot calibration process simple and efficient, keep higher precision again.
(3) used plane reference object to demarcate among the present invention, plane reference object is three-dimensional to be demarcated thing and has and make simply, and the precision advantages of higher has reduced in the calibration process the dependence of high-precision calibrating thing, has simplified calibration process.
Description of drawings
Fig. 1 is scaling board figure.
Fig. 2 is the standard form circle diagram.
Fig. 3 demarcates the preset parameter process flow diagram.
Fig. 4 demarcates variable element initial value process flow diagram.
Fig. 5 is the 3 D scanning system structural drawing.
Fig. 6 is a camera model parameter calibration process flow diagram.
Embodiment
Demarcation based on preset parameter and variable element in the 3 D scanning system comprises: earlier preset parameter is demarcated; Associated ideal pin hole perspective model solves homography matrix then, utilizes the initial value of plane template method calibrating camera variable element; The constraint of preset parameter, objective function is carried out the optimum solution that nonlinear optimization obtains variable element at last as the nonlinear optimization objective function.
With reference to the accompanying drawings, specific embodiments of the present invention are made more detailed description:
The present invention utilizes plane reference object---and scaling board carries out camera parameters to be demarcated, and array distribution has round monumented point on the scaling board, as shown in Figure 1.Handle by video camera is taken the image that obtains, obtain the world coordinate system coordinate and the image coordinate system coordinate of monumented point.Calibration algorithm among the present invention utilizes these center of circle data, and the camera model parameter is demarcated.
Concrete steps are as follows:
(1) demarcation of preset parameter
Utilize image processing techniques to carry out the demarcation of aspect ratio.At first vertically take the standard form circle, as shown in Figure 2, extract circle contour then, utilize least square method that the circle contour that extracts is carried out curve fitting at last, obtain the central coordinate of circle under the image coordinate system.If be as circle contour equation on the plane:
(x l-x c) 2+(y l-y c) 2=r 2,i=1,2,3,…,n
(x wherein l, y i), i=1,2,3 ..., n is as the coordinate of putting on the flat circle profile, (x c, y c) be central coordinate of circle, r is a radius.If the physical size of each pixel on u axle and v direction of principal axis is μ x, μ y, by camera model as can be known, under the situation of not considering the between centers inclination factor, as planar point (x, y) with plane of delineation corresponding point (u, pass v) is:
u = u 0 + x μ x v = v 0 + y μ y
Following formula is rewritten as:
x = μ x ( u - u 0 ) y = μ y ( v - v 0 )
The circle contour equation that can obtain thus representing with image coordinate is:
x(u l-u c)] 2+[μ y(v i-v c)] 2=r 2,i=1,2,3,…,n
U wherein i, v i, u c, v cHorizontal ordinate, ordinate, center of circle horizontal ordinate and the ordinate of match circle contour point on the difference presentation video plane, r is a match radius of a circle on the plane of delineation.
Make τ Xyx/ μ y, by μ x, μ yDefinition know τ XyBe exactly aspect ratio to be calibrated, then can obtain:
[ τ xy ( u i - u c ) ] 2 + ( v i - v c ) 2 = r 2 μ y 2 , i = 1,2,3 , . . . , n
Obviously this can find the solution with linear least-squares, and corresponding optimization aim function is:
F ( τ xy , μ y ) = min τ xy , μ y ( Σ i { [ τ xy ( u i - u c ) ] 2 + ( v l - v c ) 2 - r 2 μ y 2 } 2 )
Utilize the sampled point of the n on the circle contour in the image coordinate system, can be write the optimization aim function as matrix form:
( u 1 - u c ) 2 - r 2 ( u 2 - u c ) 2 - r 2 . . . . . . ( u n - u c ) 2 - r 2 τ xy 2 1 μ y 2 = - ( v 1 - v c ) 2 - ( v 2 - v c ) 2 . . . - ( v n - v c ) 2
Utilize least square method to find the solution following formula again and just can obtain aspect ratio τ Xy, concrete solution procedure is seen accompanying drawing 3.
(2) the first demarcation of video camera variable element
Try to achieve the preset parameter τ of video camera XyAfter, utilizing image coordinate and its corresponding world coordinate of image coordinate system mid point is the volume coordinate of mid point, find the solution homography matrix, find the solution the initial value of video camera variable element then according to homography matrix, mainly comprise equivalent focal length, principal point coordinate, between centers inclination factor, distortion factor and external parameter.Document " A Flexible New Technique for Camera Calibration " (ZhangZ Y, IEEE Transactions on Pattern Analysis and Machine Intelligence, 2000,20 (11): 1330-1334) propose a kind of calibration algorithm that is called as the plane template method, it mainly is the inside and outside parameter except that distortion factor of at first coming the linear solution video camera with desirable pin hole perspective model, utilize the actual imaging model to find the solution distortion factor then, utilize the nonlinear optimization algorithm to optimize all camera interior and exterior parameters at last.Adopted first step algorithm in the document among the present invention, but difference is specifically to have provided among the present invention the step to image coordinate and world coordinates normalized, has considered tangential distortion in addition when finding the solution distortion factor.
Make the Z of world coordinate system wComponent is 0, and then desirable pin hole perspective model can be expressed as:
Figure A20071002114100082
Wherein
Figure A20071002114100083
Figure A20071002114100084
H=λ A[r 1r 2T]=[h 1h 2h 3], r i(i=1~3) and h iThe column vector of (i=1~3) expression rotation matrix R and matrix H, matrix A is the intrinsic parameter matrix, w, λ are scalar;
The H matrix is called homography matrix, and it has represented the homography between the calibrating template plane and the plane of delineation, and degree of freedom is 8, therefore needs at least 4 above non-colinear corresponding point, just can obtain the H matrix of band scale factor.Finding the solution of H matrix is a non-linear least square problem, can carry out nonlinear optimization with the Levenberg-Marquardt method and solve.Find the solution with nonlinear optimization method and to need a suitable initial value and come iteration, the initial value preparation method is as follows:
Suppose h iI the row vector of representing matrix H can be rewritten into the desirable pin hole perspective model of video camera:
Order X = h 1 T h 2 T h 3 T T , Thereby following formula is expressed as:
Figure A20071002114100093
If n is arranged to given point, we just can obtain n above-mentioned system of equations, and this n of simultaneous system of equations just can obtain the matrix equation of a shape such as LX=0, and wherein L is the matrix of 2n * 9, and separating of X is matrix L TThe minimal eigenvalue characteristic of correspondence vector of L.In the actual solution procedure, the formation of observation L matrix as can be known, its element has plenty of the image coordinate system coordinate, has plenty of the world coordinate system coordinate, what have then is the product of these two, each the number of elements value that promptly constitutes matrix L differs greatly, thus L be one very morbid state equation, need transform it.The present invention has carried out normalized to improve the ill performance of matrix L to image coordinate and world coordinates.If each picture point coordinate is (u i, v l) (i=1,2 ..., n), the world coordinate system coordinate of each spatial point is (X Wi, Y Wi) (i=1,2 ..., n), then whole steps is summarized as follows:
1.) ask u respectively, the mean value m of each coordinate on the v diaxon u, m vFor:
m u = Σ i = 0 n u i n , m v = Σ i = 0 n v i n
Then each picture point is with respect to the relative value Δ u of mean point i, Δ v iFor:
Δu i=u i-m u,Δv i=v i-m v
Equally the world coordinate system coordinate is handled, can be got its mean value and relative value and be:
m x = Σ i = 0 n X wl n , m y = Σ i = 0 n Y wl n
ΔX wl=X wl-m x,ΔY wl=Y wi-m y
2.) ask u respectively, reach X on the v diaxon w, Y wAll relative coordinates are to the mean value d of barycenter on the diaxon Uv, d XyFor:
d uv = Σ l = 0 n ( Δ u l 2 + Δ v i 2 ) 1 2 n , d xy = Σ i = 0 n ( Δ X wi 2 + Δ Y wi 2 ) 1 2 n
3.) ask u respectively, reach X on the v diaxon w, Y wScale factor s on the diaxon Uv, s XyFor:
s uv = 2 d uv , s xy = 2 d xy
4.) u reaches X on the v diaxon w, Y wTransformation relation on the diaxon can be used matrix T Uv, T XyBe expressed as:
T uv = s uv 0 - s uv m u 0 s uv - s uv m v 0 0 1 , T xy = s xy 0 - s xy m x 0 s xy - s xy m y 0 0 1
5.) image coordinate and the world coordinate system coordinate of establishing through normalized is respectively
Figure A20071002114100107
With
Figure A20071002114100108
Then have following relationship to set up:
Figure A20071002114100109
Figure A200710021141001010
If the homography matrix with image coordinate after the normalized and world coordinate system coordinate is
Figure A200710021141001011
Homography matrix in the then former coordinate system between the plane of delineation and the space coordinates is:
H = T uv - 1 H ~ T xy
Because rotation matrix R is the unit orthogonal matrix, so r 1, r 2Be the unit orthogonal vector, can get two constraints thus:
h 1 T A - T A - 1 h 2 = 0 h 1 T A - T A - 1 h 1 = h 2 T A - T A - 1 h 2
Order B = A - T A - 1 = b 1 b 2 b 4 b 2 b 3 b 5 b 4 b 5 b 6 , Define vectorial b=[b 1b 2b 3b 4b 5b 6] T, then following formula can be written as again:
v 12 T ( v 11 - v 22 ) T b = Vb = 0
V wherein Ij=[h I1h J1, h I1h J2+ h L2h J1, h L2h J2, h I3h J1+ h I1h J3, h L3h J2+ h I2h J3, h L3h J3] T, h LJFor the i of matrix H is capable, the j column element.The image of every bat n (n 〉=3) width of cloth plane reference plate just can obtain n above-mentioned system of equations, thereby solves matrix B.After solving B, just can calibrate the intrinsic parameter matrix A by the Qiao Lisiji decomposition, comprise equivalent focal length, between centers inclination factor and principal point coordinate.After calibrating the intrinsic parameter matrix A, just can determine the external parameter of every width of cloth image, promptly the video camera external parameter is:
ρ = 1 / | | A - 1 h 1 | | = 1 / | | A - 1 h 2 | | r 1 = ρ A - 1 h 1 , r 2 = ρ A - 1 h 2 , r 3 = r 1 × r 2 T = ρ A - 1 h 3
The rotation matrix R that is determined by following formula does not satisfy orthogonality, therefore adopts singular value decomposition method with its orthogonalization, obtains the external parameter of video camera.
Because the manufacturing issue of imaging lens itself, for the camera lens that non-precision measurement is used, the influence of distortion is very big.The present invention has considered the radial distortion and the tangential distortion of camera lens, has set up a complete distortion of camera model.If (u v) is desirable picture point coordinate,
Figure A20071002114100112
It is the picture point coordinate that actual observation arrives.The imaging model of ideal point is deferred to desirable pin hole perspective model.Similarly, establish (X n, Y n) be the normalized image coordinate of desirable spatial point,
Figure A20071002114100113
It is the normalized image coordinate of the spatial point of actual observation.Can get:
X ~ n = X n + X n [ k 1 ( X n 2 + Y n 2 ) + k 2 ( X n 2 + Y n 2 ) 2 ] + p 1 ( 3 X n 2 + Y n 2 ) + 2 p 2 X n Y n
Y ~ n = Y n + Y n [ k 1 ( X n 2 + Y n 2 ) + k 2 ( X n 2 + Y n 2 ) 2 ] + 2 p 1 X n Y n + p 2 ( X n 2 + 3 Y n 2 )
K wherein 1, k 2Be single order and second order coefficient of radial distortion, p 1, p 2It is the tangential distortion coefficient.The transformational relation of image coordinate system coordinate and normalized image coordinate is:
u = u 0 + f x X n + s Y n v = v 0 + f y Y n
Above-mentioned two formulas of simultaneous can get:
Figure A20071002114100118
+ p 2 [ s ( X n 2 + Y n 2 ) + 2 Y n ( u - u 0 ) ]
Figure A200710021141001110
Following formula is rewritten into matrix form to be had:
Figure A200710021141001111
Wherein A 1 = ( u - u 0 ) ( X n 2 + Y n 2 ) , B 1 = ( u - u 0 ) ( X n 2 + Y n 2 ) 2 ,
C 1 = f x ( X n 2 + Y n 2 ) + 2 X n ( u - u 0 ) , D 1 = s ( X n 2 + Y n 2 ) + 2 Y n ( u - u 0 ) ,
A 2 = ( v - v 0 ) ( X n 2 + Y n 2 ) , B 2 = ( v - v 0 ) ( X n 2 + Y n 2 ) 2 ,
C 2 = 2 X n ( v - v 0 ) , D 2 = f y ( X n 2 + 3 Y n 2 )
After the data of calibration point that has provided n width of cloth image, these equatioies are piled up the equation that must arrive shape such as Dk=d, wherein k=[k 1, k 2, p 1, p 2] T, solve with linear least square:
k=(D TD) -1D Td
So far, we have obtained the initial value of all variable elements of video camera, and algorithm flow is seen accompanying drawing 4.
(3) nonlinear optimization of variable element
After calibrating the initial value of variable element, in order to obtain more high-precision variable element, the constraint of preset parameter as the nonlinear optimization objective function, the objective function of setting up belt restraining is:
Figure A20071002114100125
Wherein n is an amount of images, m jThe reference mark number of representing every width of cloth Image Acquisition,
Figure A20071002114100126
Be a M jSubpoint coordinate on i width of cloth image, m LJ=(u LJ, v IJ) TImage coordinate for reality.Variable element to be optimized comprises: intrinsic parameter matrix A, distortion factor matrix k c=[k 1, k 2, p 1, p 2] T, the outer parameter matrix R of i width of cloth image i, T i
If R iCan be expressed as R i=[r 1lr 2ir 3l], r wherein Jl(j=1,2,3) are R lColumn vector, establish M CJBe and a M jCorresponding camera coordinate system coordinate.Then have:
M cj=[r 1i r 2i T i]M j
Make M CJ=(X Cj, Y Cj, Z Cj) T, establish M NJ=(X NJ, Y Nj) TBe M CjThe normalization coordinate, promptly have:
X nj = X cj / Z cj Y nj = Y cj / Z cj
Further can establish and M NjCorresponding homogeneous coordinates are M ~ nj = ( X nj , Y nj , 1 ) T , M (A, R l, T l, M j)=(u, v) TFor with a M jCorresponding ideal image coordinate then has:
m ( A , R i , T i , M j ) = A M ~ nj
And then obtain easily
Figure A20071002114100132
In sum, the Levenberg-Marquardt method optimization step of finding the solution the optimum solution of variable element can reduce:
1.) establish k MaxThe expression iterations, x represents variable element column vector to be optimized, f (x) represents departure function, x 0The initial value of expression variable element column vector, ε 1, ε 21>0, ε 2>0) the expression iteration stops real number, J (x) expression Jacobian matrix.Make k=0, v=2, x=x 0, B=J T(x) J (x), g (x)=J T(x) f (x).Make b=(‖ g (x) ‖ ≤ ε 1), b is a Boolean variable.Calculate ratio of damping μ=τ max{b Ii, b wherein IiBe diagonal entry in the matrix B;
2.) if b is vacation and k<k Max, then turn to 3.), otherwise finish to optimize;
3.) k=k+1 makes that iterative increment is Δ x, calculates Δ x=(J T(x) J (x)+μ I) -1J T(x) f (x);
4.) if ‖ Δ x is ‖≤ε 2(‖ x ‖+ε 2), then establish b for true, otherwise turn to 5.);
5.) establish x New=x+ Δ x, F ' (x)=g (x), η is a gain coefficient, then
η = F ( x ) - F ( x new ) L ( 0 ) - L ( Δx )
Wherein launch definition by Taylor (Taylor) formula:
L ( 0 ) - L ( Δx ) = - Δ x T J T ( x ) f ( x ) - 1 2 Δ x T J T ( x ) J ( x ) Δx
= - 1 2 Δ x T [ 2 g ( x ) + ( J T ( x ) J ( x ) + μI - μI ) Δx
= 1 2 Δ x T ( μΔx - g ( x ) )
Then gain coefficient can be write as:
η = 2 ( F ( x ) - F ( x new ) ) Δ x T ( μΔx - g ( x ) ) ;
6.) if η≤0, μ=μ * v then, v=2*v, otherwise turn to 7.);
7.) make x=x New, calculate B=J T(x) J (x), g (x)=J T(x) f (x), b=(‖ g (x) ‖≤ε 1), order μ = μ * max { 1 3 , 1 - ( 2 η - 1 ) 3 } , Turn to 2.).
From the process of whole optimization, the end condition of iteration has:
1)‖g(x)‖ ≤ε 11>0)
2)‖Δx‖≤ε 2(‖x‖+ε 2)(ε 2>0)
3)k≥k max
One that satisfies in above three conditions just can be finished to optimize.
In the actual 3 D scanning system two ccd video cameras are fixed on the top of the shelf by shown in Figure 5.The left and right sides mirror that requires according to calibration algorithm is respectively taken 5 original scaling board image informations, and each the demarcation selects wherein any 4 width of cloth to demarcate.Handle by above-mentioned steps,, only list left mirror camera model parameter based on length.Being fixed parameter is: τ Xy=1.00036, the calibration result of variable element sees Table 1, table 2.
Table 1 video camera variable inner parameter calibration result
Picture numbers (1234) (1235) (1245) (1345) (2345) Average Standard deviation
f x 2482.81 2480.26 2480.02 2479.15 2478.99 2480.24 1.533
f y 2483.70 2481.12 2480.96 2479.93 2479.90 2481.12 1.548
u 0 675.11 677.72 675.09 676.37 677.85 676.43 1.343
v 0 521.11 521.77 520.54 519.04 519.05 520.30 1.227
s -0.53 -0.71 -0.53 -0.16 -0.75 -0.54 0.233
k 1 -0.0957 -0.1031 -0.0936 -0.0949 -0.0948 -0.0964 0.00381
k 2 0.52743 0.55823 0.50729 0.50603 0.50312 0.52042 0.02322
p 1 -0.0010 -0.0010 -0.0011 -0.0011 -0.0009 -0.00107 0.00007
p 2 0.00069 0.00089 0.00093 0.00061 0.00064 0.00075 0.00015
Table 2 video camera variable external parameter calibration result
Whole calibrating procedure is carried out according to the flow process in the accompanying drawing 6, demarcate preset parameter successively, calibrating camera variable element initial value comprises equivalent focal length, principal point coordinate, between centers inclination factor, distortion factor, external parameter, at last, nonlinear optimization is found the solution the optimum solution of variable element.
The present invention is directed to the existing shortcoming of existing traditional cameras calibration technique and restriction, propose the video camera parameter is divided into preset parameter and variable element. Preset parameter is main relevant with the self-characteristic of lens group and CCD, and its character is stable in a long time, such as the aspect ratio between pixel among the CCD. And variable element also comprises equivalent focal length, principal point coordinate, between centers obliquity factor and the distortion factor etc. of some variable inner parameters such as CCD except comprising external parameter. By such classification, the demarcation of preset parameter just can be independent of on-the-spot 3-D scanning process, namely can after using the long period at Laboratory Calibration once, needn't demarcate in measure field at every turn. And for variable element, when carrying out the three-dimensional measurement at every turn, then be placed on measure field and demarcate. The object of the invention is to design the camera calibration method based on preset parameter and variable element in a kind of 3-D scanning system that can more agree with practical implementation. The method has calibrating template makes simply, and field calibration is simple and efficient, precision is high, fireballing advantage.

Claims (1)

1, the scaling method based on preset parameter and variable element in a kind of 3 D scanning system is characterized in that:
Step 1: at first vertically take the standard form circle, extract the circle contour in the image coordinate system, utilize least square method that the circle contour that extracts is carried out curve fitting, obtain the central coordinate of circle under the image coordinate system, then, utilization is as the corresponding relation of the plane and the plane of delineation, will be as circle contour equation on the plane:
(x i-x c) 2+(y i-y c) 2=r 2,i=1,2,3,…,n
Be transformed to the circle contour equation of representing with image coordinate:
x(u i-u c)] 2+[μ y(v i-v c)] 2=r 2,i=1,2,3,…,n
(x wherein i, y i), i=1,2,3 ..., n is as the coordinate of putting on the flat circle profile, (x c, y c) be central coordinate of circle, r is a radius, u i, v i, u c, v cHorizontal ordinate, ordinate, center of circle horizontal ordinate and the ordinate of match circle contour point in the difference presentation video, r is a match radius of a circle on the plane of delineation, μ x, μ yFor the physical size of each pixel on u axle and v direction of principal axis, make τ Xyx/ μ y, by μ x, μ yDefinition know τ XyBe exactly aspect ratio to be calibrated, then can obtain:
[ τ xy ( u i - u c ) ] 2 + ( v i - v c ) 2 = r 2 μ y 2 , i = 1,2,3 , · · · , n
At last, utilize the sampled point of the n on the circle contour in the image coordinate system, utilize least square method to obtain aspect ratio τ again Xy
Step 2: try to achieve the preset parameter τ of video camera XyAfter, utilizing image coordinate and its corresponding world coordinate of image coordinate system mid point is the volume coordinate of mid point, find the solution homography matrix, according to the initial value of homography matrix calibrating camera variable element, this initial value comprises equivalent focal length, principal point coordinate, between centers inclination factor, distortion factor and external parameter then;
Step 3: after calibrating the initial value of variable element, be a constraint of nonlinear optimization objective function, set up the objective function of belt restraining with the preset parameter:
Figure A2007100211410002C2
Find the solution the optimum solution of variable element by nonlinear optimization method.
CNB2007100211411A 2007-03-30 2007-03-30 Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system Expired - Fee Related CN100461220C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100211411A CN100461220C (en) 2007-03-30 2007-03-30 Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100211411A CN100461220C (en) 2007-03-30 2007-03-30 Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system

Publications (2)

Publication Number Publication Date
CN101025824A true CN101025824A (en) 2007-08-29
CN100461220C CN100461220C (en) 2009-02-11

Family

ID=38744094

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100211411A Expired - Fee Related CN100461220C (en) 2007-03-30 2007-03-30 Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system

Country Status (1)

Country Link
CN (1) CN100461220C (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009056050A1 (en) * 2007-10-24 2009-05-07 Shenzhen Huawei Communication Technologies Co. , Ltd. Video camera calibration method and device thereof
CN101299270B (en) * 2008-05-27 2010-06-02 东南大学 Multiple video cameras synchronous quick calibration method in three-dimensional scanning system
CN101957990A (en) * 2010-08-13 2011-01-26 武汉大学 Camera calibration method, image processing equipment and motor vehicle
CN102147918A (en) * 2010-02-09 2011-08-10 新奥特(北京)视频技术有限公司 Stadium marker line-based method and system for determining camera exterior parameters
CN102194223A (en) * 2010-03-09 2011-09-21 新奥特(北京)视频技术有限公司 Method and system for calibrating distortion coefficient of zoom lens
WO2012019370A1 (en) * 2010-08-13 2012-02-16 武汉大学 Camera calibration method, image processing device and motor vehicle
CN102622747A (en) * 2012-02-16 2012-08-01 北京航空航天大学 Camera parameter optimization method for vision measurement
CN103778640A (en) * 2014-03-07 2014-05-07 中国工程物理研究院激光聚变研究中心 Microsphere-target-based objective image space telecentric microscopic vision system calibration method
CN104392435A (en) * 2014-11-10 2015-03-04 中科院微电子研究所昆山分所 Fisheye camera calibration method and device
CN104794718A (en) * 2015-04-27 2015-07-22 广东省第二人民医院 Single-image CT (computed tomography) machine room camera calibration method
CN105139411A (en) * 2015-09-24 2015-12-09 大连理工大学 Large visual field camera calibration method based on four sets of collinear constraint calibration rulers
CN102999893B (en) * 2011-09-14 2017-01-25 新奥特(北京)视频技术有限公司 Method and system for correcting errors of camera lens intrinsic parameters
CN106651989A (en) * 2016-12-21 2017-05-10 北京信息科技大学 Nested circle fitting method and device for micro hole alignment
CN107167038A (en) * 2017-04-14 2017-09-15 华中科技大学 A kind of method that indication of shots precision is improved based on machine vision
CN107367235A (en) * 2016-05-13 2017-11-21 南京理工大学 A kind of axial system error scaling method of infrared surface battle array scanning system
CN107945236A (en) * 2017-11-09 2018-04-20 浙江大学 A kind of sub-pixel nonlinear calibration method suitable for common optical system
CN107991671A (en) * 2017-11-23 2018-05-04 浙江东车智能科技有限公司 A kind of method based on radar data and vision signal fusion recognition risk object
CN108226906A (en) * 2017-11-29 2018-06-29 深圳市易成自动驾驶技术有限公司 A kind of scaling method, device and computer readable storage medium
CN108447098A (en) * 2018-03-13 2018-08-24 深圳大学 A kind of telecentricity moves camera shaft scaling method and system
CN109459586A (en) * 2018-12-05 2019-03-12 智灵飞(北京)科技有限公司 A kind of unmanned plane accelerometer scaling method based on LM algorithm
CN112288825A (en) * 2020-10-29 2021-01-29 北京百度网讯科技有限公司 Camera calibration method and device, electronic equipment, storage medium and road side equipment
CN112581544A (en) * 2020-12-30 2021-03-30 易思维(杭州)科技有限公司 Camera calibration method without public view field based on parameter optimization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7242818B2 (en) * 2003-01-17 2007-07-10 Mitsubishi Electric Research Laboratories, Inc. Position and orientation sensing with a projector
CN1295651C (en) * 2004-05-13 2007-01-17 上海交通大学 Composite calibration method of mold surface optical measurement system

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009056050A1 (en) * 2007-10-24 2009-05-07 Shenzhen Huawei Communication Technologies Co. , Ltd. Video camera calibration method and device thereof
US8436904B2 (en) 2007-10-24 2013-05-07 Huawei Device Co., Ltd. Method and apparatus for calibrating video camera
CN101299270B (en) * 2008-05-27 2010-06-02 东南大学 Multiple video cameras synchronous quick calibration method in three-dimensional scanning system
CN102147918A (en) * 2010-02-09 2011-08-10 新奥特(北京)视频技术有限公司 Stadium marker line-based method and system for determining camera exterior parameters
CN102194223B (en) * 2010-03-09 2015-09-23 新奥特(北京)视频技术有限公司 A kind of distortion factor scaling method of zoom lens and system
CN102194223A (en) * 2010-03-09 2011-09-21 新奥特(北京)视频技术有限公司 Method and system for calibrating distortion coefficient of zoom lens
CN101957990B (en) * 2010-08-13 2012-07-04 武汉大学 Camera calibration method, image processing equipment and motor vehicle
WO2012019370A1 (en) * 2010-08-13 2012-02-16 武汉大学 Camera calibration method, image processing device and motor vehicle
CN101957990A (en) * 2010-08-13 2011-01-26 武汉大学 Camera calibration method, image processing equipment and motor vehicle
CN102999893B (en) * 2011-09-14 2017-01-25 新奥特(北京)视频技术有限公司 Method and system for correcting errors of camera lens intrinsic parameters
CN102622747A (en) * 2012-02-16 2012-08-01 北京航空航天大学 Camera parameter optimization method for vision measurement
CN102622747B (en) * 2012-02-16 2013-10-16 北京航空航天大学 Camera parameter optimization method for vision measurement
CN103778640A (en) * 2014-03-07 2014-05-07 中国工程物理研究院激光聚变研究中心 Microsphere-target-based objective image space telecentric microscopic vision system calibration method
CN104392435B (en) * 2014-11-10 2018-11-23 中科院微电子研究所昆山分所 Fisheye camera scaling method and caliberating device
CN104392435A (en) * 2014-11-10 2015-03-04 中科院微电子研究所昆山分所 Fisheye camera calibration method and device
CN104794718A (en) * 2015-04-27 2015-07-22 广东省第二人民医院 Single-image CT (computed tomography) machine room camera calibration method
CN104794718B (en) * 2015-04-27 2019-01-15 广东省第二人民医院 A kind of method of single image CT center monitoring camera calibration
CN105139411A (en) * 2015-09-24 2015-12-09 大连理工大学 Large visual field camera calibration method based on four sets of collinear constraint calibration rulers
CN105139411B (en) * 2015-09-24 2017-10-17 大连理工大学 Big visual field camera calibration method based on four sets of conllinear constraint demarcation chis
CN107367235A (en) * 2016-05-13 2017-11-21 南京理工大学 A kind of axial system error scaling method of infrared surface battle array scanning system
CN107367235B (en) * 2016-05-13 2019-12-27 南京理工大学 Shafting error calibration method of infrared area array scanning system
CN106651989B (en) * 2016-12-21 2020-04-21 北京信息科技大学 Nested circle fitting method and device for micro-hole centering
CN106651989A (en) * 2016-12-21 2017-05-10 北京信息科技大学 Nested circle fitting method and device for micro hole alignment
CN107167038A (en) * 2017-04-14 2017-09-15 华中科技大学 A kind of method that indication of shots precision is improved based on machine vision
CN107945236A (en) * 2017-11-09 2018-04-20 浙江大学 A kind of sub-pixel nonlinear calibration method suitable for common optical system
CN107945236B (en) * 2017-11-09 2020-09-04 浙江大学 Sub-pixel level nonlinear calibration method suitable for general optical system
CN107991671A (en) * 2017-11-23 2018-05-04 浙江东车智能科技有限公司 A kind of method based on radar data and vision signal fusion recognition risk object
CN108226906A (en) * 2017-11-29 2018-06-29 深圳市易成自动驾驶技术有限公司 A kind of scaling method, device and computer readable storage medium
CN108226906B (en) * 2017-11-29 2019-11-26 深圳市易成自动驾驶技术有限公司 A kind of scaling method, device and computer readable storage medium
CN108447098A (en) * 2018-03-13 2018-08-24 深圳大学 A kind of telecentricity moves camera shaft scaling method and system
CN109459586A (en) * 2018-12-05 2019-03-12 智灵飞(北京)科技有限公司 A kind of unmanned plane accelerometer scaling method based on LM algorithm
CN112288825A (en) * 2020-10-29 2021-01-29 北京百度网讯科技有限公司 Camera calibration method and device, electronic equipment, storage medium and road side equipment
CN112288825B (en) * 2020-10-29 2024-04-12 阿波罗智联(北京)科技有限公司 Camera calibration method, camera calibration device, electronic equipment, storage medium and road side equipment
CN112581544A (en) * 2020-12-30 2021-03-30 易思维(杭州)科技有限公司 Camera calibration method without public view field based on parameter optimization
CN112581544B (en) * 2020-12-30 2022-04-19 易思维(杭州)科技有限公司 Camera calibration method without public view field based on parameter optimization

Also Published As

Publication number Publication date
CN100461220C (en) 2009-02-11

Similar Documents

Publication Publication Date Title
CN100461220C (en) Calibrating method based on fixed parameters and variable parameters for three-dimensional scanning system
CN110296691B (en) IMU calibration-fused binocular stereo vision measurement method and system
CN101299270B (en) Multiple video cameras synchronous quick calibration method in three-dimensional scanning system
CN101303768B (en) Method for correcting circle center error of circular index point when translating camera perspective projection
CN110349221A (en) A kind of three-dimensional laser radar merges scaling method with binocular visible light sensor
CN101231750A (en) Calibrating method of binocular three-dimensional measuring system
CN110517325B (en) Coordinate transformation and method and system for positioning objects around vehicle body through coordinate transformation
CN101311963B (en) Round mark point center picture projection point position acquiring method for positioning video camera
CN103278138A (en) Method for measuring three-dimensional position and posture of thin component with complex structure
CN106651942A (en) Three-dimensional rotation and motion detecting and rotation axis positioning method based on feature points
CN109727278B (en) Automatic registration method for airborne LiDAR point cloud data and aerial image
CN106595702B (en) A kind of multisensor spatial registration method based on astronomy calibration
CN105469389B (en) A kind of grid ball target for vision sensor calibration and corresponding scaling method
Chatterjee et al. Algorithms for coplanar camera calibration
CN106780628A (en) High Precision Camera Calibration method based on mixing distortion model
CN109443209A (en) A kind of line-structured light system calibrating method based on homography matrix
CN109859272A (en) A kind of auto-focusing binocular camera scaling method and device
CN109141226A (en) The spatial point coordinate measuring method of one camera multi-angle
CN113470090A (en) Multi-solid-state laser radar external reference calibration method based on SIFT-SHOT characteristics
CN109961485A (en) A method of target positioning is carried out based on monocular vision
CN105701455A (en) Active shape model (ASM) algorithm-based face characteristic point acquisition and three dimensional face modeling method
CN105631844A (en) Image camera calibration method
CN106705849A (en) Calibration method of linear-structure optical sensor
CN109544642B (en) N-type target-based TDI-CCD camera parameter calibration method
CN105809706A (en) Global calibration method of distributed multi-camera system

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
ASS Succession or assignment of patent right

Owner name: NANTONG XINTANG TEXTILE PRINTING AND DYEING CO., L

Free format text: FORMER OWNER: SOWTHEAST UNIV.

Effective date: 20131022

Owner name: SOWTHEAST UNIV.

Effective date: 20131022

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 210096 NANJING, JIANGSU PROVINCE TO: 226600 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131022

Address after: 226600 Haian Industrial Park, Haian, Jiangsu, Nantong

Patentee after: NANTONG XINTANG TEXTILE DYING CO., LTD.

Patentee after: Southeast University

Address before: 210096 Jiangsu city Nanjing Province four pailou No. 2

Patentee before: Southeast University

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

Granted publication date: 20090211

Termination date: 20190330

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