Skip to Content
PhotonicsPhotonics
  • Article
  • Open Access

30 November 2026

17 Pages

Phase Extraction from a Single-Color Fringe Image Using Differential Normalization and Ellipse Fitting

,
,
and
1
School of Mechatronic Engineering, Xi’an Technological University, Xi’an 710039, China
2
School of Optoelectronic Engineering, Xi’an Technological University, Xi’an 710039, China
*
Author to whom correspondence should be addressed.

Abstract

This paper presents a high-precision phase-shifting algorithm designed for single-frame color fringe projection profilometry, enabling accurate wrapped phase retrieval from a single color pattern. By integrating differential normalization with ellipse fitting, the method effectively addresses key challenges in single-shot measurement. The proposed technique fundamentally differs from multi-frame grayscale approaches, as it achieves robust phase reconstruction using only one color fringe image while maintaining the inherent reliability of phase-shifting principles. The core contributions are threefold: (1) differential normalization suppresses channel crosstalk and mitigates background intensity fluctuations; (2) ellipse fitting compensates for residual modulation errors and inherent phase-shift deviations; (3) wavelet denoising further reduces random noise within the fringe signal. Experimental results demonstrate that this integrated processing chain significantly enhances the accuracy of single-frame phase recovery. The method preserves measurement precision comparable to traditional multi-frame phase-shifting techniques but eliminates the need for sequential pattern projection, thereby providing a practical and reliable solution for real-time, high-accuracy 3D shape measurement.

1. Introduction

Fringe projection profilometry (FPP) has firmly established itself as an indispensable optical metrology paradigm for non-contact three-dimensional (3D) surface reconstruction, underpinning critical advances in precision industrial inspection, reverse engineering, and dynamic biometric tracking [1,2,3,4]. The underlying mechanism of canonical FPP entails projecting structured optical patterns onto a target surface, where the local surface topography spatially modulates the phase of the carrier fringes. By acquiring the perturbed patterns using an off-axis image sensor, absolute 3D Euclidean coordinates ( X , Y , Z ) are reconstructed via calibrated optical triangulation between the camera and projector perspectives.
Among various structured illumination designs, sinusoidal fringe patterns play a foundational role in precision optical metrology. Unlike binary structured light or pseudo-random speckle encoding, sinusoidal fringes exhibit continuous and smoothly differentiable luminance distributions. This intrinsic property enables continuous sub-pixel phase interpolation while imparting substantial immunity against ambient lighting fluctuations and spatially non-uniform surface reflectivity. Within the triangulation pipeline, phase extraction serves as the definitive mathematical linchpin: it decodes raw 2D intensity distributions into an unambiguous phase map that uniquely correlates with surface depth. Any residual intensity distortion or uncompensated nonlinearity directly precipitates phase demodulation errors, appearing as geometric waviness, edge ripples, or metric inaccuracy in the final 3D point cloud.
Over the past few decades, phase demodulation strategies have predominantly bifurcated into Fourier transform profilometry (FTP) and phase-shifting profilometry (PSP). While FTP enables single-shot acquisition via spatial frequency filtering [5], its demodulation fidelity deteriorates markedly on complex surfaces featuring step discontinuities or steep slopes, where fundamental spectral leakage and frequency aliasing occur [6]. In contrast, multi-step PSP achieves pixel-wise, high-density phase estimation with exceptional noise immunity [7,8]. Nonetheless, conventional PSP mandates sequential temporal projection of multiple phase-shifted patterns (typically N ≥ 3 ), rendering the system highly vulnerable to inter-frame motion artifacts, ambient vibration, and high-speed target deformations [9,10].
To resolve this classic spatiotemporal trade-off, color phase-shifting profilometry (CPSP) was developed. By multiplexing three phase-shifted fringe patterns into the red (R), green (G), and blue (B) color channels of a single composite frame, CPSP theoretically inherits the pixel-level accuracy of PSP while retaining the instantaneous snapshot capability of FTP [11,12]. In practical optoelectronic systems, however, the fidelity of CPSP is severely challenged by two coupled physical mechanisms:
  • Color Channel Crosstalk: Optical image sensors (governed by the broad spectral transmittance profiles of Bayer color filter arrays or 3-CCD optical prisms) exhibit severe spectral overlap across the 500 – 600 nm passband [13,14].
  • Color Imbalance and Background Drift: Variations in channel quantum efficiency, non-uniform chromatic surface reflectance, and optoelectronic gamma nonlinearities disrupt the nominal symmetry among channels ( A r ≠ A g ≠ A b , B r ≠ B g ≠ B b ) [15].
Left uncompensated, these inter-channel couplings produce phase extraction errors that routinely exceed ± 0.2 rad , preventing high-precision dynamic metrology.
Extensive efforts have been devoted to mitigating these color-induced phase errors, falling into iterative and non-iterative frameworks. Iterative algorithms, such as the advanced iterative algorithm (AIA) [16] and least-squares iterative methods [17], achieve high precision; however, their heavy iterative optimization load creates prohibitive computational latency that is incompatible with high-speed, real-time inspection. Conversely, non-iterative algebraic methods, including principal component analysis (PCA) [18] and Lissajous ellipse fitting (LEF) [19,20], offer real-time execution speeds, yet remain acutely vulnerable to spatial background illumination shifts. The Gram–Schmidt orthonormalization and least-squares ellipse fitting (GSLEF) scheme proposed by Lei et al. [21] improved quadrature signal orthogonalization, but it still struggles with residual DC background offsets that inevitably distort the Lissajous trajectory.
To overcome these challenges, this paper proposes a single-frame phase extraction methodology that integrates differential normalization, least-squares ellipse fitting, and wavelet multi-resolution denoising into a unified, non-iterative processing pipeline. The main contributions are: (1) differential normalization effectively removes ambient DC offsets and cross-channel intensity imbalances; (2) ellipse fitting compensates for residual modulation variations and phase-shift deviations; and (3) wavelet denoising eliminates high-frequency random noise without blurring structural edges.
The paper is organized as follows. Section 2 introduces the theoretical framework. Section 3 presents simulations and experimental validation. Section 5 provides concluding remarks. This work contributes a practical solution for real-time, high-accuracy 3D measurement of dynamic scenes.

