Camera calibration system using planar concentric circles and method thereof

The invention relates to a camera calibration system and method thereof, which is capable of easily performing camera calibration using a concentric circle pattern. According to the invention, a method of calibrating a camera calibrates the internal parameters of the camera required to measure geometric information of an object using projection invariable characteristic of concentric circles. The method comprises a first step of taking images of the calibration pattern consisting of two or more concentric circles located at the same plane and having different radius at different angles to obtain projection images of ellipses, a second step of calculating the central point of the projected concentric circles using a given algorithm, and a third step of calculating the principal point and focal point of camera using a nonlinear minimization algorithm based on the central point thus obtained.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
TECHNICAL FIELD

[0001] The invention relates generally to a method of calibrating a camera for obtaining the camera parameters required when the camera is used to obtain geometric information. More particularly, the invention relates to a camera calibration system and method thereof, which use a concentric circle pattern as an artificial calibration pattern in the process of calibrating the camera and obtain camera parameters by analyzing two images of the concentric circle pattern taken at different angles.

BACKGROUND OF THE INVENTION

[0002] To obtain geometric information of an object using a camera, it is required to calibrate the camera by estimating parameters between the image information obtained from the camera and the actual geometric information of the object. FIG. 1 illustrates an image of a 3D artificial calibration object model in a conventional imethod of calibrating a camera using 3D calibration object and FIG. 2 is an image of a plane model in a conventional method of calibrating a camera using coordinates of points on a two-dimensional plane.

[0003] Conventional methods for calibrating a camera includes {circle over (1)} a calibration method using a 3D calibration object, {circle over (2)} self calibration method, {circle over (3)} a calibration method using coordinates of points on a two-dimensional plane.

[0004] First, a calibration method widely used so far is one to calibrate the camera using a 3D artificial calibration object, such as a rectangular parallelepiped calibration object, as shown in FIG. 1. As can been seen from FIG. 1, a photograph of the rectangular calibration object is taken to obtain a geometric relation of the rectangular parallelepiped object.

[0005] However, in the method of calibrating a camera using a 3D artificial calibration object, it is difficult to manufacture and maintain the calibration object of a rectangular parallelepiped. This is because the calibration object should have the characteristic of a normal rectangular parallelepiped in order to calculate the parameters of the camera from its image. In other words, it must be a rectangular parallelepiped in which three plane and twelve edges must maintain a right angle with respect to a vertex. Otherwise, exact calculation of the camera parameter becomes difficult and the reliability of calibration is degraded accordingly.

[0006] Second, the self calibration method is one to calculate the parameters of the camera using only information of each of corresponding points from several sheets of images. Although this self calibration method can be widely applied without the limitation of using an artificial calibration object, it is difficult to exactly define the corresponding points. Due to this, this method has problems that the process of finding a solution is very complicated and it is also difficult to find a correct solution.

[0007] Third, as shown in FIG. 2, the method of calibrating the coordinates of the points on a plane is relates to the calibration method using artificial calibration object and the self calibration method. As shown in FIG. 2, this method estimates the parameters of the camera by taking several images of the plane pattern to exactly find the coordinates of the points on a plane and the coordinates of the corresponding points on a corresponding image plane.

[0008] For this method of using the coordinates of the points on a plane, one can manufacture and maintain a 2D plane pattern easier than the method of using a 3D artificial calibration object. However, this method is very complicated since it must use a plurality of calibration points of the images of a plane and compare them to each other.

SUMMARY OF THE INVENTION

[0009] It is therefore an object of the present invention to provide a system for calibrating internal parameters using projection invariable characteristics of a concentric circle and a method thereof, which is able to use a plane pattern and increase the reliability of calibration, and calculate parameters of a camera without identifying the corresponding points.

