Next Article in Journal
Influence of Gamification on the Commitment of the Students of a Programming Course: A Case Study
Previous Article in Journal
Refinement and Computation Method for Line/Body Topological Relationships
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fast and Highly Accurate Zonal Wavefront Reconstruction from Multi-Directional Slope and Curvature Information Using Subregion Cancelation

Key Laboratory of Photoelectronic Imaging Technology and System of Ministry of Education of China, School of Optics and Photonics, Beijing Institute of Technology, 5 South Zhongguancun Street, Beijing 100081, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(8), 3476; https://doi.org/10.3390/app14083476
Submission received: 9 March 2024 / Revised: 8 April 2024 / Accepted: 10 April 2024 / Published: 20 April 2024

Abstract

:
The wavefront reconstruction is a crucial step in determining the performance of wavefront detection instruments. The wavefront reconstruction algorithm is primarily evaluated in three dimensions: accuracy, speed, and noise immunity. In this paper, we propose a hybrid zonal reconstruction algorithm that introduces slope and curvature information in the diagonal, anti-diagonal, horizontal, and vertical directions by dividing the neighbor sampling points into subregions in groups of four. By canceling the same parameters in integration equations, an algorithm using multi-directional slope–curvature information is achieved with only two sets of integration equations in each subregion, reducing the processing time. Simulation experiments show that the relative root-mean-square reconstruction error of this algorithm is improved by about 4 orders of magnitude compared with existing algorithms that use multi-directional slope information or slope–curvature information alone. Compared with the hybrid multi-directional slope–curvature algorithm, the proposed algorithm can reduce computation time by about 50% as well as provide better noise immunity and reconstruction accuracy. Finally, the validity of the proposed algorithm is verified by the null test experiment.

1. Introduction

The Shack–Hartmann wavefront sensor is one of the most widely used wavefront sensors because of its great energy utilization, fast real-time sensing, and strong anti-noise ability [1]. It is widely employed in the detection of human eye aberrations [2,3], astronomical observation [4,5], laser beam purification [6,7], optical element identification [8,9], and other fields. To enhance detection performance, researchers have modified the instrument structure to introduce more information and proposed slope and curvature hybrid sensors, which have significant research value. The selection of the reconstruction algorithm is of great importance to the performance of wavefront sensors in various application areas. To meet the practical engineering requirements, the reconstruction time should be shortened as much as possible while satisfying the reconstruction accuracy requirements and ensuring good noise resistance to adapt to various measurement environments [10,11,12,13,14,15,16,17].
Researchers have modified the classic zonal reconstruction method to improve the performance of the reconstruction method even further. On the one hand, a breakthrough point may be the discovery of a novel difference operator creation approach using mathematical methods. For example, Li et al. [18] employed the one-dimensional Taylor’s law to integrate the relationship among wavefront value, slope, and curvature, with smaller truncation errors. However, the arrangement of sample points affects reconstruction accuracy and noise immunity. Viegers et al. [19] enhanced the approximation accuracy of the difference operator in the interpolation process by inserting a spline function. Nonetheless, this approach is solved using an iterative method that requires a long computing time and shows relatively poor noise immunity. On the other hand, increasing the amount of measurement information in the reconstruction algorithm can improve reconstruction accuracy and noise immunity. For example, Barwick et al. [20] proposed the least-squares reconstruction method, which utilizes slope, Laplacian curvature, and torsional curvature information comprehensively. This method effectively improves the noise resistance, and the calculation speed is relatively fast, but the reconstruction accuracy could be improved further. To obtain additional data for reconstruction, Pathak et al. [21] incorporated the diagonal phase and slope into the zonal reconstruction. Based on the work of Li et al. [18], Zhong et al. [22] modified the method using the difference operator by introducing more information into the reconstruction process, which could not only increase the accuracy of the reconstruction algorithm but also improved its noise immunity. However, the algorithm increased the reconstruction time due to the addition of a new set of integral equations, and the error of the diagonal integration equation increased due to the increase in sampling point interval, both of which have the potential for further improvement.
As a result, to better meet the three criteria of the reconstruction algorithm indicated above, this paper proposes a fast slope–curvature hybrid reconstruction algorithm. By dividing the surroundings of the reconstruction point into multiple subregions, an integration equation with the minimum truncation error can be constructed for each subregion. This can be achieved using the Taylor expansion method. The integration equations of adjacent subregions are pairwise canceled to introduce first-order and second-order derivative information in the horizontal, vertical, diagonal, and anti-diagonal directions. Through the cancelation, more wavefront reconstruction information can be introduced while ensuring that the computational complexity remains unchanged, thereby improving the accuracy of wavefront estimation. By following the above steps, the fast slope–curvature hybrid reconstruction algorithm based on the subregion method proposed in this paper not only reduces the reconstruction time but also enhances the accuracy and noise resistance of wavefront estimation. This means that higher-order aberrations can be measured more accurately, enabling more precise optical measurement or image reconstruction.
The remaining parts of this paper are arranged as follows. Section 2 provides a detailed introduction to the Southwell operator, the geometric model, and the fast slope–curvature hybrid reconstruction algorithm based on the subregion method process. It also includes mathematical derivations of the formulas involved in the algorithm. Furthermore, error analysis is conducted to theoretically demonstrate the advantages of the proposed algorithm by introducing multiple pieces of information through subregion cancelation. In Section 3, the specific performance of the algorithm is simulated and compared with the currently prevailing hybrid reconstruction algorithms. The results are then discussed. In Section 4, the null test experiment of the four-hole amplitude-modulated wavefront sensor is completed, and the effectiveness of the proposed algorithm is verified. Finally, Section 5 provides a summary of the whole paper.

