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

Analysis and identification of phase error in phase measuring profilometry

Open Access Open Access

Abstract

Both the analysis of phase errors which occur at the abrupt discontinuities in phase measuring profilometry (PMP) and the identification method are presented in this paper. The sampling effect of CCD will cause a dilution of accuracy in PMP, especially at abrupt discontinuities on the object surface. The existing methods cannot efficiently identify the abrupt discontinuities. We analyze the relationship between the phase, the height and the equivalent wavelength. By viewing the phase as the argument of a vector we find out that CCD sampling introduces errors into the measurement and the phase is nonlinear to the equivalent wavelength at the abrupt discontinuities. Therefore temporal phase unwrapping (TPU) is introduced into the measurement to identify the abrupt discontinuities. Computer simulations and practical experiment validate the feasibility of this method.

©2010 Optical Society of America

1. Introduction

3D sensing by non-contact optical methods has been extensively studied for applications in automated manufacturing, quality control, biomedicine, machine vision, entertainment, etc. Phase measuring profilometry (PMP) [1] is an optical 3D sensing technology using fringe pattern projecting and phase-shifting. It can retrieve 3D data of object rapidly and precisely with low requirement of equipments. Research work on this subject was mainly focused on establishing effective phase-measuring algorithms and phase unwrapping algorithm [2-7].

The charge-coupled device (CCD) is used to convert the deformed fringe pattern into digital image in practical measurement. The photo-behavior of CCD greatly affects the accuracy of PMP. Eryi Hu discussed the phase-recovering algorithm for saturated fringe patterns [8,9]. In practice, the phase is quite unreliable in shadow, area with low modulation and the abrupt discontinuities because of the illumination, modulation and sampling problems. Some existing methods, such as intensity modulation, spatial frequency etc. [10], are efficient in the two former cases. They generate a reliable mask to identify the bad data which are caused by the modulation or illumination problem. But these methods do not efficiently work at the abrupt discontinuities. We analyze the effect of CCD sampling on PMP by viewing the phase modulated by the height of object is the argument of a vector and introduce temporal phase unwrapping algorithm (TPU) [11,12] into the identification of the abrupt discontinuities. The effect of CCD sampling on PMP and the identification method are presented in section 2 and 3 separately. In section 4, we present our computer simulation and experiment. The conclusion is included in the last section.

2. Effect of CCD sampling on PMP

The optical geometry of PMP system is shown in Fig. 1 . If projector and the imaging system are both telecentric optical systems, the relationship between height and phase is

 figure: Fig. 1

Fig. 1 The optical geometry of PMP system.

Download Full Size | PDF

ϕ(x,y)=2πh/λe

Where λe=P0/tanθ is called the equivalent wavelength. The equivalent wavelength λe is determined by the spatial period P0 of the sinusoidal grating on reference and the angle θ between principal axes of projector and that of the imaging system. The wrapped phase is obtained by using the Eq. (2) in the N-step phase calculation algorithm.

ϕ(x,y)=atan[n=1NIn(x,y)sin(2nπ/N)/n=1NIn(x,y)cos(2nπ/N)]
In(x,y) is the intensity distribution of the deformed fringe pattern when the grating with separate phase-shifts 2nπ/N,(n=1,N) is projected onto the object surface. In this paper, ϕ(x,y) is viewed as an argument of a vector V(x,y), Eq. (3).

V(x,y)=[n=1NIn(x,y)cos(2nπ/N)]i+[n=1NIn(x,y)sin(2nπ/N)]j

When the deformed fringe pattern on the object is captured by CCD, the continuous 2D image is converted into a discrete digital image. The value of each pixel is in direct relation to the integral intensity of a corresponding cell in the CCD plane (Fig. 2 ). The relationship between intensity of continuous 2D image In(x,y) and the value of pixel In(i,j) is shown as Eq. (4) where we simply assume that In(i,j) is linear to the integration of In(x,y) and the factor is simplified as 1 because the quantization error is not the main issue we concern.