[0010] In order to accomplish the above object, a method of calibrating a camera by calculating camera parameters required to obtain geometric information of an object using projective invariant characteristic of a concentric circle is characterized in that it comprises the steps of; a) taking a plurality of images of a calibration pattern consisting of two or more concentric circles located at a same plane and having different radiuses at different angles to obtain images of ellipses as a result of the projection of said concentric circles; b) calculating the central points of the projected concentric circles using a given algorithm; and c) calculating the principal point and focal length of said camera for tracing the location of a circle in a 3D space using a nonlinear minimizing method based on the central points calculated in said step b).

[0011] Also, a system for calibrating internal parameters of a camera for calibrating parameters between an actual object and images of the object is characterized in that it comprises a camera; a calibration pattern located on a same plane and consisting of two or more concentric circles having different radiuses, the image of which is taken by said camera; and a controller for calculating a straight line connecting the central points of the images of ellipses obtained by projecting said calibration pattern of concentric circles to said camera at a given angle, and finding crossing points of said straight line and said projected ellipses to obtain the central point coordinate of the concentric circle using a cross ratio (Cr), and tracing the location of the circle in a 3D space based on the coordinate of the central point of the concentric circle to calculate a principal point and focal length of the camera.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The aforementioned aspects and other features of the present invention will be explained in the following description, taken in conjunction with the accompanying drawings, wherein:

[0013] FIG. 1 illustrates an image of a 3D artificial calibration object model taken in a conventional method of calibrating a camera using a 3D calibration object;

[0014] FIG. 2 is an image of a plane model taken in a conventional method of calibrating a camera using coordinates of points on a two-dimensional plane;

[0015] FIG. 3 is a conceptual view showing that images of a concentric circle pattern is taken at different angles in a method of calibrating camera parameters using a concentric circle pattern according to one embodiment of the present invention;

[0016] FIG. 4a illustrates two images showing a concentric circle taken at different angles in FIG. 3, and

[0017] FIG. 4b illustrates images where boundary lines are extracted from the ellipses in FIG. 4a;

[0018] FIG. 5 is an image showing the central points of the ellipses in FIG. 4b;

[0019] FIG. 6 is an image showing a straight line connecting the central points of the ellipses in FIG. 5; and

[0020] FIG. 7 illustrates a position relation of the points on the straight line in FIG. 6.

DETAILED DESCRIPTION OF THE INVENTION

[0021] The present invention will be described in detail by way of a preferred embodiment with reference to accompanying drawings, in which like reference numerals are used to identify the same or similar parts.

[0022] FIG. 3 is a conceptual view showing that images of a concentric circle pattern is taken at different angles in a method of calibrating camera parameters using a concentric circle pattern according to one embodiment of the present invention; FIG. 4a illustrates two images showing a concentric circle taken at different angles in FIG. 3, and FIG. 4b illustrates images where boundary lines are extracted from the ellipses in FIG. 4a; FIG. 5 is an image showing the central points of the ellipses in FIG. 4b; FIG. 6 is an image showing a straight line connecting the central points of the ellipses in FIG. 5; and FIG. 7 illustrates a position relation of the points on the straight line in FIG. 6.

[0023] As shown in FIG. 3, a concentric circle located in a 3D space has the following geometric conditions.

[0024] 1) Two circles are located at the same coordinate, 2) two circles are located at the same plane, 3) the radiuses of two circles are different. An image of the concentric circle having this geometric structure is taken using a camera.

[0025] Meanwhile, a concentric circle consisting of a circle having a smaller radius and a circle having a larger radius including the smaller circle has the same normal vector and a vertical distance according to above condition 2).

[0026] Two images of this concentric circle pattern are taken by one camera at different angles to obtain two sheets of image information. A concentric circle projected at a given angle has a shape of an ellipse, as shown in FIG. 4a to FIG. 5. Generally, the central points of two ellipses do not match. This is because two ellipses obtained by projecting concentric circles at different angles have different shapes according to the angle of projection. The slant of the straight line including the central points of the two ellipses varies depending on the projection angle of the camera. Meanwhile, in the drawings, the central point of an ellipse is a middle point of the straight line connecting two focuses, that is, the point at which the long axis and short axis of the ellipse meet.