2. Principle

2.1. Color Fringe Projection Profilometry

A typical color fringe projection profilometry (FPP) system comprises a digital light processing (DLP) projector and a color CCD camera, as illustrated in Figure 1. Sinusoidal fringe patterns are projected onto a diffuse surface, and the deformed fringe images captured by the camera exhibit an intensity distribution given by [22,23]:
I ( x , y ) = A ( x , y ) + B ( x , y ) c o s [ ϕ ( x , y ) − 2 π n N ] , n = 0 , 1 , . . . , N − 1 .
where A ( x , y ) is the average intensity, B ( x , y ) is the modulation intensity, ϕ ( x , y ) is the phase function, and N is the phase-step number.
Figure 1. Measurement system.
In single-shot color FPP, three phase-shifted patterns are encoded in the red, green, and blue channels of a single color image [11,14]:
I r ( x , y ) = A r ( x , y ) + B r ( x , y ) c o s [ ϕ ( x , y ) + δ r ( x , y ) ] I g ( x , y ) = A g ( x , y ) + B g ( x , y ) c o s [ ϕ ( x , y ) + δ g ( x , y ) ] I b ( x , y ) = A b ( x , y ) + B b ( x , y ) c o s [ ϕ ( x , y ) + δ b ( x , y ) ]
where I r , I g , and  I b denote the intensities of the red, green and blue channels, respectively. Correspondingly, A i and B i (with i = r , g , b ) represent the background and modulation intensities for each channel. As shown in Figure 1, the composite color fringe pattern can be decomposed into three grayscale phase-shifting patterns. Under ideal conditions, where A r = A g = A b and B r = B g = B b , the phase ϕ ( x , y ) can be extracted as
ϕ ( x , y ) = tan − 1 [ 3 ( I b ( x , y ) − I g ( x , y ) ) 2 I r ( x , y ) − I g ( x , y ) − I b ( x , y ) ]
In practical optoelectronic systems, however, these ideal assumptions are fundamentally invalidated. Physically, the intensity recorded by each color channel is governed by continuous spectral integration across the visible spectrum:
I i ( x , y ) = ∫ λ min λ max S i ( λ ) R ( x , y , λ ) P ( λ ) d λ + I i , ambient ( x , y ) , i ∈ { r , g , b }
where S i ( λ ) represents the wavelength-dependent spectral responsivity of the camera sensor in channel i, R ( x , y , λ ) denotes the target surface’s spectral reflectance, P ( λ ) is the radiant emission spectrum of the projector, and  I i , ambient ( x , y ) represents ambient optical noise. In commercial Bayer-filter CMOS cameras, the spectral transmittances of the micro-color filters overlap substantially within the 500 – 600 nm range. Consequently, light emitted intended for one primary channel inevitably leaks into adjacent channels, yielding channel-dependent background offsets A i ( x , y ) , modulation disparities B i ( x , y ) , and phase-shift deviations δ i ( x , y ) in Equation (2). These physical inter-channel couplings produce severe phase demodulation errors if directly processed by Equation (3).
The retrieved phase ϕ ( x , y ) is wrapped, containing inherent 2 π discontinuities. Phase unwrapping is therefore required to obtain the absolute phase Φ ( x , y ) :
Φ ( x , y ) = ϕ ( x , y ) + 2 π k ( x , y )
where k ( x , y ) is fringe order [24].
In practice, the ideal assumptions are often violated due to various error sources such as intensity fluctuations, color coupling, and channel imbalance [25,26]. These factors introduce errors into the intensity measurements, degrading the accuracy of phase extraction.
To address these practical issues, we employ a three-step procedure, as outlined in Figure 2: (1) differential normalization (Section 2.2) to suppress channel crosstalk and background fluctuations; (2) ellipse fitting (Section 2.3) to correct residual modulation and phase-shift errors; and (3) wavelet denoising (Section 2.4) to reduce random noise. The color-decoupling preprocessing follows the iterative model described in Ref. [11].
Figure 2. Workflow. After initial color decoupling [11], the proposed method performs differential normalization, ellipse fitting, and wavelet denoising.

2.2. Principle of Differential Normalization

