Next Article in Journal
Infrared Image Enhancement Based on Adaptive Guided Filter and Global–Local Mapping
Previous Article in Journal
Enhancing the Overall Performance of Perovskite Solar Cells with a Nano-Pyramid Anti-Reflective Layer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Experimental Study on the Reconstruction of a Light Field through a Four-Step Phase-Shift Method and Multiple Improvement Iterations of the Least Squares Method for Phase Unwrapping

Department of Avionics Engineering, Aviation Maintenance NCO Academy of Air Force Engineering University, Xinyang 464000, China
*
Author to whom correspondence should be addressed.
Photonics 2024, 11(8), 716; https://doi.org/10.3390/photonics11080716
Submission received: 23 June 2024 / Revised: 29 July 2024 / Accepted: 30 July 2024 / Published: 31 July 2024

Abstract

:
Phase unwrapping technology can reflect the true phase information of an image, but it is affected by adverse factors such as noise, shadows, and fractures when extracting the true phase information of an object. Therefore, corresponding unwrapping algorithms need to be studied for different interference images. This paper summarizes and analyzes various phase unwrapping algorithms and ultimately selects the required method based on their advantages and disadvantages. Using the four-step phase-shift method to reconstruct the phase of the optical field and then combining it with the least squares method to unwrap the phase through multiple improvement iterations, the simulated collected interference fringe images are simulated using the MATLAB program to complete the phase unwrapping of the interference information field. Based on the analysis of the final experimental results, the reliability of this research method was verified.

1. Introduction

The reason why digital holography technology has become a symbol of accurate measurement of three-dimensional information in the field of interferometry is that phase information is the most important part of three-dimensional information. Phase plays an important role in optical transmission, and different phases will produce different transmission states [1,2,3]. Measuring phase information can accurately largely explain the basic three-dimensional condition of the object. The necessary technical step is the phase unwrapping algorithm in this important technical field.
A key step when conducting optical measurements is to calculate the arctangent function in processing and extracting optical field information from interference signals. Due to the characteristics of the arctangent function, the recovered phase data will be wrapped between −π and +π. When the phase change is greater than one wavelength, it will cause phase discontinuity, so the true distribution of measurement information cannot be directly obtained. Figure 1 shows a schematic diagram of unwrapping phase. The truncated wrapped phases must be connected during the actual measurement in order to obtain the true phase distribution. This process is called phase unwrapping [4].
The two-dimensional phase unwrapping can be expressed in mathematical models as:
ϕ x , y = φ x , y + 2 n π
In the formula, ϕ x , y represents the true phase value of the data after unpacking; φ x , y represents the phase value of the wrapped phase. n represents the number of wrapped phases.
Kazuyoshi Itoh conducted mathematical analysis on a one-dimensional phase unwrapping algorithm [5]. Takeda extended this theoretical foundation to two-dimensional phase unwrapping and proposed a row and column point-by-point algorithm for the unwrapping phase [6]. Goldstein proposed the Branch Cut phase unwrapping algorithm [7]. Bone proposed the quality graph-oriented phase unwrapping algorithm [8]. Ghiglia proposed a least squares phase unwrapping algorithm [9]. Phase unwrapping technology has flourished in recent years. Qian Xiaofan et al. proposed a solution phase unwrapping algorithm based on mask and least squares iteration [10]. Jin Guowang et al. from the University of Information Engineering proposed a novel phase unwrapping algorithm for instantaneous frequency estimation based on the relationship between a complex light field and the interference fringe frequency [11]. Servin M proposed a network-planning-based algorithm that can effectively suppress error propagation without identifying residual points [12]. These algorithms have emerged one after another, driving the further development of phase unwrapping technology.
Although many experts and scholars have proposed many algorithms at home and abroad, there is currently no algorithm that can completely solve all the problems faced in phase unwrapping. Therefore, it is necessary to conduct in-depth research on phase unwrapping algorithms and find the most optimal and suitable phase unwrapping algorithm for various complex situations in digital holographic microscopy measurements.
There are currently two mainstream research directions for phase unwrapping algorithms: the first is to improve the speed of unwrapping under ideal conditions, and the second is to improve the quality of unwrapping under strong noise conditions. The classic phase unwrapping algorithms can be divided into two categories: one consists of path integration algorithms, represented by the branch cutting method and the quality map guidance method, and the other consists of path-independent algorithms, represented by the least squares method. (1) Path integration algorithms use various strategies to find the optimal integration path and to integrate it to obtain the true phase after unwrapping. At the same time, they reduce or avoid the cumulative effect of error transmission during the phase unwrapping process by avoiding noise areas. (2) The most typical representative of path-independent algorithms is the minimum norm method. This algorithm will transform wrapped phases into objective optimization problems. The principle of the minimum norm method is based on the framework of the minimum norm criterion, which defines an equivalent function. This equivalent function can reflect the difference between the unwrapped phase gradient and the wrapped phase gradient. Then, a reasonable and effective mathematical method is used to find the solution that minimizes the cost function [13,14,15].
Phase unwrapping seems to be a very simple problem from a theoretical principle, but there are often problems such as noise, local shadows, stripe pattern breaks, undersampling, and error propagation caused by the rapid spatial variation of the phase in practical situations, making phase unwrapping a very difficult problem.
In response to the above-mentioned issues, this paper uses phase unwrapping methods such as the residual point search method, the row and column point-by-point method, and the least squares method and combines them with the four-step phase-shift method, the Fourier transform method, and the diffraction calculation method to reconstruct the theoretical analysis of the optical field phase and to clarify the scope of use of the unwrapping phase.
In response to the problem of phase unwrapping in situations with high noise or steep gradients, this paper proposes an unwrapping algorithm based on multiple iterations of the least squares optimization. In order to minimize the difference between the partial derivative of the true phase and the wrapped phase difference, this algorithm proposes an optimization algorithm using the Poisson equation derived from differentiation, combining it with boundary conditions and an iterative least squares solution strategy. This algorithm transforms the solution wrapping problem into an equivalent continuous minimization problem, ultimately obtaining the optimal solution.
We used MATLAB software to simulate the reconstruction of the optical field phase and the unwrapping phase algorithm. The experimental results verify the correctness of the research method by combining a four-step phase-shift reconstruction of the optical field phase with the least squares method through multiple iterations of the unwrapping algorithm.

2. Theoretical Analysis

It is assumed that the object light field and the reference light field are, respectively, O ˜ ( x , y ) = o ( x , y ) e j φ ( x , y ) and R ˜ ( x , y ) = r ( x , y ) e j ϕ ( x , y ) at a certain point (x, y) in the process of holography. The interference between the reference light and the object light, resulting in the recording of the phase of the object light, can be expressed as:
I ( x , y ) = O ˜ ( x , y ) + R ˜ ( x , y ) * O ˜ ( x , y ) + R ˜ ( x , y ) = O ˜ ( x , y ) 2 + R ˜ ( x , y ) 2 + 2 o ( x , y ) r ( x , y ) cos φ ( x , y ) ϕ ( x , y )
If φ ( x , y ) ϕ ( x , y ) = 2 k π , k = 0 , ± 1 , ± 2 , a bright stripe will appear at coordinates (x, y); if φ ( x , y ) ϕ ( x , y ) = 2 k + 1 π , k = 0 , ± 1 , ± 2 , then a dark stripe will appear at coordinates (x, y). So, a hologram is actually an interference pattern, and the phase difference between the object light and the reference light produces interference fringes of light and dark, which are used to record the phase [16]. There are three commonly used methods for reconstructing the phase of a light field through interferograms, which are introduced as follows:
(1)
Reconstruction of the optical field phase by using the four-step phase-shifting method
This method is usually used in image plane holography, which requires placing the holographic recording surface on the image plane that is clearly imaged by the system. The phase-shift method requires accurately changing the phase of the reference light and taking at least two digital holograms to reconstruct the phase of the light field. Taking the typical four-step phase-shifting method as an example, make the reference light phase change π 2 every time [17]. The four reference light fields are:
R ˜ i ( x , y ) = R ˜ ( x , y ) exp j ( i 1 ) π / 2 , i = 1 , 2 , 3 , 4
Correspondingly, four different holograms are sequentially recorded:
I 1 ( x , y ) = o ( x , y ) 2 + r ( x , y ) 2 + 2 cos φ ( x , y ) ϕ ( x , y ) I 2 ( x , y ) = o ( x , y ) 2 + r ( x , y ) 2 + 2 cos φ ( x , y ) + π / 2 ϕ ( x , y ) I 3 ( x , y ) = o ( x , y ) 2 + r ( x , y ) 2 + 2 cos φ ( x , y ) + π ϕ ( x , y ) I 4 ( x , y ) = o ( x , y ) 2 + r ( x , y ) 2 + 2 cos φ ( x , y ) + 3 π / 2 ϕ ( x , y )
The phase difference between the object light field and the reference light field can be calculated at coordinates (x, y) by the following equation:
φ ( x , y ) ϕ ( x , y ) = arctan I 4 I 2 I 1 I 3
(2)
Reconstruction of the optical field phase by using the Fourier transform method
This method is also commonly used in image holography, which requires off-axis holography and sufficient carrier frequency [18]. Assuming that the object light field and the reference light field are O ˜ ( x , y ) and R ˜ ( x , y ) , respectively, on the holographic recording surface, the recorded digital hologram I ( x , y ) can be represented as:
I ( x , y ) = O ˜ ( x , y ) + R ˜ ( x , y ) * O ˜ ( x , y ) + R ˜ ( x , y ) = R ˜ * R ˜ + O ˜ * O ˜ + R ˜ * O ˜ + R ˜ O ˜ *
In order to reconstruct the object light field O ˜ ( x , y ) , the hologram can be first transformed from the spatial domain to the frequency domain through a Fourier transform step:
I ( u , v ) = F I ( x , y ) = F R ˜ * R ˜ + F O ˜ * O ˜ + F R ˜ * O ˜ + F R ˜ O ˜ *
Similar to the spectrum of off-axis holography, F R ˜ * R ˜ + F O ˜ * O ˜ appears in the low-frequency region of the frequency domain, known as the “0” level spectrum. However, F R ˜ * O ˜ and F R ˜ O ˜ * symmetrically appear in the mid-frequency and high-frequency regions of the frequency domain, referred to as the “+1” and “−1” level spectra, respectively. If the carrier frequency is large enough, that is, if the angle between the reference and object light is large enough, then the frequency spectrums are fully separated at all levels, and a suitable filter H ( u , v ) is selected in the frequency domain to filter out all other levels except for the “+1” level spectrum:
I ( u , v ) = H ( u , v ) I ( u , v ) = F R ˜ O ˜
The light field containing the object light O ˜ ( x , y ) and the conjugate reference light R ˜ * ( x , y ) can be reconstructed by performing an inverse Fourier transform on the filtered spectrum.
U ˜ + O R ( x , y ) = F 1 I ( u , v ) = R ˜ * O ˜
F 1 represents the inverse Fourier transform. The phase difference between the object light O ˜ ( x , y ) and the reference light R ˜ ( x , y ) can be reconstructed by using the following formula:
φ ( x , y ) ϕ ( x , y ) = arctan Im U ˜ + O R ( x , y ) Re U ˜ + O R ( x , y )
(3)
Reconstructing the phase of the optical field by using diffraction calculation
This method is commonly used in Fresnel holography or Fourier transform holography, which require diffraction calculations to reconstruct the reconstructed light field [19]. Assuming that the object light field and the reference light field are O ˜ ( x , y ) and R ˜ ( x , y ) , respectively, on the holographic recording surface, the hologram I ( x , y ) = O ˜ ( x , y ) + R ˜ ( x , y ) 2 is illuminated with coherent light with a complex amplitude of C ˜ ( x , y ) . The reconstructed light field U ˜ ( x , y ) can be expressed as:
U ˜ ( x , y ) = R ˜ * R ˜ C ˜ + O ˜ * O ˜ C ˜ + R ˜ * C ˜ O ˜ + R ˜ C ˜ O ˜ * = U 1 + U 2 + U 3 + U 4
If L represents the reconstruction operation of the reconstructed image, the light field on the image plane can be represented as:
U ˜ i ( x , y ) = L U ˜ 1 + U ˜ 2 + U ˜ 3 + U ˜ 4 = L U ˜ 1 + U ˜ 2 + L U ˜ 3 + L U ˜ 4
The phase of the object light is included in the reconstructed phase of the following equation:
ψ ( x , y ) = arctan Im L U ˜ 4 ( x , y ) Re L U ˜ 4 ( x , y )
The wrapped phase cannot reflect the variation pattern of the phase to be measured; it is necessary to unpack the wrapped phase of digital holography in order to obtain the correct phase distribution. There are three commonly used unwrapping phase algorithms:
(1)
Residual point search method for unwrapping phase
The schematic diagram of the residual point search is shown in Figure 2. The method is as follows: perform a first-order derivative operation on the (n, m) coordinate points in the two-dimensional wrapped phase.
Δ 1 = g ( n + 1 , m ) g ( n , m ) Δ 2 = g ( n + 1 , m + 1 ) g ( n + 1 , m ) Δ 3 = g ( n , m + 1 ) g ( n + 1 , m + 1 ) Δ 4 = g ( n , m ) g ( n , m + 1 )
Summing the results of two derivative operations yields:
i = 1 4 Δ i = Δ g x ( n , m + 1 ) Δ g x ( n , m ) Δ g y ( n , m + 1 ) Δ g y ( n , m ) = Δ g x y Δ g y x = P y Q x
The residual points are determined by rounding the derivative operation:
C ( n , m ) = r o u n d g ( n + 1 , m ) g ( n , m ) 2 π + r o u n d g ( n + 1 , m + 1 ) g ( n + 1 , m ) 2 π + r o u n d g ( n , m + 1 ) g ( n + 1 , m + 1 ) 2 π + r o u n d g ( n , m ) g ( n , m + 1 ) 2 π
r o u n d represents the rounding operation in the formula. If C ( n , m ) is not 0, ( n , m ) should be a residue; otherwise, it is not a residue.
C ( n , m ) = + 1 1 0   Positive   residual   points   Negative   residual   point . It’s   not   a   residue
The results obtained may not be unique by the path tracking algorithm for areas with residues, and special processing is necessary to obtain the correct unpacking results [20].
(2)
Row and column point-by-point algorithm for unwrapping phase
As shown in Figure 3, the simulation experiment results of unwrapping phase are presented through using the row and column point-by-point algorithm. The basic idea is to first complete the unwrapping operation of a certain row or column and then to use the phase value of each element in this row or column as the starting phase value and unwrapping it column by column or row by row, thus completing the unwrapping operation of the entire two-dimensional unwrapping phase matrix [21].
(3)
Least squares method for unwrapping phase
Seeking the minimum norm of different orders is a commonly used algorithm in various path-independent algorithms, among which the least squares algorithm is the most commonly used. The gradients of the wrapping phase along the x and y directions are
Δ g n m x = g ( n + 1 , m ) g ( n , m ) ,   Δ g n m y = g ( n , m + 1 ) g ( n , m )
Assuming that the phase value of the solution obtained is ϕ ( n , m ) by using the least squares method, i.e., ϕ ( n , m ) is the least squares solution of φ ( n , m ) , the least squares (second-order norm) should be performed first:
S = n 1 N 1 m 1 M 1 ϕ ( n + 1 ) m ϕ n m Δ g n m x 2 + n 1 N 1 m 1 M 1 ϕ n ( m + 1 ) ϕ n m Δ g n m y 2
The equation for solving the above least squares matrix can be expressed as
ϕ ( n + 1 ) m ϕ ( n 1 ) m + ϕ n ( m + 1 ) + ϕ n ( m 1 ) 4 ϕ n m = Δ g n m x Δ g ( n 1 ) m x + Δ g n m y Δ g n ( m 1 ) y
The identity relationship can be expressed as
ϕ ( n + 1 ) m 2 ϕ n m + ϕ ( n 1 ) m + ϕ n ( m + 1 ) 2 ϕ n m + ϕ n ( m 1 ) = ρ n m
In this relational expression,
ρ n m = Δ g n m x Δ g ( n 1 ) m x + Δ g n m y Δ g n ( m 1 ) y
ρ n m can be directly obtained from the phase g ( n , m ) of the wrapped phase. The above least squares matrix-solving equation is a discrete Poisson equation on a N × M rectangular network, namely:
Δ 2 Δ x 2 ϕ ( x , y ) + Δ 2 Δ y 2 ϕ ( x , y ) = ρ ( x , y )
The Neumann boundary conditions for the discrete Poisson equation are
Δ ϕ ( 0 ) m x = ϕ ( 1 ) m ϕ ( 0 ) m = 0 Δ ϕ ( N ) m x = ϕ ( N + 1 ) m ϕ ( N ) m = 0 , m = 1 , , M Δ ϕ n ( 0 ) y = ϕ n ( 1 ) ϕ n ( 0 ) = 0 Δ ϕ n ( M ) y = ϕ n ( M + 1 ) ϕ n ( M ) = 0 , N = 1 , , N
So, the least squares solution of the phase unwrapping problem can mathematically solve the discrete Poisson equation with Neumann boundary conditions, and the discrete cosine transform (DCT) technique can be used to solve the discrete Poisson equation:
2 ϕ n m = ρ n m
In the equation, 2 = 2 x 2 + 2 y 2 is the Laplace operator. Assuming that ρ n m is ρ ^ n m in the DCT domain (i.e., DCT transformation of ρ n m ), the exact solution of ϕ n m in the DCT domain is
ϕ n m = ρ ^ n m 2 cos π n N + cos π m M 2
Performing a DCT inverse transformation on the previous equation, the least squares solution of the phase g n , m can be obtained after unwrapping [22].
Improving the classic iterative algorithm:
Assuming that φ i , j is the wrapped phase, π φ i , j π , ϕ i , j is the true phase and satisfies the following equation:
ϕ i , j = φ i , j + 2 π k i , j
If the wrapped phase is respectively defined as Δ i , j x and Δ i , j y in the x and y directions, then
Δ i , j x = W ( φ i + 1 , j φ i , j ) Δ i , j y = W ( φ i , j + 1 φ i , j )
In the equation, W is the wrapping operator, which aims to add or subtract 2 π to the wrapping phase to ensure that the values of Δ i , j x and Δ i , j y are within π , π . To minimize the difference between the partial derivative of the true phase and the wrapped phase difference,
min ( J ) = i = 0 M 2 j = 0 N 1 ( ϕ i + 1 , j ϕ i , j Δ i , j x ) 2 + i = 0 M 2 j = 0 N 1 ( ϕ i , j + 1 ϕ i , j Δ i , j y ) 2
By taking the derivative of ϕ i , j in the above equation and making it 0, the Poisson equation is obtained:
ϕ i + 1 , j + ϕ i , j + ϕ i , j + 1 ϕ i , j 1 4 ϕ i , j = ρ i , j
In the equation, ρ i , j = ( Δ i , j x Δ i 1 , j x ) + ( Δ i , j y Δ i , j 1 y ) is the value of the wrapped phase.
Boundary conditions:
Δ 1 , j x = 0 Δ M 1 , j x = 0 j = 0 , 1 , 2 N 1 Δ i , 1 y = 0 Δ i , N 1 y = 0 i = 0 , 1 , 2 M 1
Substituting Equation (27) into Equation (30) yields
k i + 1 , j + k i 1 , j + k i , j + 1 + k i , j 1 k i , j = ( ρ i , j + 4 φ i , j φ i + 1 , j φ i 1 , j φ i , j + 1 φ i , j 1 ) / ( 2 π )
If the right-hand side of Equation (31) is equal to a i , j , then
a i , j = ( ρ i , j + 4 φ i , j φ i + 1 , j φ i 1 , j φ i , j + 1 φ i , j 1 ) / ( 2 π )
k i + 1 , j + k i 1 , j + k i , j + 1 + k i , j 1 k i , j = a i , j
Iterating Equation (34):
k i , j n + 1 = k i + 1 , j n + k i , j + 1 n + k i 1 , j n + 1 + k i , j 1 n + 1 a i , j / 4
This algorithm can effectively obtain the unwrapped phase. The idea behind multiple iterations is the following: (1) To a certain extent, to reduce errors and improve the accuracy of unwrapping phase under noise. (2) To improve the quality of phase unwrapping while minimizing the difference between the partial derivative of the true phase and the phase difference of the wrapped phase, reducing computation time. (3) The boundary conditions are all integers during the iteration process, further improving the robustness of the wrapped algorithm.

3. Simulation Verification

(1)
As shown in Figure 4, the four-step phase-shift method reconstructs the phase of the optical field.
The simulation steps are as follows using MATLAB:
Step 1: Calculate the distribution of the object light field after it passes through the lens by using the single fast Fourier transform algorithm (S-FFT) algorithm (as shown in Figure 4a);
Step 2: Complete the diffraction calculation of the light field reaching the clear imaging surface after passing through the lens, and obtain the reconstructed object light field on the image surface (as shown in Figure 4b);
Step 3: Finally, construct four tilted incident plane reference light waves, and then interfere with the reconstructed object light field to obtain a four-step phase-shifting image plane hologram (as shown in Figure 4c–f);
Step 4: Calculate the phase (as shown in Figure 4g,h). As shown in Figure 4h, the reconstructed phase profile is wrapped between π 2 and π 2 .
As shown in Formula (5), the wrapped phase is calculated by using the four-step phase-shifting method, which is transformed into an arctangent function. The four-step phase-shifting method usually obtains four holographic interferograms with phase shifts of 0, π/2, π, and 3π/2, respectively. The reconstruction can achieve the purpose of removing zero-order images and conjugate images after calculation.
(2)
As shown in Figure 5, the Fourier transform method reconstructs the phase of the optical field.
Figure 5 is a schematic diagram of the optical path for measuring the deformation of transparent objects by using a zoom system. The deformation of organic glass after being subjected to force is measured, and the experimental image is selected from the 6(a) “single-hole cavity image”. The laser beam (with a wavelength of λ = 532.8   nm ) is divided into an illuminating object light and a reference light through a beam splitter S1. The illuminating object light is transformed into a plane light wave illuminating the object through a total reflection mirror M2, lenses F0 and L0, and then after it passes through a zoom system composed of lenses L1, L2, and L3 and a beam splitter prism S as the object light wave, it reaches the holographic recording surface. The reference light is transformed into a plane light wave through a beam-expanding system composed of lenses F1 and L4 after being reflected by M1. It is used as the reference light to reach the holographic recording surface after being reflected by a beam splitting prism S. The reference light and object light interfere with each other and are captured by CCD as image plane digital holograms on the holographic recording surface. One hologram before loading and one hologram after loading were recorded separately in the experiment, and the deformation size was measured by reconstructing the phase change of the object light. After performing Fourier transform and filtering, only “+1” level images are preserved. An inverse Fourier transform is performed to obtain the reconstructed object light field, calculating the phase, and displaying the phase.
The experimental results are shown in Figure 6. Figure 6c shows the “+1” level image, and Figure 6e shows the sine plot obtained by the Fourier transform method. The cross-section shows that the reconstructed phase is wrapped between π and π . As shown in Formula (10), the arctangent function is obtained through a Fourier transform. Frequency domain filtering is very important in Fourier transform phase reconstruction.
(3)
As shown in Figure 7, the diffraction calculation method reconstructs the phase of the optical field.
The simulation steps are as follows using the MATLAB software:
Step 1: Perform the diffraction calculation of the object light reaching the holographic recording surface by using the T-FFT(Triple Fast Fourier Transform) algorithm, and then interfere with the tilted incident plane reference light wave to obtain the hologram.
Step 2: Use the preset magnification algorithm to complete clear imaging diffraction calculations, then calculate the reconstructed object light field phase and display it.
Formula (13) shows the arctangent function transformed by the diffraction calculation method. The phase profile is reconstructed to display the phase wrapping between π and π .
There are many technologies that have applied phase unwrapping technology to a certain extent, such as computer technology, electronic imaging technology, interferometric metrology technology, holographic technology, stripe projection technology, three-dimensional contour technology, interferometric synthetic aperture radar technology, nuclear magnetic resonance imaging technology, and so on [23,24,25]. The quality of the phase unwrapping algorithm directly determines whether a true phase can be obtained in digital holography. The common phase unwrapping algorithms are as follows:
(1)
As shown in Figure 8, the residual point search method is used to unwrap the phase.
The location of residual points is uncertain, and some areas may have a large number of residual points, while others may have fewer. The residual points are caused by noise in the simulation calculation. Its formation is partly due to the overlapping of multiple interference images during data image acquisition and partly due to the insufficient number of samples taken.
(2)
As shown in Figure 9, the row and column point-by-point method is used to unwrap the phase.
The noise coefficient is set to 0.5, thus adding random noise that varies from π 2 to π 2 in the original phase (following a uniform distribution). It can be seen that there are several black and white lines from Figure 9b, which are caused by the influence of noise and other factors, resulting in the so-called “pulling phenomenon”. These wires form a strong contrast with the continuous phase after being unwrapped around them. The wires all occur at the residual points, causing the outline of the object to be blurry and affecting the quality of the unwrapped phase. The reason for the failure of the row and column point-by-point algorithm in the actual two-dimensional phase unwrapping process is the influence of residual points. When unpacking at this point and in nearby areas, it may result in non-uniqueness and inaccuracy of the results.
If the row unwrapping operation is completed first, then the phase unwrapping is performed column by column, and the onion cell image is reprocessed, as shown in Figure 10; the phase obtained from holography is shown in Figure 11.
The previous experiment was processed by first completing the columns and then unpacking the phase row by row. As shown in Figure 12, the residual points are concentrated on the right side, and a better unwrapped phase can be obtained by comparing the experiments above.
Through Figure 11 and Figure 12, it is found that the calculation results are different due to the different choices of unwrapping phase by column and then by row, as well as by row and then by column.
(3)
As shown in Figure 13, the least squares method is used to unwrap the phase.
As shown in Figure 13, the simulation experiment results of using the least squares algorithm were used to solve the wrapped phase. Figure 13a,b show the wrapped phase without noise (noise coefficient equal to 0) and its unwrapping phase results, while Figure 13c,d show the wrapped phase with noise (noise coefficient equal to 0.3) and its unwrapping phase results. Comparing the above two results, it can be seen that the least squares algorithm can obtain accurate results without noise; once there is noise, the result will be peak shaving and valley filling. The reason is that cosine or Fourier transform is required in the least squares algorithm. As long as there is noise at one point in the wrapped phase, it will inevitably propagate to other points in the two-dimensional space, resulting in errors in the unwrapping phase of all points. Therefore, accurate solutions are usually not obtained directly by using the least squares algorithm. However, because the least squares method is a global algorithm, there will be no discontinuity such as pulling wires in the phase solution. The least squares unwrapping algorithm obtains a smooth surface with continuous changes, which can effectively restore the original surface. But compared to the original surface, the vertical axis of the surface is smaller, so the surface is smoother, and the values of each point undergo a certain change, resulting in an overall smaller error. Although there are certain error points in the wrapped phase, compared with the other two methods, this algorithm can approximate the true phase value through multiple iterations and improve accuracy, as shown in Figure 13e,f.
Compared with traditional iteration, the improved algorithm solves the following problems. During the process of unwrapping the phase, if it passes through an area of phase inconsistency, the phase error will not propagate throughout the entire space. This paper uses a data fusion algorithm to improve the least squares method iteration, and even when the noise is relatively high, the true unwrapped phase can still be obtained normally. The unwrapped phase can be compared with the true phase, which is close to the result when the external noise coefficient is 0.06, as shown in Figure 13e,f. It can also smooth out defects in the real phase, which means that if there are spikes or steep slopes, corresponding smoothing effects can be applied. It has improved the stability and accuracy of the algorithm to some extent.
Different algorithms can only solve a certain type of problem, and the specific algorithm to be adopted should be determined based on the specific situation. Among the above algorithms, the residual point search method results in significant phase errors in unwrapping for noise, and the row and column search method will result in different results due to the difference in searching first row and then column or searching first column and then row. In the case of multiple iterations, the least squares method not only achieves simplicity and is not limited by phase quality, but it also maintains good phase continuity. When using the four-step phase-shift method for digital holographic reconstruction, not only can the accurate distribution of object light waves be obtained, but the influence of random errors and CCD noise can also be effectively eliminated. Therefore, the four-step phase-shift method is used to reconstruct the phase of the light field, and the least squares method is used with multiple iterations to solve the wrapped phase in the experimental verification stage.

4. Experimental Verification

We will complete the data processing of the reconstructed object light field and reconstructed light field phase on the holographic images taken in the experiment. We will use the four-step phase-shift method for calculations. The optical path is shown in Figure 14, which is a microscopic digital holographic optical path for observing onion cells. The He-Ne laser beam (wavelength λ = 632.8   nm ) is divided into two beams after passing through the beam splitter BS1. One beam is irradiated onto the sample through the reflector M, and the microscope objective projects the transmitted light onto the optocoupler CCD. The other beam is transformed into a plane beam through the collimator L after passing through the beam expanding lens BE and the pinhole filter h. The reflection mirror PZT M and beam splitter BS2 driven by piezoelectric ceramic tubes are reflected onto the CCD as the recording reference light. In the experiment, the precise phase of PZT was controlled by a computer, and four holograms were recorded. The reconstructed phase was calculated using Formula (5).
The hologram and reconstructed phase obtained through MATLAB simulation are shown in Figure 15. Figure 15a–d are four-step phase-shifting holograms, I1~I4; Figure 15e represents the reconstructed phase; and Figure 15f is the reconstructed phase profile showing that the reconstructed phase is wrapped between π 2 and π 2 .
From the simulation results in Figure 15f, it can be seen that the four-step phase-shift method can effectively solve the phase information of the sinusoidal fringe pattern even in the presence of certain noise, thereby calculating the accurate absolute phase. By using the phase-shifting fringe patterns reflected by the reflection mirror PZT M and the beam splitter BS2 onto the CCD, it can be seen that by using the least squares method to iteratively unwrap the phase, only four phase-shifting fringe patterns are needed to unwrap the phase, and to finally obtain the three-dimensional phase information of the object, as shown in Figure 16b. It can be seen that despite noise and undersampling, the obtained unwrapped phase is still continuous from Figure 16b. By comparing Figure 16b with Figure 12, it can be seen that the least squares method has a significant smoothing effect after multiple iterations.

5. Conclusions

This paper compares various current algorithms for phase unwrapping. Using MATLAB simulation and experimental verification to obtain the wrapped phase of the four-step phase-shifting interferometric digital hologram, the least squares algorithm was used for multiple improvement iterations to unwrap the phase of the object light field on the holographic recording surface reconstructed by the four-step phase-shifting method, thereby obtaining the phase distribution of the interference information field and obtaining ideal experimental results. The effectiveness and robustness of the algorithm proposed were verified by MATLAB simulation and the experimental results in this paper.

Author Contributions

Y.L. (Yucheng Li): formulation or evolution of overarching research goals and aims. Y.Z.: Formal analysis: Application of statistical, mathematical, computational, or other formal techniques to analyze or synthesize study data. D.J.: Methodology Development or design of methodology; creation of models. M.Z.: Software: Programming, software development; designing computer programs; implementation of the computer code and supporting algorithms; testing of existing code components. X.J.: Writing: original draft Preparation, creation and/or presentation of the published work, specifically writing the initial draft (including substantive translation). Y.L. (Yongtian Li): Writing—review & editing: Preparation, creation and/or presentation of the published work by those from the original research group, specifically critical review, commentary or revision—including pre- or post-publication stages. Y.W.: Investigation Conducting a research and investigation process, specifically performing the experiments, or data/evidence collection. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

This study does not require ethical approval.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The new data created in this research paper are not suitable for presentation in the paper. These new data will appear in future invention patents and software copyright applications.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sun, Z.; Deng, D.; Pang, Z.; Yang, Z. Nonlinear transmission dynamics of mutual transformation between array modes and hollow modes in elliptical sine-Gaussian cross-phase beams. Chaos Solitons Fractals 2024, 178, 114398. [Google Scholar] [CrossRef]
  2. Shen, S.; Yang, Z.; Li, X.; Zhang, S. Periodic propagation of complex-valued hyperbolic-cosine-Gaussian solitons and breathers with complicated light field structure in strongly nonlocal nonlinear media. Commun. Nonlinear Sci. Numer. Simul. 2021, 103, 106005. [Google Scholar] [CrossRef]
  3. Shen, S.; Yang, Z.; Pang, Z.; Ge, Y. The complex-valued astigmatic cosine-Gaussian soliton solution of the nonlocal nonlinear Schrödinger equation and its transmission characteristics. Appl. Math. Lett. 2022, 125, 107755. [Google Scholar] [CrossRef]
  4. Fang, M. Wrap-type phase unwrapping utilizing arctangent operation as a differential amplifier through shifted phase maps. Opt. Express 2023, 31, 31622–31633. [Google Scholar] [CrossRef]
  5. Itoh, K. Analysis of the phase unwrapping algorithm. Appl. Opt. 1982, 21, 2470. [Google Scholar] [CrossRef]
  6. Takeda, M.; Ina, H.; Kobayashi, S. Fourier-transform method of fringe-pattern analysis for computer-based topography and interferometry. J. Opt. Soc. Am. 1982, 72, 156–160. [Google Scholar] [CrossRef]
  7. Goldstein, R.M.; Zebker, H.A.; Werner, C.L. Satellite radar interferometry: Two-dimensional phase unwrapping. Radio Sci. 1988, 23, 713–720. [Google Scholar] [CrossRef]
  8. Bone, D. Fourier fringe analysis: The two-dimensional phase unwrapping problem. Appl. Opt. 1991, 30, 3627–3632. [Google Scholar] [CrossRef]
  9. Ghiglia, D.C.; Romero, L.A. Minimum LP-norm two-dimensional phase unwrapping. J. Opt. Soc. Am. A 1996, 13, 1999–2013. [Google Scholar] [CrossRef]
  10. Qian, X.; Zhang, Y.; Li, X.; Ma, H. Phase unwrapping method based on mask and least squares iteration. Acta Opt. Sin. 2010, 30, 440–444. [Google Scholar] [CrossRef]
  11. Jin, G.; Xu, G.; Yu, M.; Tan, X.; Zhang, Y. InSAR phase unwrapping based on instantaneous frequency estimation. J. Surv. Mapp. Sci. Technol. 2009, 1, 33–35+40. [Google Scholar]
  12. Servin, M.; Padilla, M.; Garnica, G.; Gonzalez, A. Profilometry of three-dimensional discontinuous solids by combining two-steps temporal phase unwrapping, co-phased profilometry and phase-shifting interferometry. Opt. Lasers Eng. 2016, 87, 75–82. [Google Scholar] [CrossRef]
  13. Fang, M. Branch-cut algorithm with second-order residues in phase unwrapping. Opt. Lett. 2024, 49, 899–902. [Google Scholar] [CrossRef]
  14. Gontarz, M.; Dutta, V.; Kujawińska, M.; Krauze, W. Phase unwrapping using deep learning in holographic tomography. Opt. Express 2023, 31, 18964–18992. [Google Scholar] [CrossRef]
  15. Wang, L.; Yi, L.; Zhang, Y.; Wang, X.; Wang, W.; Wang, X.; Wang, X. 3D reconstruction method based on N-step phase unwrapping. Vis. Comput. 2023, 40, 3601–3613. [Google Scholar] [CrossRef]
  16. Takashi, M.; Suzuki, S.; Sakaue, K. Recording caustic images by phase-shifting digital holography. Opt. Eng. 2006, 45, 115802. [Google Scholar]
  17. Pak, I.I.; Kim, C.-S.; Kang, J.C.; Son, J.R. Verification of phase measurement error sources in phase-shifting interferometry with four step phase-shifting algorithms. Appl. Opt. 2021, 60, 3856–3864. [Google Scholar] [CrossRef]
  18. Wang, Y.; Yang, S.; Gou, X. Modified Fourier transform method for 3D profile measurement without phase unwrapping. Opt. Lett. 2010, 35, 790–792. [Google Scholar] [CrossRef]
  19. Wang, P.; Peng, T.; Zhang, S.; Lu, F.; Zhong, Z.; Li, J.; Wang, Y.; Zhou, J. A phase unwrapping method with the sparse prior for diffraction phase microscopy. Opt. Laser Technol. 2024, 170, 110268. [Google Scholar] [CrossRef]
  20. Yuan, G.; Zhen, Y.; Quan, W. Unwrapping method for local high density residual point wrapped phase. Laser Optoelectron. Prog. 2017, 54, 41202. [Google Scholar] [CrossRef]
  21. Li, Y.; Zhu, J.; Shen, W. Phase unwrapping algorithms, respectively, based on path-following and discrete cosine transform. Optik 2008, 119, 545–547. [Google Scholar] [CrossRef]
  22. Cheng, W.; Cheng, H.; Wen, Y.; Feng, Y. Comparison of weighted least-squares phase unwrapping algorithms in noise resistance, discontinuity characteristics, convergence speed, and accuracy. Opt. Eng. 2022, 61, 073105. [Google Scholar] [CrossRef]
  23. Cui, K.; Wang, Y.; Pan, X.; Qian, J.; Ren, Z.; Zhu, R.; Li, X. Real Time Phase Unwrapping Implementation Based on Unscented Kalman Filter for Interferometric Fiber Sensor Applications. J. Light. Technol. 2024, 42, 970–980. [Google Scholar] [CrossRef]
  24. Gao, Y.; Zhang, S. Unscented Kalman Filter Phase Unwrapping Method and Its Application on Gaofen-3 Interferometric SAR Data. Sensors 2018, 18, 1793. [Google Scholar] [CrossRef]
  25. Fang, Q.; Meaney, P.M.; Paulsen, K.D. The multidimensional phase unwrapping integral and applications to microwave tomographical image reconstruction. IEEE Trans. Image Process. A Publ. IEEE Signal Process. Soc. 2006, 15, 3311–3324. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of phase unwrapping. (a) True phase; (b) Unwrapping phase.
Figure 1. Schematic diagram of phase unwrapping. (a) True phase; (b) Unwrapping phase.
Photonics 11 00716 g001
Figure 2. Schematic diagram of the residual point search.
Figure 2. Schematic diagram of the residual point search.
Photonics 11 00716 g002
Figure 3. Simulation experiment results of row and column point-by-point algorithm for unwrapping phase. (a) Original phase; (b) Wrapped phase; (c) Unwrapped phase.
Figure 3. Simulation experiment results of row and column point-by-point algorithm for unwrapping phase. (a) Original phase; (b) Wrapped phase; (c) Unwrapped phase.
Photonics 11 00716 g003
Figure 4. Simulation calculation results of reconstructing the object light field phase using the four-step phase-shift method. (a) Distribution of object light intensity; (b) Reproducing images; (c) Hologram I1; (d) Hologram I1; (e) Hologram I3; (f) Hologram I4; (g) Reconstructing phase; (h) Reconstructing the phase profile.
Figure 4. Simulation calculation results of reconstructing the object light field phase using the four-step phase-shift method. (a) Distribution of object light intensity; (b) Reproducing images; (c) Hologram I1; (d) Hologram I1; (e) Hologram I3; (f) Hologram I4; (g) Reconstructing phase; (h) Reconstructing the phase profile.
Photonics 11 00716 g004
Figure 5. Schematic diagram of the optical path for measuring the deformation of transparent objects using a zoom system.
Figure 5. Schematic diagram of the optical path for measuring the deformation of transparent objects using a zoom system.
Photonics 11 00716 g005
Figure 6. Experimental results of digital holography for measuring the deformation of transparent objects. (a) Single-hole cavity image before loading; (b) Off-axis hologram of single-hole cavity image after loading; (c) Single-hole cavity spectrogram; (d) Single-hole cavity reconstruction phase; (e) Single-hole cavity reconstruction phase profile.
Figure 6. Experimental results of digital holography for measuring the deformation of transparent objects. (a) Single-hole cavity image before loading; (b) Off-axis hologram of single-hole cavity image after loading; (c) Single-hole cavity spectrogram; (d) Single-hole cavity reconstruction phase; (e) Single-hole cavity reconstruction phase profile.
Photonics 11 00716 g006
Figure 7. Phase simulation results of the reconstructed object light field by using diffraction calculations. (a) Diffraction pattern; (b) Hologram; (c) Reconstructed image; (d) Reconstructing phase; (e) Reconstructing the phase profile.
Figure 7. Phase simulation results of the reconstructed object light field by using diffraction calculations. (a) Diffraction pattern; (b) Hologram; (c) Reconstructed image; (d) Reconstructing phase; (e) Reconstructing the phase profile.
Photonics 11 00716 g007
Figure 8. Simulation experiment results of a residual point search. (a) Wrapped phase; (b) Residual distribution.
Figure 8. Simulation experiment results of a residual point search. (a) Wrapped phase; (b) Residual distribution.
Photonics 11 00716 g008
Figure 9. Simulation experiment results of the point-by-point unwrapping algorithm for rows and columns: (a) Wrapped phase; (b) Unwrapping phase.
Figure 9. Simulation experiment results of the point-by-point unwrapping algorithm for rows and columns: (a) Wrapped phase; (b) Unwrapping phase.
Photonics 11 00716 g009
Figure 10. Experimental onion image. (a) Onion cell 1; (b) Onion cell 2; (c) Onion cell 3; (d) Onion cell 4.
Figure 10. Experimental onion image. (a) Onion cell 1; (b) Onion cell 2; (c) Onion cell 3; (d) Onion cell 4.
Photonics 11 00716 g010
Figure 11. Experimental results of first completing phase unwrapping row by row and then column by column on onion cells. (a) Unwrapped phase—3D diagram; (b) Unwrapped phase—2D diagram.
Figure 11. Experimental results of first completing phase unwrapping row by row and then column by column on onion cells. (a) Unwrapped phase—3D diagram; (b) Unwrapped phase—2D diagram.
Photonics 11 00716 g011
Figure 12. Experimental results of first completing the first column and then unwrapping the phase of onion cells row by row. (a) Wrapped phase; (b) Unwrapped phase—3D diagram; (c) Unwrapped phase—2D diagram.
Figure 12. Experimental results of first completing the first column and then unwrapping the phase of onion cells row by row. (a) Wrapped phase; (b) Unwrapped phase—3D diagram; (c) Unwrapped phase—2D diagram.
Photonics 11 00716 g012
Figure 13. Simulation experiment results of the least squares unwrapping algorithm. (a) Wrapped phase (0); (b) Unwrapped phase (0); (c) Wrapped phase (0.3); (d) Unwrapped phase (0.3); (e) Wrapped phase (multiple iterations); (f) Unwrapped phase (multiple iterations).
Figure 13. Simulation experiment results of the least squares unwrapping algorithm. (a) Wrapped phase (0); (b) Unwrapped phase (0); (c) Wrapped phase (0.3); (d) Unwrapped phase (0.3); (e) Wrapped phase (multiple iterations); (f) Unwrapped phase (multiple iterations).
Photonics 11 00716 g013
Figure 14. Schematic diagram of the onion cell optical path observed by four-step phase-shifting microscopic digital holography.
Figure 14. Schematic diagram of the onion cell optical path observed by four-step phase-shifting microscopic digital holography.
Photonics 11 00716 g014
Figure 15. Results of the four-step phase-shift microscopic digital holography experiment—Hologram and Reconstructed Phase. (a) Hologram I1; (b) Hologram I2; (c) Hologram I3; (d) Hologram I4; (e) Reconstructing phase; (f) Reconstructing the phase profile.
Figure 15. Results of the four-step phase-shift microscopic digital holography experiment—Hologram and Reconstructed Phase. (a) Hologram I1; (b) Hologram I2; (c) Hologram I3; (d) Hologram I4; (e) Reconstructing phase; (f) Reconstructing the phase profile.
Photonics 11 00716 g015
Figure 16. Observation of onion cell image holography using the four-step phase-shifting method and experimental results of multiple iterations of the least squares method for phase unwrapping. (a) Experimental wrapping phase diagram; (b) Unwrapping phase—3D diagram; (c) Re-wrapping phase diagram.
Figure 16. Observation of onion cell image holography using the four-step phase-shifting method and experimental results of multiple iterations of the least squares method for phase unwrapping. (a) Experimental wrapping phase diagram; (b) Unwrapping phase—3D diagram; (c) Re-wrapping phase diagram.
Photonics 11 00716 g016
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

Li, Y.; Zhang, Y.; Jia, D.; Zhang, M.; Ji, X.; Li, Y.; Wu, Y. Experimental Study on the Reconstruction of a Light Field through a Four-Step Phase-Shift Method and Multiple Improvement Iterations of the Least Squares Method for Phase Unwrapping. Photonics 2024, 11, 716. https://doi.org/10.3390/photonics11080716

AMA Style

Li Y, Zhang Y, Jia D, Zhang M, Ji X, Li Y, Wu Y. Experimental Study on the Reconstruction of a Light Field through a Four-Step Phase-Shift Method and Multiple Improvement Iterations of the Least Squares Method for Phase Unwrapping. Photonics. 2024; 11(8):716. https://doi.org/10.3390/photonics11080716

Chicago/Turabian Style

Li, Yucheng, Yang Zhang, Deyu Jia, Muqun Zhang, Xianfa Ji, Yongtian Li, and Yifeng Wu. 2024. "Experimental Study on the Reconstruction of a Light Field through a Four-Step Phase-Shift Method and Multiple Improvement Iterations of the Least Squares Method for Phase Unwrapping" Photonics 11, no. 8: 716. https://doi.org/10.3390/photonics11080716

APA Style

Li, Y., Zhang, Y., Jia, D., Zhang, M., Ji, X., Li, Y., & Wu, Y. (2024). Experimental Study on the Reconstruction of a Light Field through a Four-Step Phase-Shift Method and Multiple Improvement Iterations of the Least Squares Method for Phase Unwrapping. Photonics, 11(8), 716. https://doi.org/10.3390/photonics11080716

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