Next Article in Journal
Feedback PID Controller-Based Closed-Loop Fast Charging of Lithium-Ion Batteries Using Constant-Temperature–Constant-Voltage Method
Previous Article in Journal
A Simple Monopole Antenna with a Switchable Beam for 5G Millimeter-Wave Communication Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Robust Discontinuous Phase Unwrapping Based on Least-Squares Orientation Estimator

1
Key Laboratory of Metallurgical Equipment and Control Technology, Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
2
Hubei Key Laboratory of Mechanical Transmission and Manufacturing Engineering, Wuhan University of Science and Technology, Wuhan 430081, China
3
Institute of Robotics and Intelligent Systems, School of Information Science and Engineering, Wuhan University of Science and Technology, Wuhan 430081, China
*
Author to whom correspondence should be addressed.
Electronics 2021, 10(22), 2871; https://doi.org/10.3390/electronics10222871
Submission received: 24 August 2021 / Revised: 13 November 2021 / Accepted: 15 November 2021 / Published: 22 November 2021
(This article belongs to the Section Optoelectronics)

Abstract

:
Weighted least-squares (WLS) phase unwrapping is widely used in optical engineering. However, this technique still has issues in coping with discontinuity as well as noise. In this paper, a new WLS phase unwrapping algorithm based on the least-squares orientation estimator (LSOE) is proposed to improve phase unwrapping robustness. Specifically, the proposed LSOE employs a quadratic error norm to constrain the distance between gradients and orientation vectors. The estimated orientation is then used to indicate the wrapped phase quality, which is in terms of a weight mask. The weight mask is calculated by post-processing, including a bilateral filter, STDS, and numerical relabeling. Simulation results show that the proposed method can work in a scenario in which the noise variance is 1.5. Comparisons with the four WLS phase unwrapping methods indicate that the proposed method provides the best accuracy in terms of segmentation mean error under the noisy patterns.

1. Introduction