2. Principle of the Proposed Algorithm and Analysis of Its Residual Errors

2.1. Principle and Process of the Proposed Algorithm

The zonal method represents the recovered wavefront through a linear combination of gradient information near each sampling point, and the least-squares solution is obtained by solving a linear system of equations. Take the most widely used Southwell model as an example, shown in Figure 1.
Using Newtonian interpolation integrals at two adjacent points, two sets of integration equations in the horizontal and vertical directions are obtained as follows:
W 2 W 1 = h S 1 x + S 2 x 2 , W 3 W 1 = h S 1 y + S 3 y 2 ,
where Wn represents the wavefront value at position n of the sampling point, h is the sampling interval, and Snx and Sny represent the slope values of the wavefront in the x and y directions.
To further introduce more reconstruction information and thus improve the reconstruction package accuracy, Zhong et al. [22] used Taylor expansion to introduce second-order curvature information based on the Southwell model, which only utilizes first-order gradient information in the horizontal and vertical directions, to improve the reconstruction accuracy. Meanwhile, sampling points in the diagonal and anti-diagonal directions are also introduced to improve the reconstruction noise immunity.
As shown in Figure 2, the XY coordinate system is rotated by 45° to obtain the integration equations in the diagonal and anti-diagonal directions using a typical nine-sample point as an example as follows:
W 5 W 0 = h × ( S 5 x + S 0 x ) 2 + h 2 × ( C 5 x x + C 0 x x ) 12 , W 7 W 0 = h × ( S 7 y + S 0 y ) 2 + h 2 × ( C 7 y y + C 0 y y ) 12 , W 3 W 0 = 2 h × ( S 3 + + S 0 + ) 2 + 2 h 2 × ( C 3 + + C 0 + ) 12 , W 8 W 0 = 2 h × ( S 8 + S 0 ) 2 + 2 h 2 × ( C 3 + C 0 ) 12 ,
where
S n + = S n x + S n y 2 , S n = S n x S n y 2 , C n + = C n x x 2 + C n x y + C n y y 2 , C n = C n x x 2 C n x y + C n y y 2 ,
C n x x represents the curvature in the x direction, C n y y represents the curvature in the y direction, and C n x y represents the twist curvature term at position n of the sampling point. The first two equations in Equation (2) represent the reconfiguration relationships in the horizontal and vertical directions, and the second two equations represent the reconfiguration relationships in the diagonal and anti-diagonal directions.
By comparing Equations (1) and (2), we can see that the algorithm increases the number of integration equations compared to the traditional Southwell method, thus increasing the number of operations and computation time. The integration equations in the diagonal and anti-diagonal directions improve the noise immunity but increase the sampling interval, which affects the reconstruction accuracy.
To solve the above problems, based on the above two models, this paper proposes a new way of constructing the difference operator. By dividing the sampling area into subregions in groups of four points, the first- and second-order derivative information in the diagonal and antagonistic directions is introduced in the integration equations by canceling the same parameters, thus shortening the sampling interval in the reconstruction process in the diagonal and antagonistic directions, as shown in Figure 3.
Figure 2. Geometric schematic of the hybrid wavefront reconstruction algorithm using multi-directional slope and curvature information.
Figure 2. Geometric schematic of the hybrid wavefront reconstruction algorithm using multi-directional slope and curvature information.
Applsci 14 03476 g002
Figure 3. Geometric schematic of proposed algorithm.
Figure 3. Geometric schematic of proposed algorithm.
Applsci 14 03476 g003
Firstly, a Taylor expansion is used in the horizontal and vertical directions in the divided subregions to obtain a relationship between the wavefront with minimum truncation error and the first- and second-order derivatives of the sampling points, as derived below.
A W 1 + B W 2 = h × ( E S 1 + F S 2 ) + h 2 × ( G C 1 + H C 2 ) ,
where W n represents the estimated wavefront at the sample location, S n represents the first-order derivative at location n along the adjacent sampling direction, C n represents the second-order derivative at location n along the adjacent sampling direction, expands both sides of Equation (4) at the same time at the sample midpoint Taylor location, and lets the coefficients of the same terms corresponding to both sides of the equation be equal to solve for the following:
W 2 W 1 = h 2 × ( S 1 + S 2 ) + h 2 12 × ( C 1 C 2 ) ,
Secondly, to introduce information on sampled points in the diagonal and anti-diagonal directions, four sets of reconstruction relations are obtained in turn using Equation (5) within the subregions consisting of the four points divided as described in Figure 3.
W i , j + 1 W i , j = h 2 S i , j + 1 x + S i , j x + h 2 24 C i , j x x C i , j + 1 x x , W i + 1 , j + 1 W i + 1 , j = h 2 S i + 1 , j + 1 x + S i + 1 , j x + h 2 12 C i + 1 , j x x C i + 1 , j + 1 x x , W i + 1 , j W i , j = h 2 S i + 1 , j y + S i , j y + h 2 12 C i , j y y C i + 1 , j y y , W i + 1 , j + 1 W i , j + 1 = h 2 S i + 1 , j + 1 y + S i , j + 1 y + h 2 12 C i , j + 1 y y C i + 1 , j + 1 y y ,
where i represents the row position of the sampled point, and j represents the column position of the sampled point. Add the four equations in Equation (6) and divide by two to obtain the first equation in Equation (7). Add the first and third equations in Equation (6) and subtract the second and fourth equations and divide by 2 to obtain the second equation in Equation (7).
W i + 1 , j + 1 W i , j = h 4 S i , j + 1 x + S i , j x + S i + 1 , j + 1 x + S i + 1 , j x + S i + 1 , j y + S i , j y + S i + 1 , j + 1 y + S i , j + 1 y + h 2 24 C i , j x C i , j + 1 x + C i + 1 , j x C i + 1 , j + 1 x x + C i , j + 1 y C i + 1 , j + 1 y + C i , j y C i + 1 , j y , W i , j + 1 W i + 1 , j = h 4 S i , j + 1 x + S i , j x + S i + 1 , j + 1 x + S i + 1 , j x S i + 1 , j y S i , j y S i + 1 , j + 1 y S i , j + 1 y + h 2 24 C i , j x C i , j + 1 x + C i + 1 , j x C i + 1 , j + 1 x C i , j + 1 y + C i + 1 , j + 1 y C i , j y + C i + 1 , j y ,
Equation (7) is the newly constructed difference operator in each subregion. By comparing with Equation (2), it can be seen that the algorithm proposed in this paper introduces sampling information in four directions using only two sets of equations, reducing the computational effort while ensuring the introduction of the same amount of information.
After obtaining the newly reconstructed difference operator, Equation (7) is extended to all sampling points and, written in the form of a matrix, yields
U W = V ,
where U is the coefficient matrix, W is the wavefront matrix, and V is the slope and curvature matrix in the form of
U = A 1 A 2 A 1 A 2 A 1 A 2 B 1 B 2 B 1 B 2 B 1 B 2 2 ( N 1 ) × N A 2 = B 1 = O I N 1 , B 2 = A 1 = I N 1 O ,
W = W 1 , 1 W 2 , 1 W N , 1 W 1 , 2 W N , 2 W 1 , N W N , N T
V = h 4 S 1 , 1 x + S 1 , 2 x + S 2 , 1 x + S 2 , 2 x + S 1 , 1 y + S 1 , 2 y + S 2 , 1 y + S 2 , 2 y + h 2 24 C 1 , 1 x x C 1 , 2 x x + C 2 , 1 x x C 2 , 2 x x + C 1 , 2 y y C 2 , 2 y y + C 1 , 1 y y C 2 , 1 y y h 4 S N , 1 x + S N , 2 x + S N + 1 , 1 x + S N + 1 , 2 x + S N , 1 y + S N , 2 y + S N + 1 , 1 y + S N + 1 , 2 y + h 2 24 C N , 1 x x C N , 2 x x + C N + 1 , 1 x x C N + 1 , 2 x x + C N , 2 y y C N + 1 , 2 y y + C N , 1 y y C N + 1 , 1 y y h 4 S 1 , N x + S 1 , N + 1 x + S 2 , N x + S 2 , N + 1 x + S 1 , N y + S 1 , N + 1 y + S 2 , N y + S 2 , N + 1 y + h 2 24 C 1 , N x x C 1 , N + 1 x x + C 2 , N x x C 2 , N + 1 x x + C 1 , N + 1 y y C 2 , N + 1 y y + C 1 , N y y C 2 , N y y h 4 S N , N x + S N , N + 1 x + S N + 1 , N x + S N + 1 , N + 1 x + S N , N y + S N , N + 1 y + S N + 1 , N y + S N + 1 , N + 1 y + h 2 24 C N , N x x C N , N + 1 x x + C N + 1 , N x x C N + 1 , N + 1 x x + C N , N + 1 y y C N + 1 , N + 1 y y + C N , N y y C N + 1 , N y y h 4 S 1 , 1 x + S 1 , 2 x + S 2 , 1 x + S 2 , 2 x S 1 , 1 y S 1 , 2 y S 2 , 1 y S 2 , 2 y + h 2 24 C 1 , 1 x x C 1 , 2 x x + C 2 , 1 x x C 2 , 2 x x C 1 , 2 y y + C 2 , 2 y y C 1 , 1 y y + C 2 , 1 y y h 4 S N , 1 x + S N , 2 x + S N + 1 , 1 x + S N + 1 , 2 x S N , 1 y S N , 2 y S N + 1 , 1 y S N + 1 , 2 y + h 2 24 C N , 1 x x C N , 2 x x + C N + 1 , 1 x x C N + 1 , 2 x x C N , 2 y y + C N + 1 , 2 y y C N , 1 y y + C N + 1 , 1 y y h 4 S 1 , N x + S 1 , N + 1 x + S 2 , N x + S 2 , N + 1 x S 1 , N y S 1 , N + 1 y S 2 , N y S 2 , N + 1 y + h 2 24 C 1 , N x x C 1 , N + 1 x x + C 2 , N x x C 2 , N + 1 x x C 1 , N + 1 y y + C 2 , N + 1 y y C 1 , N y y + C 2 , N y y h 4 S N , N x + S N , N + 1 x + S N + 1 , N x + S N + 1 , N + 1 x S N , N y S N , N + 1 y S N + 1 , N y S N + 1 , N + 1 y + h 2 24 C N , N x x C N , N + 1 x x + C N + 1 , N x x C N + 1 , N + 1 x x C N , N + 1 y y + C N + 1 , N + 1 y y C N , N y y + C N + 1 , N y y
where N is the number of points sampled per side, O is the 0 matrix, and I is the unit matrix. The wavefront values for the super definite linear equation, using least-squares estimation to solve the above equation, are as follows:
W = ( U T U + ) U T V .