To address the limitations of current mainstream phase extraction algorithms in phase-shifting fringe projection profilometry, we implement a phase recovery method based on differential normalization. Considering the three-channel intensity model in Equation (2) with unknown phase shifts, differential normalization is employed to mitigate fluctuations in background intensity and modulation amplitude.
The captured fringe images for each channel is treated as a two-dimensional matrix. Normalization is performed by dividing each channel’s intensity data by the L2 norm of its respective matrix. The results of this process are shown in Figure 3, and the normalization is defined as
I r * = I r | | I r | | = A r + B r c o s ( ϕ + δ r ) ∑ n = 1 N ( A r + B r c o s ( ϕ + δ r ) ) 2 I g * = I g | | I g | | = A g + B g c o s ( ϕ + δ g ) ∑ n = 1 N ( A g + B g c o s ( ϕ + δ g ) ) 2 I b * = I b | | I b | | = A b + B b c o s ( ϕ + δ b ) ∑ n = 1 N ( A b + B r c o s ( ϕ + δ b ) ) 2
Figure 3. Results of the differential normalization process: (a) original fringe intensity, (b) decoupled fringe intensity, (c) normalized result from Equation (6), (d) differential result from Equation (9), (e) sum and difference from Equations (13), (f) normalized result from Equation (14).
Assuming the number of fringe periods in the captured pattern is greater than one, the cosine terms c o s ( ϕ + δ i ) oscillate sufficiently over the image domain. This ensures their spatial averages approach zero while the averages of their squares approach 1 / 2 , leading to the following approximation for i ≠ j   ( i , j = 1 , 2 , 3 ) :
A i ∑ n = 1 N ( A i + B i c o s ( ϕ + δ i ) ) 2 ≈ A j ∑ n = 1 N ( A j + B j c o s ( ϕ + δ j ) ) 2 B i ∑ n = 1 N ( A i + B i c o s ( ϕ + δ i ) ) 2 ≈ B j ∑ n = 1 N ( A j + B j c o s ( ϕ + δ j ) ) 2
If the fringe count is too low (e.g., ≤ 1 ), this statistical behavior is not satisfied, leading to residual channel-dependent amplitude variations and increased phase error.
Using this approximation, the normalized intensities simplify to
I r * = A + B c o s ( ϕ + δ r ) I g * = A + B c o s ( ϕ + δ g ) I b * = A + B c o s ( ϕ + δ b )
where A and B are now uniform across channels. With the background and modulation fluctuations suppressed, differential operations are applied to eliminate the common background A:
D g r = I g * − I r * = 2 B s i n ( δ g / 2 ) s i n ( ϕ + δ g / 2 ) D b r = I b * − I r * = 2 B s i n ( δ b / 2 ) s i n ( ϕ + δ b / 2 )
Since δ r ≠ δ g ≠ δ b , the amplitudes of D g r and D b r differ. A second L2 normalization is applied to the differential signals:
D g r * = 2 B · s i n ( δ g / 2 ) s i n ( ϕ + δ g / 2 ) ∑ n = 1 N ( 2 B · s i n ( δ g / 2 ) s i n ( ϕ + δ g / 2 ) ) 2 D b r * = 2 B · s i n ( δ b / 2 ) s i n ( ϕ + δ b / 2 ) ∑ n = 1 N ( 2 B · s i n ( δ b / 2 ) s i n ( ϕ + δ b / 2 ) ) 2
Under the same condition of sufficient fringe periods, the following approximation holds:
C = 2 B · s i n ( δ g / 2 ) ∑ n = 1 N ( 2 B · s i n ( δ g / 2 ) s i n ( ϕ + δ g / 2 ) ) 2 = 2 B · s i n ( δ b / 2 ) ∑ n = 1 N ( 2 B · s i n ( δ b / 2 ) s i n ( ϕ + δ b / 2 ) ) 2
Thus, the normalized differential signals become
D g r * = C · s i n ( ϕ + δ g / 2 ) D b r * = C · s i n ( ϕ + δ b / 2 )
To construct an elliptical relationship for error correction, sum and difference operations are performed on D g r * and D b r * :
D d i f = D g r * − D b r * = 2 C c o s ( ϕ + δ g + δ b 4 ) s i n ( δ g − δ b 4 ) D s u m = D g r * + D b r * = 2 C s i n ( ϕ + δ g + δ b 4 ) c o s ( δ g − δ b 4 )
A final L2 normalization removes the remaining amplitude factors, yielding
D d i f * = K · c o s ( ϕ + δ g + δ b 4 ) D s u m * = K · s i n ( ϕ + δ g + δ b 4 )
where K is the resultant normalization coefficient. The functional results of these steps are shown in Figure 3.
This differential normalization process effectively suppresses color coupling, background fluctuations, and color imbalance. As Equation (14) shows, D d i f * and D s u m * are orthogonal, implying the normalized data should ideally lie on a circle. In practice, phase-shift deviations, modulation errors, and noise cause deviations from this ideal trajectory. Therefore, an ellipse fitting algorithm is subsequently applied to correct these phase errors, enabling high-accuracy phase recovery.

2.3. Ellipse Fitting for Phase Recovery

The ellipse fitting step is applied after differential normalization (Section 2.2) and prior to wavelet denoising (Section 2.4). This sequence is crucial because fitting corrects residual systematic errors—such as phase-shift deviations and modulation imbalances—that remain after normalization. Performing denoising first could smooth out these structured errors, compromising the accuracy of the ellipse parameter estimation and the subsequent phase correction.
Under ideal conditions, the phase ϕ can be obtained directly from the ratio D d i f * / D s u m * via the arctangent function. In practice, however, residual disturbances cause the normalized signals to deviate from a perfect circle in the ( D d i f * , D s u m * ) plane, forming instead an elliptical locus. We therefore model the relationship between the observed signals as
( D d i f * − x 0 a x ) 2 + ( D s u m * − y 0 a y ) 2 = 1
where the parameters ( x 0 , y 0 ) and ( a x , a y ) have clear physical interpretations. The offsets x 0 and y 0 primarily compensate for residual background intensity and color coupling effects, while the semi-axes a x and a y reflect the modulation amplitudes along the two orthogonal directions. Any inequality between a x and a y indicates a modulation imbalance introduced by system nonlinearities or channel-dependent gain variations. The ellipse-fitting process optimizes these four parameters to minimize the discrepancy between the observed data points and the ideal elliptical model, thereby reducing the corresponding phase errors.
Once the optimal ellipse parameters are obtained, the phase is estimated as
ϕ = a r c t a n ( D s u m * − x 0 a x · a y D d i f * − y 0 ) − Δ
with Δ = ( δ g + δ b ) / 4 . This correction compensates for the systematic phase errors that persist after differential normalization, providing a robust and accurate phase recovery. Furthermore, to handle surfaces with non-uniform reflectance or spatially varying modulation quality, future work may explore adaptive weighting strategies that prioritize high-modulation regions during the ellipse parameter optimization, which could further enhance the method’s accuracy and robustness in challenging practical scenarios.