Phase-measurement techniques are imperative in optical engineering, such as optical interferometry, fringe projection profilometry, and synthetic aperture radar [1,2,3]. Phase patterns encode information such as shape, deformation, and refractive index, etc., [4].
Spatial phase unwrapping (SPU) is a natural and straightforward technique to unwrap wrapped phase images. Generally, SPU methods can be classified into path-following and minimum-norm methods [2]. The basic principle of the path-following algorithm is to perform phase integration along the appropriate path to avoid errors caused by the unreliability of the wrapped phase data [2]. Typical path-following methods include Goldstein’s branch-cut algorithm [5], quality-guided algorithms [6,7,8,9,10], Flynn’s minimum discontinuity algorithm [11], and so on.
On the other hand, minimum-norm methods [2] have been proposed to unwrap phases by a global function-minimized phase unwrapping. In [2], by employing a fast Fourier and discrete cosine transform, a weighted least-squares method (WLS) was shown to solve phase unwrapping. Considering the effect of noise and discontinuity, the noisy and discontinuous regions are mapped to weight coefficients, and an effective weighted iteration is implemented to accurately solve the phase unwrapping problem. Obviously, the issue is to determine the weight mask, which is used to calculate the weight coefficients of the WLS phase unwrapping. To this end, various phase quality analysis methods, such as correlation maps [2], phase derivative variance (PDV) [12], derivative variance correlation maps (DVCM) [13], etc., have been proposed. It is worth mentioning that a regional reliability evaluation to define weight mask was introduced in [14]. The proposed approach is an acceptable solution for representing phase regions and abnormal edge quality, and it is suitable for specific optical phase-measurement systems with more wrapped phases.
It should be highlighted that the above-mentioned methods focus on continuous fringe patterns. Due to spatially independent surfaces, discontinuous patterns always happen, which yields an error in phase unwrapping. The situation is very challenging in case both noise and discontinuity exist. The difficulty of discontinuity identification is worth highlighting. Recently, several methods have been proposed to solve this problem. Cui et al. [15] introduced a new quality map by combining a phase Laplace gradient and a statistical method which transforms the phase gradient of each pixel into a phase Laplace gradient using its four neighboring pixels. Qian et al. [16] proposed a snake-assisted quality-guided phase unwrapping algorithm, which used a windowed Fourier transform (WFT)-based method to obtain an effective quality measure. It has been shown that this method can obtain good unwrapping results at discontinuities. Based on the wrapping-free phase retrieval method described in [17], Zhou et al. [18] proposed a binary mask of a reverse DVCM as the weight mask. Since the second derivative of the four-step phase-shifting fringe pattern needs to be calculated, these methods are only suitable for particular measurement objects with singularities. Concerning the discontinuous fringe pattern with noise, a local orientation coherence-based fringe segmentation method, which cooperates with boundary-aware coherence enhancing diffusion, was presented in [19]. Furthermore, a complete solution based on [19] was described in [20] to deal with discontinuous phase unwrapping problems. To solve the weak global noise problem, Yan et al. [21] proposed a WLS phase unwrapping algorithm based on a reliability mask. For different patterns, several trials were carried out to determine the appropriate threshold. Inspired by the local orientation coherence of [19], Li et al. [22] presented a least-squares phase unwrapping algorithm using orientation coherence as the weight mask. It is highlighted that Li provides the appropriate thresholds in his research [22].
To deal with the problem, i.e., the weight mask sensitivity to noise and heuristic selection of the threshold, a robust weight mask’s calculation method based on the least-squares orientation estimator is presented in this paper. First, the quadratic error norm of the phase image between the gradient vector and the true orientation of each pixel is calculated. Next, a Gaussian kernel function is employed to smooth the incorrect gradients caused by noise. Then, the Lagrange multiplier is used to minimize the error to obtain an orientation map. After that, a bilateral filter [23] is adopted to remove the abnormal direction and preserve the discontinuous edges of the orientation map. Finally, the discontinuous and continuous orientation maps are processed by the SDTS method [24] and numerical relabeling. The experimental results show that the proposed algorithm is superior to the state-of-the-art methods. The contributions of the paper are summarized as follows:
(1)
A novel orientation estimator, LSOE, is proposed to construct a noise-robust orientation map;
(2)
A new weight mask solution is developed by post-processing, which comprises the bilateral filter, STDS method, and numerical relabeling instead of the traditional thresholding segmentation methods.
The remainder of this paper is organized as follows. The WLS method for phase unwrapping is briefly introduced in Section 2. In Section 3, we describe the proposed algorithm in detail. Section 4 demonstrates experimental results, followed by the discussion and conclusions in Section 5 and Section 6.

2. WLS Phase Unwrapping

The relationship [2] between the wrapped phase ψ i , j and its unwrapped phase ϕ i , j on a discrete grid of points is expressed as
ψ i , j = ϕ i , j + 2 π c i , j = Wrap ϕ i , j π < ψ i , j π , i = 0 , , M 1 , j = 0 , , N 1 ,
where the integer multiples c i . j are the wrap counts, and Wrap ( ) is the wrapping operator. i and j are the horizontal and vertical pixel coordinates, respectively. M and N are the horizontal and vertical sizes of the phase image, respectively.
To eliminate the influence of invalid pixels on discontinuous phase unwrapping, Ghiglia et al. [2] proposed a phase unwrapping method based on WLS. The aim of WLS phase unwrapping is to find the least-squares solution between the true phase difference and the wrapped phase difference Δ i , j y in the horizontal and vertical directions as follows:
min i = 0 M 2 j = 0 N 1 U i , j ϕ i + 1 , j ϕ i , j Δ i , j x 2 + i = 0 M 1 j = 0 N 2 V i , j ϕ i , j + 1 ϕ i , j Δ i , j y 2 ,
where Δ i , j x and Δ i , j y are expressed as
Δ i , j x = Wrap ϕ i + 1 , j ϕ i , j , i = 0 , , M 2 , j = 0 , N 1 , Δ i , j y = Wrap ϕ i , j + 1 ϕ i , j , i = 0 , , M 1 , j = 0 , N 2 ,
U i , j and V i , j are the weights coefficients, denoted as
U i , j = min w i + 1 , j 2 , w i , j 2 , V i , j = min w i , j + 1 2 , w i , j 2 ,
where w i , j is the weight mask. Generally, the weight map is a 0–1 binary image representing the continuous and discontinuous position, which is expressed as
w i , j = 1 θ i , j r 0 θ i , j r ,
where θ i , j is the orientation map of the wrapped phase image, and r is the segmentation threshold.
Equation (2) can be simplified to the following discrete Poisson equation with Neumann boundary conditions [2]:
U i , j ϕ i + 1 , j ϕ i , j U i 1 , j ϕ i , j ϕ i 1 , j + V i , j ϕ i , j + 1 ϕ i , j U i , j 1 ϕ i , j ϕ i , j 1 = q i , j ,
where q i , j is the weighted phase Laplacian [2]:
q i , j = U i , j Δ i , j x U i 1 , j Δ i 1 , j x + V i , j Δ i , j y V i , j 1 Δ i , j 1 y .
The WLS phase unwrapping solution of Equation (7) should be obtained by a rapidly converging algorithm based on a preconditioned conjugate gradient. In the following, a robust orientation map to obtain a weight mask is proposed.