2.2. Analysis for the Error of the Algorithm

In this section, the Taylor expansion residue term of the proposed difference operator is approximated theoretically to compare the error magnitude of the proposed algorithm in this paper with the hybrid slope–curvature reconstruction algorithm proposed by Zhong et al. [22]. It follows from Taylor’s median theorem that, if a function f has derivatives of order n + 1 in the neighborhood of f(x), then, for any x belonging to that neighborhood, we have
f ( x ) = f ( x 0 ) + f ( 1 ) ( x 0 ) ( x x 0 ) + f ( 2 ) ( x 0 ) 2 ! ( x x 0 ) 2 + + f ( n ) ( x 0 ) n ! ( x x 0 ) n + R n ( x ) ,
where Rn is the expansion residual error, which is obtained by Lagrange residual term expansion as follows:
R n ( x ) = f ( n + 1 ) ( ξ ) ( n + 1 ) ! x x 0 n + 1 ,
Here, ξ is a value between x and x0.
Figure 4 shows the Taylor expansions on both sides of the equation for the reconstructed difference operator using the Lagrange residue term form for the methods in this paper and those produced by Zhong et al., respectively, with Zhong et al.’s x0 being chosen to expand at the midpoint of the diagonal position. The value of xx0 is therefore 2 h 2 . The error brought into Equation (2) can be expressed as
Re 1 = h 5 ( W ( 5 ) ( ξ ) × 2 5 5 ! × 2 4 W ( 4 ) ( ξ ) × 2 5 4 ! × 2 4 + W ( 3 ) ( ξ ) × 2 5 3 × 3 ! × 2 4 ) ,
where W n is the nth-order derivative of the wavefront. Similarly, the method x0 proposed in this paper is chosen to expand at the midpoint of the horizontal and vertical positions so that the value of xx0 is h 2 with the following error of the form:
Re 2 = 2 h 5 ( W ( 5 ) ( ξ ) 5 ! × 2 4 W ( 4 ) ( ξ ) 4 ! × 2 4 + W ( 3 ) ( ξ ) 3 × 3 ! × 2 4 ) .
By comparing the two equations, it can be seen that the method proposed in this paper effectively shortens the reconstruction interval by splitting the subregion to introduce the diagonal information of the reconstruction method, which reduces the reconstruction error of the differential operator and improves the reconstruction accuracy compared with previous studies.

