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

Applicability analysis of wavelet-transform profilometry

Open Access Open Access

Abstract

The applicability of the wavelet-transform profilometry is examined in detail. The wavelet-ridge-based phase demodulation is an integral operation of the fringe signal in the spatial domain. The accuracy of the phase demodulation is related to the local linearity of the phase modulated by the object surface. We present a more robust applicability condition which is based on the evaluation of the local linearity. Since high carrier frequency leads to the phase demodulation integral in a narrow interval and the narrow interval results in the high local linearity of modulated phase, we propose to increase the carrier fringe frequency to improve the applicability of the wavelet-transform profilometry and the measurement accuracy. The numerical simulations and the experiment are presented.

©2013 Optical Society of America

1. Introduction

Profilometry is a technique to determine the surface structure of an object. Carrier-fringe projection [1, 2] is a kind of optical profilometry providing a non-contact approach for object surface measurement. It has been widely used in diverse fields: measurement of surface deformation and roughness [3], object shape measurement [46], non-invasive 3-D imaging [7], 3-D face reconstruction [8, 9], etc.

In the last few decades, the carrier-fringe projection profilometry has developed tremendously. To demodulate the underlying phase distribution from deformed fringe patterns is the main process of the carrier-fringe projection profilometry. Various implementations of the carrier-fringe projection profilometry can be mainly divided into two groups: single-shot fringe pattern methods such as Fourier transform profilometry (FTP) [1013], wavelet-transform profilometry (WTP) [1417], and multiple-shot fringe pattern methods such as phase stepping profilometry (PSP) [1820]. Both kinds of methods have their pros and cons. The multiple-shot fringe pattern methods offer more accurate measurement than the single-shot methods do, but the methods are confined to static measurements. For example, the PSP outperforms the transform-based methods in terms of accuracy, but it requires more than one fringe pattern. Thus the PSP is unfit for dynamic measurements. The single-shot fringe pattern methods can be applied in the dynamic measurements, but the methods are restricted by some other limitations. For instance, the FTP needs only one fringe pattern and requires little computation. However, the Fourier transform is a global operation with the restriction that the signal should be globally stationary. Otherwise, the desired first-order spectrum will possibly overlap with the zero-order spectrum or the higher-order spectra. Once the first-order spectrum can’t be accurately extracted, the resulting demodulation errors will propagate. Windowed Fourier transform [2123] has been proposed to extract and reconstruct the first-order spectrum with a sliding Gaussian window. The Gaussian window acts as a filter in both the spatial and the frequency domains, thus windowed Fourier transform can deal with the spectrum overlapping problem in a certain degree and it is robust to noise. However, the adaptive selection of the window width remains challenging.

Wavelet transform (WT) is an excellent tool for the local analysis. The WTP requires only one deformed fringe pattern for the phase demodulation [24, 25]. By using of the analytic Morlet wavelet, the argument of the wavelet ridge yields the fringe signal phase directly [26]. However, such a simple approach is limited by its applicability condition. Pronounced errors will occur when the applicability condition is not met. In [27], W. Chen et al. discussed how the spectrum overlapping affects the demodulation accuracy in the WTP.

In this paper, we look into the applicability condition [28, 29] of the WTP. The so called applicability condition refers to what kinds of object surfaces are suitable for the demodulation carried out by the WTP. The demodulation by the WTP is accurate when the applicability condition is satisfied. By analyzing the nature of the WT, we point out that the existing condition is defective and we propose a more robust applicability condition. Both the existing and the newly proposed applicability conditions lead to the same conclusion that one might reduce the demodulation errors by increasing the carrier frequency of the fringe.

2. Wavelet-transform profilometry

Fringe projection profilometry is to measure the height distribution of an object surface based on fringe analysis. As Fig. 1 shows, a standard sinusoid fringe pattern projected onto the object surface will be deformed due to the height distribution of the object surface. The deformed fringe pattern encodes the height information. To decode the height information, the fringe analysis is employed.

 figure: Fig. 1

Fig. 1 Optical geometry of fringe projection profilometry.

Download Full Size | PDF

Essentially, a fringe pattern is a 2-D phase-modulated signal. Assuming the standard fringes are vertical or horizontal, the 2-D signal can be expressed in the 1-D form:

I(x)=I0(x)+A(x)cos[ϕ(x)],
where I0(x) is the DC term resulted from the background illumination, A(x) is the modulated amplitude of the signal I(x), and ϕ(x) is the signal phase. The signal phase is the sum of the linear phase 2πf0x introduced by the carrier frequency f0, and the modulated phase Δϕ(x) introduced by the object surface height distribution:
ϕ(x)=2πf0x+Δϕ(x).
According to the optical geometry shown in Fig. 1, the relation between the modulated Δϕ and the object surface height distribution h can be mathematically expressed as below [1]:
Δϕ(x,y)=2πf0h(x,y)dl0h(x,y),
where (x,y) is the 2-D Cartesian coordinate, l0 is the distance between the projector and the object, and d is the distance between the projector and the camera. Furthermore, when l0h, the modulated phase Δϕ(x) is approximately linear to the height h and Eq. (3), therefore, can be re-written as:
Δϕ(x,y)=2πf0h(x,y)dl0.
From Eq. (4), we can find that the object surface shares the same shape with the curve of the modulated phase.

The phase demodulation is the main process in the fringe analysis. With the signal phase map, one can obtain the height distribution easily. Therefore, the accuracy of the phase demodulation plays an extremely important role in the fringe projection profilometry. Since the wavelet transform has excellent localization in the spatial domain, it has been a powerful tool for the fringe analysis.

The wavelet transform (WT) is a kind of linear transforms. It computes the inner product between the signal I and a series of wavelets in the spatial domain:

W(a,b)=I(x)1aψ*(xba)dx,
where ψ* denotes the complex conjugate of the ‘mother wavelet’ ψ, a is the scale factor and b is the translation factor. Note that the coefficient 1/a in Eq. (5) has replaced 1/a in the wavelet ridge detection. This substitution makes the WT coefficients independent on the scale factor, ensuring the accurate wavelet ridge detection. The amplitude of the wavelet coefficients is defined as:
Aw(a,b)={real[W(a,b)]}2+{imag[W(a,b)]}2,
where real[W(a,b)] and imag[W(a,b)] represent the real part and the imaginary part of coefficients, respectively. The amplitude Aw represents the similarity between the signal and the scaled wavelet at the point x=b. The maximum represents that the signal has the largest similarity to the wavelet scaled with a, at the point x=b. Such a path consisted of the maximum amplitudes is called the wavelet ridge, which can be expressed as follows:
R(ar(b),b)=max[Aw(a,b)],
where ar(b) is the corresponding scale on the ridge at the point x=b, and max[·] represents the maximum operator. The phase of the ridge is defined as the argument of the WT coefficient on the ridge:
ϕwr(ar(b),b)=arg[W(ar(b),b)],
The analytic Morlet wavelet is one of the most used wavelets in the WTP. The 1-D analytic Morlet wavelet can be represented as:
ψ(x)=1π4exp(j2πx)exp(x22).
From Eq. (9), we can see that the wavelet is a period of oscillation weighted by a Gaussian function. It has been demonstrated that if the modulated amplitude A(x) and the phase ϕ(x) given in Eq. (1) satisfy the following equations [25, 26]:
ηA(x)=(2π)2|ϕ(x)||A(x)||A(x)|1
and
ηϕ(x)=(2π)2|ϕ(x)||ϕ(x)|21,
the phase ϕ(x) approximates to the phase of the wavelet ridge at the point x=b, that is,
ϕ(b)ϕwr(ar(b),b)=arg[W(ar(b),b)].
Thus, Eqs. (10) and (11) are called the applicability condition of the WTP, being an evaluation of the demodulation error. Since Eq. (10) is much easier to be satisfied than Eq. (11), the condition given in Eq. (10) is less concerned about in practice. Concentrating on Eq. (11), the first and the second derivatives of the signal phase are
ϕ(x)=2πf0+Δϕ(x)
and
ϕ(x)=Δϕ(x),
respectively. Inserting Eq. (4) into Eqs. (13) and (14) yields
ϕ(x)=2πf02πf0dl0h(x)
and
ϕ(x)=2πf0dl0h(x).
When the analytic Morlet wavelet is used, the phase of the wavelet ridge can be expressed at the point x=b as:
ϕ(b)arg[W(ar(b),b)]=arg{1ar(b)π4+I(x)exp[j2π(xbar(b))]exp[12(xbar(b))2]dx}.
From Eq. (17), we can see that the phase ϕ(b) is essentially obtained by computing an integral of the fringe signal in the spatial domain. Figure 2 shows the distributions of the fringe signal amplitude, the real part of scaled analytic Morlet wavelets and the modulated phase. In numerical computation, the infinite integral interval in Eq. (17) is replaced by the finite interval [LB,UB]. The finite interval is determined by the support of the wavelet. In MATLAB, for example, the support of the analytic Morlet wavelet is [-8, 8], equal to the full width at 1/e32 maximum of its Gaussian envelope, as Fig. 2(b) shows. Therefore, the lower bound LB=b8ar(b) and the upper bound UB=b+8ar(b). With the replacement of the integral interval, Eq. (17) can be re-written as:
ϕ(b)arg[W(ar(b),b)]=arg{1ar(b)π4LBUBI(x)exp[j2π(xbar(b))]exp[12(xbar(b))2]dx}.
Note that the phase ϕ(b) obtained by Eq. (18) is determined by the integral over the interval of the fringe signal I(x) instead of the result which is only contributed by the signal at the point x=b. The value of the obtained phase is a weighted mean by the Gaussian envelope of the analytic Morlet wavelet within the integral interval.

 figure: Fig. 2

Fig. 2 Illustration of the obtained modulated phase. Each point of the modulated phase (c) is obtained by computing an integral of the signal (a) and the analytic Morlet wavelet (b) within the interval that is the support of the scaled wavelet [LB,UB].

Download Full Size | PDF

For the applicability condition given in Eqs. (10) and (11), we find that it is defective. The reasons are listed below:

  • a) The applicability condition given in the differential form becomes unavailable at some points where the signal phase hasn’t the first or the second derivatives. According to Eqs. (15) and (16), the inexistence of the signal phase’s first or second derivatives is due to the height distribution of the object surface. In practice, the object surfaces are various. Points on the surfaces without the first derivative and the second derivatives are quite common. For instance, a V-shaped surface will result in the inexistence of the first derivative of h(x) at the joint point. Even an S-shaped surface, a smooth-looking surface, will result in the inexistence of the second derivative at the inflection point. Therefore, the existing applicability condition in the differential form is not robust.
  • b) The evaluation by the existing applicability condition at every single point might not reflect the demodulation errors accurately. The existing applicability condition is only able to evaluate the errors at every single point while the modulated phase, according to Eq. (18), is substantially obtained by computing the integral whose interval is determined by the support of the scaled wavelet. That means the phase demodulation is contributed by the signal distribution in a local area instead of at a certain point. Therefore, the existing applicability condition is unable to reflect the influence from the abrupt changes in the neighbor.
  • c) The condition, ηϕ1, is loose in terms of quantity, which cannot evaluate the errors effectively.

3. A new robust applicability condition

Since the existing applicability condition is defective, we propose a new robust condition. As has been discussed in [2426], the error of demodulation is small when the second- and the higher-order terms in of Taylor series expansion of the phase can be negligible. From another point of view, it is beneficial to the error reduction that the phase is locally linear. In other words, the degree of local linearity of the phase is related to the accuracy of demodulation.

We define the nonlinearity ΔS to evaluate the degree of linearity of the curve ϕ(x) in the interval [LB,UB], which is expressed as below:

ΔS=|LBUB[ϕ(x)L(x)]dx|,withL(x)=[ϕ(UB)ϕ(LB)UBLB](xUB)+ϕ(UB),
where ΔS(x) is the defined degree of nonlinearity, L(x) represents the straight-line equations which is the linear approximation to ϕ(x) in the integral interval [LB,UB], UB represents the upper bound of the interval, LB represents the lower bound. In terms of its geometric meaning, ΔS represents the algebraic addition of area, corresponding to the shaded area in Fig. 3(c). Smaller ΔS implies better linearity. To better descript the local linearity and for the consistency to the Morlet-wavelet-based phase demodulation given in Eq. (18), we propose the local nonlinearity ΔSw(b) at the point x=b:
ΔSw(b)=|LBUBg(xbar(b))[ϕ(x)L(x)]dx|,withg(x)=exp(x22),
where g(x) is the same Gaussian function as the one of the analytic Morlet wavelet. In terms of its geometric meaning, ΔSw represents the algebraic addition of area weighted by the Gaussian function. The integral interval [LB,UB] in Eq. (20) is determined by the full width at 1/e8 maximum of the Gaussian function, i.e., LB=b4ar(b) and UB=b+4ar(b). With the defined local nonlinearity, we propose the new applicability condition that the phase demodulation is accurate when the degree of local nonlinearity tends to zero, which can be expressed as:

 figure: Fig. 3

Fig. 3 Illustration of local linearity. The height distribution of object surface (d), resulting phase (b), resulting modulated phase (c) and the Gaussian function (a).

Download Full Size | PDF

ΔSw(b)0.

The proposed condition, in the integral form, reflects the linearity within a local area instead of a certain point. The local area refers to the integral interval which corresponds to the support of the scaled wavelet. The integral doesn’t require that the phase can be written as Taylor series. Thus the proposed condition is suitable for the cases that the phase doesn’t have the first or the second derivatives. Smaller ΔS implies that the local phase is of higher linearity. When the local phase is of high linearity, the second-order and the higher-order terms, if they exist, in its Taylor series expansion are negligible. The high local linearity of the phase leads to accurate demodulation result. Therefore, the proposed condition and the existing condition are consistent. In addition, inserting Eq. (2) into Eq. (20) yields:

ΔSw(b)=|LBUBg(xbar(b))[Δϕ(x)LΔ(x)]dx|,withLΔ(x)=[Δϕ(UB)Δϕ(LB)UBLB](xUB)+Δϕ(UB).
We find that the signal phase ϕ and the modulated phase Δϕ share the linearity in the same local area. What’s more, by inserting Eq. (4) into Eq. (22), we can further obtain
ΔSw(b)=|2πf0dLBUBg(xbar(b)){h(x)l0h(x){[h(UB)l0h(UB)+h(LB)l0h(LB)](xUBUBLB)h(UB)l0h(UB)}}dx|.
When l0h(x), Eq. (23) can be simplified as:
ΔSw(b)=|2πf0dl0LBUBg(xbar(b))[h(x)Lh(x)]dx|,withLh(x)=[h(UB)h(LB)UBLB](xUB)+h(UB).
The height h also shares the local linearity with the modulated phase Δϕ. In other words, the local linearity of the modulated phase can be directly reflected from the object surface (see Fig. 3). Since the signal phase ϕ(x) is linear to the carrier frequency f0, the normalization ϕ(x)/f0 is carrier-frequency independent. We re-write the applicability condition given in Eq. (24) in the normalized form which only depends on the height distribution h(x) and the parameters of the experimental setup:
ΔSh(b)=ΔSw(b)f0=|2πdl0{LBUBg(xbar(b))[h(x)Lh(x)]dx}|
and
ΔSh(b)0.
Since the accurate demodulation results from the high local linearity of the height distribution h(x), we can draw a conclusion that a simple surface, of high linearity, leads to the accurate demodulation result while a complex surface, of low linearity, leads to the relatively inaccurate demodulation result. Comparing to the existing applicability condition, the proposed condition has a clear physical meaning.

4. Improvement of applicability

As high local linearity of the modulated phase is beneficial to the demodulation accuracy, in this section we discuss how to improve the local linearity. Let’s look into the proposed applicability condition given in Eq. (20). The only one tunable parameter is the integral interval, [LB,UB], which is determined by the scale factor on the wavelet ridge, that is, ar. A smaller ar leads to a narrower integral interval in which the phase is more approximately linear. The smaller interval makes the proposed condition ΔSw0 better satisfied. There exists a simple relation between the scale factor on the ridge ar and the instantaneous frequency finst as below:

ar=1finst.
In terms of its definition, the instantaneous frequency finst of the fringe signal can be obtained by:
finst(x)=12πϕ(x).
Thus, detecting the ridge of the WT is an approach for estimating the instantaneous frequency [28, 30]. The smaller ar can be obtained by increasing the instantaneous frequency of the fringe finst. Substituting Eq. (2) into Eq. (28) yields
finst(x)=f0+12πΔϕ(x).
According to Eq. (29), a greater f0 results in a greater finst, since the instantaneous frequency is mainly contributed the carrier frequency f0. In conclusion, increasing the carrier frequency is beneficial for improving the local linearity and, ultimately, reducing the errors. Figure 4 illustrates the relationship between the carrier frequency and the local nonlinearity.

 figure: Fig. 4

Fig. 4 Chart of relationship between carrier frequency f0 and local nonlinearity ΔSh.

Download Full Size | PDF

On the other hand, the conclusion, increasing the carrier frequency is beneficial for reducing the errors, can also be drawn from the existing condition given in Eqs. (10) and (11). For ηA, its value depends on the variation of the amplitude A which is contributed by the reflectivity of the object surface. In most cases, the reflectivity has small relative variations. The second derivative of amplitude A is negligible, resulting in ηA tending to zero. Thus Eq. (10) is easy to be satisfied. For ηϕ, its value depends on the variation of the phase ϕ. The phase ϕ, given in Eq. (2), is the sum of the standard fringe phase and the modulated phase introduced by the height of the object surface. When a certain object surface is given, the distributions of h, h and h are fixed. According to Eqs. (15) and (16), we obtain

|ϕ(x)|2=|2πf0[1h(x)dl0]|2f02
and
|ϕ(x)|=|2πf0h(x)dl0|f0.
According to Eqs. (11), (30) and (31), we derive
ηϕ1f0.
Since ηϕ is linear to 1/f0, a higher carrier frequency f0 leads to a smaller ηϕ. In conclusion, the higher carrier frequency f0 leads to smaller errors.

Both the differential-form and the integral-form conditions lead to the same conclusion that the errors can be improved by increasing the carrier frequency. In practice, we have observed the existence of the highest carrier frequency. The highest carrier frequency results from two factors: 1) the resolution of the digital projector and 2) the resolution of the imaging system. In most cases, the former dominates.

In the case that the carrier frequency is limited by the imaging system, the highest carrier frequency can be estimated by the fringe signal bandwidth. The first-order spectrum of the deformed fringe signal carriers the height information. The Fourier transform of the standard fringe signal is a pulse whose spatial frequency corresponds to the carrier frequency. The complexity of the object surface results in the pulse spreading. Thus, the bandwidth of fringe signal, i.e., the spectral range of the first-order spectrum, indicates the complexity of the object surface. In actual, the bandwidth is linear to the carrier frequency.

The Fourier spectrums (with the DC term removed) of the deformed fringes with three different carrier frequencies are plotted in Fig. 5, where f1=f, f2=3f, f3=9f, Bfi (i=1,2,3) represents the bandwidth of the first-order spectrum, f0 is the carrier frequency of fringe and the normalized frequency is the actual frequency f0 to the imaging system sampling frequency fsample ratio. Thus, to avoid under-sampled fringes, one should ensure

f0<fsampleB2,
where B is the bandwidth of the fringe signal.

 figure: Fig. 5

Fig. 5 Fourier spectrums of deformed fringe patterns.

Download Full Size | PDF

5.Numerical simulation

In practice, the object surfaces are various. To compare the proposed and the existing applicability conditions, we perform the numerical simulation in three cases: Case I: surface with every point infinitely differentiable; Case II: surface with the inexistence of the second derivative at the inflection point; Case III: surface with the inexistence of the first derivative at the joint point.

Case I: Surface with every point infinitely differentiable

We use the build-in function of MATLAB, peaks(), to simulate an object surface. The object is assumed to be 1×1m2 in size, represented by a 512×512 matrix. The height h can be represented as follows:

h(x,y)=140peaks(6x3,6y3),
peaks(x,y)=3(1x)2exp[x2(y+1)2]10(x5x3y5)exp(x2y2)13exp[(x+1)2y2],
where (x,y) is the 2-D Cartesian coordinate. The peaks() function is analytic with every point infinitely differentiable. The simulated object is shown in Fig. 6.

 figure: Fig. 6

Fig. 6 Height distribution of object for simulation.

Download Full Size | PDF

The distance between the camera and the reference plane l0=1m and the distance between the camera and the projector d=0.15m. Three carrier frequencies are specified: f0=25, 35 and 75cycle/m. The resulting modulated phase Δϕ is obtained according to Eq. (3). We take 256th row of the matrix for comparison. The deformed fringes of three different carrier frequencies are shown in Fig. 7.

 figure: Fig. 7

Fig. 7 Deformed fringes patterns at 256th row.

Download Full Size | PDF

The phase ϕ(x) of the deformed fringes is demodulated by using the WT. The resulting phase is wrapped into [π,+π] and we use the MATLAB build-in function, unwrap(), for the unwrapping phase process. The first and the second derivatives of the phase ϕ(x) are given in Fig. 8. The distributions of ηϕ and ΔSh(x) are computed with Eqs. (11) and (25) respectively and are shown in Fig. 9. The distributions of the demodulated height are plotted in Fig. 10 with the error distributions plotted in Fig. 11.

 figure: Fig. 8

Fig. 8 Distributions of ϕ(x) (a) and of ϕ(x) (b).

Download Full Size | PDF

 figure: Fig. 9

Fig. 9 Distributions of ηϕ (a) and of ΔSh(x) (b).

Download Full Size | PDF

 figure: Fig. 10

Fig. 10 Comparison of the demodulated height with different carrier frequencies.

Download Full Size | PDF

 figure: Fig. 11

Fig. 11 Comparison of demodulated absolute height error.

Download Full Size | PDF

Comparing Fig. 11 with Fig. 9, it is demonstrated that the increment of carrier frequency makes the approximation condition ηϕ0 better satisfied and the increment improves the accuracy of height demodulation, especially where the height varies rapidly. The demodulated height is absolutely accurate at the points where ηϕ=0 or ΔSh(x)=0, despite of the carrier frequency. In the case that the modulated phase is infinitely differentiable, ηϕ and ΔSh(x) have the same distribution. The errors of the demodulated height can be evaluated by the value of ηϕ and the value of ΔSh(x).

Case II: Surface with the inexistence of the second derivative at the inflection point

We simulated another 1-D object that leads to the modulated phase without the second derivative at x=0.5. The height distribution of the simulated object surface can be expressed as:

h(x)=13{exp[(6x3)2]1}exp[(6x3)2]sgn(x+0.5),
where sgn(x) is the sign function and x[0,1]. The simulated height is S-shape in the neighbor of x=0.5. The S-shape distribution is due to the sign function flipping the left-hand side part of the peak upside down. The modulated phase with its first and second derivatives is given in Fig. 12. The second derivative is inexistent at the inflection point x=0.5. The modulated phase has the positive second derivative near x=0.5 and the negative second derivative near x=0.5+. The absolute value of the second derivative near x=0.5 is large.

 figure: Fig. 12

Fig. 12 Distributions of modulated phase (a) with its first derivative (b) and second derivative (c).

Download Full Size | PDF

As Fig. 13 shows, the higher carrier frequency leads to the smaller demodulation error. In addition, the higher carrier frequency improves the boundary effect because it results in the scaled wavelets that have better spatial localization. Particularly, the locally maximum demodulation error becomes zero at x=0.5 where the top of the peak becomes the inflection point. We consider that the positive and the negative second derivative near x=0.5 are evened out by the integral of the WT. The height errors are improved in the neighbor of x=0.5. As Fig. 14 shows, the distribution of ηϕ is no longer able to reflect the errors in the neighbor of the point that has not the second derivative while ΔSh(x) still gives a correct evaluation of the errors.

 figure: Fig. 13

Fig. 13 Comparison of demodulated heights (a) and absolute height errors (b).

Download Full Size | PDF

 figure: Fig. 14

Fig. 14 Distributions of ηϕ (a) and ΔSh(x) (b).

Download Full Size | PDF

Case III: Surface with the inexistence of the first derivative at the joint point

We also simulated a 1-D object with the height distribution that results in the modulated phase without the first derivative at one point:

h(x)=|0.36(x0.5)|,
where x[0,1]. As Fig. 15 shows, the V-shaped height distribution results in the phase touching at the join point at x=0.5. In other words, the phase doesn’t have either the first derivative or the second derivative, which leads to the discontinuities in Fig. 15(b) and (c). The phase distributes almost linearly except for the point x=0.5. The demodulated heights are accurate outside the neighbor of the point x=0.5, as Fig. 16 shows. The higher carrier frequency leads to the smaller demodulation error. The boundary effect is also improved by the higher carrier frequency. In terms of error evaluation, ΔSh(x) is still available in this case while the existing condition ηϕ doesn’t give an effective evaluation at all.

 figure: Fig. 15

Fig. 15 Distributions of modulated phase (a) with its first derivative (b) and second derivative (c).

Download Full Size | PDF

 figure: Fig. 16

Fig. 16 Comparison of demodulated heights (a) and absolute height errors (b).

Download Full Size | PDF

 figure: Fig. 17

Fig. 17 Distributions of ηϕ (a) and ΔSh(x) (b).

Download Full Size | PDF

In summary, the proposed condition is suitable for evaluating the demodulation errors in all the cases considered while the existing condition is only suitable for the case where the height distribution is infinitely differentiable. And, the high carrier frequency helps reduce the demodulation errors, especially for the areas of low local linearity.

6. Experiment

A plaster model of Ludwig van Beethoven was used as the object to measure. The object has rapid height variations from Beethoven’s brow to the bridge of the nose and from the end of the nose to the lip. The rapid height variations are considered as a challenge to the WTP. As the optical geometry shown in Fig. 1, the distance between the camera and the reference plane l0=1.05m and the distance between the camera and the projector d=0.22m. We projected 3 sets of sinusoidal fringe in turn by using a Toshiba TDp-T90 digital projector. The carrier frequencies f0 of the sets of fringe are 0.045 cycle/pixel, 0.06 cycle/pixel and 0.075 cycle/pixel, respectively. Note that the carrier frequency used in this section is the normalized frequency whose unit is cycle/pixel. Each set includes 4 fringe patterns which have carrier frequency in common. Every fringe pattern in the set has a phase step δ=π/2. An Olympus digital camera, C-770, was used to capture the deformed fringe patterns. The captured fringe patterns were transferred to a PC for a further analysis. A 1000×1000-pixel area was cropped from each captured image. We chose one image in each set for the WTP, as Fig. 18 shows.

 figure: Fig. 18

Fig. 18 Captured deformed fringe pattern for WTP. Carrier frequencies of the fringe pattern are 0.045 cycle/pixel (a), 0.06 cycle/pixel (b) and 0.075 cycle/pixel (c), respectively. Red line in (a) indicates the 518th column of the fringe pattern.

Download Full Size | PDF

The phase of the deformed fringes was demodulated by the WT. Since the accuracy of the PSP is independent on the height variations, we also demodulated the height with the four-step PSP for a reference. The set, shown in Fig. 19, with the carrier frequencies f0=0.045cycle/pixelwas chosen for the demodulation by the PSP.

 figure: Fig. 19

Fig. 19 Set of deformed fringe pattern for phase demodulation by four-step PSP.

Download Full Size | PDF

Particularly, we selected the 518th column of the demodulated height distributions for comparison, where rapid height variations exist. For the WTP, the phase was demodulated by the wavelet ridge detection method. The intensity distribution of the 518th column is given in Fig. 20(a). Figure 20(b) shows the amplitude distribution of the WT coefficients corresponding to the 518th column of fringe (f0=0.075cycle/pixel) and Fig. 20(c) shows the phase map of the WT coefficients.

 figure: Fig. 20

Fig. 20 Distributions of intensity (a), wavelet coefficients amplitudes (b) and wavelet coefficients phase map (c) corresponding to the 518th-column fringe with the carrier frequency f0=0.075cycle/pixel.

Download Full Size | PDF

We used the flood fill algorithm [31] to unwrap the phase and then obtained the profile of the object by converting the height distribution from the unwrapped phase map.

As Fig. 21 shows, the results of the WTP are comparable to the one of the PSP, except for the areas where the height varies rapidly. For a better comparison, let’s look into two areas, from Beethoven’s brow to the bridge of the nose (a peak/valley-shape distribution shown in Fig. 22, Local 1) and from the end of the nose to the lip (an S-shape distribution shown in Fig. 23, Local 2).

 figure: Fig. 21

Fig. 21 Comparison of the demodulated height at the 518th column.

Download Full Size | PDF

 figure: Fig. 22

Fig. 22 Comparison of demodulated height at the 518th column (corresponding to Local 1, y[560,610] in Fig. 21).

Download Full Size | PDF

 figure: Fig. 23

Fig. 23 Comparison of demodulated height at the 518th column (corresponding to Local 2, y[760,830] in Fig. 21).

Download Full Size | PDF

For Local 1, the peak/valley-shape surface, the PSP is able to recover the steep peaks and deep valleys. Although the demodulations by the WTP appear gentler, such a problem can be improved by increasing the carrier frequency. In terms of noise immunity, the WTP outperforms the PSP, providing a much smoother curve. This is because the integral operation in the WT acts like a smoothing filter. Each point of the demodulation result is a weighted mean within the integral interval. By increasing the carrier frequency, the result demodulated by the WTP is remarkably improved, which represents that either the peaks or the valleys become steeper or deeper. For Local 2, the S-shape surface similar to Case II in the numerical simulation, there exists an inflection point at x=796. The errors are evened out in the neighbor of the inflection point. The higher carrier frequency results in the better demodulation. We summarize the errors of the demodulated height in Table 1.

Tables Icon

Table 1. Comparison of Height Errors Demodulated by WTPa

The 2-D wrapped phase map and the 3-D distribution of demodulated object surface from the fringe pattern with the carrier frequency f0=0.075cycle/pixel are shown in Fig. 24 and Fig. 25, respectively. The 3-D distribution was generated by using the surf() function of MATLAB, and the lighting effect was employed. The artifacts off the face are the failures of the phase unwrapping process due to the shadow and the under-sampled fringes.

 figure: Fig. 24

Fig. 24 2-D distribution of the wrapped phase Δϕ with the carrier frequency f0=0.075cycle/pixel.

Download Full Size | PDF

 figure: Fig. 25

Fig. 25 3-D distribution of demodulated height with the carrier frequency f0=0.075cycle/pixel.

Download Full Size | PDF

7. Conclusion

We have analyzed the applicability of the WTP in this paper and found that the existing applicability condition is defective. We propose a new robust applicability condition in the integral form. The proposed condition defines the local linearity of the modulated phase and is capable of evaluating the demodulation errors. We point out that the WTP can achieve accurate demodulation for the object surface with high resulting local linearity of the modulated phase. By analyzing both the existing and the proposed conditions, we also point out that the demodulation errors can be reduced by increasing the carrier frequency. It has been demonstrated by the numerical simulation and the experiment that increasing the carrier frequency can help satisfy the applicability conditions well and improve the measurement accuracy.

Acknowledgments

This work was supported by National Natural Science Foundation of China under the Grant No. 61077003

References and links

1. M. Takeda, “Spatial–carrier fringe–pattern analysis and its applications to precision interferometry and profilometry: an overview,” Ind. Metrol. 1(2), 79–99 (1990). [CrossRef]  

2. W. Chen, Y. Tan, and H. Zhao, “Automatic analysis technique of spatial carrier-fringe patterns,” Opt. Lasers Eng. 25(2-3), 111–120 (1996). [CrossRef]  

3. L. Chen and Y. Chang, “High accuracy confocal full-field 3-D surface profilometry for micro lenses using a digital fringe projection strategy,” Key Eng. Mater. 113, 364–366 (2007).

4. J. Villa and M. Servin, “Robust profilometer for the measurement of 3-D object shapes based on a regularized phase tracker,” Opt. Lasers Eng. 31(4), 279–288 (1999). [CrossRef]  

5. F. Chen, G. Brown, and M. Song, “Overview of three-dimensional shape measurement using optical methods,” Opt. Eng. 39(1), 10–22 (2000). [CrossRef]  

6. S. Zhang and P. S. Huang, “High-resolution, real-time three-dimensional shape measurement,” Opt. Eng. 45(12), 123601 (2006). [CrossRef]  

7. K. Genovese and C. Pappalettere, “Whole 3D shape reconstruction of vascular segments under pressure via fringe projection techniques,” Opt. Lasers Eng. 44(12), 1311–1323 (2006). [CrossRef]  

8. J. Yagnik, S. S. Gorthi, K. R. Ramakrishnan, and L. K. Rao, “3D shape extraction of human face in presence of facial hair: A profilometric approach,” Proc. IEEE Region 10 Annual International Conference (4085277) (2007).

9. G. Zhou, Z. Li, C. Wang, and Y. Shi, “A novel method for human expression rapid reconstruction,” Tsinghua Sci. Technol. 14, 62–65 (2009). [CrossRef]  

10. M. Takeda and K. Mutoh, “Fourier transform profilometry for the automatic measurement of 3-D object shapes,” Appl. Opt. 22(24), 3977–3982 (1983). [CrossRef]   [PubMed]  

11. X. Su and W. Chen, “Fourier transform profilometry: a review,” Opt. Lasers Eng. 35(5), 263–284 (2001). [CrossRef]  

12. R. Vander, S. G. Lipson, and I. Leizerson, “Fourier fringe analysis with improved spatial resolution,” Appl. Opt. 42(34), 6830–6837 (2003). [CrossRef]   [PubMed]  

13. J. Zhong and J. Weng, “Dilating Gabor transform for the fringe analysis of 3-D shape measurement,” Opt. Eng. 43(4), 895–899 (2004). [CrossRef]  

14. J. Zhong and J. Weng, “Spatial carrier-fringe pattern analysis by means of wavelet transform: Wavelet transform profilometry,” Appl. Opt. 43(26), 4993–4998 (2004). [CrossRef]   [PubMed]  

15. M. A. Gdeisat, D. R. Burton, and M. J. Lalor, “Spatial carrier fringe pattern demodulation by use of a two-dimensional continuous wavelet transform,” Appl. Opt. 45(34), 8722–8732 (2006). [CrossRef]   [PubMed]  

16. A. Z. Abid, M. A. Gdeisat, D. R. Burton, M. J. Lalor, and F. Lilley, “Spatial fringe pattern analysis using the two-dimensional continuous wavelet transform employing a cost function,” Appl. Opt. 46(24), 6120–6126 (2007). [CrossRef]   [PubMed]  

17. M. A. Gdeisat, A. Abid, D. R. Burton, M. J. Lalor, F. Lilley, C. Moore, and M. Qudeisat, “Spatial and temporal carrier fringe pattern demodulation using the one-dimensional continuous wavelet transform: recent progress, challenges, and suggested developments,” Opt. Lasers Eng. 47(12), 1348–1361 (2009). [CrossRef]  

18. X. Su, W. Zhou, G. von Bally, and D. Vukicevic, “Automated phase-measuring profilometry using defocused projection of a Ronchi grating,” Opt. Commun. 94(6), 561–573 (1992). [CrossRef]  

19. X. Su, G. von Bally, and D. Vukicevic, “Phase-stepping grating profilometry: utilization of intensity modulation analysis in complex objects evaluation,” Opt. Commun. 98(1-3), 141–150 (1993). [CrossRef]  

20. X. F. Meng, X. Peng, L. Z. Cai, A. M. Li, J. P. Guo, and Y. R. Wang, “Wavefront reconstruction and three-dimensional shape measurement by two-step dc-term-suppressed phase-shifted intensities,” Opt. Lett. 34(8), 1210–1212 (2009). [CrossRef]   [PubMed]  

21. Q. Kemao, “Windowed Fourier transform for fringe pattern analysis,” Appl. Opt. 43(13), 2695–2702 (2004). [CrossRef]   [PubMed]  

22. S. Zheng, W. Chen, and X. Su, “Adaptive windowed Fourier transform in 3-D shape measurement,” Opt. Eng. 45(6), 063601 (2006).

23. J. Zhong and H. Zeng, “Multiscale windowed Fourier transform for phase extraction of fringe patterns,” Appl. Opt. 46(14), 2670–2675 (2007). [CrossRef]   [PubMed]  

24. R. A. Carmona, W. L. Hwang, and B. Torrésani, “Characterization of signals by the ridges of their wavelet transforms,” Signal Processing, IEEE Transactions on 45(10), 2586–2590 (1997). [CrossRef]  

25. L. R. Watkins, S. M. Tan, and T. H. Barnes, “Determination of interferometer phase distributions by use of wavelets,” Opt. Lett. 24(13), 905–907 (1999). [CrossRef]   [PubMed]  

26. J. Zhong and J. Weng, “Phase retrieval of optical fringe patterns from the ridge of a wavelet transform,” Opt. Lett. 30(19), 2560–2562 (2005). [CrossRef]   [PubMed]  

27. W. Chen, S. Sun, X. Su, and X. Bian, “Discuss the structure condition and sampling condition of wavelet transform profilometry,” J. Mod. Opt. 54(18), 2747–2762 (2007). [CrossRef]  

28. S. Mallat, A Wavelet Tour of Signal Processing, 3rd. ed. (Academic Press, 2009).

29. L. Watkins, “Review of fringe pattern phase recovery using the 1-D and 2-D continuous wavelet transforms,” Opt. Lasers Eng. 50(8), 1015–1022 (2012). [CrossRef]  

30. I. Daubechies, Ten lectures on Wavelets (SIAM, 1992).

31. A. Asundi and Z. Wensen, “Fast phase-unwrapping algorithm based on a gray-scale mask and flood fill,” Appl. Opt. 37(23), 5416–5420 (1998). [CrossRef]   [PubMed]  

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 (25)

Fig. 1
Fig. 1 Optical geometry of fringe projection profilometry.
Fig. 2
Fig. 2 Illustration of the obtained modulated phase. Each point of the modulated phase (c) is obtained by computing an integral of the signal (a) and the analytic Morlet wavelet (b) within the interval that is the support of the scaled wavelet [ LB,UB ] .
Fig. 3
Fig. 3 Illustration of local linearity. The height distribution of object surface (d), resulting phase (b), resulting modulated phase (c) and the Gaussian function (a).
Fig. 4
Fig. 4 Chart of relationship between carrier frequency f 0 and local nonlinearity Δ S h .
Fig. 5
Fig. 5 Fourier spectrums of deformed fringe patterns.
Fig. 6
Fig. 6 Height distribution of object for simulation.
Fig. 7
Fig. 7 Deformed fringes patterns at 256th row.
Fig. 8
Fig. 8 Distributions of ϕ ( x ) (a) and of ϕ ( x ) (b).
Fig. 9
Fig. 9 Distributions of η ϕ (a) and of Δ S h (x) (b).
Fig. 10
Fig. 10 Comparison of the demodulated height with different carrier frequencies.
Fig. 11
Fig. 11 Comparison of demodulated absolute height error.
Fig. 12
Fig. 12 Distributions of modulated phase (a) with its first derivative (b) and second derivative (c).
Fig. 13
Fig. 13 Comparison of demodulated heights (a) and absolute height errors (b).
Fig. 14
Fig. 14 Distributions of η ϕ (a) and Δ S h (x) (b).
Fig. 15
Fig. 15 Distributions of modulated phase (a) with its first derivative (b) and second derivative (c).
Fig. 16
Fig. 16 Comparison of demodulated heights (a) and absolute height errors (b).
Fig. 17
Fig. 17 Distributions of η ϕ (a) and Δ S h (x) (b).
Fig. 18
Fig. 18 Captured deformed fringe pattern for WTP. Carrier frequencies of the fringe pattern are 0.045 cycle/pixel (a), 0.06 cycle/pixel (b) and 0.075 cycle/pixel (c), respectively. Red line in (a) indicates the 518th column of the fringe pattern.
Fig. 19
Fig. 19 Set of deformed fringe pattern for phase demodulation by four-step PSP.
Fig. 20
Fig. 20 Distributions of intensity (a), wavelet coefficients amplitudes (b) and wavelet coefficients phase map (c) corresponding to the 518th-column fringe with the carrier frequency f 0 =0.075 cycle/pixel .
Fig. 21
Fig. 21 Comparison of the demodulated height at the 518th column.
Fig. 22
Fig. 22 Comparison of demodulated height at the 518th column (corresponding to Local 1, y[ 560,610 ] in Fig. 21).
Fig. 23
Fig. 23 Comparison of demodulated height at the 518th column (corresponding to Local 2, y[ 760,830 ] in Fig. 21).
Fig. 24
Fig. 24 2-D distribution of the wrapped phase Δϕ with the carrier frequency f 0 =0.075 cycle/pixel .
Fig. 25
Fig. 25 3-D distribution of demodulated height with the carrier frequency f 0 =0.075 cycle/pixel .

Tables (1)

Tables Icon

Table 1 Comparison of Height Errors Demodulated by WTPa

Equations (37)

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

I( x )= I 0 ( x )+A( x )cos[ ϕ( x ) ],
ϕ( x )=2π f 0 x+Δϕ( x ).
Δϕ( x,y )= 2π f 0 h( x,y )d l 0 h( x,y ) ,
Δϕ( x,y )= 2π f 0 h( x,y )d l 0 .
W( a,b )= I( x ) 1 a ψ * ( xb a )dx ,
A w ( a,b )= { real[ W( a,b ) ] } 2 + { imag[ W( a,b ) ] } 2 ,
R( a r (b),b )=max[ A w ( a,b ) ],
ϕ wr ( a r (b),b )=arg[ W( a r (b),b ) ],
ψ( x )= 1 π 4 exp( j2πx )exp( x 2 2 ).
η A ( x )= ( 2π ) 2 | ϕ ( x ) | | A ( x ) | | A( x ) | 1
η ϕ ( x )= ( 2π ) 2 | ϕ ( x ) | | ϕ ( x ) | 2 1,
ϕ( b ) ϕ wr ( a r ( b ),b )=arg[ W( a r ( b ),b ) ].
ϕ ( x )=2π f 0 +Δ ϕ ( x )
ϕ ( x )=Δ ϕ ( x ),
ϕ ( x )=2π f 0 2π f 0 d l 0 h ( x )
ϕ ( x )= 2π f 0 d l 0 h ( x ).
ϕ( b )arg[ W( a r ( b ),b ) ] =arg{ 1 a r ( b ) π 4 + I( x )exp[ j2π( xb a r ( b ) ) ]exp[ 1 2 ( xb a r ( b ) ) 2 ]dx }.
ϕ( b )arg[ W( a r ( b ),b ) ] =arg{ 1 a r ( b ) π 4 LB UB I( x )exp[ j2π( xb a r ( b ) ) ]exp[ 1 2 ( xb a r ( b ) ) 2 ]dx }.
ΔS=| LB UB [ ϕ( x )L( x ) ]dx |, with L( x )=[ ϕ( UB )ϕ( LB ) UBLB ]( xUB )+ϕ( UB ),
Δ S w ( b )=| LB UB g( xb a r ( b ) )[ ϕ( x )L( x ) ]dx |, with g( x )=exp( x 2 2 ),
Δ S w ( b )0.
Δ S w ( b )=| LB UB g( xb a r ( b ) )[ Δϕ( x ) L Δ ( x ) ]dx |, with L Δ ( x )=[ Δϕ( UB )Δϕ( LB ) UBLB ]( xUB )+Δϕ( UB ).
Δ S w ( b )=| 2π f 0 d LB UB g( xb a r ( b ) ){ h( x ) l 0 h( x ) { [ h( UB ) l 0 h( UB ) + h( LB ) l 0 h( LB ) ]( xUB UBLB ) h( UB ) l 0 h( UB ) } }dx |.
Δ S w ( b )=| 2π f 0 d l 0 LB UB g( xb a r ( b ) )[ h( x ) L h ( x ) ]dx |, with L h ( x )=[ h( UB )h( LB ) UBLB ]( xUB )+h( UB ).
Δ S h ( b )= Δ S w ( b ) f 0 =| 2πd l 0 { LB UB g( xb a r ( b ) )[ h( x ) L h ( x ) ]dx } |
Δ S h (b)0.
a r = 1 f inst .
f inst ( x )= 1 2π ϕ ( x ).
f inst ( x )= f 0 + 1 2π Δ ϕ ( x ).
| ϕ ( x ) | 2 = | 2π f 0 [ 1 h ( x )d l 0 ] | 2 f 0 2
| ϕ ( x ) |=| 2π f 0 h ( x )d l 0 | f 0 .
η ϕ 1 f 0 .
f 0 < f sample B 2 ,
h( x,y )= 1 40 peaks( 6x3,6y3 ),
peaks( x,y )=3 ( 1x ) 2 exp[ x 2 ( y+1 ) 2 ]10( x 5 x 3 y 5 )exp( x 2 y 2 ) 1 3 exp[ ( x+1 ) 2 y 2 ],
h( x )= 1 3 { exp[ ( 6x3 ) 2 ]1 }exp[ ( 6x3 ) 2 ]sgn( x+0.5 ),
h( x )=| 0.36( x0.5 ) |,
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.