3. Robust Weight Mask Estimation

3.1. Least-Squares Orientation Estimator

To calculate the weight mask, Wang [25] used the orientation to represent phase quality. The technique to estimate orientation is to look at the structure information in a local neighborhood. Therefore, the structure tensor is used to extend the structure information of each pixel [26]. In Rivera’s work [26], the structure tensor T p is used to compute local orientation:
T p = 1 N r p I i 2 r p I i I j r p I i I j r p I j 2 ,
where r p , N denotes the number of pixels in the region p , and I i , I j denotes the horizontal and vertical partial derivatives of the wrapped phase image I , respectively. The eigenvector corresponding to the smaller eigenvalue of the structure tensor is estimated as the fringe orientation.
Inspired by Rivera’s orientation estimation method, a robust orientation estimator, LSOE, is introduced based on the quadratic error norm for each pixel based on the structure tensor. It should be emphasized that, ideally, the gradient vector g i , j of the fringe point is parallel to its orientation vector v i , j , as shown in Figure 1a, which is perpendicular to the fringe. The error between the gradient vector and the orientation vector is zero. We carefully choose the gradient vector g i , j as the first-order partial derivative of the wrapped phase image.
Now, we consider the situation in which an error exists between the gradient direction and the orientation, which is caused by the different deviation of the vertical direction in the fringe. The error e i , j of the gradient vector with respect to the orientation vector of the point is defined as
e i , j = g i , j g i , j T v i , j v i , j .
As observed in Figure 1b, e i , j [27] is the projection of g i , j on the vector v i , j .
The quadratic error norm measure ε i , j can be expressed as
ε i , j = e i , j 2 K σ ,
where K σ is the Gaussian kernel function with mean zero and variance σ . Thus, ε can be written as
ε i , j = g i , j T g i , j K σ v i , j T g i , j g i , j T v i , j K σ .
To make g i , j and v i , j as parallel as possible, the quadratic error norm ε i , j should be minimized. The first item on the right side of Equation (11) is a calculated positive value that is not relevant to v i , j . Minimizing the error is equivalent to maximizing v i , j T g i , j g i , j T v i , j K σ . Lagrange multipliers are used to solve the maximum, subject to the constraint condition v i , j T v i , j = 1 , as given below:
max v i , j T J i , j , σ v i , j s . t . v i , j T v i , j 1 = 0 ,
where J i , j , σ = g i , j T g i , j K σ is the robust structure tensor, which is a nonlinear operator. Equation (12) can be expressed as
L λ , v i , j = λ v i , j T v i , j 1 + v i , j T J i , j , σ v i , j .
Thus, by differentiating the function and setting the derivative to zero, the result can be expressed as
J i , j , σ v i , j = λ v i , j .
Similarly, the orientation vector v can be viewed as the eigenvector of the characteristic equation, i.e., Equation (14). The Lagrange multiplier λ is interpreted as the eigenvalue. If the phase pattern has a discontinuity, two unequal eigenvalues λ 1 and λ 2 are used to represent two different orientation regions and λ 1 > λ 2 > 0 . Accordingly, the smaller value λ 2 is chosen to better indicate the special orientation of each point. Because J i , j , σ is a square matrix, the eigenvector v corresponding to the smaller eigenvalue λ 2 is unique and can be represented as
v i , j = v i , j 1 v i , j 2 T .
The orientation θ i , j of the fringe pattern can be estimated as follows:
θ i , j = t a n 1 v i , j 2 v i , j 1 .
The estimated orientation is mainly used to indicate the wrapped phase quality of the structural fringe pattern.