[0027] Meanwhile, as mentioned above, the straight line connecting the central points of the ellipses projected from a 3D concentric circle can be represented by the following Equation 1.

[0028] First, a projection transformation (T) into a homogenous coordinate system widely used in image processing and projection geometry can be represented into a projection matrix as Equation 1. 1 T = [   ⁢ p 11 p 12 p 13 p 14 p 21 p 22 p 23 p 24 p 31 p 32 p 33 p 34 ⁢   ] [ Equation ⁢   ⁢ 1 ]

[0029] According to invariable characteristic of a circle which is a trace of points located at a constant distance (radius) from a central point, two concentric circles satisfying the above geometric condition can be represented by following Equation 2.

(X−x0)2+(Y−y0)2=r2, Z=0  [Equation 2]

[0030] where, x0 and y0 are the central point coordinates of the circle, r is the radius of the circle and Z is a value of the vertical axis with respect to the plane.

[0031] At this time, using the condition Z=0, a general projection equation is converted into a two-dimentional transformation (II) between an image plane and a plane where Z=0 as in Equation 3. 2 [ s ⁢   ⁢ x s ⁢   ⁢ y s ] = [   ⁢ p 11 p 12 p 13 p 14 p 21 p 22 p 23 p 24 p 31 p 32 p 33 p 34 ⁢   ] ⁡ [ X Y 0 1 ] = [   ⁢ p 11 p 12 p 14 p 21 p 22 p 24 p 31 p 32 p 34 ⁢   ] ⁡ [ X Y 1 ] [ Equation ⁢   ⁢ 3 ]

[0032] where, X,Y indicate actual 3D coordinates in projection geometry theory, x, y indicate coordinates in the projected image, s is a scale factor, and p is a value of the projection transformation matrix.

[0033] Also, rearranging Equation 3 in order to obtain an equation of the projected circle Equation 4 is obtained. 3 s ⁡ [ X Y 1 ] = [   ⁢ p 11 p 12 p 14 p 21 p 22 p 24 p 31 p 32 p 34 ⁢   ] - 1 ⁡ [ x y 1 ] = [   ⁢ α 11 α 12 α 13 α 21 α 22 α 23 α 31 α 32 α 33 ⁢   ] ⁡ [ x y 1 ] [ Equation ⁢   ⁢ 4 ]

[0034] Considering the homogeneous characteristic of the coordinate system in Equation 4, multiplying terms of Equation 4 are deleted and Equation 2 is substituted to obtain the following Equation 5. 4 ( α 11 ⁢ x + α 12 ⁢ y + α 13 α 31 ⁢ x + α 32 ⁢ y + α 33 - x 0 ) 2 + ( α 21 ⁢ x + α 22 ⁢ y + α 23 α 31 ⁢ x + α 32 ⁢ y + α 33 - y 0 ) 2 = r 2 [ Equation ⁢   ⁢ 5 ]

[0035] Meanwhile, Equation 5 may be rearranged to obtain an equation of an ellipse. Then, the coordinate of the central point of the projected ellipse can be obtained by following Equation 6. 5 ( X ′ , Y ′ ) = ( C ′ + r 2 ⁢ D ′ A ′ + r 2 ⁢ B ′ , E ′ + r 2 ⁢ F ′ A ′ + r 2 ⁢ B ′ ) [ Equation ⁢   ⁢ 6 ]

[0036] Where, A′, B′, C′, D′, E′ and F′ consist of a combinations of factors &agr;ij in Equation 5 and r is a radius constant of the circle.

[0037] As can be seen from Equation 6, A′, B′, C′, D′, E′ and F′ are independent from r.

[0038] A straight line connecting the central points of the ellipses is defined as Equation 7 using the coordinates of the central points of the ellipses calculated by Equation 6.

(B′E′−A′F′)X′+(A′D′−B′C′)Y′+(D′E′+F′C′)=0  [Equation 7]