3. Numerical Simulation Analysis

This section compares the Pathak algorithm (PA) [21], the Barwick algorithm (BA) [20], the Zhong algorithm (ZA) [22], and the fast slope–curvature hybrid reconstruction algorithm (FA) of the subregion type proposed in this paper. The PA is a multi-directional slope algorithm, the BA is an existing classical slope–curvature hybrid algorithm, and the ZA is a multi-directional slope–curvature hybrid algorithm, and all four algorithms are solved using least-squares estimation. The simulations compare the reconstruction accuracy, reconstruction time, and noise immunity of each algorithm.

3.1. Algorithm Accuracy

This section focuses on comparing the reconstruction error of the different algorithms in the absence of noise. Legendre polynomials are a complete set of orthogonal polynomials that describe a rectangular surface. The first to the 90th Legendre polynomials are used as the basis functions to simulate the wavefront. In each simulation process, the simulated wavefront is represented by only one Legendre polynomial with a coefficient of 1. The reconstruction range of the entire region is a square region with dimensions ranging from 1 to 1 mm in the x and y dimensions, discretized into a 100 × 100 sub-aperture grid. The reconstructed wavefront W contains the following reconstruction errors:
Δ W = W W 0 ,
where W0 is the ideal wavefront value. The relative root-mean-square reconstruction error R is applied to evaluate the algorithm error. R is defined as
R = Δ W 2 W 0 2 .
Figure 5 shows a comparison of the reconstruction errors between the proposed method (FA) and traditional wavefront reconstruction methods (PA, BA, ZA) without considering noise. Due to the relatively simple surface shape represented by the first 15 terms of the Legendre polynomial expansion, the three improved algorithms (FA, BA, ZA) have similar relative reconstruction errors R. However, beyond the 15th term, the FA, based on truncated Taylor expansion, has a smaller truncation error, resulting in higher reconstruction accuracy. From the simulation results, it can be seen that, compared with existing hybrid reconstruction methods or the multi-directional reconstruction algorithm (BA), the relative reconstruction error value R of the proposed subregion multi-directional slope and curvature mixed wavefront reconstruction method (FA) is reduced by about 4 orders of magnitude. Compared with the ZA, it also has significant advantages in accuracy for certain types of reconstructed surfaces, and the reconstruction accuracy for other surface types is at least comparable to that of the existing algorithms.

