Professional Documents
Culture Documents
SPIEDigitalLibrary.org/conference-proceedings-of-spie
Dong He, Xiaoli Liu, Yongkai Yin, Ameng Li, Xiang Peng, "Correction of
circular center deviation in perspective projection," Proc. SPIE 8499,
Applications of Digital Image Processing XXXV, 84991V (15 October 2012);
doi: 10.1117/12.928171
ABSTRACT
Circular targets are widely used in machine vision. The localization of circle center plays a crucial role in machine vision
applications. In the process of camera imaging, the circles change to the ellipses in the image plane of camera because of
perspective transformation. The center of ellipse usually does not coincide with the projected center of the circle, leading
to a deviation of circle center. Based on perspective transformation and analytic geometry we present a new approach, in
which the concentric circular targets are adopted and the true projective position of the circular target can be determined
accurately. Both simulation and experiment results show that the proposed method is valid and robust. The true positions
of the circular centers can be localized by proposed method without the center deviations.
Keywords: Locating of circle center, circle center deviation, perspective projection, image processing, machine vision
1. INTRODUCTION
Circular targets are widely used in the binocular stereo vision and 3D optical measurement [1] [2]. It often needs to
accurately obtain the true projective position of the circular centre. But in practice, the projection circular centre in image
plane is replaced with the centre of ellipse which is the image of the circular targets. But the camera imaging process is
the perspective projection transformation; the centre of circular target image (usually an ellipse) and the centre of
projection of circular target commonly are not overlapped [3], as shown in Figure 1. Simply, through the camera
perspective projection transformation the circular target becomes the ellipse in image plane, but the centre of the ellipse
and the projection of the circular center in the image plane dose not overlap. The difference named eccentricity errors
will bring system error.
b\
ipbzs
I,r.oloqroa o
CiC1s1 CsulcL
Crwn¡sr
oL gprbzs
OAlsct b1giR
xpeng@szu.edu.cn; phone 86 755 26538548; fax 86 755 26538580
Applications of Digital Image Processing XXXV, edited by Andrew G. Tescher, Proc. of SPIE
Vol. 8499, 84991V · © 2012 SPIE · CCC code: 0277-786/12/$18 · doi: 10.1117/12.928171
2. ERROR FORMULA
To analyze the eccentricity error in image plane, comparing with Ahn’s model, similar but simpler coordinate systems of
the perspective transformation is adopting in this paper. In the coordinate systems the circular target is set on the plane
YwZw_O, the position of its centre is C(xp, 0, 0). Both the origin Oc of camera coordinate system and origin H of image
coordinate are in the plane YwZw_O, and the distance between them is marked as d. u’ axis and v’ axis of image
coordinate are separately parallel with xc axis and yc of camera coordinate system. As shown in Figure 2.
Zit(Np)
A
Y
Object Plan
(XwYw O)
xc 1 0 0 X w x
yc 0 cos sin * Yw y (1)
z 0 sin cos Z w z
c
In Formula (1), the point Oc ( x , y , z ) is the origin of the camera coordinate. Inserting the origin
Oc ( x , y , z ) (0,d * sin , d * cos ) and the center of circular target C(xp, 0, 0) into Formula (1), in the camera
coordinate system, the projected image point of the circle centre can be expressed as:
vc ' c tan( )
Step.2 Seek the center of ellipse in image plane.
By Formula (2), the transformation from camera coordinate to world coordinate is:
X w 1 0 0 xc x
Yw 0 cos sin * yc y (5)
Z 0 sin cos z z
w c
In order to get the elliptic equation in image plane, the pin-hole camera constraints as Formula (2) and the plane Z w 0
where the circular target locates are inserted into Formula (5). The relation between the world coordinate and the image
coordinate can be got:
u cos
x d
v sin c cos
v cos( ) c sin( )
y d (6)
v sin c cos
z0
Once inserting the above Formula (6) into the circle equation ( x x p ) 2 y 2 r 2 , the circle equation will transform into
the ellipse equation, as following:
u cos v cos( ) c sin( ) 2
(d x p ) 2 (d ) r2
v sin c cos v sin c cos
The coordinates of the above ellipse centre marked as B is:
cx p d cos( )
uB
d cos 2 ( ) r 2 sin 2
2
(7)
d 2 sin( ) cos( ) r 2 sin cos
vB
d 2 cos 2 ( ) r 2 sin 2
The eccentricity errors in image plane are the coordinate differences between the projected image point of the circle
centre and the ellipse center. So that, by the Formula (4) and Formula (7), the eccentricity errors can be expressed:
Perspective
ransformatio
u B1 uC K u r1 , vB1 vC K v r1
2 2
(10)
u B 2 uC K u r2 , vB 2 vC K v r2
2 2
In the above equations, the image coordinates of two ellipse centers (u B1, vB1), (uB2, vB2) automatically are determined by
adopting digital image processing. Radiuses of two circles r1, r2 are known. Now we have four equations with four
unknowns. The unknowns Ku, Kv. are not useful in the current paper. Solve the set of equations, the projected image
point (u c, vc) of the center of concentric circles is:
By the Formula (11), the novel correction algorithm is summarized below. Firstly set the concentric circles with two
known radius r1, r2. After shooting, they become two ellipses with difference center in image plane. Secondly, by digital
image processing, the two ellipses centers (u B1, vB1), (uB2, vB2)can be determined. Lastly, by the Formula (11), adopting the
linear combination of ellipse centers (u B1, vB1), (uB2, vB2), the image coordinates of the projected of the concentric circles
centers will be got.
4. SIMULATION ANALYSIS
To validate the proposed correction method is effective and robust, we made the following simulation: firstly, generate
the concentric circles with known radius and position of the center, after the simulate camera projection transformation
they become two difference size ellipses and their centers are not coincidence. In order to get the real simulation results,
random noise was added to the ellipses in the simulate image plane, as Figure 4 shows. Through the digital image
processing method, the two ellipse centers will be gotten, after that, use the proposed correction algorithm to correct the
error. At the same time, through projection transformation, get the ideal projected image circle center. Lastly, compare
the corrected centre with the ideal centre.
Figure 4 the left is the simulate concentric circles, the right is the simulate image of concentric circles with -40dB noise
To complete the numerical simulation, some geometrical parameters must be chosen. In this way, assume that the
simulation parameters are as follows. Set the concentric circles center in the world coordinate (100, 0, 0), the bigger
circle’s radius changes from 10mm to 60mm, the smaller circle’s radius is the half of the bigger. The camera resolution
is 1280*1024, and focal distance c is 12mm, the shoot angle is 45(degree), and the distance between the camera
coordinate system origin and world coordinate system origin is 800mm. In practical terms, the SNR of camera is greater
than 42dB, in the simulation, maximum noise intensity added to the simulate image is -40dB. (If the signal intensity is
considered as 1, the noise of -40dB is random noise with a standard deviation of 0.0001. For the other noise intensities
are as above.) .
For each group of the simulation image with different noise intensity, repeated 20 times experiment, by simple statistical
analysis, the eccentricity errors of bigger and smaller ellipses can be obtained. The obtained error after correction is the
difference between the correction results and the ideal projection centre. Experiment results are given in Table1.
If the paper does not have the margins shown in Table 1, it will not upload properly.
6. CONCLUSION
This paper has analyzed the relation the eccentricity error which generated by perspective projection transformation and
the circle target radius. We proposed a linear correction method with the concentric circles. The simulation analysis and
real image experiments have proved the method is useful and robust. The proposed approach has potential in the areas of
the camera calibration and the registration of multiple range images.
REFERENCES
[1] Ahn, S.J., Rauh, W. and Recknagel, M., “Circular coded landmark for optical 3D-measurement and robot
vision,” Proceedings of the 1999 IEEE/RSJ International Conference on Intelligent Robots and Systems, 1128-
1133(1999).
[2] Jun-Sik Kim, Pierre Gurdjos and In-So Kweon, "Geometric and algebraic constraints of projected concentric
circles and their application to camera calibration," IEEE Trans. Pattern Analysis and Machine Intelligence.
Papers 27(4) , 637-642(2005)
[3] Y Yin, X Liu, A Li, C Zhang, D He, X Peng, “Center location error correction of circular targets,” Proc. SPIE
7798, 241-247 (2010).
[4] J. Heikkilä, O. Silvén, “A Four-step Camera Calibration Procedure with Implicit Image Correction,” IEEE
Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'97) , 485-502 (1997).
[5] Ahn, S.J., H.-J. Warnecke, “Systematic geometric image measurement errors of circular object targets:
Mathematical formulation and correction,” Photogrammetric Record. Papers 16(93), 485-502(1999).
[6] Guangjun Zhang and Zhenzhong Wei, “A position-distortion model of ellipse centre for perspective projection,”
Meas. Sci. Technol. Papers14, 1420–1426 (2003)