2.4. Wavelet Denoise

To further suppress random noise that persists after ellipse fitting, a wavelet denoising step is applied. Wavelet transform decomposes the signal into multiple scales, separating noise from the underlying phase information. This multi-resolution analysis enhances the signal-to-noise ratio and improves the final phase accuracy [27,28].
The process is implemented in three stages. First, the 2D phase map D is decomposed using a Daubechies wavelet (db4) basis:
[ c , s ] = w a v e d e c 2 ( D , N , d b 4 )
where c is the coefficient vector, s stores the decomposition structure, and N is the decomposition level.
Second, a hard-thresholding operation is applied to the detail coefficients:
c ^ i = c i , if | c i | ≥ τ , 0 , if | c i | < τ ,
where c i is an original wavelet coefficient, c ^ i is the thresholded coefficient, and  τ is a global threshold. This step attenuates noise-dominant coefficients while preserving significant signal components.
Finally, the function wdencmp is used for wavelet reconstruction, and the denoised phase map D d e n o i s e d is reconstructed through the inverse wavelet transform:
D denoised = wdencmp ( c ^ , s , τ ) .
The denoised orthogonal signals D d i f , D e * and D s u m , D e * are then used to compute the refined phase:
ϕ D e = t a n − 1 D d i f , D e * D s u m , D e * ;
Figure 4 shows the results of applying both ellipse fitting and wavelet denoising, illustrating the enhanced precision in phase determination achieved through wavelet denoising.
Figure 4. (a) Ellipse fitting result for the orthogonal signals { D d i f , D s u m } , (b) Ellipse fitting result for the normalized signals { D d i f * , D s u m * } , (c) Ellipse fitting result after applying wavelet denoising to the signals { D d i f , D e * , D s u m , D e * } .

3. Simulation and Experiments

3.1. Simulation

This section evaluates the performance of the proposed method through simulation. The fringe density, defined as the number of sinusoidal periods across the field of view, was varied from 0.5 to 120. A density of 0.5 represents an extreme low-frequency case, testing the algorithm’s limit where the statistical ergodicity assumption underlying differential normalization may be violated.
The deformed color fringe pattern is simulated based on the relationship between projected and measured intensities, expressed as
I R ′ I G ′ I B ′ ︸ C = α r r α r g α r b α g r α g g α g b α b r α b g α b b ︸ A · K r 0 0 0 K g 0 0 0 K b ︸ K · I r γ 1 I g γ 2 I b γ 3 ︸ P + I r 0 I g 0 I b 0 ︸ P 0
C = A · K · P + P 0
Here, C and P are the measured and projected intensities, respectively; P 0 is the ambient light intensity. The coefficients K r = 0.95 , K g = 1.1 , and K b = 0.9 represent channel-specific reflectivity, while γ 1 = 1.15 , γ 2 = 1.25 , γ 3 = 1.45 are nonlinear coefficients for each channel [29]. The inter-channel coupling is modeled by the matrix M = [ 1 , 0.15 , 0.07 ; 0.12 , 1 , 0.11 ; 0.05 , 0.16 , 1 ] . The three fringe patterns I r , I g , and I b have phase shifts of 0, π / 3 , 3 π / 5 ; background intensities of 100, 90, and 80; and modulation amplitudes of 90, 85, and 80, respectively (Figure 5).
Figure 5. The fringe images of R, G, and B channels.
Figure 6 demonstrates the complete processing pipeline applied to a peaks surface. The pipeline begins with the deformed fringe pattern (b) and its corresponding intensity profile (c). The core of the methodology is revealed through the sequential refinement of the corresponding Lissajous figures (d–f). Specifically, plot (d) presents the initial state after differential normalization, where inherent signal coupling and systematic errors are visible. The application of ellipse fitting (e) effectively compensates for these systematic biases, centering and linearizing the data distribution. Subsequent wavelet denoising (f) further suppresses random noise, yielding a tightly clustered, near-ideal circular trajectory. This stepwise signal purification translates directly into a highly accurate unwrapped phase map (g). The final phase error map (h) and its cross-sectional profile (i) quantitatively confirm the low residual error achieved across the entire complex surface, thereby validating the efficacy of the proposed method.
Figure 6. Peaks fringe pattern. (a) Peaks deformation, (b) color fringe image, (c) intensity distribution of the purple line in (b), (d) Lissajous figure after differential normalization, (e) after elliptical fitting, (f) after wavelet denoising, (g) reconstructed peaks phase, (h) phase error map, (i) phase error distribution of the purple line in (h).
Simulation 1: Robustness Across Extreme Fringe Densities ( 0.5 – 120 Periods).
To assess algorithmic operational bounds, the fringe density across the field of view was swept from an ultra-sparse regime ( 0.5 periods) to a dense carrier regime (120 periods) under a fixed SNR = 40 dB . As documented in Table 1 and plotted in Figure 7a, the proposed method consistently achieves superior retrieval fidelity, maintaining the lowest RMS errors ( 0.010 – 0.052 rad ) within the typical working range of 2 – 30 periods. Although GSLEF performs reasonably well ( 0.016 – 0.068 rad ), its lack of residual DC suppression causes degradation. Conversely, iterative AIA and algebraic PCA exhibit severe error escalation ( RMS > 0.11 rad ), failing completely at sparse frequencies ( N period ≤ 1 ). This validates that our differential normalization maintains mathematical validity across wide spatial frequency ranges.
Table 1. RMS phase errors (rad) for different fringe densities.
Figure 7. RMS error comparison under different conditions: (a) varying fringe density, (b) varying phase shift, (c) varying noise level.
Simulation 2: Immunity to Arbitrary Phase-Shift Deviations ( 1.70 – 3.14 rad ).
Phase shifts in practical color FPP frequently deviate from the nominal 2 π / 3 due to chromatic dispersion and optoelectronic non-linearities. To examine phase-shift tolerance, the phase shift between the third and second frames was swept from 1.70 rad to 3.14 rad (with the first-to-second shift held at 0.70 rad ) under SNR = 40 dB . Table 2 and Figure 7b demonstrate that the proposed method consistently delivers minimal phase errors ( 0.068 – 0.118 rad ) across the entire parameter space. In contrast, GSLEF suffers from phase-shift detuning ( 0.15 – 0.30 rad ), AIA displays elevated plateau errors ( 0.19 – 0.40 rad ), and PCA exhibits extreme sensitivity to phase shifts, with errors rising to 0.86 rad .
Table 2. RMS phase errors (rad) for different phase-shift values.
Simulation 3: Resilience Under Broad Noise Regimes ( SNR = 20 – 70 dB ).
Optical sensors operating in high-speed or low-light conditions inevitably introduce stochastic shot and thermal noise. The noise immunity was benchmarked across a wide spectrum from severe noise ( SNR = 20 dB ) to near-ideal conditions ( 70 dB and noise-free). As summarized in Table 3 and Figure 7c, the proposed method maintains the lowest phase error across all levels, achieving an exceptional RMS = 0.067 rad at 40 dB and reducing to 0.006 rad in the noise-free limit. The integrated wavelet thresholding effectively suppresses Gaussian sensor noise without eroding high-gradient phase contours, whereas PCA and AIA remain plagued by uncompensated noise floors.
Table 3. RMS phase errors (rad) for different noise levels.
The simulations confirm that the proposed method outperforms GSLEF, AIA, and PCA in terms of accuracy and robustness under varying fringe densities, phase shifts, and noise conditions. The differential normalization suppresses coupling and background variations, ellipse fitting corrects systematic phase-shift and modulation errors, and wavelet denoising further reduces random noise, resulting in reliable single-frame phase recovery.