3.2. Reconstruction Speed

Real-time performance is a key metric for the application of reconstruction algorithms in practical engineering, and Table 1 compares the processing times of the four algorithms (FA, ZA, PA, BA). The number of one-dimensional sampling points is set to 100 and 200 and 300 in turn. Each runtime result is the average of 20 repetitions. A comparison of the reconstruction time between the proposed reconstruction algorithm (FA) and the existing multi-directional slope–curvature hybrid reconstruction algorithm (ZA) for different sample intervals is shown in Figure 6, which shows that the reconstruction time increases with the increase in the sample points. This study reduces the reconstruction time by fifty percent by reducing the number of integration equations while ensuring accuracy as compared to the previous section.

3.3. Noise Immunity of Algorithm

Gaussian noise is introduced to the ideal slope and curvature using the same simulation conditions as described in Section 3.1. This is carried out to compare the relative reconstruction errors of each algorithm when considering the presence of noise. The level of noise is quantified using the signal-to-noise ratio (SNR), which is defined as the ratio of the root mean square (RMS) of the ideal slope or curvature to the RMS of the added noise as follows:
S N R = ν 0 2 n 2 ,
where is the ideal slope curvature information, and n is the introduced Gaussian noise that satisfies the analogue noise with mean 0 and variance 1 and satisfies the Gaussian distribution. The reconstructed information is as follows:
ν = ν 0 + n 0 n 0 S N R S N R .
Wavefront reconstruction simulations are performed at signal-to-noise ratios of 10 and 30. The simulation results are repeated 20 times for each algorithm and then averaged to reduce the effect of randomness.
A comparison of the wavefront recovery reconstruction results for a signal-to-noise ratio of 10 considering noise is shown in Figure 7. As can be seen from the simulation results in Figure 7, in the presence of measurement noise, the present method introduces more integral loop points compared to existing algorithms in that there is a smaller relative reconstruction error for higher-order aberrations, as well as a stronger noise immunity. Compared to the PA and BA, the present algorithm introduces more reconstruction information, resulting in better noise immunity, and, compared to the ZA, the noise immunity remains basically the same due to the same amount of information being introduced.
Figure 8 shows the comparison between the wavefront recovery reconstruction results of the method described in this study and the conventional method when the signal-to-noise ratio is 30, considering noise. From the simulation results of Figure 8, we can see that, as the signal-to-noise ratio increases from 10 to 30, the relative reconstruction errors of the Barwick algorithm and the Pathak algorithm do not change significantly, while the relative reconstruction errors of this algorithm are significantly reduced and have a strong noise immunity. For the low-order polynomials, the reconstruction surface type is relatively simple, and the reconstruction noise immunity advantage of the FA over the BA and PA is not obvious, and several methods have good reconstruction accuracy. As the number of polynomial terms increases, the reconstructed surface pattern becomes complex, and the noise immunity advantage of the FA begins to show. Compared with the ZA, it also has some accuracy advantages in some face shapes.

4. Experimental Application

