Xi'an Technological University
Subject: Computer Science , Software Engineering
eISSN: 2470-8038
SEARCH WITHIN CONTENT
Ruixia Wu ^{*} / Baolong Liu ^{*} / Huimin Yao
Keywords : Calibration Target, Internal Reference, External Parameter
Citation Information : International Journal of Advanced Network, Monitoring and Controls. Volume 4, Issue 1, Pages 66-71, DOI: https://doi.org/10.21307/ijanmc-2019-036
License : (CC-BY-NC-ND 4.0)
Published Online: 25-September-2019
The line structure light three-dimensional reconstruction system is a kind of three-dimensional non-contact measurement system, which has the advantages of high precision, high speed, small damage to objects and strong adaptability. Camera calibration is a major factor that constrains the accuracy of 3D measurement systems. The camera calibration is based on the pinhole imaging model, and through a series of complex calculations, the camera’s internal parameters (focal length, distortion coefficient) and external parameters (rotation matrix and translation vector). The different calibration methods use different calibration targets, which can be divided into 3D calibration targets, 2D calibration targets, and one-dimensional calibration targets according to the characteristics of the calibration targets. This paper mainly discusses: calibration content and significance, calibration methods for different targets and evaluation methods for calibration of different targets. Firstly, the content and significance of calibration are expounded. Then, according to different calibration targets, the calibration algorithm is analyzed. Finally, the calibration algorithm is analyzed and summarized, and the development trends, advantages and disadvantages of different calibration methods are pointed out.
Vision plays an important role in human understanding and transformation of the world. 80% of human information comes from vision[1]. Three-dimensional measurement technology is of great significance in the fields of culture, film and television entertainment, medicine and cultural relics protection. With the continuous development of computer technology, the functions of computers are becoming more and more powerful. People use the camera to obtain the three-dimensional information of the object, and the obtained three-dimensional information is converted into data that can be processed by the computer through a series of calculations, and then the data is used to reconstruct the object. The method for measuring the line structure light is a technique of obtaining a three-dimensional point coordinate at the intersection of the plane and the surface of the object to be measured by projecting a line laser plane onto the surface of the object [2]. The three-dimensional measurement technology of line structure light has the advantages of fast measurement speed, high precision and low measurement environment requirements, and is widely welcomed [3]. Camera calibration is the main factor that restricts the accuracy of 3D measurement, which has attracted wide attention from scholars and improved step by step.
Wherever Times is specified, Times Roman or Times New Rom The camera calibration method is different according to the way of solving the parameters (such as whether to use external reference objects, whether the camera needs precise motion, etc.). The camera calibration algorithm can be divided into three calibration methods: traditional calibration method, self-calibration method, active vision camera calibration method [4]. As shown in Figure 1 below, this article focuses on traditional camera calibration.
The camera calibration technology is mainly based on the linear model of small hole imaging, the geometric model established by the conversion between the two-dimensional image coordinate system of the known feature points and the three-dimensional world coordinate system. Using the optimal algorithm to derive the internal and external parameters of the camera model considering distortion, the process of solving the camera parameters is called camera calibration. Figure 2 below is the conversion diagram of the coordinate system. In the figure, {O–UV}, {O_{o}–XY}, {O_{c}–X_{c}Y_{c}Z_{x}} and {O_{w}–X_{w}Y_{w}Z_{w}} representing a pixel coordinate system, an image coordinate system, a camera coordinate system, and a world coordinate system, respectively. O_{c}O_{o} for the optical axis of the camera, f Indicates the focal length of the camera. Point P is a point on the object to be measured, and P′ is the coordinate of P corresponding to the image coordinate system. Suppose the world coordinates of point P are (x_{w}, y_{w}, z_{e}), Camera coordinates are (x_{c}, y_{c}, z_{c}), Image coordinates are (x, y), Pixel coordinates are (u, v), Ideally, there is a certain conversion relationship between pixel coordinates and image coordinates, image coordinates and camera coordinates, camera coordinates, and world coordinates. If the world coordinates and image coordinates of some points are known, the internal and external parameters of the line structure light can be calculated using the conversion relationship.
After acquiring the three-dimensional coordinate point, the camera shifts the theoretical point P due to camera distortion and other factors[5], as shown in Figure 3 below.
The main factors affecting distortion are radial distortion and tangential distortion, as shown in Figures 4 and 5 below are common radial and tangential distortions.
The calibration target is generally divided into a 3D calibration target, a 2D calibration target, and a one-dimensional calibration target[6]. Common targets are shown in Figure 6 below:
In this paper, the pinhole model is used as a camera model for research. The 2D calibration target is represented by m = (u, v,1)^{T}, the 3D calibration target is represented by M = [X, Y, X, 1]^{T}, and the corresponding homogeneous vectors are, $\tilde{m}={[u,v,1]}^{T}$, $\tilde{M}={[x,y,z,1]}^{T}$, respectively. Then the relationship between the 3D point M and its projection point m is as follows[7]:
Where R is the rotation matrix, t = [t_{x} t_{y} t_{z}]^{T} for the translation vector, and describes the external parameters of the camera that the camera is calibrated. f_{u} = a_{x}/d_{x}, f_{v} = a_{y}/d_{y}, d_{x}, d_{y} indicates the physical size of each pixel in the Y-axis Y-axis direction. f_{u}, f_{v}, u_{0}, v_{0} is only related to the internal parameters of the camera, which is the internal parameters that the camera needs to calibrate.
This paper introduces the calibration of 3D calibration targets, using the classic Tsai[8].two-step calibration algorithm. The Tsai two-step method is based on the calibration method of the radial correction constraint (RAC. Radial Alignment Constraint).
The camera distortion model shown in Figure 7 below, The following model includes five coordinate systems, which are camera coordinate system O_{c}, image pixel coordinate system O_{i}, world coordinate system O_{W} actual image physical coordinate system O_{d}, and ideal image physical coordinate system O_{u}. The solution process assumes that u0, v0 is known to only consider second-order radial distortion. The main point is both the center of the image and the center of the radial distortion.
The first step : uses a radial alignment constraint (RAC) linear solution.
Step 2: Find the remaining parameters for nonlinear optimization.
Advantages: Applicable to any camera model, high calibration accuracy.
Insufficient: calibration needs to calibrate targets, which is difficult to achieve in some applications.
In this paper, the research method of two-dimensional calibration target is explained by Zhang Zhengyou calibration method[9][10]. To facilitate the operation, the template is defined on a plane parallel to the X-Y plane (Z = 0) in the world coordinate system..
From the above formula (1):
Where is the u_{0}, v_{0} principal point coordinate, α, β is the vector of the (u, v), the coordinate axis in the image, and γ is the perpendicularity of the two coordinate axes. Let the template plane Z_{W} = 0 be in the world coordinate system, you can get:
Where H = [h_{1} h_{2} h_{3}] γA[r_{1} r_{2} r_{3}], γ is the scaling factor scalar, r_{1}, r_{2} is the two column vectors of the rotation matrix, and t is the translation matrix.
By the nature of the rotation matrix, a constraint matrix is available for each image:
make:
From (6): B is a symmetric matrix, which can be represented by the following 6D vector:
Let the ith column vector h_{i} = [h_{i1} h_{i2} h_{i3}] in H be obtained:
Then you can write (5) as:
Suppose you take n images of the template plane and get n images.
If n ≥ 3, you can get the unique solution b and matrix B, you can get:
Get the internal and external parameters of the camera for optimization:
Where m(A,k_{1},k_{2},k_{3},R_{i},T_{i},M_{j}) represents the coordinate point at which the jth point is projected onto the i-th image according to equation (4).
As shown in Figure 8, AB is a one-dimensional calibration with a length of L[11].
Since the ratio of the line segments is known, B points can be calculated in the case where points A and C are known.
Then, according to the formula (2-1), there is a following formula, where Z_{A} Z_{B}, Z_{C} is the depth of the corresponding point on the one-dimensional calibration object.
Where λ_{B} = BC/AB, λ_{B} = AC/AB Representation ratio.
According to (13):
According to (14):
The parameters of the camera can be obtained by (16). According to the theory of higher geometry, the projection of the absolute quadratic curve on the image plane is actually described.
At present, the standard for calibration evaluation is mainly calibration accuracy and speed. The calibration target has a slight influence on the accuracy of the calibration. The commonly used calibration target materials are ceramic and metal and glass. The calibration target of the strong reflective material is easy to introduce noise, and the accuracy of the diffuse reflection calibration is better.
According to the above analysis of the algorithm, the advantage of the one-dimensional calibration target is that the construction of the calibration target is relatively simple and easy to implement; the disadvantage is that the number of points on the calibration object is small, the coordinates are unknown, and the calibration accuracy for the nonlinear distortion coefficient is not high. Based on the calibration method of two-dimensional and three-dimensional calibration targets, a large number of known coordinate systems on the calibration target can be used for calibration. The calibration accuracy is high and the speed is fast, but it is easy to appear blind spots due to its own characteristics. The three-dimensional calibration target is expensive to manufacture, and the commonly used fabrication methods mainly include photolithography, grinding, printing, and the like.
Different calibration targets are suitable for different calibration systems, and one-dimensional calibration targets are suitable for systems with less budget and less demanding calibration accuracy. The production of three-dimensional calibration targets is difficult, mainly machine processing, suitable for high precision requirements and sufficient funds. The calibration algorithm of the two-dimensional calibration target is easy to extract features, and the reconstruction effect is worse than the three-dimensional calibration target.