In(i,j)=x1i,y1jx2i,y2jIn(x,y)dxdy
where i and j are discrete coordinates in the image. In(i,j) denotes the value of the pixel in ith column and jth row. The value of the pixel (i,j) is in direct relation to the integral intensity in rectangle (x1i:x2i,y1j,y)2j. Therefore the wrapped phase in discrete form is
ϕ(i,j)=atann=1NIn(i,j)sin(2nπ/N)n=1NIn(i,j)cos(2nπ/N)=atanx1i,y1jx2i,y2jn=1NIn(x,y)sin(2nπ/N)dxdyx1i,y1jx2i,y2jn=1NIn(x,y)cos(2nπ/N)dxdy
ϕ(i,j) can be viewed as the argument of the vectorV(i,j), Eq. (6).

 figure: Fig. 2

Fig. 2 The schematic of CCD.

Download Full Size | PDF

V(i,j)=[x1i,y1jx2i,y2jn=1NIn(x,y)cos(2nπ/N)dxdy]i+[x1i,y1jx2i,y2jn=1NIn(x,y)sin(2nπ/N)dxdy]j=x1i,y1jx2i,y2j[n=1NIn(x,y)cos(2nπ/N)i+n=1NIn(x,y)sin(2nπ/N)j]dxdy=x1i,y1jx2i,y2jV(x,y)dxdy

It is clear that V(i,j) is the sum of all vectors in rectangle (x1i:x2i,y1j,y2j). According to Eq. (1), the phase changes with the height. In practical measurement, the height is different at different point in the CCD cell. The wrapped phase ϕ(i,j), the argument of the vector sum, is not the true phase of any point in the cell. Therefore the errors are unavoidable because of the sampling, even under ideal condition.

We give an illustration, Fig. 3 . The height changes a little in the cell (i1,j1). ϕ(i1,j1), the argument of vector sum V(i1,j1), is nearly equal to ϕ(x,y), the argument of the vector V(x,y) [Fig. 4(a) ]. The error betweenϕ(i1,j1) and ϕ(x,y) is acceptable. This happens in most measurements because the CCD cell is small enough and the surface is smooth enough. But ϕ(x,y) changes greatly in different part when the CCD cell is positioned at the abrupt discontinuities [Fig. 4(b)]. Equation (1) is inapplicable in this case because of the vector summing. This will cause the phase calculated from Eq. (5) become meaningless.

 figure: Fig. 3

Fig. 3 the intensity distribution of CCD cells.

Download Full Size | PDF

 figure: Fig. 4

Fig. 4 (a) The vector summing in cell (i 1,j 1) (b) the vector summing in cell (i 2,j 2).

Download Full Size | PDF

The area ratio of part A and B is kA and kB(0<kA,kB<1,kA+kB=1). We assume that the height of the object in part A and B changes a little separately. Intensity of part A and B are IAn(i2,j2) and IBn(i2,j2).ϕA(i2,j2) is the argument of the vector VA(i2,j2).

VA(i2,j2)=[n=1NIAn(i2,j2)cos(2nπ/N)]i+[n=1NIAn(i2,j2)sin(2nπ/N)]
ϕB(i2,j2) is the argument of the vector VB(i2,j2).

VB(i2,j2)=[n=1NIBn(i2,j2)cos(2nπ/N)]i+[n=1NIBn(i2,j2)sin(2nπ/N)]

Intensity of pixel (i2,j2) is

In(i2,j2)=kAIAn+kBIBn

ϕ(i2,j2) is the argument of the vector V(i2,j2), Eq. (10).

V(i2,j2)=[n=1NIn(i2,j2)cos(2nπ/N)]i+[n=1NIn(i2,j2)sin(2nπ/N)]j=kA[n=1NIAn(i2,j2)cos(2nπ/N)i+n=1NIAn(i2,j2)sin(2nπ/N)j]+kB[n=1NIBn(i2,j2)cos(2nπ/N)i+n=1NIBn(i2,j2)sin(2nπ/N)j]=kAVA(i2,j2)+kBVB(i2,j2)

The expression above shows that vector V(i2,j2) is the sum of vector kVAA(i2,j2) and vectorkBVB(i2,j2). We can encounter the following situations (Table 1 ).

Tables Icon

Table 1. the results of vector summing

There are big errors in all cases. Especially in case 3 and 5, ϕ(i2,j2) is greater or less than ϕA(i2,j2) andϕB(i2,j2). There will be sharp spikes in the wrapped phases.

By the preceding analysis we know that CCD sampling will inevitably produce errors. The errors are acceptable at the smooth region on the object surface. Equation (1) is still applicable in such cases. The errors are dramatically big at the abrupt discontinuities. Equation (1) is no longer applicable in such cases. Therefore the abrupt discontinuities can be identified by observing whether the relationship between the phase and the equivalent wavelength complies Eq. (1) when the equivalent wavelength changes.

3. Invalid pixel identification

If Eq. (1) is applicable, the unwrapped phase is in inverse relation to the equivalent wavelength. The unwrapped phase linearly increases with the decrease of the equivalent wavelength in TPU. The gratings with difference equivalent wavelength (or spatial frequency) are projected onto the object one by one. If an exponentially growing sequence of grating spatial frequency is used, the least-squares fitting (LSF) is employed to get the estimator ω [12].

ω=v=0log2s2vφu(2v)/v=0log2s22v
φu(2v) is the unwrapped phase which is obtained by applying TPU. s is the number of gratings. LSF improves the accuracy of the measurement. ω is used to calculate the result of phase unwrapping. The standard deviation of LSF indicates the deviation between the data and the fitting curve. The standard deviation is small at the smooth region on the object surface. Equation (1) is inapplicable at the abrupt discontinuities because of the sampling. The standard deviation is dramatically big. If a suitable threshold of standard deviation is set, the abrupt discontinuities can be identified by comparing the standard deviation to the threshold. The pixels are positioned at the abrupt discontinuities if their standard deviations are bigger than the threshold. They are invalid. The phases of these pixels are deleted from the unwrapped phase map and recalculated by interpolating.

4. Simulation and experiment

4.1 Simulation demonstration

An object with both smooth surface and abrupt discontinuities is generated to demonstrate the theory in Matlab. The object is shown in Fig. 5 . P0 takes 12.8cm, 6.4cm, 3.2cm, 1.6cm, and 0.8cm. System parameter θ is 27°. The deformed fringe patterns are shown in Fig. 6 . For a better demonstration of the effect of CCD sampling, both the shadow and noises are ignored. The height distribution obtained by temporal phase unwrapping is shown in Fig. 7 . The phases and the fitting curves at valid pixels (32, 36), (32, 38) and invalid pixel (32, 37) are shown in Fig. 8 . The true height values of pixel (32, 36) and (32, 38) are 0 cm and 0.5 cm separately. Pixel (32, 37) is positioned at the abrupt discontinuities. The reconstructed height at pixel (32, 37) is 0.59097cm. It is greater than its true value 0.5cm and that of pixel (32, 38). At the valid pixel (32, 36) and (32, 38), the measurements and fitting curves are consistent with the standard deviations 8.2516 × 10−15rad and 0rad separately. There is a big standard deviation 6.3842rad at the invalid pixel (32, 37).The mask which is shown in Fig. 9 is generated from standard deviation distribution using threshold 0.1rad. The white pixels in the mask are invalid pixels to be deleted and interpolated. The final result is shown in Fig. 10 .

 figure: Fig. 5

Fig. 5 The object with abrupt discontinuities in simulation.

Download Full Size | PDF

 figure: Fig. 6

Fig. 6 The deformed fringe patterns (P 0 = 12.8cm, 6.4cm, 3.2cm, 1.6cm, 0.8cm, 0 θ = 27°).

Download Full Size | PDF

 figure: Fig. 7

Fig. 7 The reconstructed object obtained by TPU.

Download Full Size | PDF

 figure: Fig. 8

Fig. 8 Measurements and fitting curves.

Download Full Size | PDF

 figure: Fig. 9

Fig. 9 The mask generated from standard deviations.

Download Full Size | PDF

 figure: Fig. 10

Fig. 10 The reconstructed object after deleting and interpolation.

Download Full Size | PDF

4.2 Experiment

We measured a dental model with complex surface. The five-step phase-shifting is adopted in practical measurement. The deformed fringe patterns with equivalent wavelengths 32, 16, 8, 4, 2, 1 are shown in Fig. 11 . We excluded all pixels in the shadow and pixels with low modulation before using TPU. The reconstructed phase distribution of TPU is shown in Fig. 12 . It is apparent that big errors exist at the abrupt discontinuities. The standard deviations range from 0rad to about 30rad (Fig. 13 ). The standard deviations are much greater at the abrupt discontinuities than the smooth surface. We deleted all invalid points based on the mask shown in Fig. 14 and obtained the final phase distribution using two-dimensional linear interpolation (Fig. 15 ).

 figure: Fig. 11

Fig. 11 The deformed fringe patterns.

Download Full Size | PDF

 figure: Fig. 12

Fig. 12 The phase distribution obtained from TPU.

Download Full Size | PDF

 figure: Fig. 13

Fig. 13 The grayscale of the standard deviations.

Download Full Size | PDF

 figure: Fig. 14

Fig. 14 The mask generated from standard deviations.

Download Full Size | PDF

 figure: Fig. 15

Fig. 15 The final phase distribution after deleting and interpolation.

Download Full Size | PDF

5. Conclusions

Many factors will affect the accuracy of PMP. The CCD sampling and the abrupt discontinuities on the object surface are two of them and not included in other algorithms. We rewrite the formula of phase retrieving and analyze the relationship between accuracy and CCD sampling by viewing the phase as the argument of a vector. The theoretical analysis shows that the CCD sampling introduces errors into the measurement and the phases obtained by N-step algorithm are not in inverse relation to the equivalent wavelength at the abrupt discontinuities. Therefore TPU is employed to identify the abrupt discontinuities. We presented the simulation demonstration and experiment. All results show the correctness of our theoretical analysis and validity of TPU in identification of phase errors caused by CCD sampling and the abrupt discontinuities on the object surface.

Acknowledgement

This project was supported by the National Natural Science Foundation of China (No 60838002).

References and links

1. V. Srinivasan, H. C. Liu, and M. Halioua, “Automated phase-measuring profilometry of 3-D diffuse objects,” Appl. Opt. 23(18), 3105–3108 (1984). [CrossRef]   [PubMed]  

2. J. M. Huntley, “Noise-immune phase unwrapping algorithm,” Appl. Opt. 28(16), 3268–3270 (1989). [CrossRef]   [PubMed]  

3. T. R. Judge and P. J. Bryanston-Cross, “A review of phase unwrapping techniques in fringe analysis,” Opt. Lasers Eng. 21(4), 199–239 (1994). [CrossRef]  

4. H. Su, J. Li, and X. Su, “Phase algorithm without the influence of carrier frequency,” Opt. Eng. 36(6), 1799–1805 (1997). [CrossRef]  

5. 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]  

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

7. Y. Hao, Y. Zhao, and D. Li, “Multifrequency grating projection profilometry based on the nonlinear excess fraction method,” Appl. Opt. 38(19), 4106–4110 (1999). [CrossRef]  

8. E. Hu, Y. He, and Y. Chen, “Study on a novel phase-recovering algorithm for partial intensity saturation in digital projection grating phase-shifting profilometry,” Opt. Int. J. Light Electron. Opt. (2008), doi:.

9. E. Hu, Y. He, and Y. Chen, “Study on a novel phase-recovering algorithm for partial intensity saturation in digital projection grating phase-shifting profilometry,” Optik - International Journal for Light and Electron Optics 121(1), 23–28 (2010). [CrossRef]  

10. X. Su and W. Chen, “Reliability-guided phase unwrapping algorithm: a review,” Opt. Lasers Eng. 42(3), 245–261 (2004). [CrossRef]  

11. J. M. Huntley and H. O. Saldner, “Temporal phase-unwrapping algorithm for automated interferogram analysis,” Appl. Opt. 32(17), 3047–3052 (1993). [CrossRef]   [PubMed]  

12. M. Huntley and H. O. Saldner, “Error-reduction methods for shape measurement by temporal phase-unwrapping,” J. Opt. Soc. Am. A 14(12), 3188–3196 (1997). [CrossRef]  

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

Fig. 1
Fig. 1 The optical geometry of PMP system.
Fig. 2
Fig. 2 The schematic of CCD.
Fig. 3
Fig. 3 the intensity distribution of CCD cells.
Fig. 4
Fig. 4 (a) The vector summing in cell (i 1,j 1) (b) the vector summing in cell (i 2,j 2).
Fig. 5
Fig. 5 The object with abrupt discontinuities in simulation.
Fig. 6
Fig. 6 The deformed fringe patterns (P 0 = 12.8cm, 6.4cm, 3.2cm, 1.6cm, 0.8cm, 0 θ = 27°).
Fig. 7
Fig. 7 The reconstructed object obtained by TPU.
Fig. 8
Fig. 8 Measurements and fitting curves.
Fig. 9
Fig. 9 The mask generated from standard deviations.
Fig. 10
Fig. 10 The reconstructed object after deleting and interpolation.
Fig. 11
Fig. 11 The deformed fringe patterns.
Fig. 12
Fig. 12 The phase distribution obtained from TPU.
Fig. 13
Fig. 13 The grayscale of the standard deviations.
Fig. 14
Fig. 14 The mask generated from standard deviations.
Fig. 15
Fig. 15 The final phase distribution after deleting and interpolation.

Tables (1)

Tables Icon

Table 1 the results of vector summing

Equations (11)

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

ϕ ( x , y ) = 2 π h / λ e
ϕ ( x , y ) = atan [ n = 1 N I n ( x , y ) sin ( 2 n π / N ) / n = 1 N I n ( x , y ) cos ( 2 n π / N ) ]
V ( x , y ) = [ n = 1 N I n ( x , y ) cos ( 2 n π / N ) ] i + [ n = 1 N I n ( x , y ) sin ( 2 n π / N ) ] j
I n ( i , j ) = x 1 i , y 1 j x 2 i , y 2 j I n ( x , y ) d x d y
ϕ ( i , j ) = atan n = 1 N I n ( i , j ) sin ( 2 n π / N ) n = 1 N I n ( i , j ) cos ( 2 n π / N ) = atan x 1 i , y 1 j x 2 i , y 2 j n = 1 N I n ( x , y ) sin ( 2 n π / N ) d x d y x 1 i , y 1 j x 2 i , y 2 j n = 1 N I n ( x , y ) cos ( 2 n π / N ) d x d y
V ( i , j ) = [ x 1 i , y 1 j x 2 i , y 2 j n = 1 N I n ( x , y ) cos ( 2 n π / N ) d x d y ] i + [ x 1 i , y 1 j x 2 i , y 2 j n = 1 N I n ( x , y ) sin ( 2 n π / N ) d x d y ] j = x 1 i , y 1 j x 2 i , y 2 j [ n = 1 N I n ( x , y ) cos ( 2 n π / N ) i + n = 1 N I n ( x , y ) sin ( 2 n π / N ) j ] d x d y = x 1 i , y 1 j x 2 i , y 2 j V ( x , y ) d x d y
V A ( i 2 , j 2 ) = [ n = 1 N I A n ( i 2 , j 2 ) cos ( 2 n π / N ) ] i + [ n = 1 N I A n ( i 2 , j 2 ) sin ( 2 n π / N ) ]
V B ( i 2 , j 2 ) = [ n = 1 N I B n ( i 2 , j 2 ) cos ( 2 n π / N ) ] i + [ n = 1 N I B n ( i 2 , j 2 ) sin ( 2 n π / N ) ]
I n ( i 2 , j 2 ) = k A I A n + k B I B n
V ( i 2 , j 2 ) = [ n = 1 N I n ( i 2 , j 2 ) cos ( 2 n π / N ) ] i + [ n = 1 N I n ( i 2 , j 2 ) sin ( 2 n π / N ) ] j = k A [ n = 1 N I A n ( i 2 , j 2 ) cos ( 2 n π / N ) i + n = 1 N I A n ( i 2 , j 2 ) sin ( 2 n π / N ) j ] + k B [ n = 1 N I B n ( i 2 , j 2 ) cos ( 2 n π / N ) i + n = 1 N I B n ( i 2 , j 2 ) sin ( 2 n π / N ) j ] = k A V A ( i 2 , j 2 ) + k B V B ( i 2 , j 2 )
ω = v = 0 log 2 s 2 v φ u ( 2 v ) / v = 0 log 2 s 2 2 v
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.