[0039] Equation 7 is an equation of the straight line including only constant coefficients with respect to r. This means that the central points of the ellipses obtained as a result of the projection is located on the straight line defined independently from the radius of the circle, where X′, Y′ are coordinates of the centers of the ellipses. As the center of the projected concentric circle is same to the center of the ellipses when r=0 in Equation 2, the center of the circle is also located on the straight line defined by Equation 7.

[0040] From the relation that the central points of the projected ellipses are located on one straight line, an algorithm to find the coordinate of the central point of the circle will be now described in detail.

[0041] It is defined that the crossing points of the projected internal ellipse and the straight line are A, B, the crossing points of the external ellipse the straight line are A′, B′, the central point of the circle is O and a given point separated infinitely on the straight line is M∞. Location of these points can be found in FIG. 6 and FIG. 7 and this positional relation is same in 3D and 2D spaces.

[0042] Meanwhile, a given point infinitely separated from the center of the circle O on the straight line is a point virtually set and is frequently used in projection theory. This point is typically used because it is easy to serve as the boundary value of a condition and it has a characteristic limiting the cross ratio.

[0043] Therefore, a cross ratio Cr (A, O, B and M.) and Cr (A′, O, B′ and M∞) are same, which is calculated in the same manner in a 3D space by Equation 8. 6 Cr ⁡ ( A , O , B , M ∞ ) = BAM ∞ ⁢ O _ BOM ∞ ⁢ A _ = 2 ⁢ ⁢ Cr ⁡ ( A ′ , O , B ′ , M ∞ ) = B ′ ⁢ A ′ ⁢ M ∞ ⁢ O _ B ′ ⁢ OM ∞ ⁢ A ′ _ = 2 [ Equation ⁢   ⁢ 8 ]

[0044] Where, the points that can be found in the image are A, B, A′ and B′, and Equation 8 has two variables of points O and Mo. These two points are commonly used in the two Equations of Cr (A, O, B and M.) and Cr (A′, O, B and M∞). Therefore, two variables and two equations can be obtained. As a result, the coordinate of point O can be obtained by solving the two Equations.

[0045] All the items of below Equation 9 can be found from thus obtained coordinate of the central point of the circle. Also, calibration is performed by finding internal parameters u0, v0 and f which minimize the value of Equation 9. Calibration of the internal parameters uses below Equation 9. 7 F ⁡ ( u 0 , v 0 , f ) = α ⁡ ( n 1 _ - n 2 _ ) 2 + β ⁡ ( n 3 _ - n 4 _ ) 2 + γ ⁡ ( d 1 - d 2 ) 2 + λ ⁡ ( d 3 - d 4 ) 2 + ρ 1 ⁢ ∑ &LeftBracketingBar; R C 1 ⁡ ( n 1 , d 1 ) - R 1 &RightBracketingBar; + ρ 2 ⁢ ∑ &LeftBracketingBar; R C 2 ⁡ ( n 2 , d 2 ) - R 2 &RightBracketingBar; + ρ 3 ⁢ ∑ &LeftBracketingBar; R C 3 ⁡ ( n 3 , d 3 ) - R 3 &RightBracketingBar; + ρ 4 ⁢ ∑ &LeftBracketingBar; R C 4 ⁡ ( n 4 , d 4 ) - R 4 &RightBracketingBar; [ Equation ⁢   ⁢ 9 ]

[0046] In Equation 9, u0, v0 and f, respectively indicate a principal point and a focal length of the camera. The first two items (&agr;({overscore (n)}1{overscore (n)}2)+&bgr;({overscore (n)}3−{overscore (n)}4)) indicate that two concentric circles have the same normal vector and next two items (&ggr;(d1−d2)+&lgr;(d3−d4)) indicate that two concentric circles are located on the plane having the same distance. In addition, next fcur items (&rgr;1&Sgr;|RCl(nl,dl)−Rl|+&rgr;2&Sgr;|RCl(n2,d2)−R2|+&rgr;3&Sgr;|RCll(n3,d3)−R3|+&rgr;4&Sgr;|RCll(n4,d4)−R4|) indicate that a radius obtained from given internal parameters is same as the actual radius.