3.2. Experiment

The experimental apparatus comprises a DLP projector (TI LightCrafter 4500, Texas Instruments, Dallas, USA, resolution 1140 × 912 pixels) and a synchronized color CMOS camera (Basler acA1920-150uc, Basler AG, Ahrensburg, Germany, resolution 1920 × 1200 pixels, equipped with a Computar 12-mm focal-length lens, Computar (CBC Group), Tokyo, Japan). The working distance was fixed at approximately 650 mm with an effective field of view of 240 × 180 mm 2 . Experimental validation was performed using a high-precision six-step phase-shifting method combined with multi-frequency temporal phase unwrapping [30,31] as the absolute ground truth. The proposed method was compared with three established algorithms: GSLEF, AIA, and PCA. A single-frame color fringe image was processed by each method, and the resulting phases were evaluated against the reference.
Figure 8 shows the reconstruction results and corresponding errors for a plaster mask object. The proposed method achieves the lowest RMS error (0.052 rad), producing a smooth and continuous phase map (Figure 8a,e). In contrast, GSLEF yields an error of 0.097 rad, with visible local distortions due to limited noise suppression (Figure 8b,f). AIA, constrained by its iterative convergence, gives an error of 0.122 rad and exhibits oscillatory artifacts (Figure 8c,g). PCA performs the worst (0.251 rad) because its linear decomposition fails to capture local phase variations, leading to significant distortion (Figure 8d,h). Cross-sectional profiles (Figure 8i) and error distributions (Figure 8j) further confirm the superiority of the proposed approach.
Figure 8. Phase reconstruction of a plaster mask. (a–d) Reconstructed phase maps using the proposed, GSLEF, AIA, and PCA methods; (e–h) corresponding error maps; (i) cross-sectional phase profiles along the central column; (j) cross-sectional error profiles. PCA results are omitted from (i,j) due to excessive error.
Table 4 lists the computation times and RMS errors for the four methods. The proposed method balances speed and accuracy, completing in 0.1179 s with the lowest error. PCA is the fastest (0.0521 s) but yields the poorest accuracy, making it unsuitable for high-precision tasks. AIA (0.0865 s) and GSLEF (0.1232 s) offer intermediate speeds but are outperformed in both accuracy and robustness.
Table 4. Computation time and RMS phase error for the tested methods.
Figure 9 illustrates the effect of ellipse fitting on the normalized signals. The shift from a distorted Lissajous figure (Figure 9a) to a nearly circular locus (Figure 9b) visually demonstrates the correction of background offsets ( x 0 , y 0 ) and modulation imbalances ( a x , a y ).
Figure 9. Correction via ellipse fitting: (a) Lissajous figure before fitting, (b) after fitting. The transformation reflects compensation of background offsets and modulation imbalances.
The method was further tested on a dynamically moving white paper sheet. Figure 10 compares the reconstruction quality. The proposed method (Figure 10a) yields a continuous phase with smooth cross-sectional profiles (red curve in Figure 10e) and errors below 0.06 rad (Figure 10f). GSLEF (Figure 10b) shows periodic fluctuations (0.08 rad, green curve), AIA (Figure 10c) exhibits large oscillations (0.6∼0.7 rad, blue curve), and PCA (Figure 10d) fails completely due to its inherent limitations in linear decomposition, yielding unusable results.
Figure 10. Dynamic measurement of a moving paper sheet. (a–d) Reconstructed phases; (e) cross-sectional profiles along the central column; (f) corresponding error profiles (PCA excluded due to large distortion).
To validate single-shot dynamic capability, four consecutive frames of a moving hand were captured. Figure 11 shows the reconstruction pipeline: (a) acquired color fringe images, (b) unwrapped phase maps obtained through quality-guided phase unwrapping, and (c) textured 3D shapes generated by mapping the original RGB data onto the recovered geometry. The results confirm that the method can reconstruct complete, accurate 3D topography from a single frame under dynamic conditions.The reconstructed hand surfaces preserve sharp finger contours and fine palm textures without motion-induced multi-frame blur or ghosting, validating that the proposed method offers a robust, metrology-grade solution for high-speed dynamic 3D surface capture.
Figure 11. Single-frame dynamic 3D shape reconstruction of a moving hand: (a) captured color fringe patterns at four consecutive time instances; (b) corresponding unwrapped phase maps; (c) textured reconstructions strictly aligned with the camera imaging viewpoint.

