Beruflich Dokumente
Kultur Dokumente
(u0 , v0 )
Z m
vu = vd + vd ( a1rd2 + a2 rd4 ) + b2 (rd2 + 2vd2 )
(6)
+ 2b1ud vd
Y u
M where, ud = u u0 , vd = v v0 are image points with distortion,
359
Figure 2. Coordinate system
xd = xu xu (k1 ru2 +k 2 ru4 + k3 ru6 ) 2 p1 xu yu
(13)
shown in Figure 2. ( u0 , v0 ) is the central coordinate of the p2 (ru2 + 2 xu2 )
image. The image point m ( u , v ) is counterpart with a space
point M (X, Y, Z), while ( x , y , z ) is the coordinate of M point y d = y u y u ( k1ru2 +k 2 ru4 + k3 ru6 ) 2 p2 xu yu
(14)
in camera coordinate system, then according to the pinhole p1 (ru2 + 2 y u2 )
model, the relationship between the image point and the point
where, ( xu , y u ) is the point without distortion, ( xd , y d )
in camera coordinate system is as follows:
2 2
distorted point, ru = x +y u u , k1 ,k 2 and k 3 are radial
x
u = f x + u0 (7)
z distortion parameters, p1 ,p 2 are tangential distortion
y parameters. k 3 =0 is generally set, and it is only considered in
v = f y + v0 (8)
z
the correction of fish-eye camera.
The relationship between the image point and the point in
word coordinate system is: From the above, camera parameters in computer vision
includes five internal parameters ( f x , f y , u0 , v0 , s ) , six external
f f parameters ( l1 , l2 , l3 , t1 , t2 , t3 ) and five distortion
dx s dx u0 X X
u Y Y parameters ( k1 , k2 , k3 , p1 , p2 ) .
v = 1 0 f 1
v0 R | t = K R | t (9)
dy Z Z
1 IV. ANALYSIS RESULTS
0 0 1 1 1
According to the analysis of camera calibration models in
two fields, there are main two differences: The definition of
where s is the nonorthogonality distortion coefficient of CCD
the external parameters and the style of distortion model. For
array, is the deep factor, K is called the camera internal
the field of photogrammetry, the distortion model is proposed
parameters matrix, R and t are the camera external
by Brown in 1971, and it is corrected for origin image point.
parameters, where R is the rotation matrix which is indicated For the case of OpenCV, the approximate inverse model of
by Rodrigues formula, and the corresponding rotation vector is
Brown model proposed by Heikkila in 2000 is used, and it is
I [10].
corrected for the unitary image point. For Brown model, the
un-distortion image is denoted by distortion image point, but it
sin( ) 1 cos( ) need recover the origin distortion image from un-distortion
R ( , I) = I + [I] + 2
[I]
(10)
2 image when corrected, which need to recursion iterative to
solve, while the inverse model can be solved directly. In
where, [I] is the antisymmetry matrix of I, and = I is
general, the nonlinear model can be approximately as linear
model when the coefficient is small, thus, the non-analytical
the rotation angle and I= I I is the rotation axis.
inverse model proposed by Heikkila is better.
However, the above camera model is ideal and there is For the convenience of comparison, Eq. (5) and Eq. (6) can
distortion in the real lens, generally including radial distortion be described by inverse model [11] as
and tangential distortion. So, the unitary coordinate value in
camera coordinate system can be given as: ud = uu uu (a1ru + a2 ru2 ) b1 (ru + 2uu2 ) 2b2uu vu
(15)
u u0 uu vu
xd = (11)
fx
v v0 vd = vu vu (a1ru + a2 ru2 ) b2 (ru + 2uu2 ) 2b1uu vu (16)
y d = (12)
fx Then compare the two image coordinate systems from
So, there are the following equations according to the inverse Figure 1 and Figure 2, we have
non-analytical Brown Model [11]:
u = u , v = h v (17)
360
u0 = u0 , v0 = h v0 (18)
Compare (25)-(26) with (13)-(14), it can be given as
where h is the height of the image, and according to the k1 = f 2 a1 , (27)
definition in Section II, we have
k2 = f 4 a2 , (28)
ud = u u0 = u u0 , (19)
p1 = fb2 , (29)
vd = v v0 = (v v0 ) (20)
p2 = fb1 (30)
Take (19)-(20) into (11)-(12), then, In addition, we assume f x = f y = f in photogrammetry, and
ud = fxd , (21)
if f x f y , it can be corrected by parameter as,
vd = fyd (22)
xd = xu xu ( f 2 a1ru + f 4 a2 ru2 ) fb1 ( ru + 2 xu2 ) relationship, in this paper, we use OpenCV function for the
(25) spatial point location experiment and use two 5DmarkII
2 fb2 xu yu xu yu
cameras which resolution are 5616*3744, and the lens are
fixed-foci of 24mm. In the experiments, the cameras are fixed
y d = yu yu ( f 2 a1ru + f 4 a2 ru2 ) + fb2 (ru + 2 y u2 ) on a bracket and the relative position is fixed, and the result
(26)
2 fb1 xu yu can be given as TAB. II
R( y , )
Photogrammetric f 2 a1
Survey
f (u0, v0) R ( x, ) t fb2 , fb1
f 4 a2
R( z, )
Xs
fx = f (u0 , h v0 )
Computer Vision R( , I ) R Ys k1 , k2 p1 , p2 --- s
f y = f (1 + )
Z s
361
The corresponding OpenCV parameter values are given in TAB. III:
Measure the edge length of the spatial checkerboard by [5] P. F. Sturm, S. J. Maybank, On Plane-Based Camera
using the above camera calibration data, and the actual is size Calibration: A General Algorithm, Singularities, Applications.
30 h 30mm. Take eight section distance as an example, we IEEE Conference on Computer Society Conference on Computer
have Vision and Pattern Recognition (CVPR'99), vol. 1, pp.1432-
1437,1999.
TABLE IV. DISTANCE RESULTS (mm)
[6] M. Kimura, M. Mochimaru, T. Kanade, Projector Calibration
name D1 D2 D3 D4 D5 D6 D7 D8
Calculat 30.0 30.1 29.8 30.4 29.7 29.9 30.4 30.2 using Arbitrary Planes and Calibrated Camera, IEEE
ion value 5 4 8 5 6 1 3 5 Conference on Computer Vision and Pattern Recognition, 2007.
CVPR '07. 17-22 June 2007, pp.1-2
Seen from the above TABLE, the precision is less than
[7] T. Ueshiba, F. Tomita, Plane-based Calibration Algorithm for
0.5mm, so the proposed approach is effective.
Multi-camera Systems via Factorization of Homography
Matrices, Proceedings of the Ninth IEEE International
V. ACKOWLEDGMENTS
Conference on Computer Vision (ICCV 2003) ,vol. 2, pp.966-
The authors would like to thank the support from NSF 973
Grant (61105032, 60804034), the Nature Science Foundation [8] W. H. Feng, Close Range Photogrammetry. Wuhan University
of Shandong Province (ZR2009GQ006), SDUST Research Press, 2002.
Fund (2010KYJQ105), and the Project of Shandong Province >@D. C. Brown. Close-Range Camera. Calibration.Photometric
Higher Educational Science, Technology Program (J11LG53). Engineering. vol. 37. no. 8, pp. 855-866, 1971.
[10] F. C. Wu, Z. H. Wang and Z. H. Hu, Cayley transformation
and numerical stability of calibration equations, International
REFERENCES Journal of Computer Vision, vol. 82, no. 4, pp. 156-184, 2009.
[11]J. Heikkila. Geometric camera calibration using circular control
[1] Y. Abdel-Aziz, H. M. Karara, Direct linear transformation from
points,In IEEE Transactions on Pat tern Analysis and Machine
comparator coordinates into object space coordinates into object
Intelligence, vol. 22, no. 10, pp. 1066-1077, 2000
space coordinates in close range photo grammetry, Proceedings
of the ASP Symposium on Close-range Photogrammetry,
Urbana, IL, USA, 1971, pp. 420-75.
[2] Z. Zhang, A flexible new technique for camera calibration,
IEEE Transactions on Pattern Analysis and Machine Intelligence,
vol. 22, no. 11, pp. 1330- 1334, 2000.
[3]Z. Y. Zhang, Camera Calibration with One-Dimensional
Objects, Proc. European Conf. Computer Vision, vol. 4, pp. 161-
174, May 2002.
[4] S. D. Ma, A self-calibration technique for active vision systems,
IEEE Trans. Robot. Automat., vol. 12, pp. 114-120, Feb. 1996.
362