EXPERIMENTAL EXAMPLE

[0047] A concentric circle is drawn on the plane so that the central points of two circles having a radius of 40 mm and 80 mm, respectively are located at one point. Also, as shown in FIG. 4a and FIG. 4b, images of the circle is taken at two different angles to obtain two images. At this time, a XC-003 camera manufactured by SONY and with focal radius of 8 mm was used.

[0048] After obtaining two projection images (containing the boundary lines), a calibration value as shown in Table 1 is obtained by means of a camera calibration method using the concentric circle pattern according to the present invention. 1 TABLE 1 Class uO vO &agr;u &agr;v Comparative example 306.70 240.44 1104.2 1112.5 (Z. Zhang) Embodiment of the 309.37 246.01 1104.7 1110.7 present invention

[0049] The comparative example (Z.Zhang) in Table 1 shows the calibrated values according to the camera calibration method taught in an article Z. Zhang, “Flexible Camera Calibration by Viewing a Plane From Unknown Orientations”, In Proc. 7th International Conference Computer Vision, Corfu, Greece, pp.666-673, September 1999. Table 1 shows that the calibration value calculated using a concentric circle pattern is similar to the calibration value in the comparative example of Z. Zhang.

[0050] As mentioned above, the method of calibrating internal parameters of a camera using a concentric circle pattern according to the present invention provides the calibration parameters of the camera from images of a 2D concentric circle taken from different angles. Thus, the present invention has an advantage that a concentric circle pattern which is easy to manufacture and maintain.

[0051] Also, the method of calibrating internal parameters of a camera using a concentric circle pattern according to the present invention calculates camera calibration parameters using a plurality of Equations. Therefore, the present invention has an advantage that it can easily calibrate a camera by calculating the calibration parameters.

[0052] The present invention has been described with reference to a particular embodiment in connection with a particular application. Those having ordinary skill in the art and access to the teachings of the present invention will recognize additional modifications and applications within the scope thereof. It is therefore intended by the appended claims to cover any and all such applications, modifications, and embodiments within the scope of the present invention.

Claims

1. A method of calibrating a camera by calculating camera parameters required to obtain geometric information of an object using projection invariable characteristic of a concentric circle comprising the steps of;

a) taking a plurality of images of a calibration pattern consisting of two or more concentric circles located at a same plane and having different radiuses at different angles to obtain images of ellipses as a result of the projection of said concentric circles;
b) calculating the central points of the projected concentric circles using a given algorithm; and
c) calculating the principal point and focal length of said camera for tracing the location of a circle in a 3D space using a nonlinear minimizing method based on the central points calculated in said step b).

2. The method of calibrating a camera according to claim 1, wherein said concentric circle includes two circles and said step b) includes the steps of:

d) calculating the central points of the two ellipses to obtain a straight line passing through said central points;
e) calculating crossing points of said straight line and said two ellipses; and
f) calculating the coordinate of the central point of said concentric circle using a cross ratio depending on the central point (0) of the concentric circle, a given point (M∞) infinitely separated from the central point of the concentric circle on the straight line passing through the central points of the ellipses, and the crossing points of the straight line and the ellipses.

3. The method of calibrating a camera according to claim 2, wherein said step d) calculates the straight line passing through the centers of the ellipses by Equation 1:

(B′E′−A′F′)X′+(A′D′−B′C′)Y′+(D′E′+F′C′)=0  (1)
(where A′, B′, C′, D′, E′ and F′ are constants with respect to the radius of the circle and, X′,Y′ are the coordinates of the ellipse center)

4. The method of calibrating a camera according to claim 3, wherein said step f) calculates the coordinate of the center of the circle by Equation 2:

8 Cr ⁡ ( A, O, B, M ∞ ) = BAM ∞ ⁢ O _ BOM ∞ ⁢ A _ = 2 ⁢ ⁢ Cr ⁡ ( A ′, O, B ′, M ∞ ) = B ′ ⁢ A ′ ⁢ M ∞ ⁢ O _ B ′ ⁢ OM ∞ ⁢ A ′ _ = 2 ( 2 )
where A,B are the coordinates of crossing points of an ellipse generated by projection of smaller circle and the straight line, and A′,B′ are the coordinates of crossing points of an ellipse generated by projection of an external circle surrounding the smaller circle and the straight line)

5. The method of calibrating a camera according to claim 3, wherein said step c) includes the steps of:

g) assuming that the central point and a approximate focal length obtained in said step b) as a principal point focal length;
h) estimating the location of the circle in a 3D space using said principle point and focal length; and
i) repeating said steps g) and h) using a given nonlinear minimization algorithm using a normal vector of said concentric circle, a vertical distance from an original point and the radius of the concentric circle based on the location of the circle obtained in said step h), so that below Equation 3 is minimized.
F(u0,&ngr;0,f)=
&agr;({overscore (n)}1−{overscore (n)}2)2+&bgr;({overscore (n)}3−{overscore (n)}4)2+&ggr;(d1−d2)2+&lgr;(d3−d4)2+&rgr;1&Sgr;|RC1(n1,d1)−R1|+&rgr;2&Sgr;|RC2(n2,d2)−R2|+&rgr;3&Sgr;|RC1(n3,d3)−R3|+&rgr;4&rgr;4&Sgr;|RC4(n4,d4)−R4|  (3)
where u0, v0 and f indicate a principle point and a focal length of the camera, the first two items in Equation 3 indicate that two concentric circles have the same normal vector, next two items in Equation 3 indicate that two concentric circles are located on a plane having the same length, and next four items indicate that a radius obtained from given internal parameters is same as the actual radius.

6. A system for calibrating internal parameters of a camera for calibrating parameters between an actual object and images of the object, comprising;

a camera;
a calibration pattern located on a same plane and consisting of two or more concentric circles having different radiuses, the image of which is taken by said camera; and
a controller for calculating a straight line connecting the central points of the images of ellipses obtained by projecting said calibration pattern of concentric circles to said camera at a given angle, and finding crossing points of said straight line and said projected ellipses to obtain the central point coordinate of the concentric circle using a cross ratio (Cr), and tracing the location of the circle in a 3D space based on the coordinate of the central point of the concentric circle to calculate a principal point and focal length of the camera.

7. The system for calibrating internal parameters of a camera according to claim 6, wherein said principal point and focal length are obtained using a given nonlinear minimization algorithm so that below Equation 3 is minimized.

F(u0,&ngr;0,f)=
&agr;({overscore (n)}1−{overscore (n)}2)2+&bgr;({overscore (n)}3−{overscore (n)}4)2+&ggr;(d1−d2)2+&lgr;(d3−d4)2+&rgr;1&Sgr;|RC1(n1,d1)−R1|+&rgr;2&Sgr;|RC2(n2,d2)−R2|+&rgr;3&Sgr;|RC1(n3,d3)−R3|+&rgr;4&rgr;4&Sgr;|RC4(n4,d4)−R4|  (3)
where u0, v0 and f indicate a principle point and a focal length of the camera, the first two items in Equation 3 indicate that two concentric circles have the same normal vector, next two items in Equation 3 indicate that two concentric circles are located on a plane having the same length, and next four items indicate that a radius obtained from given internal parameters is same as the actual radius.

8. The system for calibrating internal parameters of a camera according to claim 6, wherein said camera is a CCD camera.

Patent History
Publication number: 20020186897
Type: Application
Filed: Jul 31, 2001
Publication Date: Dec 12, 2002
Applicant: Korea Advanced Institute of Science and Technology
Inventors: Jun-Sik Kim (Seoul), In-So Kweon (Daejeon)
Application Number: 09919086
Classifications