3.3. Limitations and Future Work

The experiments demonstrate reliable performance on diffuse-reflective and skin-like surfaces. However, highly reflective or strongly absorptive surfaces may challenge the method due to reduced modulation depth or signal loss—a common issue in fringe projection. Future work will investigate adaptive intensity modulation, multi-exposure fusion, or reflectance compensation techniques to extend applicability to such demanding scenarios.

4. Discussion

To place our findings in a broader physical and methodological context, this section critically interprets the error suppression mechanisms, defines theoretical boundary conditions, and outlines prospective integrations with emerging optical manufacturing paradigms.

4.1. Physical Demodulation Mechanism and Comparative Efficacy

The demodulation accuracy of single-shot color fringe projection profilometry is fundamentally dictated by how effectively channel crosstalk and spatial background fluctuations are mitigated. Conventional methods suffer from inherent physical or mathematical compromises. Principal component analysis (PCA), while computationally lightweight, relies on the assumption of global variance invariance; spatially varying reflectivity or abrupt height changes inevitably contaminate the projection subspace, yielding severe geometric phase distortions. The advanced iterative algorithm (AIA) provides high fidelity under mild deviations, yet its reliance on pixel-wise iterative convergence not only incurs significant computational latency but also risks entrapment in local minima when initial phase-shift errors are substantial. Although GSLEF improves orthogonalization through Gram–Schmidt projection, it implicitly assumes zero-mean background illuminance. In practical optoelectronic environments, residual DC offsets and broad-spectrum crosstalk across the 500 – 600 nm Bayer filter passbands inevitably distort the elliptical trajectory in the quadrature plane.
In contrast, the proposed framework reconciles computational efficiency and phase fidelity through a non-iterative, two-tier physical decoupling mechanism. First, the two-stage matrix L 2 -norm normalization acts as a spectral energy equalizer, balancing the disparate quantum efficiencies and surface chromatic albedos across channels. Pairwise differential subtraction ( D g r * and D b r * ) subsequently operates as an intrinsic common-mode rejection filter, mathematically canceling ambient illumination and correlated inter-channel crosstalk. Second, the residual asymmetric channel gains and nominal phase-shift deviations are explicitly modeled via parametric ellipse fitting. Rather than imposing rigid circularity, the four geometric parameters ( x 0 , y 0 ,   a x , a y ) accommodate the physical eccentricity and origin shifts of the Lissajous trajectory. Consequently, the proposed method bypasses iterative searching while providing robust immunity against color coupling, achieving near-AIA accuracy with the speed of algebraic approaches ( 0.1179 s ).

4.2. Topological Robustness and Spatial Carrier Boundaries

The operational reliability of the proposed algorithm is intrinsically governed by the spatial ergodicity condition: the assumption that spatial averages of the sinusoidal carrier terms approach zero over the domain of integration ( ∫ ∫ cos [ ϕ ( x , y ) + δ ] d x d y ≈ 0 ). This criterion dictates the algorithm’s performance across geometric discontinuities and defines its frequency boundaries:
  • Behavior at Sharp Edges and Steep Slopes: At step-height boundaries or object contours, spatial fringe continuity is abruptly interrupted. This localized fringe truncation perturbs the spatial zero-mean assumption across a narrow boundary strip spanning 1 – 2 fringe cycles. Crucially, because the ellipse parameters are optimized globally over the entire fringe domain, isolated edge discontinuities do not destabilize global parameter estimation. The resulting phase errors remain strictly confined to the boundary pixels and do not propagate into contiguous surfaces. On steep slopes, surface gradients locally compress or dilate the spatial carrier frequency: f local ( x , y ) = f 0 + 1 2 π ∂ ϕ ( x , y ) ∂ x . The algorithm retrieves the wrapped phase reliably as long as f local remains within the sensor’s Nyquist limit (<0.5 cycles/pixel) and no extreme shadowing occurs.
  • Fringe Density Limits: The ergodicity criterion also explains the phase error behavior across varying fringe densities (Table 1). When the fringe count across the field of view falls to sparse levels ( N period ≤ 1 ), the integral of the cosine term over the aperture deviates substantially from zero. This breaks the condition underlying Equation (7), leaving uncompensated DC components that induce severe phase ripples (>1.6 rad). Robust demodulation requires N period ≥ 2 , with optimal fidelity achieved for N period ≥ 6 . Conversely, the upper frequency bound is limited not by the algorithm, but by the modulation transfer function (MTF) of the imaging optics; excessive fringe densities cause optical contrast attenuation, reducing the modulation amplitude B and degrading the signal-to-noise ratio.

4.3. Synergy with Advanced Optical Systems and Industrial Prospects

By achieving sub-millimeter 3D reconstruction from a single exposure without motion-induced artifacts, the proposed method offers significant potential when integrated into next-generation optical platforms:
  • Microscopic 3D Profilometry: Precision micro-manufacturing (e.g., semiconductor packaging, MEMS fabrication, and microfluidics) increasingly demands 3D inspection with fast zooming and extended depth of field. Recent breakthroughs in adaptive multiscale microscopes combine liquid lenses and multiscale imaging to overcome traditional depth-of-field constraints [3]. Integrating the proposed single-shot color phase retrieval algorithm into such adaptive multiscale platforms would enable snapshot 3D topographic tracking of dynamic microfluidic processes and living specimens without the latency of axial mechanical scanning.
  • Wide-Field, High-Throughput Metrology: In large-scale industrial assembly and in-line conveyor inspection, optical systems are heavily constrained by the spatial bandwidth product. Biomimetic computational imaging, such as fast-zoom sparse compound-eye cameras [4], effectively breaks the trade-off among field of view, spatial resolution, and frame rate via collaborative optical-computational optimization. Coupling our single-frame color demodulation scheme with compound-eye multi-aperture architectures establishes a practical pathway toward wide-field, high-speed 3D defect detection and dynamic trajectory tracking in high-throughput manufacturing lines.
  • In-line Manufacturing Quality Control: In automated conveyor lines, vibrating robotic workcells, and high-temperature additive manufacturing, conventional multi-frame temporal phase-shifting methods suffer from severe inter-frame motion blur. Our method freezes dynamic motion within a single exposure, simultaneously suppressing environmental background drift and channel crosstalk, thereby ensuring robust quality control in continuous production.

5. Conclusions

This paper presented a high-precision single-frame phase-shifting algorithm for color fringe projection profilometry. The method sequentially applies differential normalization to suppress channel crosstalk and background fluctuations, ellipse fitting to compensate for residual systematic errors, and wavelet denoising to attenuate random noise.
Simulations and experimental results demonstrate that the proposed technique outperforms established methods (GSLEF, AIA, PCA) in both accuracy and robustness under a wide range of conditions, including varying fringe densities, phase shifts, and noise levels. The method consistently achieves phase errors below 0.06 rad in static and dynamic tests while preserving its single-shot advantage. The successful reconstruction of a rapidly moving hand, as detailed in Section 3.2, confirms the feasibility of real-time, high-quality 3D capture.
In summary, the presented method provides an effective and reliable solution for accurate 3D shape sensing, offering considerable potential for applications demanding real-time inspection, such as industrial monitoring and biomedical imaging.

Author Contributions

Methodology, Q.Z.; Software, Q.Z.; Formal analysis, B.T.; Investigation, H.D.; Writing—original draft, Q.Z.; Funding acquisition, Q.Z. and Y.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Shaanxi Province Natural Science Basic Research Program (Grant No. 2025JC-YBQN-640) and the Shaanxi Provincial Department of Education Special Scientific Research Project (Grant Nos. 24JP075 and 24JK0491). The APC was funded by Xi’an Technological University.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yu, R.; Yu, H.; Sun, W.; Akhtar, N. Color Phase Order Coding and Interleaved Phase Unwrapping for Three-Dimensional Shape Measurement with Few Projected Pattern. Opt. Laser Technol. 2024, 168, 109842. [Google Scholar] [CrossRef] [Scilit]
  2. Wu, H.; Cao, Y.; An, H.; Li, Y.; Li, H.; Xu, C.; Yang, N. A Novel Phase-Shifting Profilometry to Realize Temporal Phase Unwrapping Simultaneously with the Least Fringe Patterns. Opt. Lasers Eng. 2022, 153, 107004. [Google Scholar] [CrossRef] [Scilit]
  3. Zheng, Y.; Wang, X.; Jiang, Z.; Xu, J.; Yuan, R.; Zhao, Y.; Zhang, H.; Liu, C.; Wang, Q. Adaptive multiscale microscope with fast zooming, extended working distance, and large field of view. Light. Adv. Manuf. 2024, 5, 8. [Google Scholar] [CrossRef] [Scilit]
  4. Zheng, Y.; Zhang, H.R.; Li, X.W.; Zhao, Y.R.; Li, Z.S.; Hou, Y.H.; Liu, C.; Wang, Q.H. Fast-zoom and high-resolution sparse compound-eye camera based on dual-end collaborative optimization. Opto-Electron. Adv. 2025, 8, 240285. [Google Scholar] [CrossRef] [Scilit]
  5. Lee, Y.; Mao, Y.; Chen, Z. Fast Combined-Frequency Phase Extraction for Phase Shifting Profilometry. Opt. Express 2022, 30, 45288–45300. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Marrugo, A.G.; Gao, F.; Zhang, S. State-of-the-art Active Optical Techniques for Three-Dimensional Surface Metrology: A Review [Invited]. J. Opt. Soc. Am. A 2020, 37, B60–B77. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Liu, B.; Wang, C.; Wang, S.; Wu, G. Color Crosstalk Compensation Method for Color Phase-Shifting Fringe Projection Profilometry Based on the Phase Correction Matrix. Opt. Lasers Eng. 2024, 32, 5793–5808. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Feng, S.; Zuo, C.; Hu, Y.; Li, Y.; Chen, Q. Deep-learning-based Fringe-Pattern Analysis with Uncertainty Estimation. Optica 2021, 8, 1507–1510. [Google Scholar] [CrossRef] [Scilit]
  9. Qian, J.; Tao, T.; Feng, S.; Chen, Q.; Zuo, C. Motion-artifact-free Dynamic 3D Shape Measurement with Hybrid Fourier-transform Phase-Shifting Profilometry. Opt. Express 2019, 27, 2713–2731. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Li, T.; Dong, Y.; Wang, X. Fourier Transform Profilometry Using Single-Pixel Detection Based on Two-Dimensional Discrete Cosine Transform. Opt. Laser Technol. 2022, 156, 108570. [Google Scholar] [CrossRef] [Scilit]
  11. Zhu, Q.; Zhao, H.; Zhao, Z. Research on Iterative Decoupling Algorithm in Color Fringe Projection Profilometry. Opt. Laser Technol. 2023, 164, 109541. [Google Scholar] [CrossRef] [Scilit]
  12. Wan, Y.; Cao, Y.; Chen, C.; Wang, Y.; Fu, G.; Wang, L.; Li, C. Active Phase Error Suppression for Color Phase-Shifting Fringe Projection Based on Hue Pre-Correction. Opt. Laser Technol. 2019, 118, 102–108. [Google Scholar] [CrossRef] [Scilit]
  13. Hibino, K.; Bob, F.; David, I.; Kieran, G. Phase-shifting algorithms for nonlinear and spatially non-uniform phase shifts. J. Opt. Soc. Am. A 1997, 14, 918–930. [Google Scholar] [CrossRef] [Scilit]
  14. Zhang, Y.; Tian, X.; Liang, R. Two-step random phase retrieval approach based on Gram-Schmidt orthonormalization and Lissajous ellipse fitting method. Opt. Express 2019, 27, 2575–2588. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Fu, Y.; Wu, Q.; Yao, Y.; Gan, Y.; Liu, C.; Yang, Y.; Tian, J.; Xu, K. Rapid and precise phase retrieval from two-frame tilt-shift based on Lissajous ellipse fitting and ellipse standardization. Opt. Express 2020, 28, 3952–3965. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Wang, Z.; Han, B. Advanced iterative algorithm for phase extraction of randomly phase-shifted interferograms. Opt. Lett. 2004, 29, 1671–1673. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Okada, K.; Sato, A.; Tsujiuchi, J. Simultaneous calculation of phase distribution and scanning phase shift in phase shifting interferometry. Opt. Commun. 1991, 84, 118–124. [Google Scholar] [CrossRef] [Scilit]
  18. Vargas, J.; Sorzano, C.; Estrada, J.; Carazo, J. Generalization of the principal component analysis algorithm for interferometry. Opt. Commun. 2013, 286, 130–134. [Google Scholar] [CrossRef] [Scilit]
  19. Lei, H.; Yao, Y.; Liu, H.; Yang, Y. Efficient phase extraction from three random interferograms based on Lissajous figure and ellipse fitting method. In AOPC 2017: 3D Measurement Technology for Intelligent Manufacturing; SPIE: Bellingham, WA, USA, 2017; Volume 10458. [Google Scholar] [CrossRef] [Scilit]
  20. Zhang, Y.; Tian, X.; Liang, R. Accurate and fast two-step phase shifting algorithm based on principle component analysis and Lissajous ellipse fitting with random phase shift and no pre-filtering. Opt. Express 2019, 27, 20047–20063. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Lei, H.; Yao, Y.; Liu, H.; Yang, Y.; Gu, Y. Accurate phase extraction algorithm based on Gram-Schmidt orthonormalization and least square ellipse fitting method. J. Mod. Opt. 2018, 65, 1199–1209. [Google Scholar] [CrossRef] [Scilit]
  22. Srinivasan, V.; Liu, H.C.; Halioua, M. Profilometry with phase-shifted interferometry. Appl. Opt. 1984, 23, 1299–1305. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Gorthi, S.S.; Rastogi, P. Fringe projection techniques: Whither we are? Opt. Lasers Eng. 2010, 48, 133–140. [Google Scholar] [CrossRef] [Scilit]
  24. Ghiglia, D.C.; Pritt, M.D. Two-Dimensional Phase Unwrapping: Theory, Algorithms, and Software; Wiley-Interscience: Hoboken, NJ, USA, 1998. [Google Scholar]
  25. Cai, B.; Tong, C.; Wu, Q.; Chen, X. Crosstalk Suppression for Color Phase-Shifting Profilometry Based on Chord Distribution Equalization. Opt. Commun. 2023, 72, 1001–1013. [Google Scholar] [CrossRef] [Scilit]
  26. Zhu, Q.; Du, H.; Tang, B.; Ma, Y. A Fast Three-Dimensional Measurement Method Based on Color Fringe Projection and Background Intensity Calibration. Opt. Commun. 2024, 56, 526–538. [Google Scholar] [CrossRef] [Scilit]
  27. Halidou, A.; Mohamadou, Y.; Ari, A.A.A.; Zacko, E.J.G. Review of Wavelet Denoising Algorithms. Multimed. Tools Appl. 2023, 1, 41539–41569. [Google Scholar] [CrossRef] [Scilit]
  28. Strela, V.; Portilla, J.; Simoncelli, E. Image Denoising Using Scale Mixtures of Gaussians in the Wavelet Domain. IEEE Int. Conf. Image Process. 2000, 12, 526–538. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Ma, S.; Zhu, R.; Quan, C.; Li, B.; Tay, C.J.; Chen, L. Blind phase error suppression for color-encoded digital fringe projection profilometry. Opt. Commun. 2012, 285, 1662–1668. [Google Scholar] [CrossRef] [Scilit]
  30. Song, Z. High-Speed 3D Imaging with Digital Fringe Projection Techniques; CRC Press, Inc.: Boca Raton, FL, USA, 2016. [Google Scholar]
  31. Zuo, C.; Feng, S.; Huang, L.; Tao, T.; Yin, W.; Chen, Q. Phase shifting algorithms for fringe projection profilometry: A review. Opt. Lasers Eng. 2018, 109, 23–59. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.