To further substantiate the efficacy and applicability of the algorithm proposed in this paper, this section employs both the ZA and FA methods to reconstruct the collected information from a hybrid wavefront sensor via a null test experiment. The primary objective of this experiment is to ascertain whether the wavefront reconstruction algorithm can accurately recover the known wavefront shape from measured data, particularly under no aberration or ideal wavefront conditions.
This experiment is based on the innovative four-hole amplitude-modulated wavefront sensor (FHAM-WS) [23] proposed by our research group, shown in Figure 9. Building upon the Shack–Hartmann sensor, this sensor modulates the incident wavefront by depositing a chrome layer on the front surface of the microlens array and incorporating four specifically arranged light-transmitting circular apertures within the chrome layer corresponding to each sub-aperture. Based on the far-field optical intensity distribution, the structure can simultaneously measure slope information and curvature information through scalar diffraction theory. This technology utilizes the collection of focal plane spot arrays for wavefront detection, and it has advantages such as a large dynamic range. It holds broad prospects for applications in areas such as high-order aberration measurement.
The specific experimental procedure is as follows. As shown in Figure 10, a single-mode laser source with wavelength of 635 nm is used to generate an approximately ideal spherical wave, and the FHAM-WS, composed of a microlens array and CCD, is placed 1 m away from the light source, which can be considered as an ideal plane wave incident, and the light spot diagram is collected. In this case, the true value of the measurement result of FHAM-WS should be zero, and the closer the actual measurement result is to zero, the smaller the measurement error. Firstly, the slope and curvature extraction algorithm of our research group is used to obtain the complete slope and curvature information of each sub-aperture from the spot pattern. After obtaining the complete mixed data of slope and curvature, the extracted data are processed twice to obtain the slope and curvature data matrix, which is suitable for wavefront reconstruction. Finally, the measured wavefront is reconstructed by using the hybrid slope and curvature algorithm. The experiment reduces random errors by averaging multiple measurements. Focal plane spot arrays are collected every minute, and this process is repeated 10 times. The ideal wavefront slope and curvature information matrices extracted by the experimental setup are reconstructed using the ZA and FA.
The reconstruction results of 10 groups of FHAM-WS measurements produced by the two algorithms are shown in Figure 11. In terms of reconstruction accuracy, the FA algorithm maintains consistency with established, mature algorithms. This is attributable to the simple structure of the reconstructed wavefront under null test conditions. As the complexity of the waveform increases, the precision advantages of the FA algorithm become progressively apparent. Regarding reconstruction time, the FA algorithm exhibits a significant advantage over existing hybrid slope–curvature algorithms. Moreover, the average reconstructed wavefront of the 10 repeated measurements produced using the FA algorithm is shown in Figure 11. It is evident that, under the experimental conditions, the proposed FA algorithm can accurately process slope and curvature information to reconstruct the test wavefront, thereby further validating the effectiveness of the algorithm.

5. Conclusions and Discussion

In this paper, we propose a fast slope–curvature hybrid reconstruction algorithm (FA) and compare it with conventional wavefront reconstruction methods. Through simulation experiments, we find that the FA algorithm has higher reconstruction accuracy in the ideal case and stronger noise immunity in the presence of noise. Compared with the traditional slope–curvature hybrid algorithm and the multi-directional slope–curvature hybrid algorithm, the FA algorithm has a significant advantage in reconstruction accuracy. By introducing slope and curvature information in the diagonal, anti-diagonal, horizontal, and vertical directions with smaller truncation errors, the FA algorithm can provide more accurate reconstruction results. Compared with hybrid reconstruction algorithms that directly introduce information about the diagonal direction, the FA algorithm has a significant accuracy advantage for some reconstructed surface types and provides reconstruction accuracy comparable to existing algorithms for other surface types. In addition, when measurement noise exists, the FA algorithm has smaller reconstruction errors and stronger noise immunity compared to conventional algorithms. In the case of higher-order aberrations, the FA algorithm provides more accurate reconstruction results and introduces more integration loop points to reduce the effect of noise. The null test experiment based on the FHAM-WS has verified the effectiveness of the FA algorithm in practical measurements.
In summary, the FA algorithm proposed in this paper provides higher reconstruction accuracy and stronger noise immunity compared to traditional wavefront reconstruction methods. This algorithm is of great practical significance for wavefront reconstruction and other optical imaging applications.

Author Contributions

Conceptualization, S.L.; methodology, S.L.; software, H.Z. and S.L.; validation, H.Z. and S.L.; formal analysis, S.L.; investigation, H.Z. and S.L.; resources, Y.L. and K.L.; data curation, K.L.; writing—original draft preparation, S.L.; writing—review and editing, S.L., H.Z. and K.L.; visualization, S.L.; supervision, K.L.; project administration, K.L.; funding acquisition, Y.L. and K.L. All authors have read and agreed to the published version of the manuscript.

Funding

National Natural Science Foundation of China (61975013, 62175014); National Science and Technology Major Project (2017ZX02101006-001); Major Scientific Instrument Development Project of National Natural Science Foundation of China (11627808).

Data Availability Statement