3.2. Weight Mask Calculation Based on Post-Processing

As previously mentioned in Section 3.1, the estimated orientation map θ i , j is served as the wrapped phase quality. To obtain the weight mask, it is necessary to further segment the orientation map for the WLS solution to unwrap phases. However, the hard threshold r , as shown in Equation (5), is difficult to determine due to the fact that the gap between two classes, i.e., the phase values on the continuous areas and the discontinuous areas, is small. Therefore, a new post-processing solution is proposed to obtain the weight masks without using a hard threshold as follows:
w i , j = P F θ i , j ,
where P F is the post-processed function.
The post-processing for obtaining the weight masks includes three steps: bilateral filtering, STDS, and numerical relabeling. In fact, the orientation jump between adjacent periods seriously affects the segmentation of the intrinsic boundary (discontinuity in the phase map), which results in incorrectly unwrapping the phase. To suppress this jumping problem, a bilateral filter is first used to eliminate the abnormal orientation. Then, considering the fact that the useful edges are buried in textures, we employ STDS with an image smoothing ability to extract/remove the edges/textures on the output of the bilateral filter, respectively. The outputs of the STDS are explicitly marked as two regions: regions with 0 at continuous points and regions with 0.9 at discontinuous points. Finally, the weight masks are obtained by relabeling two regions, i.e., the weight masks are 0, corresponding to continuous regions, and the weight masks are 1, corresponding to discontinuous regions. The whole scheme of the proposed method is demonstrated in Figure 2.

4. Experiment Results and Discussion

4.1. Numerical Simulation

In this section, we report the results of a quantitative evaluation of the weight mask’s segmentation performance of the proposed method and compare with the state-of-the-art methods, such as Li’s method [22] (orientation coherence, OC), Lu’s method [13] (derivative variance correlation map, DVCM), Cui’s method [15] (phase Laplace derivative variance, PLDV), and Yan’s method [21] (reliability mask, RM). All algorithms were implemented in MATLAB R2018b programming on a laptop equipped with an Intel (R) Core (TM) i5-8250U processor with a clock frequency of 1.6 GHz and 8 GB of RAM. The segmentation means error (SME) of the discontinuity boundaries between the measured and ground truth was used to quantitatively verify the accuracy of the weight mask calculation as below:
SME = i = 1 n P i P i n ,
where P i is the ideal discontinuity position, and P i is the actual discontinuity coordinate.
A fringe pattern (512 × 512) called LINE, containing both linear and irregular circular fringe segments, was simulated with a linear boundary, as shown in Figure 3a-1. Additive random noise of a mean of 0 and variance values of 0, 0.5, 0.8, and 1.5 was then added. The latter two are shown in Figure 3b-1,c-1, respectively. Figure 3a-2–c-2 show the weight mask’s segmentation results of Figure 3a-1–c-1, with white lines denoting the identified boundaries and red lines denoting the ground truth. Quantitatively, the SMEs in different noise degrees (variances 0, 0.8, and 1.5) are shown in Table 1 (first row). The SMEs of the LINE pattern (variance 1.5) for the five algorithms are tabulated in Table 2 (first row).
Another fringe pattern (512 × 512) called CIRCLE, containing both linear and regular circular fringe segments, was simulated with a circular boundary, as shown in Figure 4(a-1). Additive random noise of a mean of 0 and variance values of 0, 0.5, 0.8, and 1.5 was then added. The latter two are shown in Figure 4b-1,c-1, respectively. Figure 4a-2–c-2 show the weight mask’s segmentation results of Figure 4a-1–c-1 with white lines denoting the identified boundaries and red lines denoting the ground truth. Quantitatively, for fringe patterns with random noise having variances of 0, 0.8, and 1.5, the SMEs were 0.2072, 1.9633, and 5.0673, respectively. The SMEs of CIRCLE pattern (variance 1.5) for the five algorithms are shown in the second row of Table 2.

4.2. Experimental and Results Analysis

Experimental fringe patterns were tested to verify the weight mask’s segmentation of the proposed method. A fringe pattern from the phase-shifting electronic speckle pattern shearing interferometer is shown in Figure 5a, where the upper-left corner of the fringe pattern is occupied with random noise. The identified discontinuous boundaries of Figure 5a are shown in Figure 5b–f.
Another deformation measurement experiment was conducted with the fringe projection profilometry based on spatial phase-shifting. The FPP system was composed of a DLP LightCrafter 4500 and JAI GO-5000M-USB camera of Japan to verify the performance of the proposed algorithm. To evaluate the unwrapping phase of the proposed method, in this study, we compare it with other methods, such as WLS-OC [22], WLS-DVCM [13], WLS-PLDV [15], and WLS-RM [21].
A real scenario containing a box and a basketball, as shown in Figure 6a-1, was tested in the experiment. It is seen that the scene contains horizontal, vertical, and arc-shaped discontinuity. To clearly illustrate the noisy wrapped phase image, we provide the wrapped phase image in Figure 6a-2. The weight mask’s segmentation results obtained by different methods are shown in Figure 6b-1–b-5, respectively. Figure 6c-1–c-5 show the 3D reconstructed absolute phase, and the color bar indicates the different phase depths. In Figure 6a-2, the areas of the box and basketball are hard to segment. It is observed that Figure 6b-5,c-5 show a superior segmentation and unwrapping result from the horizontal and vertical discontinuity by the proposed method. Particularly, the enlarged detail at the arc-shaped discontinuity in Figure 6c-5 shows that our method exhibits a better segmented phase and provides an accurate absolute phase.
The computational times of the five algorithms for the real scene are tabulated in Table 3. It is seen that the proposed method ranks second. The computation mainly costs on the STDS operation, which employs an iterative strategy for segmentation. The high segmentation performance of the STDS method is achieved at the expense of computational complexity.
For the wrapped phase with discontinuity, the accurate absolute phase distribution has two characteristics: (1) the phase has a jump at the discontinuity. (2) The wrapped phase after the jump is unwrapped independently of the pre-jump phase. Figure 7 shows the absolute phase of the 1-D wrapped phase (255th in Figure 6a-2) unwrapped by five algorithms. It is observed from Figure 7 that the proposed method has an obvious jump at mark point A/B, which enables the wrapped phase at mark point C to be unwrapped independently of the phase before the jump. However, other algorithms cannot satisfy the above two characteristics simultaneously.

5. Discussion

In this work, a discontinuous phase unwrapping method is proposed by using LSOE. The numerical results in Figure 3 and Figure 4 show that complete discontinuous segmentation can be achieved even when the noise variance is 1.5. It is observed from Table 2 and Figure 7 that the proposed method achieves the best performance in terms of SME. Moreover, the proposed method is robust due to the following facts:
(1) The orientation jump between adjacent periods seriously affects the segmentation of the intrinsic boundaries (discontinuity in the phase map), which yields an incorrect unwrapping phase. To suppress this jumping problem, a bilateral filter in post-processing is first used to eliminate the abnormal orientation.
(2) Considering the fact that the useful edges are buried in textures, the STDS with an image smoothing capability is adopted to extract/remove the edges/textures on the output of the bilateral filter. The experimental results demonstrate that the proposed method is robust to noise on the simulated patterns with different variance noise. It is also shown in Figure 5 that the noise robustness of the proposed method is still valid in real patterns. It is noted that the accuracy of discontinuity segmentation decreases if noise increases, as shown in Figure 3 and Figure 4.
Table 3 shows the computational time of the five methods, from which it can be found that the proposed method takes 12 s and achieves the second rank in performance. Improving the algorithm and coding in C++ will be our future work so that the method can be applied to real-time applications.

6. Conclusions

