Expand this Topic clickable element to expand a topic
Skip to content
Optica Publishing Group

Wrap-type phase unwrapping utilizing arctangent operation as a differential amplifier through shifted phase maps

Open Access Open Access

Abstract

This paper introduces a novel phase unwrapping algorithm based on the investigation of the arctangent function. Acting as a differential amplifier associated with nonlinear response, the arctangent operation facilitates distinguishing various wrap types. Phase jumps from two shifted-wrapped maps aligned on the same grids are combined as a pair to function as differential mode inputs. This discerns wraps from continuous and discontinuous surfaces through distinct outputs (threshold phase values). Simulations and experiments validate the feasibility of the proposed wrap-type identification. A complete mathematical form is derived to explain the effects of shifted wraps due to various causes. This paper significantly contributes to the foundational understanding of the 2π ambiguity problem in phase unwrapping.

© 2023 Optica Publishing Group under the terms of the Optica Open Access Publishing Agreement

1. Introduction

The measurement of discontinuous surfaces poses a notable obstacle to phase unwrapping techniques. Various solutions involve the utilization of object-based information as auxiliary data. These aids assist in the removal of inherent discontinuities in unwrapping paths. However, this task becomes more intricate due to interferometric factors. Hence, an ongoing need persists for a straightforward and accurate unwrapping solution.

Raw phase data extracted from inverse trigonometric functions is confined within the range $-\pi$ to $\pi$. This allows the phase unwrapping process to be easily accomplished by integrating neighboring pixel phase differences and adjusting by integral multiples of 2$\pi$ for phase wraps. However, the presence of physical discontinuities complicates this integration. When depth variations exceed one optical wavelength, the phase difference between neighboring pixels surpasses $|\pi |$, leading to a 2$\pi$ phase jump (wrap), according to Nyquist theory. Unlike real wraps, which arise purely from arctangent operations, these jumps are fake wraps that should not be unwrapped. This obscures real wraps, resulting in the 2$\pi$ ambiguity phenomenon. This ambiguity introduces unwrapping errors and leads to task failure. [1].

The straightforward solution to the unwrapping issue is to eliminate these ambiguities during the unwrapping process. Once resolved, the unwrapping paths are guaranteed, simplifying the task to match ideal scenarios. However, managing the 2$\pi$ ambiguities is challenging. With only object-based information, no solution exists. The determination of wrap types appeared impossible until the introduction of the Wrap-type phase unwrapping (WTPU) algorithm proposed in this paper.

To circumvent the difficulty of identifying wrap types within a phase map and in accordance with the Nyquist limit, unwrapping schemes in the spatial domain focus on detecting residues or utilizing various quality maps to identify inconsistent phase areas caused by noise or physical discontinuities [26]. On the other hand, temporal unwrapping strategies involve recording sequences of intermediate phase maps for dynamic objects or employing fringe patterns with multiple frequencies for measuring static objects. In the latter case, the high-resolution map can be magnified proportionally to the ratio of the low-frequency image [711].

Unfortunately, both of these unwrapping strategies rely on a fixed cutting threshold at $\pm \pi$ (due to the Nyquist limit), and the arctangent operation remains unnoticed as it is often treated as a linear system, whether in the spatial or temporal domain. As a result, the implicit effects of the arctangent function are overlooked, and valuable information is considered only in terms of object-based [12] or coded fringe pattern-based input data. Examples of such coded fringe patterns include circular [13,14], colored [15], gray coded [16], or staggered patterns [17]. This limitation is the reason why these methods encounter complications imposed by the Nyquist limit, whether in terms of measurement operations, as temporal unwrapping methods do, or computational requirements, as spatial unwrapping methods do.

The proposed algorithm aims to explicitly identify a specific wrap type associated with a $2\pi$ jump within a wrapped phase distribution by utilizing shifted phases (Fig. 1). It utilizes the arctangent operation as a differential amplifier associated with nonlinear amplification, aiding in the discernment of different wrap types. To accomplish this, the object is shifted by a relative phase in relation to a reference plane. This establishes differential phase jumps, situated at identical grid points before and after the shift, which serve as a pair of differential inputs for the arctangent amplifier. An inherent $2\pi$ cycle invariance, along with branch thresholds, becomes evident among the shifted wraps.

 figure: Fig. 1.

Fig. 1. Schematic of wrap-type identification based on the arctangent differential amplifier. The nonlinear response of the tile slides along the arctangent curve, where $dh$ remains unchanged while the phase angle of $d\theta$ changes, which associated with branch thresholds $\mathcal {T}_{HRc}$ and $\mathcal {T}_{HRd}$,

Download Full Size | PDF

By leveraging these distinctive wrap types, the algorithm directly identifies unique unwrapping paths on a wrapped phase map. It effectively unwraps real wraps without ambiguity, retains physical discontinuities, and can even rectify noisy pixels. Contrasting conventional phase unwrapping methods, the proposed algorithm overcomes the challenge of insufficient information for wrap type differentiation and adheres to the Nyquist limit without necessitating redundant steps.

This paper introduces the Wrap-Type Phase Unwrapping (WTPU) algorithm. Section 2 provides an in-depth exploration of the algorithm’s details. Subsection 2.1 outlines wrap type identification principles, and Subsection 2.2 addresses shifted wrapped map generation and related parameter considerations. Experimental outcomes are shared in Sections 3 and 4. Section 3 covers results from a computer-simulated surface, while Section 4 discusses practical experiments using a fringe projection system. Finally, the paper concludes with Section 5, providing a summary and overall research conclusion.

2. Principle

2.1 Wrap-type identification

Figure 1 illustrates the fundamental concept of determining wrap types, divided into two parts: preparing the phase-jump pair as differential inputs and identifying specific wrap types using the nonlinear response of the arctangent operation.

In Fig. 1, consider a tile of an object under test with a depth measurement $dh$ and a phase difference $d\theta$. Upon moving along the optical axis by $\Delta l$ relative to a reference plane, a corresponding $\delta$ phase shift occurs before and after the movement. Representing the initial and shifted phases of a discontinuous object as $\Phi (\boldsymbol {r})$ and $\Theta (\boldsymbol {r})$ respectively, the resulting original and second wrapped phase maps, $\varphi (\boldsymbol {r})$ and $\eta (\boldsymbol {r})$, are derived as follows:

$$\varphi(\boldsymbol{r}) = \Phi(\boldsymbol{r}) + 2\pi \cdot k(\boldsymbol{r})$$
$$= \mathcal{W}[\Phi(\boldsymbol{r})] =\text{arctan}\, \{\text{sin}[\Phi(\boldsymbol{r})],\text{cos}[\Phi(\boldsymbol{r})]\},$$
and
$$\eta(\boldsymbol{r}) = \Phi(\boldsymbol{r}) +2\pi \cdot k(\boldsymbol{r}) +\delta = \Theta(\boldsymbol{r}) + 2\pi \cdot k(\boldsymbol{r})$$
$$=\mathcal{W}[\Theta(\boldsymbol{r})] = \text{arctan}\, \{\text{sin}[\Theta(\boldsymbol{r})], \text{cos}[\Theta(\boldsymbol{r})]\}.$$

Here, $k(\boldsymbol {r})$ is the unknown integer array that we aim to determine through the unwrapping procedure. The symbol $\mathcal {W} [\cdot ]$ signifies the wrapping operator, and $\boldsymbol {r}$ indicates the pixel position in a 2D-discretized space.

Application of the difference operator to Eqs. (1–2) yields:

$$\Delta\varphi(\boldsymbol{r}) = \varphi(\boldsymbol{i}) - \varphi(\boldsymbol{j}) \boldsymbol{\equiv} \boldsymbol{\mathcal{W}[\Delta\Phi(\boldsymbol{r})]} ;$$
$$\Delta\eta(\boldsymbol{r}) = \eta(\boldsymbol{i}) - \eta(\boldsymbol{j}) \boldsymbol{\equiv} \boldsymbol{\mathcal{W}[\Delta\Theta(\boldsymbol{r})]}.$$

Here $i$ and $j$ represent the pixel coordinates of adjacent points, i.e., $i=(x,y)$ and $j=(x,y+1)$. The relationship between $\delta$ and $\Delta l$ is such that $\delta$ is solely used to redistribute the positions of fringes and does not affect the absolute phase differences ($d\theta$) between neighboring points. As a result, the relationship $\Delta \Phi (\boldsymbol {r}) = \Delta \Theta (\boldsymbol {r})$ holds true. This equivalence can also be expressed as:

$$\mathcal{W}[\Delta\Phi(\boldsymbol{r})] = \mathcal{W}[\Delta\Theta(\boldsymbol{r})].$$

By combining the equivalent relationships described in Eqs. (34) with the definition of the $\mathcal {W}$ operation:

$$\begin{aligned}\mathcal{W}[\Delta\Phi(\boldsymbol{r})] &= \mathcal{W}[\Delta\varphi(\boldsymbol{r})];\\ \mathcal{W}[\Delta\Theta(\boldsymbol{r})] &= \mathcal{W}[\Delta\eta(\boldsymbol{r})], \end{aligned}$$
one derives
$$\mathcal{W}[\Delta\varphi(\boldsymbol{r})] ={=} \mathcal{W}[\Delta\eta(\boldsymbol{r})].$$

For instance, $\mathcal {W}[-\pi /4] \boldsymbol {==} \mathcal {W}[7\pi /4]$ as demonstrated in Fig. 1.

Considering this essential condition for treating $\Delta \varphi (\boldsymbol {r})$ and $\Delta \eta (\boldsymbol {r})$ as differential inputs for the arctangent operation, the identification of random noise takes precedence. This stems from the fact that the two wrapped phases originate from separate and independent experiments, causing noise to manifest differently in both phases. If one of the wrapped phases exhibits noise within a specific area, the other phase may remain noise-free at those corresponding coordinates. Mathematically, this translates to:

$$\mathcal{W}[\Delta\varphi(\boldsymbol{r})] \neq \mathcal{W}[\Delta\eta(\boldsymbol{r})].$$

This violation contradicts the condition stated in Eq. (7), prompting the need for further modification to adhere to this condition. This can be easily achieved by incorporating other suitable nearby values in the subsequent unwrapping process.

On the contrary, when Eq. (7) holds true and either $\Delta \varphi (\boldsymbol {r}) > \pi$ or $\Delta \eta (\boldsymbol {r}) > \pi$, Eq. (7) can be simplified to $|\Delta \varphi (\boldsymbol {r})|+|\Delta \eta (\boldsymbol {r})|= 2\pi$. This simplification establishes a robust criterion for differential inputs. Consequently, this $2\pi$ cycle invariance can be further extended to distinguish real or physical discontinuous wraps, all due to the nonlinearity inherent in the arctangent curve, as

$$\mathcal{W}[\Delta\varphi(\boldsymbol{r})] ={=} \mathcal{W}[\Delta\eta(\boldsymbol{r})] =\mathcal{T}_{HR},$$
where
$$\left\{\begin{array}{l}\mathcal{W}[\Delta\varphi(\boldsymbol{r})] \boldsymbol{={=}} \mathcal{W}[\Delta\eta(\boldsymbol{r})] = \mathcal{T}_{HRc} \boldsymbol{\leq} \varepsilon;\qquad\qquad\textrm{(10a)}\\ \mathcal{W}[\Delta\varphi(\boldsymbol{r})] \boldsymbol{={=}} \mathcal{W}[\Delta\eta(\boldsymbol{r})] =\mathcal{T}_{HRd} \boldsymbol{\geq} \tau. \qquad\qquad\textrm{(10b)}\end{array}\right.$$

The symbol $\varepsilon$ denotes the error tolerance for continuous phase, influenced by measurement accuracy and object roughness. On the other hand, $\tau$ represents the threshold for physical discontinuities, reflecting the intrinsic properties of the object ($dh$). In essence, both values should correspond to the phase value of the surface shape divided by the $2\pi$ mode, expressed as:

$$\left\{\begin{array}{l}\varepsilon \boldsymbol{=} \text{mod}(\Delta\Phi_c(\boldsymbol{r}), 2\pi); \qquad\qquad\textrm{(11a)} \\ \tau \boldsymbol{=} \text{mod}(\Delta\Phi_d(\boldsymbol{r}), 2\pi),\qquad\qquad\textrm{(11b)}\end{array}\right.$$
where $\Phi _c$ and $\Phi _d$ denote the continuous and discontinuous surface phases, respectively. In practical scenarios, both $\varepsilon$ and $\tau$ can be readily determined by assessing specific values from the points identified using Eq. (7).

Remarkably, this method of distinguishing wrap types hinges on the nonlinearity of the arctangent function. In a linear scenario, the physical parameter measured at each object point would be confined to the same phase range due to a constant magnification factor. If, for instance, the arctangent curve were a straight line, the phase difference $d\theta$ would exhibit uniformity across various ranges, thus preventing the differentiation of wrap types. Consequently, the piecewise function (Eq. (10)) cannot be deduced from Eq. (9).

The invalidation of the linear model highlights the significance of the criteria from an opposing perspective. Additionally, the details of the $\mathcal {W}$ operator utilized in Eqs. (3)–(4) are elaborated below:

$$\begin{aligned} \Delta\varphi(\boldsymbol{r}) &= \{\Phi(\boldsymbol{i}) + 2\pi \cdot k(\boldsymbol{i})\} - \{\Phi(\boldsymbol{j}) + 2\pi \cdot k(\boldsymbol{j})\}\\ &= \{\Phi(\boldsymbol{i}) - \Phi(\boldsymbol{j})\} + 2\pi\{k(\boldsymbol{i}) - k(\boldsymbol{j})\}\\ &= \Delta\Phi(\boldsymbol{r}) + 2\pi \cdot \Delta k(\boldsymbol{r}) \boldsymbol{\equiv} \boldsymbol{\mathcal{W}[\Delta\Phi(\boldsymbol{r})]}, \end{aligned}$$
$$\begin{aligned}\Delta\eta(\boldsymbol{r}) &= \{\Phi(\boldsymbol{i}) + 2\pi \cdot k(\boldsymbol{i}) +\delta \} - \{\Phi(\boldsymbol{j}) + 2\pi \cdot k(\boldsymbol{j}) +\delta \}\\ &= \{\Theta(\boldsymbol{i}) - \Theta(\boldsymbol{j})\} + 2\pi\{k(\boldsymbol{i}) - k(\boldsymbol{j})\} \\ &= \Delta\Theta(\boldsymbol{r}) + 2\pi \cdot \Delta k(\boldsymbol{r}) \boldsymbol{\equiv} \boldsymbol{\mathcal{W}[\Delta\Theta(\boldsymbol{r})]}. \end{aligned}$$

The relationships established in Eqs. (12) and (13) serve as critical preconditions for determining the validity of the criteria in Eqs. (7) and (8), even though they exhibit a similar mathematical form to $\varphi (\boldsymbol {r}) = \mathcal {W}[\Phi (\boldsymbol {r})]$ and $\eta (\boldsymbol {r}) = \mathcal {W}[\Theta (\boldsymbol {r})]$.

Furthermore, considering the expression for $k\boldsymbol (r)$ in Eq. (1a): if a real wrap is detected, the phase value should be incremented or decremented by $\pm 2\pi$ accordingly, depending on its sign. On the other hand, if a physical discontinuity is detected, indicating a sudden step-like phase change, the phase value should remain wrapped. Consequently, the unwrapping issue in both cases has been successfully addressed:

$$k(\boldsymbol{r}) = \begin{cases} \pm 1,\quad & \textrm{if} \quad \mathcal{T}_{HRc} \boldsymbol{\leq}\varepsilon, \quad \text{a real wrap}; \\ 0, \quad & \text{if} \quad \mathcal{T}_{HRd}, \boldsymbol{\geq} \tau \quad \text{a physical discontinuous wrap}, \end{cases}$$
where $k(0) = 0$. Once the issue of wrap types is resolved, various raster scanning sequences can be applied. Examples include the line scanning method used in Itoh’s method [18] and the improved flood-fill method employed in Bone’s method [19].

In conclusion, the proposed wrap-type phase unwrapping algorithm uncovers the inherent behavior of the arctangent function, which is typically obscured within the intricate process of wrapping, using the concise notation: $\mathcal {W} [\cdot ]$.

2.2 Practical generation of two shifted wrapped phase maps and related parameter considerations

In practical experiments, the second wrapped phase distribution outlined above can be obtained by directly adding $\delta$ to $\varphi (\boldsymbol {r})$ and applying the $\mathcal {W} [\cdot ]$ operator, as shown in Eq. (15):

$$\eta(\boldsymbol{r}) = \mathcal{W}(\varphi(\boldsymbol{r}) + \delta) = \mathcal{W}(\Phi(\boldsymbol{r}) + \delta).$$

However, an obvious shortcoming in this case is that Eq. (8) would be invalid.

To simplify the procedure of capturing measurements at varying depths from an object to a reference plane without removing the object or translating the reference plane, a phase-stepping technique can be used, while keeping Eqs. (7)–(8) valid. For example, a general fringe projection system is depicted in Fig. 2, where a four-step phase algorithm is applied.

 figure: Fig. 2.

Fig. 2. Flow chart of WTPU’s measurement and calculation process.

Download Full Size | PDF

Let $I_i(\boldsymbol {r})$ and $\hat {I}_i(\boldsymbol {r}), i = 1,2,3,4$ represent two sets of four intensity values independently captured in the same measurement environment, both associated with a projection of the same set of sinusoidal fringe patterns with a one-fourth period phase shift [20]. By rearranging the start step of $\hat {I}_i(\boldsymbol {r})$, two shifted phase maps with a $\delta = \pi$ are generated and utilized in the experiments presented in this paper, as expressed by the following equations:

$$\varphi(\boldsymbol{r}) = \text{arctan}\, \left[\frac{I_4(\boldsymbol{r})-I_2(\boldsymbol{r})}{I_1(\boldsymbol{r})-I_3(\boldsymbol{r})}\right] = \mathcal{W}[\Phi(\boldsymbol{r})],$$
$$\eta(\boldsymbol{r}) = \text{arctan}\, \left[\frac{\hat{I}_2(\boldsymbol{r})-\hat{I}_4(\boldsymbol{r})}{\hat{I}_3(\boldsymbol{r})-\hat{I}_1(\boldsymbol{r})}\right] = \mathcal{W}[\Phi(\boldsymbol{r})+\pi].$$

This approach enables the creation of wrapped phase maps with specific $\delta$ values, such as $\pi /2$ and $\pi$. This feasibility arises from $\delta$ not impacting the fundamental characteristics of the measured object; it is subsequently eliminated during the derivative process. In practical applications, $\delta$ can be assigned any arbitrary value that is not a multiple of $2\pi$.

The threshold value $\tau$ employed for identifying phase discontinuities is contingent upon the specific object under investigation and can be chosen empirically. To accurately trace discontinuity edges in phase maps, it is recommended to use a threshold value within the range of 0.5$\pi$ to 1.3 $\pi$. On the other hand, the continuous threshold value $\epsilon$ is determined by the precision of the experimental system and is theoretically expected to be 0. Thus, $\epsilon$ should be smaller than the discontinuity threshold value ($\epsilon < \tau )$. In general, a range of 0.05$\pi$ to 0.15$\pi$ is advised for the value of $\epsilon$.

While this unwrapping algorithm proves effective, it is not immune to problems. The occurrence of random noise at the same locations in two phase maps or high noise levels surpassing the discontinuity threshold ($\epsilon > \tau$) can introduce errors and compromise the reliability of the approach. To alleviate the impact of these noise effects, it becomes necessary to either restrict noise levels or implement pre-filtering measures.

The procedure of this proposed method is concluded in Fig. 2. It is important to clarify that although some phase unwrapping algorithms may have similar names or measurement steps, their underlying principles differ significantly. For example, Souza et al. [21] introduced an algorithm that balances residue charges by utilizing shifted wrapped phase maps to achieve fast processing times, while Stetson [22] and Khmaladze et al. [23] rely on shifting the phase to find continuous regions. However, these methods still only use the phase data or related information without employing the nonlinear information from the arctangent function. This limits their applicability to specific interferometric fields, making them less effective in other applications.

Consequently, the criteria established in Eqs. (7)–(10) are the main contribution of this paper, which reveals a complete framework to describe the implied nonlinear connection between different wrap types and the arctangent function in a rigorous mathematical form.

3. Simulation results

A classical spiral surface was selected as it poses a significant challenge for most path-following unwrapping algorithms due to its sharp discontinuities at intertwined spirals, as seen in the wrapped phase map in Fig. 3(a). Consequently, there are points on this surface that have a high potential for $2\pi$ ambiguity phase errors during the unwrapping process, as demonstrated by Goldstein’s branch-cuts algorithm in Figs. 3(b)-(d). Reference [1] provides further examples of failed results.

 figure: Fig. 3.

Fig. 3. Results of a spiral surface. (a) The wrapped phase map; (b) branch cuts established by Goldstein’s algorhitm [2] and the corresponding unwrapped results shown in 2D and 3D forms in (c) and (d), respectively.

Download Full Size | PDF

The second phase map is shown in Fig. 4(b) by adding a $\pi$ phase shift to the original underlying phase and rewrapping, according to Eqs. (1)–(2). Figures 4(c) and (d) show cross sections along the center line in both the vertical and horizontal directions. Two sets of points are labeled C/C’ and D/D’ to compare the different wrap types in $2\pi$ jumps. The $2\pi$ jumps resulting from physical discontinuities can be seen more clearly in Fig. 4(d) since no real wraps exist along that direction. It is evident that $2\pi$ errors can easily occur if the physical discontinuous wraps shown in Fig. 4(c) or (d) are incorrectly unwrapped. Figure 4(e) shows the positions of the physical discontinuous wraps and real wraps in different colors. As seen in Fig. 4(f), these assist WTPU in accurately unwrapping the maps.

 figure: Fig. 4.

Fig. 4. Results of a spiral surface using WTPU. (a)-(b) The original and shifted wrapped phase maps; (c)-(d) horizontal and vertical cross sections along the center lines of the wrapped phase of (a)-(b), respectively; (e) identified real wraps (red) and physical discontinuities (white); (f) corresponding unwrapped result. Points C/C’ and D/D’ represent marked positions where real and physical discontinuous wraps occur.

Download Full Size | PDF

4. Experimental verification

To demonstrate the capabilities of WTPU in practical applications, a machine part with steep discontinuities (Fig. 5(a)) and an ear plaster model with multiple layers of varying depths (some exceeding one fringe period) were chosen to be measured using a general fringe projection setup, as shown in Fig. 2. A Sony VPL-EX 175 3LCD projector, a Basler ace 2040-180 CCD camera, and a laptop computer comprise the setup. The two wrapped phase maps are obtained using the aforementioned four-step phase algorithm, as illustrated in Eqs. (16) and (17). For simplicity, the following experimental results demonstrate only the initial step of the eight fringe patterns from the first set.

 figure: Fig. 5.

Fig. 5. Experimental results of a machine part. (a) Intensity image, (b) corresponding recorded fringe pattern (416 $\times$ 444 pixels), (c)-(d) the original and shifted wrapped phase maps; (e)-(f) unwrapped results of (a) by using Goldstein’s algorithm [2] and Servin’s method [9], respectively.

Download Full Size | PDF

Due to their surface complexity, both the machine part with steep discontinuities and the ear plaster model with multiple layers and varying depths pose major obstacles for conventional spatial unwrapping approaches, as evidenced by the errors obtained using the Goldstein’s method (Figs. 5(e), 8(e)) [2]. These errors tend to occur at locations with physical discontinuities (indicated by red arrows) and propagate throughout the rest of the image. This type of failure is typical, as unwrapping approaches misinterpret the geometry boundaries as actual wraps.

By combining the second wrapped phase maps depicted in Fig. 5(d) and Fig. 8(d), the proposed algorithm successfully unwrapped the wrapped phase. The identified wrap types are shown in Fig. 6(a) and Fig. 9(a), respectively. Figure 10 displays the cross sections taken along the horizontal center line of the two wrapped images of Fig. 8(c) and Fig. 8(d) using the ear surface profile as a test object that is more general and features an irregular shape and lacks symmetry, in contrast to the machine part. Jump A/A’ denotes a detected physical discontinuous wrap that is easily misinterpreted by conventional unwrapping algorithms, but its discontinuity can be preserved to maintain a real phase feature by using WTPU. Both the identified wraps (Figs. 6(a), 9(a)), and the cross section demonstrate the efficiency of the proposed algorithm in distinguishing wrap types caused by distinct sources, which has a significant impact on discontinuous-phase unwrapping cases. The results of the unwrapping process are displayed in Figs. 6(b) and 9(b).

 figure: Fig. 6.

Fig. 6. Results of WTPU. (a) The distinguished physical discontinuities (white), real wraps (red) and the noise (green), $\epsilon = 0.05\pi, \; \tau = 0.7\pi$ are used; (b) the unwrapped result of WTPU.

Download Full Size | PDF

Figures 5(f) and 8(f) depict the intermediate unwrapped results obtained by using the Servin’s method [9] respectively, during iteration. Their final results are then used as a benchmark to compare with the proposed algorithm. During the measurement, two sets of projection patterns with different fringe spacings were used. One of these patterns had a fringe spacing of 10 mm, the same as that used in WTPU, while the other had a frequency that was five times larger [9].

Since the final unwrapping results of Servin’s and WTPU methods are almost identical in their 2D forms, as shown in Figs. 6(b) and 9(b), only the mathematical differences between WTPU and Servin’s method are presented (Figs. 7(b) and 11(b)). From the two Figs. 7(b) and 11(b), the same level of agreement (better than absolute 0.2 radians) was observed, except at the positions with noise where the temporal unwrapping strategy is not very reliable. Compared to the Goldstein’s method, WTPU provides a more comprehensive unwrapping result under inconsistent circumstances while also being easier to implement than the Servin’s method thanks to its utilization of the nonlinearity of the arctangent function.

 figure: Fig. 7.

Fig. 7. Quantitative comparison of unwrapped results. (a) The 3D rendering of the unwrapped result from Fig. 6(b), and the mathematical differences between the unwrapped results obtained by WTPU and Servin’s method [9].

Download Full Size | PDF

 figure: Fig. 8.

Fig. 8. Experimental results of an ear plaster model. (a) Intensity image, (b) corresponding recorded fringe pattern (768 $\times$ 512 pixels), (c) original wrapped phase map, (d) the shifted additional wrapped phase map, (e-f) unwrapped results from the Goldstein’s [2] and Servin’s [9] methods. The red arrows mark the positions of physical discontinuities.

Download Full Size | PDF

 figure: Fig. 9.

Fig. 9. Results of WTPU. (a) The distinguished physical discontinuities (white), real wraps (red) and the noise (green), $\epsilon = 0.05\pi, \; \tau = 0.5\pi$ are used; (b) the unwrapped result of WTPU.

Download Full Size | PDF

 figure: Fig. 10.

Fig. 10. Wrap-type identification performed along row 256 of the two shifted wrapped phase maps (Figs. 8(c-d)). Phase-jump pair A/A’ is a physical discontinuous wrap, distinguished from the real wraps (J0-J9) along the same line.

Download Full Size | PDF

 figure: Fig. 11.

Fig. 11. Quantitative comparison of unwrapped results. (a) The 3D rendering of the unwrapped result from Fig. 9(b), and the mathematical differences between the unwrapped results obtained by WTPU and Servin’s method [9].

Download Full Size | PDF

The execution time of WTPU is comparable to that of Servin’s temporal unwrapping [9], since both methods use only additive and subtractive operations.

5. Conclusion

In summary, the proposed algorithm allows for the direct and accurate differentiation of the 2$\pi$ ambiguity without requiring prior knowledge. This achievement is made possible by harnessing the inherent nonlinear nature of the arctangent function, as indicated by the recognizable fringe shifting effects [24] described in Eqs. (7)–(10). The branch thresholds utilized in Eqs. (7)–(10) are linked to the intrinsic frequencies of an object in the temporal domain, effectively bridging the gap between spatial and temporal unwrapping strategies. By treating each phase jump pair independently, the algorithm prevents error propagation and eliminates the need for constructing branch cuts or employing diverse fringe patterns with distinct frequencies. As long as a second wrapped phase map with shifted fringes can be obtained, this unwrapping algorithm, with its ability to determine wrap types, holds promise for various extended interferometric applications.

Funding

National Natural Science Foundation of China (61975161).

Acknowledgement

The author expresses sincere thanks to Dr. Hong Zhao from State Key Laboratory for Manufacturing Systems Engineering of Xi’an Jiaotong University who carefully and thoroughly read the manuscript and provided meaningful criticisms.

Disclosures

The author declares no conflicts of interest.

Data availability

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.

References

1. D. C. Ghiglia and M. D. Pritt, Two-Dimensional Phase Unwrapping : Theory Algorithms and Software (Wiley: New York, 1988).

2. R. M. Goldstein, H. A. Zebker, and C. L. Werner, “Satellite radar interferometry: Two-dimensional phase unwrapping,” Radio Sci. 23(4), 713–720 (1988). [CrossRef]  

3. L. L. García, A. G. Arellano, and W. Cruz-Santos, “A parallel path-following phase unwrapping algorithm based on a top-down breadth-first search approach,” Opt. Lasers Eng. 124, 105827 (2020). [CrossRef]  

4. M. Arevalillo-Herráez, J. Segura-García, P. Arnau-González, and S. Katsigiannis, “Wrap reduction algorithm for fringe projection profilometry,” Opt. Lasers Eng. 158, 107185 (2022). [CrossRef]  

5. S. Zhang, X. Li, and S.-T. Yau, “Multilevel quality-guided phase unwrapping algorithm for real-time three-dimensional shape reconstruction,” Appl. Opt. 46(1), 50–57 (2007). [CrossRef]  

6. C. Wei, J. Ma, X. Miao, N. Wang, Y. Zong, and C. Yuan, “Residue calibrated least-squares unwrapping algorithm for noisy and steep phase maps,” Opt. Express 30(2), 1686 (2022). [CrossRef]  

7. M. Takeda, Q. Gu, M. Kinoshita, H. Takai, and Y. Takahashi, “Frequency-multiplex Fourier-transform profilometry: a single-shot three-dimensional shape measurement of objects with large height discontinuities and/or surface isolations,” Appl. Opt. 36(22), 5347 (1997). [CrossRef]  

8. H. O. Saldner and J. M. Huntley, “Temporal phase unwrapping: application to surface profiling of discontinuous objects,” Appl. Opt. 36(13), 2770 (1997). [CrossRef]  

9. M. Servin, J. M. Padilla, A. Gonzalez, and G. Garnica, “Temporal phase-unwrapping of static surfaces with 2-sensitivity fringe-patterns,” Opt. Express 23(12), 15806 (2015). [CrossRef]  

10. C. Esch, J. Köhler, K. Gutjahr, and W.-D. Schuh, “One-Step Three-Dimensional Phase Unwrapping Approach Based on Small Baseline Subset Interferograms,” Remote Sens. 12(9), 1473 (2020). Number: 9. [CrossRef]  

11. G. A. Parra-Escamilla, D. I. Serrano-García, J. L. Flores, and Y. Otani, “Pixelated polarizing system for dynamic interferometry events employing a temporal phase unwrapping approach,” Opt. Commun. 458, 124862 (2020). [CrossRef]  

12. H. Zhao, C. Zhang, C. Zhou, K. Jiang, and M. Fang, “Circular fringe projection profilometry,” Opt. Lett. 41(21), 4951–4954 (2016). [CrossRef]  

13. J. K. Mandapalli, V. Ravi, S. S. Gorthi, S. Gorthi, and R. K. Gorthi, “Single-shot circular fringe projection for the profiling of objects having surface discontinuities,” J. Opt. Soc. Am. A 38(10), 1471–1482 (2021). [CrossRef]  

14. V. Ravi and R. K. Gorthi, “CF3DNet: A learning-based approach for single-shot 3D reconstruction from circular fringes,” Opt. Lasers Eng. 167, 107597 (2023). [CrossRef]  

15. M. Dai, F. Yang, and X. He, “Single-shot color fringe projection for three-dimensional shape measurement of objects with discontinuities,” Appl. Opt. 51(12), 2062–2069 (2012). [CrossRef]  

16. M. Kondiparthi, “New method for depicting 3D objects with surface discontinuities,” in Applications of Digital Image Processing XXXIV, vol. 8135 (2011), pp. 582–590.

17. H. An, Y. Cao, Y. Zhang, and H. Li, “Phase-Shifting Temporal Phase Unwrapping Algorithm for High-Speed Fringe Projection Profilometry,” IEEE Trans. Instrum. Meas. 72, 1–9 (2023). [CrossRef]  

18. K. Itoh, “Analysis of the phase unwrapping algorithm,” Appl. Opt. 21(14), 2470 (1982). [CrossRef]  

19. D. J. Bone, “Fourier fringe analysis: the two-dimensional phase unwrapping problem,” Appl. Opt. 30(25), 3627 (1991). [CrossRef]  

20. D. Malacara, M. Servin, and Z. Malacara, Interferogram Analysis for Optical Testing second edition (CRC press, 2018).

21. J. C. de Souza, M. E. Oliveira, and P. A. M. dos Santos, “Branch-cut algorithm for optical phase unwrapping,” Opt. Lett. 40(15), 3456 (2015). [CrossRef]  

22. K. A. Stetson, “Noise-immune method for locating wrap regions in phase-step interferometry,” Opt. Lett. 21(16), 1268 (1996). [CrossRef]  

23. A. Khmaladze, T. Epstein, and Z. Chen, “Phase unwrapping by varying the reconstruction distance in digital holographic microscopy,” Opt. Lett. 35(7), 1040 (2010). [CrossRef]  

24. H. Jonquière, L. M. Mugnier, and R. Mercier-Ythier, “Study of linear phase shift algorithms and application to deflectometry,” Opt. Lasers Eng. 143, 106640 (2021). [CrossRef]  

Data availability

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.

Cited By

Optica participates in Crossref's Cited-By Linking service. Citing articles from Optica Publishing Group journals and other participating publishers are listed here.

Alert me when this article is cited.


Figures (11)

Fig. 1.
Fig. 1. Schematic of wrap-type identification based on the arctangent differential amplifier. The nonlinear response of the tile slides along the arctangent curve, where $dh$ remains unchanged while the phase angle of $d\theta$ changes, which associated with branch thresholds $\mathcal {T}_{HRc}$ and $\mathcal {T}_{HRd}$ ,
Fig. 2.
Fig. 2. Flow chart of WTPU’s measurement and calculation process.
Fig. 3.
Fig. 3. Results of a spiral surface. (a) The wrapped phase map; (b) branch cuts established by Goldstein’s algorhitm [2] and the corresponding unwrapped results shown in 2D and 3D forms in (c) and (d), respectively.
Fig. 4.
Fig. 4. Results of a spiral surface using WTPU. (a)-(b) The original and shifted wrapped phase maps; (c)-(d) horizontal and vertical cross sections along the center lines of the wrapped phase of (a)-(b), respectively; (e) identified real wraps (red) and physical discontinuities (white); (f) corresponding unwrapped result. Points C/C’ and D/D’ represent marked positions where real and physical discontinuous wraps occur.
Fig. 5.
Fig. 5. Experimental results of a machine part. (a) Intensity image, (b) corresponding recorded fringe pattern (416 $\times$ 444 pixels), (c)-(d) the original and shifted wrapped phase maps; (e)-(f) unwrapped results of (a) by using Goldstein’s algorithm [2] and Servin’s method [9], respectively.
Fig. 6.
Fig. 6. Results of WTPU. (a) The distinguished physical discontinuities (white), real wraps (red) and the noise (green), $\epsilon = 0.05\pi, \; \tau = 0.7\pi$ are used; (b) the unwrapped result of WTPU.
Fig. 7.
Fig. 7. Quantitative comparison of unwrapped results. (a) The 3D rendering of the unwrapped result from Fig. 6(b), and the mathematical differences between the unwrapped results obtained by WTPU and Servin’s method [9].
Fig. 8.
Fig. 8. Experimental results of an ear plaster model. (a) Intensity image, (b) corresponding recorded fringe pattern (768 $\times$ 512 pixels), (c) original wrapped phase map, (d) the shifted additional wrapped phase map, (e-f) unwrapped results from the Goldstein’s [2] and Servin’s [9] methods. The red arrows mark the positions of physical discontinuities.
Fig. 9.
Fig. 9. Results of WTPU. (a) The distinguished physical discontinuities (white), real wraps (red) and the noise (green), $\epsilon = 0.05\pi, \; \tau = 0.5\pi$ are used; (b) the unwrapped result of WTPU.
Fig. 10.
Fig. 10. Wrap-type identification performed along row 256 of the two shifted wrapped phase maps (Figs. 8(c-d)). Phase-jump pair A/A’ is a physical discontinuous wrap, distinguished from the real wraps (J0-J9) along the same line.
Fig. 11.
Fig. 11. Quantitative comparison of unwrapped results. (a) The 3D rendering of the unwrapped result from Fig. 9(b), and the mathematical differences between the unwrapped results obtained by WTPU and Servin’s method [9].

Equations (19)

Equations on this page are rendered with MathJax. Learn more.

φ ( r ) = Φ ( r ) + 2 π k ( r )
= W [ Φ ( r ) ] = arctan { sin [ Φ ( r ) ] , cos [ Φ ( r ) ] } ,
η ( r ) = Φ ( r ) + 2 π k ( r ) + δ = Θ ( r ) + 2 π k ( r )
= W [ Θ ( r ) ] = arctan { sin [ Θ ( r ) ] , cos [ Θ ( r ) ] } .
Δ φ ( r ) = φ ( i ) φ ( j ) W [ Δ Φ ( r ) ] ;
Δ η ( r ) = η ( i ) η ( j ) W [ Δ Θ ( r ) ] .
W [ Δ Φ ( r ) ] = W [ Δ Θ ( r ) ] .
W [ Δ Φ ( r ) ] = W [ Δ φ ( r ) ] ; W [ Δ Θ ( r ) ] = W [ Δ η ( r ) ] ,
W [ Δ φ ( r ) ] = = W [ Δ η ( r ) ] .
W [ Δ φ ( r ) ] W [ Δ η ( r ) ] .
W [ Δ φ ( r ) ] = = W [ Δ η ( r ) ] = T H R ,
{ W [ Δ φ ( r ) ] = = W [ Δ η ( r ) ] = T H R c ε ; (10a) W [ Δ φ ( r ) ] = = W [ Δ η ( r ) ] = T H R d τ . (10b)
{ ε = mod ( Δ Φ c ( r ) , 2 π ) ; (11a) τ = mod ( Δ Φ d ( r ) , 2 π ) , (11b)
Δ φ ( r ) = { Φ ( i ) + 2 π k ( i ) } { Φ ( j ) + 2 π k ( j ) } = { Φ ( i ) Φ ( j ) } + 2 π { k ( i ) k ( j ) } = Δ Φ ( r ) + 2 π Δ k ( r ) W [ Δ Φ ( r ) ] ,
Δ η ( r ) = { Φ ( i ) + 2 π k ( i ) + δ } { Φ ( j ) + 2 π k ( j ) + δ } = { Θ ( i ) Θ ( j ) } + 2 π { k ( i ) k ( j ) } = Δ Θ ( r ) + 2 π Δ k ( r ) W [ Δ Θ ( r ) ] .
k ( r ) = { ± 1 , if T H R c ε , a real wrap ; 0 , if T H R d , τ a physical discontinuous wrap ,
η ( r ) = W ( φ ( r ) + δ ) = W ( Φ ( r ) + δ ) .
φ ( r ) = arctan [ I 4 ( r ) I 2 ( r ) I 1 ( r ) I 3 ( r ) ] = W [ Φ ( r ) ] ,
η ( r ) = arctan [ I ^ 2 ( r ) I ^ 4 ( r ) I ^ 3 ( r ) I ^ 1 ( r ) ] = W [ Φ ( r ) + π ] .
Select as filters


Select Topics Cancel
© Copyright 2024 | Optica Publishing Group. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.