Data underlying the results presented in this paper are not publicly available at this time but may be obtained from the authors upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wu, X.; Huang, L.; Gu, N.; Tian, H.; Wei, W. Study of a Shack-Hartmann wavefront sensor with adjustable spatial sampling based on spherical reference wave. Opt. Lasers Eng. 2023, 160, 107289. [Google Scholar] [CrossRef]
  2. Valdivieso-González, L.; Muñoz-Potosi, A.; Tepichin-Rodriguez, E. Design and characterization of a safe Shack–Hartmann type aberrometer for making in-vivo measurements: Heuristic approximation. Opt. Commun. 2020, 454, 124500. [Google Scholar] [CrossRef]
  3. Bolbasova, L.; Gritsuta, A.; Kopylov, E.; Lavrinov, V.; Lukin, V.; Selin, A.; Soin, E. Atmospheric turbulence meter based on a Shack–Hartmann wavefront sensor. J. Opt. Technol. 2019, 86, 426–430. [Google Scholar] [CrossRef]
  4. Birzhandi, S.; Madanipour, K.; Ghanbari, S. Nonlinear refractive index measurement of a trapped particle with Shack–Hartmann wavefront sensor. Opt. Commun. 2019, 444, 154–159. [Google Scholar] [CrossRef]
  5. Furukawa, Y.; Takaie, Y.; Maeda, Y.; Ohsaki, Y.; Takeuchi, S.; Hasegawa, M. Development of one-shot aspheric measurement system with a Shack–Hartmann sensor. Appl. Opt. 2016, 55, 8138–8144. [Google Scholar] [CrossRef]
  6. Sheldakova, J.; Kudryashov, A.; Zavalova, V.; Romanov, P. Shack-Hartmann wavefront sensor versus Fizeau interferometer for laser beam measurements. SPIE 2009, 7194, 66–73. [Google Scholar]
  7. Basavaraju, R.M.; Akondi, V.; Weddell, S.J.; Budihal, R.P. Myopic aberrations: Simulation based comparison of curvature and Hartmann Shack wavefront sensors. Opt. Commun. 2014, 312, 23–30. [Google Scholar] [CrossRef]
  8. Zhang, Y.; Wang, S.; Xian, H.; Rao, C. Analytical calibration of slope response of Zernike modes in a Shack–Hartmann wavefront sensor based on matrix product. Opt. Lett. 2022, 47, 1466–1469. [Google Scholar] [CrossRef] [PubMed]
  9. Liang, Y.; Zhu, T.; Du, X.; Xu, J.; Fan, S.; Wang, H. Fabrication of a microlens array on diamond for Shack-Hartmann sensor. Diam. Relat. Mater. 2022, 121, 108783. [Google Scholar]
  10. Huang, J.; Yao, L.; Wu, S.; Wang, G. Wavefront Reconstruction of Shack-Hartmann with Under-Sampling of Sub-Apertures. Photonics 2023, 10, 65. [Google Scholar] [CrossRef]
  11. Mehrabkhani, S.; Wefelnberg, L.; Schneider, T. Fourier-based solving approach for the transport-of-intensity equation with reduced restrictions. Opt. Express 2018, 26, 11458–11470. [Google Scholar] [CrossRef] [PubMed]
  12. Li, J.; Xu, J.; Zhong, L.; Zhang, Q.; Wang, H.; Tian, J.; Lu, X. An orthogonal direction iterative algorithm of the transport-of-intensity equation. Opt. Lasers Eng. 2019, 120, 6–12. [Google Scholar] [CrossRef]
  13. Nielsen, C.J.G.; Preumont, A. Adaptive Petal Reflector: In-Lab Software Configurable Optical Testing System Metrology and Modal Wavefront Reconstruction. Sensors 2023, 23, 7316. [Google Scholar] [CrossRef] [PubMed]
  14. Li, M.; Li, D.; Zhang, C.; Kewei, E.; Hong, Z.; Li, C. Improved zonal wavefront reconstruction algorithm for Hartmann type test with arbitrary grid patterns. In Proceedings of the 2015 International Conference on Optical Instruments and Technology: Optoelectronic Measurement Technology and Systems, Beijing, China, 17–19 May 2015; SPIE: Bellingham, DC, USA, 2015; Volume 9623, pp. 343–351. [Google Scholar]
  15. Southwell, W.H. Wave-front estimation from wave-front slope measurements. J. Opt. Soc. Am. 1980, 70, 998–1006. [Google Scholar] [CrossRef]
  16. Hudgin, R.H. Wave-front reconstruction for compensated imaging. J. Opt. Soc. Am. 1977, 67, 375–378. [Google Scholar] [CrossRef]
  17. Fried, D.L. Least-square fitting a wave-front distortion estimate to an array of phase-difference measurements. J. Opt. Soc. Am. 1977, 67, 370–375. [Google Scholar] [CrossRef]
  18. Li, G.; Li, Y.; Liu, K.; Ma, X.; Wang, H. Improving wavefront reconstruction accuracy by using integration equations with higher-order truncation errors in the Southwell geometry. J. Opt. Soc. Am. A 2013, 30, 1448–1459. [Google Scholar] [CrossRef] [PubMed]
  19. Viegers, M.; Brunner, E.; Soloviev, O.; De Visser, C.; Verhaegen, M. Nonlinear spline wavefront reconstruction through moment-based Shack-Hartmann sensor measurements. Opt. Express 2017, 25, 11514–11529. [Google Scholar] [CrossRef]
  20. Barwick, S. Least-squares estimation for hybrid curvature wavefront sensors. Opt. Commun. 2011, 284, 2099–2108. [Google Scholar] [CrossRef]
  21. Pathak, B.; Boruah, B.R. Improved wavefront reconstruction algorithm for Shack–Hartmann type wavefront sensors. J. Opt. 2014, 16, 055403. [Google Scholar] [CrossRef]
  22. Zhong, H.; Li, Y.; Qin, P.; He, F.; Liu, K. Hybrid wavefront reconstruction from multi-directional slope and full curvature measurements using integral equations with higher-order truncation errors for wavefront sensors. Opt. Lasers Eng. 2022, 154, 106991. [Google Scholar] [CrossRef]
  23. Liu, K.; Wang, X.; Li, Y. Local slope and curvature tests via wavefront modulations in the Shack–Hartmann sensor. IEEE Photonics Technol. Lett. 2017, 29, 842–845. [Google Scholar] [CrossRef]
Figure 1. Geometric schematic of the Southwell model.
Figure 1. Geometric schematic of the Southwell model.
Applsci 14 03476 g001
Figure 4. Schematic diagram of residual error analysis: (a) Zhong’s algorithm, (b) the proposed algorithm.
Figure 4. Schematic diagram of residual error analysis: (a) Zhong’s algorithm, (b) the proposed algorithm.
Applsci 14 03476 g004
Figure 5. Comparison of relative reconstruction errors among methods for 1–90th term Legendre polynomials in the ideal case.
Figure 5. Comparison of relative reconstruction errors among methods for 1–90th term Legendre polynomials in the ideal case.
Applsci 14 03476 g005
Figure 6. Plot of speed of slope–curvature hybrid reconstruction algorithms.
Figure 6. Plot of speed of slope–curvature hybrid reconstruction algorithms.
Applsci 14 03476 g006
Figure 7. Comparison of the reconstruction error of each reconstruction algorithm for a signal-to-noise ratio (SNR) of 10: (a) PA and FA, (b) BA and FA, (c) ZA and FA.
Figure 7. Comparison of the reconstruction error of each reconstruction algorithm for a signal-to-noise ratio (SNR) of 10: (a) PA and FA, (b) BA and FA, (c) ZA and FA.
Applsci 14 03476 g007
Figure 8. Comparison of the reconstruction error of each reconstruction algorithm for a signal-to-noise ratio (SNR) of 30: (a) PA and FA, (b) BA and FA, (c) ZA and FA.
Figure 8. Comparison of the reconstruction error of each reconstruction algorithm for a signal-to-noise ratio (SNR) of 30: (a) PA and FA, (b) BA and FA, (c) ZA and FA.
Applsci 14 03476 g008
Figure 9. Schematic diagram of the null test experiment using FHAM-WS.
Figure 9. Schematic diagram of the null test experiment using FHAM-WS.
Applsci 14 03476 g009
Figure 10. Experimental setup of the null test experiment using FHAM-WS.
Figure 10. Experimental setup of the null test experiment using FHAM-WS.
Applsci 14 03476 g010
Figure 11. The reconstruction results of 10 groups of FHAM-WS measurements produced by the two algorithms: (a) reconstruction accuracy, (b) reconstruction time, (c) reconstructed wavefronts under FA algorithm.
Figure 11. The reconstruction results of 10 groups of FHAM-WS measurements produced by the two algorithms: (a) reconstruction accuracy, (b) reconstruction time, (c) reconstructed wavefronts under FA algorithm.
Applsci 14 03476 g011
Table 1. Reconstruction time for different reconstruction algorithms.
Table 1. Reconstruction time for different reconstruction algorithms.
LP17Computational Time (s)
Algorithm100 × 100200 × 200300 × 300
FA0.028690.103630.24451
BA0.055320.299480.79579
PA0.048970.144190.39198
ZA0.042480.197560.58311
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, S.; Zhong, H.; Li, Y.; Liu, K. Fast and Highly Accurate Zonal Wavefront Reconstruction from Multi-Directional Slope and Curvature Information Using Subregion Cancelation. Appl. Sci. 2024, 14, 3476. https://doi.org/10.3390/app14083476

AMA Style

Liu S, Zhong H, Li Y, Liu K. Fast and Highly Accurate Zonal Wavefront Reconstruction from Multi-Directional Slope and Curvature Information Using Subregion Cancelation. Applied Sciences. 2024; 14(8):3476. https://doi.org/10.3390/app14083476

Chicago/Turabian Style

Liu, Shuhao, Hui Zhong, Yanqiu Li, and Ke Liu. 2024. "Fast and Highly Accurate Zonal Wavefront Reconstruction from Multi-Directional Slope and Curvature Information Using Subregion Cancelation" Applied Sciences 14, no. 8: 3476. https://doi.org/10.3390/app14083476

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop