CN104374338A - Single-axis rotation angle vision measurement method based on fixed camera and single target - Google Patents

Single-axis rotation angle vision measurement method based on fixed camera and single target Download PDF

Info

Publication number
CN104374338A
CN104374338A CN201410506279.0A CN201410506279A CN104374338A CN 104374338 A CN104374338 A CN 104374338A CN 201410506279 A CN201410506279 A CN 201410506279A CN 104374338 A CN104374338 A CN 104374338A
Authority
CN
China
Prior art keywords
theta
target
point
angle
parameter
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
CN201410506279.0A
Other languages
Chinese (zh)
Other versions
CN104374338B (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.)
Beihang University
Original Assignee
Beihang 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 Beihang University filed Critical Beihang University
Priority to CN201410506279.0A priority Critical patent/CN104374338B/en
Publication of CN104374338A publication Critical patent/CN104374338A/en
Application granted granted Critical
Publication of CN104374338B publication Critical patent/CN104374338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention provides a single-axis rotation angle vision measurement method based on a fixed camera and a single target. The method includes the four steps of firstly, calibrating internal parameters and external parameters of the camera; secondly, obtaining the initial values of the external parameters related to pivoting movement; thirdly, conducting nonlinear optimization on the internal parameter pin and the external parameter pout; fourthly, measuring the rotation angle through the calibrated internal parameters and the calibrated external parameters. The method is a method for measuring the rotation angle of the pivoting movement through the monocular camera, and solves the problem that the target is hard to install in an existing angle vision measurement method; meanwhile, the method is suitable for the conditions with blockage as well and is quite high in practicability.

Description

