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, {
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
Where R is the rotation matrix,
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
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 u0,
Where
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
Then you can write (5) as:
Suppose you take n images of the template plane and get n images.
If
Get the internal and external parameters of the camera for optimization:
Where
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
Where
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.