It is known that the WLS phase unwrapping method depends on the accuracy of segmentation for the weight mask. To this end, this paper proposes a robust weight mask segmentation method based on LSOE. The proposed method employs a quadratic error norm to constrain the distance between gradients and orientation vectors, which minimizes the noise-reduced orientation error. The weight mask is derived from the LSOE by further performing post-processing, which includes a bilateral filter, STDS, and numerical relabeling. The numerical results in Figure 3 and Figure 4 show that complete discontinuous segmentation can be achieved even when the noise variance is 1.5. It is also demonstrated that the noise robustness of the proposed method is still valid in real patterns. The comparisons with other methods, including Li’s OC, Lu’s DVCM, Cui’s PLDV, and Yan’s RM, for WLS phase unwrapping indicate that the proposed method offers the best performance in terms of segmentation mean error under the noisy patterns.
In the future, we will use the Gaussian norm instead of the L2 norm to constrain the distance between gradients and orientation vectors, which may generate a more accurate orientation map. Furthermore, we will optimize the algorithm and code in C++ to reduce the execution time for real-time applications.

Author Contributions

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

Funding

This research was funded by the National Natural Science Foundation of China, grant number 61775172, and Hubei Key Technical Innovation Project, grant number ZDCX2019000025.

Acknowledgments

The author extends his appreciation to the National Natural Science Foundation of China, grant number 61775172, and Hubei Key Technical Innovation Project, grant number ZDCX2019000025.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Guo, H.; Zhou, H.; Banerjee, P.P. Single-shot digital phase-shifting Moiré patterns for 3D topography. Appl. Opt. 2020, 60, A84–A92. [Google Scholar] [CrossRef] [PubMed]
  2. Ghiglia, D.C.; Pritt, M.D. Two-Dimensional Phase Unwrapping: Theory, Algorithms, and Software; Wiley: New York, NY, USA, 1998; p. 4. [Google Scholar]
  3. Wang, H.; Ma, J.; Yang, H.; Sun, F.; Wei, Y.; Wang, L. Development of three-dimensional pavement texture measurement technique using surface structured light projection. Measurement 2021, 185, 110003. [Google Scholar] [CrossRef]
  4. Hu, Y.; Chen, Q.; Feng, S.; Zuo, C. Microscopic fringe projection profilometry: A review. Opt. Lasers Eng. 2020, 135, 106192. [Google Scholar] [CrossRef]
  5. 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] [Green Version]
  6. Su, X.; Chen, W. Reliability-guided phase unwrapping algorithm: A review. Opt. Lasers Eng. 2004, 42, 245–261. [Google Scholar] [CrossRef]
  7. Zhang, S.; Li, X.; Yau, S.-T. Multilevel quality-guided phase unwrapping algorithm for real-time three-dimensional shape reconstruction. Appl. Opt. 2007, 46, 50–57. [Google Scholar] [CrossRef] [PubMed]
  8. Kemao, Q.; Gao, W.; Wang, H. Windowed Fourier-filtered and quality-guided phase-unwrapping algorithm. Appl. Opt. 2008, 47, 5420–5428. [Google Scholar] [CrossRef] [PubMed]
  9. Fang, S.; Meng, L.; Wang, L.; Yang, P.; Komori, M. Quality-guided phase unwrapping algorithm based on reliability evaluation. Appl. Opt. 2011, 50, 5446–5452. [Google Scholar] [CrossRef]
  10. Zhao, M.; Huang, L.; Zhang, Q.; Su, X.; Asundi, A.; Kemao, Q. Quality-guided phase unwrapping technique: Comparison of quality maps and guiding strategies. Appl. Opt. 2011, 50, 6214–6224. [Google Scholar] [CrossRef]
  11. Flynn, T.J. Two-dimensional phase unwrapping with minimum weighted discontinuity. J. Opt. Soc. Am. A 1997, 14, 2692. [Google Scholar] [CrossRef]
  12. Wang, L.F.; Yan, M. Weighted Kalman Filter Phase Unwrapping Algorithm Based on the Phase Derivative Variance Map. Appl. Mech. Mater. 2013, 475–476, 991–995. [Google Scholar] [CrossRef]
  13. Lu, Y.; Wang, X.; Zhang, X. Weighted least-squares phase unwrapping algorithm based on derivative variance correlation map. Optik 2007, 118, 62–66. [Google Scholar] [CrossRef]
  14. Wang, X.; Fang, S.; Zhu, X. Weighted least-squares phase unwrapping algorithm based on a non-interfering image of an object. Appl. Opt. 2017, 56, 4543–4550. [Google Scholar] [CrossRef]
  15. Cui, H.; Liao, W.; Dai, N.; Cheng, X. Reliability-guided phase-unwrapping algorithm for the measurement of discontinuous three-dimensional objects. Opt. Eng. 2011, 50, 063602–063607. [Google Scholar] [CrossRef]
  16. Zhao, M.; Wang, H.; Kemao, Q. Snake-assisted quality-guided phase unwrapping for discontinuous phase fields. Appl. Opt. 2015, 54, 7462–7470. [Google Scholar] [CrossRef]
  17. Ferrari, J.A. Wrapping-free phase retrieval with applications to interferometry, 3D-shape profiling, and deflectometry. Appl. Opt. 2015, 54, 3018. [Google Scholar] [CrossRef]
  18. Wang, M.; Zhou, C.; Si, S.; Li, X.; Lei, Z.; Li, Y. Robust wrapping-free phase retrieval method based on weighted least squares method. Opt. Lasers Eng. 2017, 97, 34–40. [Google Scholar] [CrossRef] [Green Version]
  19. Wang, H.; Kemao, Q. Local orientation coherence based segmentation and boundary-aware diffusion for discontinuous fringe patterns. Opt. Express 2016, 24, 15609. [Google Scholar] [CrossRef]
  20. Wang, H.; Kemao, Q. Boundary-aware single fringe pattern demodulation. Opt. Express 2017, 25, 32669. [Google Scholar] [CrossRef]
  21. Yan, L.; Zhang, H.; Zhang, R.; Xie, X.; Chen, B. A robust phase unwrapping algorithm based on reliability mask and weighted minimum least-squares method. Opt. Lasers Eng. 2018, 112, 39–45. [Google Scholar] [CrossRef]
  22. Li, B.; Tang, C.; Zhou, Q.; Lei, Z. Weighted least-squares phase-unwrapping algorithm based on the orientation coherence for discontinuous optical phase patterns. Appl. Opt. 2019, 58, 219–226. [Google Scholar] [CrossRef]
  23. Tomasi, C.; Manduchi, R. Bilateral filtering for gray and color images. In Proceedings of the Sixth International Conference on Computer Vision (IEEE Cat. No. 98CH36271), Bombay, India, 7 January 1998; pp. 839–846. [Google Scholar] [CrossRef]
  24. Guo, X.; Li, S.; Li, L.; Zhang, J. Structure-texture decomposition via joint structure discovery and texture smoothing. In Proceedings of the 2018 IEEE International Conference on Multimedia and Expo (ICME), San Diego, CA, USA, 23–27 July 2018; pp. 1–6. [Google Scholar] [CrossRef]
  25. Wang, H.; Kemao, Q.; Gao, W.; Lin, F.; Seah, H.S. Fringe pattern denoising using coherence-enhancing diffusion. Opt. Lett. 2009, 34, 1141–1143. [Google Scholar] [CrossRef]
  26. Dalmau-Cedeño, O.S.; Rivera, M.; Legarda-Saenz, R. Fast phase recovery from a single closed-fringe pattern. J. Opt. Soc. Am. A 2008, 25, 1361–1370. [Google Scholar] [CrossRef]
  27. Brox, T.; Boomgaard, R.V.D.; Lauze, F.; van de Weijer, J.; Weickert, J.; Mrázek, P.; Kornprobst, P. Adaptive structure tensors and their applications. In Visualization and Processing of Tensor Fields; Springer: Berlin/Heidelberg, Germany, 2006; pp. 17–47. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Orientation error diagrams. (a) Ideal image, (b) noisy image.
Figure 1. Orientation error diagrams. (a) Ideal image, (b) noisy image.
Electronics 10 02871 g001
Figure 2. Flowchart of the proposed algorithm.
Figure 2. Flowchart of the proposed algorithm.
Electronics 10 02871 g002
Figure 3. Simulated fringe patterns (LINE): (a-1) noiseless, (b-1) random noise (variance 0.8), (c-1) random noise (variance 1.5). Weight mask’s segmentation results: (a-2) noiseless, (b-2) random noise (variance 0.8), (c-2) random noise (variance 1.5).
Figure 3. Simulated fringe patterns (LINE): (a-1) noiseless, (b-1) random noise (variance 0.8), (c-1) random noise (variance 1.5). Weight mask’s segmentation results: (a-2) noiseless, (b-2) random noise (variance 0.8), (c-2) random noise (variance 1.5).
Electronics 10 02871 g003
Figure 4. Simulated fringe patterns (CIRCLE): (a-1) noiseless, (b-1) random noise (variance 0.8), (c-1) random noise (variance 1.5). Weight mask’s segmentation results: (a-2) noiseless, (b-2) random noise (variance 0.8), (c-2) random noise (variance 1.5).
Figure 4. Simulated fringe patterns (CIRCLE): (a-1) noiseless, (b-1) random noise (variance 0.8), (c-1) random noise (variance 1.5). Weight mask’s segmentation results: (a-2) noiseless, (b-2) random noise (variance 0.8), (c-2) random noise (variance 1.5).
Electronics 10 02871 g004
Figure 5. Results of an experimental fringe pattern from phase-shifting electronic speckle pattern shearing interferometer: (a) fringe pattern [19]; (b) OC result; (c) DVCM result; (d) PLDV result; (e) RM result; (f) LSOE result.
Figure 5. Results of an experimental fringe pattern from phase-shifting electronic speckle pattern shearing interferometer: (a) fringe pattern [19]; (b) OC result; (c) DVCM result; (d) PLDV result; (e) RM result; (f) LSOE result.
Electronics 10 02871 g005
Figure 6. Results of an experimental fringe pattern from fringe projection profilometry: (a-1) a real scene; (a-2) the wrapped phase image; (b-1b-5) weight mask’s segmentation results of OC, DVCM, PLDV, RM, and the proposed algorithm; (c-1c-5) 3D reconstructed absolute phase.
Figure 6. Results of an experimental fringe pattern from fringe projection profilometry: (a-1) a real scene; (a-2) the wrapped phase image; (b-1b-5) weight mask’s segmentation results of OC, DVCM, PLDV, RM, and the proposed algorithm; (c-1c-5) 3D reconstructed absolute phase.
Electronics 10 02871 g006
Figure 7. The absolute phase distribution result of 1-D wrapped phase (255th in Figure 6a-2) estimated by five algorithms.
Figure 7. The absolute phase distribution result of 1-D wrapped phase (255th in Figure 6a-2) estimated by five algorithms.
Electronics 10 02871 g007
Table 1. SMEs in different noise levels for LINE and CIRCLE patterns.
Table 1. SMEs in different noise levels for LINE and CIRCLE patterns.
RMSE-Variance-
Pattern00.81.5
LINE0.06511.68044.3576
CIRCLE0.20721.96335.0673
Table 2. SMEs of five algorithms for LINE and CIRCLE patterns (variance 1.5).
Table 2. SMEs of five algorithms for LINE and CIRCLE patterns (variance 1.5).
-OCDVCMPLDVRMOurs
LINE5.82537.00138.54556.53704.3576
CIRCLE8.745812.100012.39068.76155.0673
Table 3. Computational time of five algorithms for real scene (Figure 6a-1).
Table 3. Computational time of five algorithms for real scene (Figure 6a-1).
WLS-OCWLS-DVCMWLS-PLDVWLS-RMOurs
Time(s)11.424113.419315.286520.488112.2348
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Deng, G.; Wu, S.; Zhou, S.; Chen, B.; Liao, Y. A Robust Discontinuous Phase Unwrapping Based on Least-Squares Orientation Estimator. Electronics 2021, 10, 2871. https://doi.org/10.3390/electronics10222871

AMA Style

Deng G, Wu S, Zhou S, Chen B, Liao Y. A Robust Discontinuous Phase Unwrapping Based on Least-Squares Orientation Estimator. Electronics. 2021; 10(22):2871. https://doi.org/10.3390/electronics10222871

Chicago/Turabian Style

Deng, Gaoxu, Shiqian Wu, Shiyang Zhou, Bin Chen, and Yucheng Liao. 2021. "A Robust Discontinuous Phase Unwrapping Based on Least-Squares Orientation Estimator" Electronics 10, no. 22: 2871. https://doi.org/10.3390/electronics10222871

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