A kind of vision measuring method of the single-shaft-rotation angle based on fixed camera and single target
Technical field
The present invention relates to a kind of vision measuring method of the single-shaft-rotation angle based on fixed camera and single target, belong to technical field of visual measurement.
Background technology
Angle displacement measurement is widely used in the field such as industry, Aero-Space.Due in rugged environment, the parameter such as electric, mechanical of angular displacement sensor can change, and therefore needs regularly to carry out demarcations rectification to it.Vision measurement technology is simple because having structure, Non contact real time measurement, in-site installation and the advantage such as debugging is convenient and enjoy favor.Existing vision angle-measuring method is divided into the method for binocular vision and monocular vision.Binocular vision method, because its public view field is little, installs complicated and is very restricted.The method of existing monocular vision is provided with certain requirement mostly to target, and installation difficulty is large.Therefore, present patent application proposes a kind of vision measuring method of the single-shaft-rotation angle based on fixed camera and single target, and the installation of the method to target has no requirement.In addition, the present invention sets up equally to there being the situation of blocking, more practical.
Summary of the invention
The present invention proposes a kind of vision measuring method of the single-shaft-rotation angle based on fixed camera and single target, it is a kind of method utilizing the rotation angle of monocular camera to pivoting movement to measure.It solve target in existing vision angle-measuring method and the problem of difficulty is installed.Meanwhile, the present invention is applicable equally to there being the situation of blocking, and practicality is fine.
The method, by two-dimensional target, demarcates to camera internal reference and relative to the outer parameter of axle, and then measures rotation angle, and the method is installed target and had no requirement, and target can be fixed to optional position.
The camera model that the present invention adopts is non-linear perspective projection model, and model is described below:
1. linear camera model
As shown in figure (1), P image space in the picture in any point, space can use pin-hole imaging model approximate representation, namely puts P projected position p in the picture, is photocentre O and the some line of P and the intersection point of the plane of delineation.Thus P point coordinate (X under world coordinate system w, Y w, Z w) twith the pixel coordinate (u, v) of subpoint p tbetween relation as follows:
s u v 1 = α x 0 u 0 0 0 α y v 0 0 0 0 1 0 R cw T cw 0 1 X w Y w Z w 1 - - - ( 1.1 )
Wherein α x=f/dX is the scale factor on u axle, α y=f/dY is the scale factor on v axle.α x, α y, u 0, v 0only relevant with intrinsic parameters of the camera, be called the intrinsic parameter of video camera.R cw, T cwbe respectively rotation matrix and the translation vector of camera coordinates system and world coordinate system, be called the external parameter of video camera.
1. non-linear camera model
In fact, camera lens is not desirable perspective imaging, but with distortion to a certain degree.What the present invention adopted is nonlinear distortion model, by world coordinates (X w, Y w, Z w) task for pixel coordinate (u, v) tprocess as follows:
X c Y c Z c = R cw X w Y w Z w + T cw , - - - ( 1.2 )
x=X c/Z c,y=Y c/Z c,r 2=x 2+y 2, (1.3)
x d = ( 1 + k 1 r 2 + k 2 r 4 + k 5 r 6 ) x + 2 k 3 xy + k 4 ( r 2 + 2 x 2 ) ( 1 + k 1 r 2 + k 2 r 4 + k 5 r 6 ) y + 2 k 4 xy + k 3 ( r 2 + 2 y 2 ) , - - - ( 1.4 )
u v 1 = α x 0 u 0 0 α y v 0 0 0 1 x d 1 , - - - ( 1.5 )
Wherein, k 1, k 2, k 3, k 4, k 5for distortion factor.α x, α y, u 0, v 0, k 1, k 2, k 3, k 4, k 5form the intrinsic parameter of video camera, R cw, T cwfor the outer parameter of video camera.
For convenience of description, we remember u, and v is p in=(α x, α y, u 0, v 0, k 1, k 2, k 3, k 4, k 5) t, R cw, T cw, X w, Y w, Z wfunction, namely
u=f u(p in,R cw,T cw,X w,Y w,Z w),v=f v(p in,R cw,T cw,X w,Y w,Z w) (1.6)
The world coordinate system that the present invention sets up is as figure (2). and getting rotating shaft is Z waxle, and make the target initial point when reference position be positioned at X won axle.Suppose that rotation matrix between reference position target co-ordinates system and world coordinate system and translation vector are and set the rotation matrix of camera coordinates system and world coordinate system as R cw, translation vector is T cw.
Method proposed by the invention comprises two steps: inside and outside parameter information is demarcated and arbitrarily angledly to be solved.Inside and outside parameter information is demarcated, and is on the basis that general camera is demarcated, utilizes the special geometric relation between pivoting movement coordinate system, ask for the process of required external parameter information. t,R cw, T cwand the angle between each position and reference position is that inside and outside ginseng information demarcates the outer parameter that will estimate.Arbitrarily angledly to solve, being the inside and outside parameter information according to having tried to achieve, asking for rotation angle.In arbitrarily angled solution procedure, we have proposed a kind of point matching algorithm, thus make angle-measuring method can ask for the solution of occlusion issue.
In sum, the vision measuring method at a kind of single-shaft-rotation angle based on fixed camera and single target of the present invention, the method concrete steps are as follows:
Step one: camera inside and outside parameter is demarcated.
In specific implementation process, we utilize two-dimentional gridiron pattern (as Fig. 5) as target.The sequence of pictures that we adopt, picture when comprising a reference position and m open picture when rotary part rotates to different angles.Suppose that this m angle is θ 1, θ 2..., θ m.Next, the X-comers that MATLAB 2014 can be utilized to carry extracts function detectChecker--boardPoints and carries out angle point grid, and carries out internal reference demarcation in conjunction with MATLAB calibration tool, tries to achieve intrinsic parameter p inwith the external parameter of m+1 pose.This calibration tool case, can download on http://www.vision.caltech.edu/bouguetj/calib_doc/.These external parameters can be expressed as
[ R cb i , T cb i ] , i = 0,1,2 , . . . , m .
represent in rotation angle to be θ itime, the rotation matrix between camera and target and translation vector, when representing reference position during i=0, the rotation matrix between camera and target and translation vector.
Step 2: the outer initial parameter values that pivoting movement is relevant is asked for
1, we are according to the outer parameter of trying to achieve in step one, and asking in rotation angle by (1.7) is θ itime, target is relative to the rotation matrix of target during benchmark and translation vector [ R b i b 0 , T b i b 0 ] , i = 1,2 , . . . , m .
R b i b 0 = R cb i T R cb 0 , T b i b 0 = R cb i T ( T cb 0 - T cb i ) . - - - ( 1.7 )
2, ask for t and θ iinitial value:
Definition r 1, r 2, r 3be respectively the 1st, 2,3 row, and vector [t] ×be expressed as follows matrix
t x t y t z × = 0 - t z t y t z 0 - t x - t y t x 0 . - - - ( 1.8 )
Then, we can be in the hope of
r 2 = ( S 3,2 , S 1,3 , S 2,1 ) T | | ( S 3,2 , S 1,3 , S 2,1 ) | | , μ = t sin θ = 1 2 | | ( S 3,2 , S 1,3 , S 2,1 ) | | , - - - ( 1.9 )
Wherein, s i,jthe element that representing matrix S i-th row j arranges.Then, r 1can be tried to achieve by following formula
( 1 μ [ T b i b 0 ] × R b i b 0 + [ r 2 ] × ) x = 0 , | | x | | = 1 . - - - ( 1.10 )
Above formula can by right do SVD decomposition to try to achieve, if 1 μ [ T b i b 0 ] × R b i b 0 + [ r 2 ] × = USV T , Then x is the 3rd row of V.Then, we can obtain
R b 0 w = r 1 r 2 r 1 × r 2 . - - - ( 1.11 )
θ i=2arctan((A TA) -1(A TB)), (1.12)
Wherein A = vec ( r 2 r 3 T + r 3 r 2 T ) , B = vec ( 1 μ [ T b i b 0 ] × R b i b 0 + [ r 2 ] × ) . Here vec () representing matrix stretching.So,
R wb 0 = R b 0 w T - - - ( 1.13 )
t = μ sin θ i . - - - ( 1.14 )
3, basis is tried to achieve t and θ iinitial value solves, and according to (1.16), asks R cw, T cwvalue
R cw = R cb 0 R wb 0 T , T cw = ( t , 0,0 ) T - R cw T wb 0 . - - - ( 1.15 )
Step 3: internally parameter p inwith outer parameter p outcarry out nonlinear optimization.Here p in9, p out10be expressed as follows
p in = ( α x , α y , u 0 , v 0 , k 1 , k 2 , k 3 , k 4 , k 5 ) T , p out = ( v wb 0 T , t , v cw T , T cw T ) T ,
Wherein, be respectively r cwcorresponding Rodrigues vector.Transformational relation between the rotation matrix R that Rodrigues vector v is corresponding with it is as follows
sin ( | | v | | ) [ v ] × = R - R T 2 ,
R = cos ( | | v | | ) I 3 + ( 1 - cos ( | | v | | ) ) | | v | | 2 vv T + sin ( | | v | | ) [ v ] × ,
Wherein, I 3represent the unit matrix on 3 rank.
We make following mark to the coordinate of each picture point, on target 1, are θ in rotation angle itime, the angular coordinate corresponding to a jth target unique point is designated as ( u j i , v j i ) , i = 0,1 , . . . , m , j = 1,2 , . . . , n , Point on target is designated as
X b={(x j,y j,0) T,j=1,2,...,n}.
Owing to there is error in image zooming-out process, therefore, we choose image re-projection error and as optimization aim.By target point and p out, obtain re-projection point process as follows:
1, rotation angle is θ itime, target point be converted into the point under world coordinate system
x i , j w y i , j w z i , j w = cos θ i - sin θ i 0 sin θ i cos θ i 0 0 0 1 ( R wb 0 x j y j 0 + t 0 0 ) . - - - ( 1.16 )
2, corresponding re-projection point is asked for
Re-projection error is defined as
E r = Σ i = 1 m Σ j = 1 n [ ( u i j - g u ( p in , p out , x j , y j , θ i ) ) 2 + ( v i j - g v ( p in , p out , x j , y j , θ i ) ) 2 ] - - - ( 1.19 )
Optimization problem can be described as
( p in * , p out * , θ 1 * , θ 2 * , . . . , θ m * ) = arg min p in , p out , , θ 1 , . . . , θ m E r . - - - ( 1.20 )
This optimization problem can utilize sparse Levenberg-Marquardt algorithm to solve optimization problem, and the Optimization Toolbox of sparse LM algorithm can be downloaded on http://users.ics.forth.gr/ ~ lourakis/sparseLM/.Utilize above-mentioned optimization, we can obtain t,R cw, T cwinformation, the anglec of rotation being used for step 4 is asked for by these information.
Step 4: utilize the inside and outside parameter of demarcating, measures the anglec of rotation.
First, we, according to the information of having demarcated, mate angle point.Suppose that at the angular coordinate of photo of θ place shooting be X c={ (u i, v i) t, i=1,2 ..., N c, now may exist in picture and block, therefore coupling can not complete automatically, can according to following algorithm:
1, the point set that may mate is found.
To each angle point and target point pair calculate a score S i,j, computing method are as follows:
(1) (x is asked for j, y j, 0) tcorresponding world coordinates
x j w y j w z j w = R wb 0 x j y j 0 + t 0 0 .
(2) picture point (u is asked for i, v i) t? preimage in plane acquiring method is as follows
X w j = ρ ( x i n , y i n , 1 ) r 1 + t
Y w j = ρ ( x i n , y i n , 1 ) r 2 ,
Z w j = z w j ,
Wherein, ρ = z w j ( x i n , y i n , 1 ) r 3 , [ r 1 , r 2 , r 3 ] = R wb 0 · ( x i n , y i n ) T For (u i, v i) tcorresponding normalization coordinate, can be tried to achieve by iteration.
(3) we define S i,jas shown in the formula
S i , j = ( X w j ) 2 + ( Y w j ) 2 - ( x w j ) 2 + ( y w j ) 2 . - - - ( 1.21 )
(4) selected threshold τ m=0.1d, d is the length of gridiron pattern grid here, then defines the set of the point that may mate
&Omega; = { ( u i , v i ) T &LeftRightArrow; ( x j , y j , 0 ) T , j = 1,2 , . . . , n , i = 1,2 , . . . , N c | S i , j < &tau; m } . - - - ( 1.22 )
2, utilize histogram, calculate angle.
For the element in Ω, calculate θ by following formula i,j
x j w y j w z j w = cos &theta; i , j - sin &theta; i , j 0 sin &theta; i , j cos &theta; i , j 0 0 0 1 X j w Y j w Z j w . - - - ( 1.23 )
Then draw the histogram of distribution, have 360 Nogata blocks in this histogram, the element in a kth Nogata block is the element number in ((k-181) °, (k-179) °) ∩ Ω.We to the estimated value of θ are
3, utilize the angle of trying to achieve, select correct coupling right.
Target point M (j) corresponding to i corresponds in correct angular region, the point that score is minimum, namely
M ( i ) = min j S i , j , Meet θ i,j∈ [θ-1 °, θ+1 °].
If there is not θ i,j∈ [θ-1 °, θ+1 °], then make M (i)=0.
4, nonlinear optimization
Optimization problem is described as
&theta; * = arg min &theta; &Sigma; i = 1 N c &delta; ( i ) ( ( u i - g u ( p in * , p out * , x M ( i ) , y M ( i ) , &theta; ) ) 2 + ( v i - g v ( p in * , p out * , x M ( i ) , y M ( i ) , &theta; ) ) 2 ) - - - ( 1.24 )
Wherein, &delta; ( i ) = 1 , M ( i ) > 0 0 , M ( i ) = 0 .
The lsqnonlin function that this optimization problem can be carried by MATLAB solves.
Advantage and effect:
The present invention is a kind of vision measuring method of the single-shaft-rotation angle based on fixed camera and single target, it is a kind of method utilizing monocular camera and two-dimentional gridiron pattern to measure single-shaft-rotation angle, its advantage is, solve Current vision angle measurement problem to being provided with many requirements, inconvenient problem.The present invention adopts two-dimensional target as demarcation characteristic body, by optimized algorithm, and can single-shaft-rotation angle.It is simple that the method has installation process, the advantages such as stated accuracy is high, with low cost, and the method can solve occlusion issue after demarcation simultaneously.
Accompanying drawing explanation
Fig. 1: pin-hole imaging model schematic
Fig. 2: experimental facilities scheme of installation
Fig. 3 a: measuring error average is with noise variation diagram
Fig. 3 b: measuring error variance is with noise variation diagram
Fig. 4 a: the angle point number figure detected during angle change
Fig. 4 b: during angle change, angular error figure
Fig. 5: truly test the two-dimentional gridiron pattern target picture used
Fig. 6: FB(flow block) of the present invention
In figure, symbol description is as follows:
Symbol description in Fig. 1: O represents video camera photocentre, O 1represent image coordinate system initial point.X, Y represent the coordinate axis of image coordinate system, and x, y, z represent the coordinate axis of camera coordinate system.P (X w, Y w, Z w) representing the coordinate of three-dimensional point under camera coordinate system, p represents the projection of a P on image.
Symbol description in Fig. 2: O w-X wy wz wfor world coordinate system, Z waxle is turning axle, and the initial point of target when reference position is positioned at X won axle; The target co-ordinates of target when reference position is this coordinate system is around Z wrotate θ iafter, target co-ordinates system becomes camera coordinates is O c-X cy cz c.
Embodiment
See Fig. 1-Fig. 6, the invention provides a kind of vision measuring method of the single-shaft-rotation angle based on fixed camera and single target, and carried out emulation experiment and true experimental verification.
Emulation experiment
Emulation experiment is on the computing machine of dominant frequency 3.07GHz, internal memory 4.00GB, and the MATLAB2014a under Windows XP environment carries out.Emulating camera model used is second order distortion model, and each parameter is as follows:
α x=782.5109,α y=782.9155,u 0=357.3909,v 0=264.5240
k 1=-0.4232,k 2=0.2664,k 3=-0.000555,k 4=-0.0031,k 5=0
Target is the gridiron pattern of 6 × 8, and single checker's length is 39.5mm × 39.5mm.Emulation experiment mainly demonstrates stability and the high precision of calibration algorithm.Simulation process is as follows:
Simulated environment is arranged: according to the intrinsic parameter of setting, and pose, obtains picture point coordinate.The angle chosen when wherein rotating is (unit degree of being)
θ i=2.25×i
Step one: utilize MATLAB calibration tool case, obtains the initial value of intrinsic parameter, result following (demarcating internal reference picture noise is 2 pixels):
α x=774.34147,α y=773.91064,u 0=349.58372,v 0=269.85450
k 1=-0.43943,k 2=0.33274,k 3=-0.00222,k 4=-0.00206,k 5=0
Step 2: the result of demarcating according to general camera, joins initial value outside calculating.
Step 3: according to inside and outside parameter initial value, carries out bundle adjustment.
Step 4: choose angle, measures.
In order to the robustness of verification algorithm, in step 4, we choose 100 angles, measure, and using the maximal value of angular error as measuring error.In picture point, add average is μ=0, the white Gaussian noise of standard deviation sigma=0 4 pixels, and get average and the variance mapping of 100 Experimental measurement error, result is as shown in Fig. 3 (a), (b).Result shows, even if add the white Gaussian noise that standard deviation is 4 pixels, still can obtain the result that angular error average is less than 0.5 degree, and this proves that our angle-measuring method is to robust during picture noise.In order to verify that our method is effective to blocking situation, situation when we rotate in (-180 °, 180 °) target, emulates.Fig. 4 (a), (b) list simulation result, and (a) represents the number of the angle point detected, (b) represents the angular error measured.Experimental result shows, our method effectively can solve occlusion issue.
True experiment
In order to verify feasibility of the present invention further, We conducted true experimental verification.The target that we adopt is the gridiron pattern (as shown in Figure 5) printed, and specification is 6 × 9, and the length of each grid is 29.5mm; The camera adopted is Basler camera, and resolution is 658 × 492 pixels, and focal length is about 800 pixels.Angle checking adopts photoelectric follow-up, and this system perspective measuring accuracy is 0.01 degree.Result is as table 1, and error shows under this experiment condition, and the maximal value of angular error is less than 0.15 degree.
Table 1. is experiment anglec of rotation estimated result truly
1 2 3 4 5 6 7 8 9 10
Turntable value -54.00 -36.00 -27.00 -10.80 -1.8 5.40 16.20 28.80 36.00 54.00
True value -53.985 -35.978 -26.966 -10.749 -0.036 5.477 0.070 28.894 36.135 54.147
Error -0.015 -0.022 -0.034 -0.051 -1.764 0.077 16.270 0.094 0.135 0.147

Claims (1)

1., based on the vision measuring method at the single-shaft-rotation angle of fixed camera and single target, it is characterized in that: the method concrete steps are as follows:
Step one: camera inside and outside parameter is demarcated;
In specific implementation process, utilize two-dimentional gridiron pattern as target; The sequence of pictures adopted, picture when comprising a reference position and m open picture when rotary part rotates to different angles; Suppose that this m angle is θ 1, θ 2..., θ m, next, the X-comers utilizing MATLAB 2014 to carry extracts function detectCheckerboardPoints and carries out angle point grid, and carries out internal reference demarcation in conjunction with MATLAB calibration tool, tries to achieve intrinsic parameter p inwith the external parameter of m+1 pose; This calibration tool case, http://www.vision.caltech.edu/bouguetj/calib_doc/ downloads; These external parameters are expressed as
[ R cb i , T cb i ] , i = 0,1,2 , . . . , m .
represent in rotation angle to be θ itime, the rotation matrix between camera and target and translation vector, when representing reference position during i=0, the rotation matrix between camera and target and translation vector;
Step 2: the outer initial parameter values that pivoting movement is relevant is asked for
(1), according to the outer parameter of trying to achieve in step one, asking in rotation angle by (1.7) is θ itime, target is relative to the rotation matrix of target during benchmark and translation vector [ R b i b 0 , T b i b 0 ] , i = 1,2 , . . . , m .
R b i b 0 = R cb i T R cb 0 , T b i b 0 = R cb i T ( T cb 0 - T cb i ) . - - - ( 0.1 )
(2), ask for t and θ iinitial value:
Definition r 1, r 2, r 3be respectively the 1st, 2,3 row, and vector [t] ×be expressed as follows matrix
t x t y t z &times; = 0 - t z t y t z 0 - t x - t y t x 0 . - - - ( 0.2 )
Then, try to achieve
r 2 = ( S 3,2 , S 1,3 , S 2,1 ) T | | ( S 3,2 , S 1,3 , S 2,1 ) | | , &mu; = t sin &theta; = 1 2 | | ( S 3,2 , S 1,3 , S 2,1 ) | | , - - - ( 0.3 )
Wherein, s i,jthe element that representing matrix S i-th row j arranges, then, r 1tried to achieve by following formula
( 1 &mu; [ T b i b 0 ] &times; R b i b 0 + [ r 2 ] &times; ) x = 0 , | | x | | = 1 . - - - ( 0.4 )
Above formula is by right do SVD decomposition to try to achieve, if 1 &mu; [ T b i b 0 ] &times; R b i b 0 + [ r 2 ] &times; = USV T , Then x is the 3rd row of V, then, obtains
R b 0 w = r 1 r 2 r 1 &times; r 2 . - - - ( 0.5 )
θ i=2arctan((A TA) -1(A TB)), (0.6)
Wherein A = vec ( r 2 r 3 T + r 3 r 2 T ) , B = vec ( 1 &mu; [ T b i b 0 ] &times; R b i b 0 + [ r 2 ] &times; ) . Here vec () representing matrix stretching, so,
R wb 0 = R b 0 w T - - - ( 0.7 )
t = &mu; sin &theta; i . - - - ( 0.8 )
(3), basis is tried to achieve t and θ iinitial value solves, and according to (1.16), asks R cw, T cwvalue
R cw = R cb 0 R wb 0 T , T cw = ( t , 0,0 ) T - R cw T wb 0 . - - - ( 0.9 )
Step 3: internally parameter p inwith outer parameter p outcarry out nonlinear optimization; Here p in9, p out10be expressed as follows
p in = ( &alpha; x , &alpha; y , u 0 , v 0 , k 1 , k 2 , k 3 , k 4 , k 5 ) T , p out = ( v wb 0 T , t , v cw T , T cw T ) T ,
Wherein, be respectively r cwcorresponding Rodrigues vector; Transformational relation between the rotation matrix R that Rodrigues vector v is corresponding with it is as follows
sin ( | | v | | ) [ v ] &times; = R - R T 2 ,
R = cos ( | | v | | ) I 3 + ( 1 - cos ( | | v | | ) ) | | v | | 2 vv T + sin ( | | v | | ) [ v ] &times; ,
Wherein, I 3represent the unit matrix on 3 rank;
Making following mark to the coordinate of each picture point, on target 1, is θ in rotation angle itime, the angular coordinate corresponding to a jth target unique point is designated as ( u j i , v j i ) , i = 0,1 , . . . , m , j = 1,2 , . . . , n , Point on target is designated as
X b={(x j,y j,0) T,j=1,2,...,n}.
Owing to there is error in image zooming-out process, therefore, choose image re-projection error and as optimization aim, by target point and p out, obtain re-projection point process as follows:
<1>, rotation angle are θ itime, target point (x j, y j, 0) tbe converted into the point under world coordinate system
x i , j w y i , j w z i , j w = cos &theta; i - sin &theta; i 0 sin &theta; i cos &theta; i 0 0 0 1 ( R wb 0 x j y j 0 + t 0 0 ) . - - - ( 0.10 )
<2>, ask for corresponding re-projection point
Re-projection error is defined as
E r = &Sigma; i = 1 m &Sigma; j = 1 n [ ( u i j - g u ( p in , p out , x j , y j , &theta; i ) ) 2 + ( v i j - g v ( p in , p out , x j , y j , &theta; i ) ) 2 ] - - - ( 0.13 )
Optimization problem is described as
( p in * , p out * , &theta; 1 * , &theta; 2 * , . . . , &theta; m * ) = arg min p in , p out , , &theta; 1 , . . . , &theta; m E r . - - - ( 0.14 )
This optimization problem utilizes sparse Levenberg-Marquardt algorithm to solve optimization problem, and the Optimization Toolbox of sparse LM algorithm is downloaded on http://users.ics.forth.gr/ ~ lourakis/sparseLM/; Utilize above-mentioned optimization, obtain t,R cw, T cwinformation, the anglec of rotation being used for step 4 is asked for by these information;
Step 4: utilize the inside and outside parameter of demarcating, measures the anglec of rotation;
First, according to the information of having demarcated, angle point is mated; Suppose that at the angular coordinate of photo of θ place shooting be X c={ (u i, v i) t, i=1,2 ..., N c, now may exist in picture and block, therefore coupling can not complete, automatically according to following algorithm:
(i) the point set that may mate, is found;
To each angle point and target point pair calculate a score S i,j, computing method are as follows:
(1) (x is asked for j, y j, 0) tcorresponding world coordinates
x j w y j w z j w = R wb 0 x j y j 0 + t 0 0 .
(2) picture point (u is asked for i, v i) t? preimage in plane acquiring method is as follows
X w j = &rho; ( x i n , y i n , 1 ) r 1 + t
Y w j = &rho; ( x i n , y i n , 1 ) r 2 ,
Z w j = z w j ,
Wherein, &rho; = z w j ( x i n , y i n , 1 ) r 3 , [ r 1 , r 2 , r 3 ] = R wb 0 &CenterDot; ( x i n , y i n ) T For (u i, v i) tcorresponding normalization coordinate, is tried to achieve by iteration;
(3) S is defined i,jas shown in the formula
S i , j = ( X w j ) 2 + ( Y w j ) 2 - ( x w j ) 2 + ( y w j ) 2 . - - - ( 0.15 )
(4) selected threshold τ m=0.1d, d is the length of gridiron pattern grid here, then defines the set of the point that may mate
&Omega; = { ( u i , v i ) T &LeftRightArrow; ( x j , y j , 0 ) T , j = 1,2 , . . . , n , i = 1,2 , . . . , N c | S i , j < &tau; m } . - - - ( 0.16 )
(ii), utilize histogram, calculate angle;
For the element in Ω, calculate θ by following formula i,j
x j w y j w z j w = cos &theta; i , j - sin &theta; i , j 0 sin &theta; i , j cos &theta; i , j 0 0 0 1 X j w Y j w Z j w . - - - ( 0.17 )
Then draw the histogram of distribution, have 360 Nogata blocks in this histogram, the element in a kth Nogata block is the element number in ((k-181) °, (k-179) °) ∩ Ω; To the estimated value of θ be
(iii), utilize the angle of trying to achieve, select correct coupling right;
Target point M (j) corresponding to i corresponds in correct angular region, the point that score is minimum, namely
M ( i ) = min j S i , j , Meet θ i,j∈ [θ-1 °, θ+1 °].
If there is not θ i,j∈ [θ-1 °, θ+1 °], then make M (i)=0.;
(iv), nonlinear optimization
Optimization problem is described as
&theta; * = arg min &theta; &Sigma; i = 1 N c &delta; ( i ) ( ( u i - g u ( p in * , p out * , x M ( i ) , y M ( i ) , &theta; ) ) 2 + ( v i - g v ( p in * , p out * , x M ( i ) , y M ( i ) , &theta; ) ) 2 ) - - - ( 0.18 )
Wherein, &delta; ( i ) = 1 , M ( i ) > 0 0 , M ( i ) = 0
The lsqnonlin function that this optimization problem is carried by MATLAB solves.
CN201410506279.0A 2014-09-28 2014-09-28 Single-axis rotation angle vision measurement method based on fixed camera and single target Active CN104374338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410506279.0A CN104374338B (en) 2014-09-28 2014-09-28 Single-axis rotation angle vision measurement method based on fixed camera and single target

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410506279.0A CN104374338B (en) 2014-09-28 2014-09-28 Single-axis rotation angle vision measurement method based on fixed camera and single target

Publications (2)

Publication Number Publication Date
CN104374338A true CN104374338A (en) 2015-02-25
CN104374338B CN104374338B (en) 2017-04-26

Family

ID=52553394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410506279.0A Active CN104374338B (en) 2014-09-28 2014-09-28 Single-axis rotation angle vision measurement method based on fixed camera and single target

Country Status (1)

Country Link
CN (1) CN104374338B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106289071A (en) * 2016-08-18 2017-01-04 温州大学 A kind of structure three-dimensional displacement monocular photographing measurement method
CN106920262A (en) * 2017-03-07 2017-07-04 湖南科技大学 A kind of machine vision 3D four-wheel aligners instrument target binding method
CN107421502A (en) * 2017-07-26 2017-12-01 同济大学 A kind of railway freight-car gauge automatic measurement method
CN107817005A (en) * 2017-10-09 2018-03-20 大连理工大学 The integrated flexible experimental method of monocular pose measurement accuracy evaluation
CN108663043A (en) * 2018-05-16 2018-10-16 北京航空航天大学 Distributed boss's POS node relative pose measurement method based on single camera auxiliary
CN108776980A (en) * 2018-05-14 2018-11-09 南京工程学院 A kind of scaling method towards lenticule light-field camera
CN109785394A (en) * 2018-12-31 2019-05-21 深圳积木易搭科技技术有限公司 A kind of camera and turntable combined calibrating method, device and storage medium
CN110006368A (en) * 2019-05-20 2019-07-12 中山大学 A kind of the rope Different Deflection Angle Measurement and system of view-based access control model measurement
CN110136204A (en) * 2019-03-19 2019-08-16 浙江大学山东工业技术研究院 Sound film top dome assembly system based on the calibration of bilateral telecentric lens camera machine tool position
CN110428457A (en) * 2019-08-08 2019-11-08 苏州中科全象智能科技有限公司 A kind of point set affine transform algorithm in vision positioning
CN110440726A (en) * 2019-08-31 2019-11-12 大连理工大学 The bolt faying face coplanarity measuring method of twin shaft translation stage and structured light scanner
CN110455188A (en) * 2019-08-25 2019-11-15 大连理工大学 Single-axis translation platform and structure light 3 D sensor combined measurement scaling method
CN110954067A (en) * 2019-12-28 2020-04-03 长安大学 Monocular vision excavator pose measurement system and method based on target
CN111197975A (en) * 2019-12-09 2020-05-26 中国资源卫星应用中心 Image attitude estimation method based on Rodrigues
CN111981982A (en) * 2020-08-21 2020-11-24 北京航空航天大学 Multi-directional cooperative target optical measurement method based on weighted SFM algorithm
CN113450398A (en) * 2021-08-31 2021-09-28 北京柏惠维康科技有限公司 Method, device, equipment and readable medium for matching marker in calibration object
CN113658266A (en) * 2021-07-27 2021-11-16 中航西安飞机工业集团股份有限公司 Moving axis rotation angle visual measurement method based on fixed camera and single target
CN114216395A (en) * 2021-12-14 2022-03-22 众致盛视智能科技(苏州)有限公司 Space rotation axis solving method based on calibration plate

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424551A (en) * 2008-11-28 2009-05-06 北京航空航天大学 Active vision non-contact type servomechanism parameter measurement method and apparatus thereof
JP2010140386A (en) * 2008-12-15 2010-06-24 Panasonic Corp Optical angle sensor
JP2010187130A (en) * 2009-02-10 2010-08-26 Nippon Telegr & Teleph Corp <Ntt> Camera calibrating device, camera calibration method, camera calibration program, and recording medium having the program recorded therein
CN102692183A (en) * 2011-03-23 2012-09-26 比比威株式会社 Measurement method of initial positions and poses of multiple cameras
CN103292809A (en) * 2013-05-14 2013-09-11 哈尔滨工程大学 Single-shaft rotary type inertial navigation system and special error self-compensation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424551A (en) * 2008-11-28 2009-05-06 北京航空航天大学 Active vision non-contact type servomechanism parameter measurement method and apparatus thereof
JP2010140386A (en) * 2008-12-15 2010-06-24 Panasonic Corp Optical angle sensor
JP2010187130A (en) * 2009-02-10 2010-08-26 Nippon Telegr & Teleph Corp <Ntt> Camera calibrating device, camera calibration method, camera calibration program, and recording medium having the program recorded therein
CN102692183A (en) * 2011-03-23 2012-09-26 比比威株式会社 Measurement method of initial positions and poses of multiple cameras
CN103292809A (en) * 2013-05-14 2013-09-11 哈尔滨工程大学 Single-shaft rotary type inertial navigation system and special error self-compensation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付强等: "基于***一维标定物的多摄像机参数标定方法与实验", 《控制理论与应用》 *

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106289071B (en) * 2016-08-18 2018-10-19 温州大学 A kind of structure three-dimensional displacement monocular photographing measurement method
CN106289071A (en) * 2016-08-18 2017-01-04 温州大学 A kind of structure three-dimensional displacement monocular photographing measurement method
CN106920262A (en) * 2017-03-07 2017-07-04 湖南科技大学 A kind of machine vision 3D four-wheel aligners instrument target binding method
CN107421502A (en) * 2017-07-26 2017-12-01 同济大学 A kind of railway freight-car gauge automatic measurement method
CN107421502B (en) * 2017-07-26 2019-09-27 同济大学 A kind of railway freight-car limit automatic measurement method
CN107817005A (en) * 2017-10-09 2018-03-20 大连理工大学 The integrated flexible experimental method of monocular pose measurement accuracy evaluation
CN107817005B (en) * 2017-10-09 2020-01-24 大连理工大学 Integrated flexible experimental method for monocular pose measurement accuracy evaluation
CN108776980A (en) * 2018-05-14 2018-11-09 南京工程学院 A kind of scaling method towards lenticule light-field camera
CN108776980B (en) * 2018-05-14 2021-07-09 南京工程学院 Calibration method for micro-lens light field camera
CN108663043B (en) * 2018-05-16 2020-01-10 北京航空航天大学 Single-camera-assisted distributed POS main node and sub node relative pose measurement method
CN108663043A (en) * 2018-05-16 2018-10-16 北京航空航天大学 Distributed boss's POS node relative pose measurement method based on single camera auxiliary
CN109785394A (en) * 2018-12-31 2019-05-21 深圳积木易搭科技技术有限公司 A kind of camera and turntable combined calibrating method, device and storage medium
CN110136204A (en) * 2019-03-19 2019-08-16 浙江大学山东工业技术研究院 Sound film top dome assembly system based on the calibration of bilateral telecentric lens camera machine tool position
CN110136204B (en) * 2019-03-19 2021-08-03 浙江大学山东工业技术研究院 Sound film dome assembly system based on calibration of machine tool position of bilateral telecentric lens camera
CN110006368A (en) * 2019-05-20 2019-07-12 中山大学 A kind of the rope Different Deflection Angle Measurement and system of view-based access control model measurement
CN110428457A (en) * 2019-08-08 2019-11-08 苏州中科全象智能科技有限公司 A kind of point set affine transform algorithm in vision positioning
CN110428457B (en) * 2019-08-08 2022-02-22 苏州中科全象智能科技有限公司 Point set affine transformation algorithm in visual positioning
CN110455188A (en) * 2019-08-25 2019-11-15 大连理工大学 Single-axis translation platform and structure light 3 D sensor combined measurement scaling method
CN110440726A (en) * 2019-08-31 2019-11-12 大连理工大学 The bolt faying face coplanarity measuring method of twin shaft translation stage and structured light scanner
CN111197975A (en) * 2019-12-09 2020-05-26 中国资源卫星应用中心 Image attitude estimation method based on Rodrigues
CN110954067A (en) * 2019-12-28 2020-04-03 长安大学 Monocular vision excavator pose measurement system and method based on target
CN111981982B (en) * 2020-08-21 2021-07-06 北京航空航天大学 Multi-directional cooperative target optical measurement method based on weighted SFM algorithm
CN111981982A (en) * 2020-08-21 2020-11-24 北京航空航天大学 Multi-directional cooperative target optical measurement method based on weighted SFM algorithm
CN113658266A (en) * 2021-07-27 2021-11-16 中航西安飞机工业集团股份有限公司 Moving axis rotation angle visual measurement method based on fixed camera and single target
CN113658266B (en) * 2021-07-27 2023-10-20 中航西安飞机工业集团股份有限公司 Visual measurement method for rotation angle of moving shaft based on fixed camera and single target
CN113450398A (en) * 2021-08-31 2021-09-28 北京柏惠维康科技有限公司 Method, device, equipment and readable medium for matching marker in calibration object
CN113450398B (en) * 2021-08-31 2021-11-19 北京柏惠维康科技有限公司 Method, device, equipment and readable medium for matching marker in calibration object
CN114216395A (en) * 2021-12-14 2022-03-22 众致盛视智能科技(苏州)有限公司 Space rotation axis solving method based on calibration plate
CN114216395B (en) * 2021-12-14 2023-10-24 众致盛视智能科技(苏州)有限公司 Space rotation axis solving method based on calibration plate

Also Published As

Publication number Publication date
CN104374338B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN104374338A (en) Single-axis rotation angle vision measurement method based on fixed camera and single target
CN104376553A (en) Single-axis rotation angle vision measurement method based on movable camera and double targets
CN102930544B (en) Parameter calibration system of vehicle-mounted camera
CN108510551B (en) Method and system for calibrating camera parameters under long-distance large-field-of-view condition
Sankowski et al. Estimation of measurement uncertainty in stereo vision system
CN105486289B (en) A kind of laser photography measuring system and camera calibration method
Xu et al. A simple calibration method for structured light-based 3D profile measurement
CN103258328B (en) A kind of center of distortion localization method of wide visual field camera lens
CN102589530B (en) Method for measuring position and gesture of non-cooperative target based on fusion of two dimension camera and three dimension camera
Sun et al. Camera self-calibration with lens distortion
CN103353388B (en) A kind of binocular body formula micro imaging system scaling method of tool camera function and device
CN110095089B (en) Method and system for measuring rotation angle of aircraft
CN104019799A (en) Relative orientation method by using optimization of local parameter to calculate basis matrix
CN205333067U (en) Laser photogrammetric survey system
CN106204416B (en) Panoramic parking assist system and its wide angle picture adjustment method and device
Gao et al. Flexible method for structured light system calibration
CN112365545B (en) Calibration method of laser radar and visible light camera based on large-plane composite target
CN103900504A (en) Nano-scale real-time three-dimensional visual information feedback method
CN105787464B (en) A kind of viewpoint scaling method of a large amount of pictures in three-dimensional scenic
CN103886595A (en) Catadioptric camera self-calibration method based on generalized unified model
Huang et al. Vision pose estimation from planar dual circles in a single image
CN104504691A (en) Camera position and posture measuring method on basis of low-rank textures
CN103942784A (en) Method for solving parameters in parabolic catadioptric camera through three unparallel straight lines in checkerboard
Fu et al. Calibration of multiple fish‐eye cameras using a wand
CN104766083A (en) Method and device for obtaining human body clothes size

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant