An Improved Algorithm for 3D Reconstruction Integration Based on Stripe Reflection Method ()
1. Introduction
The fringe reflection method [1] is based on the simple principle of light reflection. The method has the advantages of simple structure, high sensitivity, large dynamic range, and is generally used for full-caliber testing of the aspherical surface shape during the rough polishing stage. Many experts and scholars have carried out many researches and practices on this technology. Su Peng et al. of the University of Arizona in the United States proposed a SCOTS testing method and successfully detected the 8.2 m GMT sub-mirror through high-precision calibration [2] [3]. The Sichuan University [4] [5] and the Chinese Academy of Sciences [6] have done a lot of research on the stripe reflection technology and have achieved certain results. This paper introduces the basic principle of the stripe reflection method and introduces an iterative algorithm based on the Southwell integration method. Then we propose a compensation algorithm with attenuation factor parameters based on the traditional iterative integration. The computer simulation results show that the new method has better convergence in a single iteration compared with the traditional method. The algorithm for changing the coefficient has a better fitting result than the algorithm without changing the coefficient, and verifies the superiority of the improved algorithm.
2. The Basic Principle of the Stripe Reflection Method
The measurement model is shown in Figure 1. The computer produces a standard sinusoidal stripe that transmits the encoded fringe image onto the LCD screen. The stripe displayed on the screen is projected onto the reflective surface. The deformed fringe image is captured by a CCD camera, which records the gradient and height of each reflective point on the reflective surface.
The intensity of each point on the deformed fringe pattern after reflection by the mirror to be tested can usually be expressed as:
(1)
where
is the light intensity of each point of the stripe diagram,
is the background light intensity,
is amplitude modulation, and
is the phase modulation to be solved, and
is the additional phase, which is determined when the fringes are generated. The computer generated grating can accurately control the magnitude of the single phase shift. The calculation of the phase modulation
is shown in Equation (2)
(2)
The arctangent function obtains the truncated phase of [−π, π). In order to determine the one-to-one correspondence between the pixel of the screen and the pixel of the mirror, it is necessary to expand the phase to form a continuous phase. The method of phase unwrapping includes the spatial phase expansion method [7] [8] and time phase expansion method [9] [10]. The former mainly
Figure 1. Stripe reflection measurement model.
includes branch cutting method, quality map guiding method, minimum norm method; the latter mainly includes binary encoding and multi-frequency heterodyne method.
3. Gradient Integral Algorithm Analysis
Measuring the surface of the object by the stripe reflection system, we can obtain two gradient distributions in the mutually perpendicular direction. The gradient refers to the partial derivatives
and
obtained by the height
of the surface in the directions of x and y. The calculation is as shown in Equation (3) and Equation (4):
, (3)
, (4)
In order to obtain the specular surface 3D height information, we need to integrate the derivative:
, (5)
In the actual testing process, the gradient field is not a conservative field due to the influence of system error and image noise. Southwell model based on regional wave front reconstruction method can not only effectively suppress noise but also deal with complex connected regions. Therefore, it has become the mainstream algorithm of gradient integral.
3.1. Southwell Model Algorithm
The Southwell grid model is shown in Figure 2. The matrix size is M × N. The solid black dot in the graph represents the height point and the arrow represents the gradient direction of the point x, y. The average of two adjacent gradient values is equal to the ratio of the difference in height to the pixel width (h).
The gradient matrix is the same size as the height matrix. The relationship between the gradient data and the height data is only related to the same row or the same column. The above relationship is expressed as
(6)
Z represents a height matrix, the size is MN × 1; D represents a coefficient matrix, which is a sparse matrix size [(M − 1)N + M(N − 1)] × MN; G represents a gradient matrix, and the size [(M − 1)N + M(N − 1)] × 1. Equation (6) can be rewritten into:
, (7)
Generally, the surface matrix is relatively large. In this case, the D matrix is a singular matrix. The augmented matrix
needs to be replaced by the matrix
D, and the least norm solution of Z can be obtained by using the least square method:
. (8)
3.2. Improved Iterative Algorithm Based on Southwell Model
The rate of convergence and the ability to suppress noise in the late iteration are two conditions for evaluating the merits of an iterative algorithm. Especially for large-caliber mirrors, the gradient data needs to be reprocessed for each iteration. The higher the convergence efficiency, the fewer the number of iterations. As the number of iterations increases, the ability to suppress gradient noise in the iteration ensures the accuracy of the final fitted shape.
The traditional iterative algorithm is showed as follows [11]
1) Using the traditional integration method to obtain the original surface height
as the initial value of the iteration;
2) Calculate the derivatives
and
of the current height
in the x and y directions, and make a difference with the original gradient to obtain gradient residuals
and
;
3) Using traditional integration method to integrate
and
to obtain the compensation height value
;
4) The compensated height values
, nk = 3, 4.0909, 4.9476, 5.6768 (k = 1, 2, 3, 4);
5) Repeat the iterative process of 2-4 until the iterations of adjacent two iterations are less than the threshold,
< threshold.
This section presents an improved algorithm that includes two improvements. First, use the two variables of attenuation factor t and iteration number n to control the contribution value of the compensation height to participate in the iteration. Second, the threshold is set for the nth compensation height during iteration. The formula of the new iterative algorithm can be written as:
, (9)
, (10)
The height of the nth compensation is related to the height threshold:
, (11)
The value of m is generally between [1] [5], Coefficient
determines the weight of the compensation height value to participate in the iteration. In the initial stage of the iteration, a smaller
can increase the convergence rate. With the progress of iteration, in order to reduce excessive noise participation in the iteration, we set the RMS threshold of the nth compensation height. If it is larger than the threshold value, the value of attenuation factor
is increased to prevent excessive noise data in the compensation height from affecting the fitting results. Through computer simulation, the traditional algorithm and the improved algorithm iteratively integrate the gradient data obtained by the stripe reflection measurement system, and analyze the wavefront reconstruction accuracy.
4. Computer Simulation
The simulated face is divided into two parts:
is the standard paraboloid:
, (12)
is set to a high-order shape in a certain area:
, (13)
The size of
and
is 501 × 501 pixels, and the pixel size is 0.04 mm. In order to get closer to the actual testing conditions, we combined the gradient data of surface shape with the gaussian noise whose SNR = 100:1. Using the traditional Southwell integral
as the initial shape, after four iterations we compare the high frequency partial fit results on the green lines in Figure 3. The simulation results are shown in Figure 4.
In order to compare the capability of the three iterative methods to iterative errors in the high-frequency part, we gather the high-frequency errors fitted by the three methods into the same figure, as shown in Figure 5, and list the RMS of the four iterations, as shown in Table 1.
In order to verify the effect of controlling the attenuation factor by setting compensation high threshold in the later iteration, we will perform 10 iterations without changing the initial attenuation coefficient t and controlling the attenuation coefficient, and compare the rms results of the last four fittings. The result is shown in Figure 6. The height average of the last four compensations is shown in Table 2.
5. Summary and Discussion
This paper introduces the basic principle of the stripe reflection method, and proposes an improved algorithm based on traditional Southwell iterative
(a) (b)
Figure 3. The simulation surface shape. (a) The two-dimensional shape of
, (b) Two-dimensional shape synthesized by
and
.
Figure 5. Comparison of high-frequency line error distribution.
Figure 6. Root mean square error comparison.
integration. The algorithm uses the attenuation coefficient to control the compensation value and the attenuation coefficient t is controlled by the compensation height threshold. Through computer simulation, it is verified that the algorithm has better convergence rate in the early iteration period and better fitting
Table 1. The error size of single iteration reconstruction in iteration process.
Table 2. The average compensation height of the last four iterations (mm).
of high frequency detail. In the latter part of the iteration, by changing the size of t, it can effectively prevent too many noise points from participating in the iteration and leading to poor surface performance. The simulation results show that the improved algorithm effectively suppresses the influence of noise and has better fitting accuracy than the traditional algorithm at low SNR.
Funding
Supported by the NSFC (NO.61378055), Advantages of disciplines in colleges and universities in Jiangsu Province construction grant program.