<<

Mechanical Engineering Conference Presentations, Mechanical Engineering Papers, and Proceedings

8-2009 Digital multiple phase shifting algorithm Song Zhang Iowa State University, [email protected]

Follow this and additional works at: https://lib.dr.iastate.edu/me_conf Part of the Computer-Aided Engineering and Design Commons, and the Graphics and Human Computer Interfaces Commons

Recommended Citation Zhang, Song, "Digital multiple wavelength phase shifting algorithm" (2009). Mechanical Engineering Conference Presentations, Papers, and Proceedings. 75. https://lib.dr.iastate.edu/me_conf/75

This Conference Proceeding is brought to you for free and open access by the Mechanical Engineering at Iowa State University Digital Repository. It has been accepted for inclusion in Mechanical Engineering Conference Presentations, Papers, and Proceedings by an authorized administrator of Iowa State University Digital Repository. For more information, please contact [email protected]. Digital multiple wavelength phase shifting algorithm

Abstract This paper presents a digital multiple-wavelength phase-shifting technique for three-dimensional shape κ-1 measurement. The projected phase-shifted fringe images have of λκ = W/2 (k = 1,2,3...). The phase unwrapping is not needed for the longest wavelength because a single fringe covers the whole area. The shorter wavelength phase, φκ(x,y), is unwrapped by referring to the previously unwrapped longer wavelength phase, Φk-1(x,y), pixel by pixel without accessing its neighborhood pixels. Experiments demonstrate that this technique has low noise and less sensitivity to motion. It can be used to measure arbitrary step height and multiple objects simultaneously.

Keywords 3D shape measurement, phase shifting, step height, multiple wavelength

Disciplines Computer-Aided Engineering and Design | Graphics and Human Computer Interfaces

Comments This is a conference proceeding from Optical Inspection and Metrology for Non- Industries 7432 (2009): 1, doi:10.1117/12.823903. Posted with permission.

Copyright 2009 Society of Photo-Optical Instrumentation Engineers. One print or electronic copy may be made for personal use only. Systematic electronic or print reproduction and distribution, duplication of any material in this paper for a fee or for commercial purposes, or modification of the content of the paper are prohibited.

This conference proceeding is available at Iowa State University Digital Repository: https://lib.dr.iastate.edu/me_conf/75 Digital Multiple Wavelength Phase Shifting Algorithm

Song Zhang* Department of Mechanical Engineering, Iowa State University, Ames, IA, USA 50011.

ABSTRACT This paper presents a digital multiple-wavelength phase-shifting technique for three-dimensional shape measurement. The W projected phase-shifted fringe images have wavelengths of λ = − (k = 1,2,3...). The phase unwrapping is not needed k 2k 1 for the longest wavelength because a single fringe covers the whole area. The shorter wavelength phase, φk(x,y),is unwrapped by referring to the previously unwrapped longer wavelength phase, Φk−1(x,y), pixel by pixel without accessing its neighborhood pixels. Experiments demonstrate that this technique has low noise and less sensitivity to motion. It can be used to measure arbitrary step height and multiple objects simultaneously. Keywords: 3D shape measurement; phase shifting; step height; multiple wavelength.

1. INTRODUCTION High-resolution, accurate 3D shape measurement is increasingly important in the last several decades, with applications in manufacturing, medical sciences, computer sciences, etc. Traditionally, laser interferometries are widely used because of their accuracy and stability. A variety of phase-shifting algorithms have been proposed for high resolution and high accuracy measurement.1 One of the advantages of the phase- shifting algorithms is that they measure object point by point, and is less sensitive to surface reflectivity variations. For a single-wavelength phase-shifting algorithm, the phase computed directly from the phase-shifted fringe images ranges from −π to +π. For high accuracy measurement, multiple fringe stripes are usually used, where a phase unwrapping algorithm is needed to obtain continuous phase map. Over the years, many phase unwrapping algorithms have been developed.2 Unfortunately, none of them can 100% successfully unwrap arbitrary phase map without pre-knowledge of the measured object, especially when the object surface profile has sharp changes. For a single-wavelength phase-shifting algorithm, the phase difference between two adjacent pixels cannot be be larger than πλ/2 in optical path difference, or the step height cannot be larger than λ/4 on the object.3 Therefore, to measure 3–6 step height objects, a two-wavelength (λ1 and λ2) phase-shifting algorithm was used. For this method, the measurable step height increases by making the equivalent wavelength to be longer than any of the wavelength used. The equivalent wavelength can be written as λ1λ2 λeq = . |λ1 − λ2| However, the two-wavelength phase-shifting algorithm measures increases the step height measurement capability by sacrificing its data quality. The signal to noise ratio (SNR) is smaller than that using only a single-wavelength phase- shifting algorithm for either λ1 or λ2. This is not desirable since the noise can hide the signal if the equivalent wavelength, 7 λeq, is too long. Therefore, λ1 (assume λ1 > λ2) is 3 or 4 times of λ2 is recommended. Multiple-wavelength phase-shifting algorithms have been developed to further increase equivalent wavelength by using more than two wavelengths.7 They can measure larger step height with lower noise than a two-wavelength phase-shifting algorithm. They were used widely to measure larger step height.8–11 Huntley et al proposed a technique called temporal phase unwrapping algorithm12and apply it to measure discontinuous objects.13 The fundamental concept of this technique is that the phase is unwrapped in time axis rather than in x − y plane spatially. Therefore, the measurement is performed point by point. However, traditionally, the fringe images were generated by laser interferences, and it is difficult to generate the desired wavelength precisely. Zhao et al proposed a two-wavelength phase-shifting algorithm using a fringe projection technique.14 In this approach, two sets of fringe images with different wavelength were projected using a slide project and captured by a camera. A

*[email protected]; phone 1 515 294 0723; fax 1 515 294 3261; www.vrac.iastate.edu/˜song.

Optical Inspection and Metrology for Non-Optics Industries, edited by Peisen S. Huang, Toru Yoshizawa, Kevin G. Harding, Proc. of SPIE Vol. 7432, 74320N · © 2009 SPIE · CCC code: 0277-786X/09/$18 · doi: 10.1117/12.823903

Proc. of SPIE Vol. 7432 74320N-1

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms similar phase correction algorithm as the one used in our paper (will be discussed in detail in Subsec. 2.3) was used by referring to the longer wavelength phase point by point. However, because this technique utilized two wavelengths for the measurement, similar to other two-wavelength algorithms,3–6 the noise plays a major role for the final measurement. Although the authors addressed an error function to minimize the error caused by the noise, if the wavelength difference is significantly, it might prevent correctly unwrapping the phase for the shorter wavelength. Moreover, using slide projector may have problem of precisely controlling the required wavelength and/or phase shift. Saldner and Huntley developed a measurement system that used temporal phase unwrapping algorithm and spatial light modulator-based fringe projector.15 For this system, a digital projector was used, and the phase shift as well as the wavelength can be produced precisely. However, since only the first and the last spatial phase maps were used, and it was shown by Huntley and Saldner16 that the noise plays a more significant role for this technique than the tech- nique proposed by Zhao et al.14 Recently, Towers proposed an optimum frequency selection for the multiple wavelength methods.17 Later they verified, by simulation, an optimum three-frequency algorithm for 3D shape measurement.18 With the rapid development of the digital display technology, digital phase-shifting techniques are increasingly adopted.19, 20 A digital fringe projection and phase-shifting algorithm is able to control the phase shift and the wavelength accurately because of its digital fringe generation nature. The system using this technique is also commonly called structured light system. For such a system, a digital video projector is used to project computer generated phase-shifted fringe images. This technique has been proven to be a powerful method to perform measurement rapidly at good accuracy. We have developed a real-time absolute 3D shape measurement based on a fast three-step phase-shifting algorithm.21–23 However, similar to laser interferometries, the single-wavelength digital phase-shifting techniques suffer if the object surface has sharp changes. Therefore, to successfully measure the object, its surface must be smooth. This shortcoming limits its usage because the surface smoothness cannot always been guaranteed. In this research, we propose a digital fringe projection and multiple-wavelength phase-shifting algorithm to extend its measurement range and increase its tolerance to the surface discontinuities. For this method, a series of fringe images with W the wavelengths of λ = − (k = 1,2,3...) are captured for 3D shape measurement. Here W is the number of pixels of k 2k 1 the projector horizontally (if fringe stripes are vertical) or vertically (if the fringe stripes are horizontal). For the fringe images using wavelength of λ1, a single fringe stripe covers the whole measurement area. Therefore, no phase unwrapping is required. The successively phase maps, φk(x,y), are unwrapped using their previous unwrapped phase maps, Φk−1(x,y), pixel by pixel without accessing their neighborhood pixels. Subsection 2.3 will introduces this multiple-wavelength phase- shifting algorithm in detail. For this proposed method, because the measurement is done pixel by pixel, it can be used to measure arbitrary step height with high accuracy. It can also be used to simultaneously measure multiple separate objects. Moreover, since the longer wavelength phase is only used as reference to obtain the integer values that are used to correct the 2π discontinuities, its noise does not significantly affect the shorter wavelength phase. Therefore, high SNR can be obtained using this technique. Moreover, because only the shortest wavelength phase is used to compute the coordinates, this technique is not very sensitive to motion. We will show that this technique can measure a human face successfully. Section 2 introduces the single-wavelength, two-wavelength, and multiple-wavelength phase-shifting algorithms. Sec- tion 3 addresses the background removal technique. Section 4 introduces the system setup. Section 5 shows some experi- mental results. Section 6 discusses the advantages and shortcomings of this proposed technique, and Section 7 summarizes the work.

2. PHASE-SHIFTING ALGORITHMS 2.1 Single-wavelength phase-shifting algorithm Phase-shifting algorithms are widely used due to their measurement speed and non-contact nature. For the single - length phase-shifting algorithm, a number of fringe images with certain phase shift are used to obtain the phase. The 3D coordinates are computed from the phase based on calibration. There are a number of phase-shifting algorithms have been proposed including three-step, four step, double-three step, and five step.1

Proc. of SPIE Vol. 7432 74320N-2

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms A three step phase-shifting algorithm with a phase shift of 2π/3 can be written as,

I1(x,y)=I (x,y)+I (x,y)cos[Φ(x,y) − 2π/3], (1) I2(x,y)=I (x,y)+I (x,y)cos[Φ(x,y)], (2) I3(x,y)=I (x,y)+I (x,y)cos[Φ(x,y)+2π/3]. (3)

Where I(x,y) is the average intensity, I(x,y) the intensity modulation, and Φ(x,y) the actual phase to be solved for. From these three equations, we have √ − 3(I − I ) φ(x,y)=tan 1 1 3 . (4) 2I2 − I1 − I3 φ(x,y) ranging from −π to +π is called the wrapped phase with a modulo of 2π. The actual phase is

Φ(x,y)=2πm(x,y)+φ(x,y). (5)

Where m(x,y) are integers. If only a single fringe stripe is used, φ(x,y)=Φ(x,y) and m(x,y) ≡ 0, no phase unwrapping is needed. However, if multiple fringe stripes are used, m(x,y) are not always 0s, a phase unwrapping algorithm is required to remove the 2π discontinuities by detecting the correct integers, m(x,y), from neighborhood point phase.2 Though various phase unwrapping algorithms have been proposed, none of them can always correctly retrieve the true phase value especially when the surface has sharp step height. Assume the wavelength used is λ. To remove 2π ambiguities from the phase map, the phase difference between two adjacent pixels of the phase map must be less than πλ/2 in optical path difference, or λ/4 on object surface.3 Moreover, from Eqs.(1)-(3), we can obtain  ( , ) ( − )2 +( − − )2 γ( , )=I x y = 3 I1 I3 2I2 I1 I3 . x y (6) I (x,y) I1 + I2 + I3 Here γ(x,y), ranging from 0 to 1, is data modulation, which indicates the data quality with 1 being the best. It is commonly used for noise reduction, background removal, and phase unwrapping.

2.2 Two-wavelength phase-shifting algorithm

For a two-wavelength phase-shifting algorithm, assume the two phase maps are φ1(x,y) and φ2(x,y), respectively. The 24 equivalent phase φeq(x,y) can be written as,

φeq(x,y)=φ1(x,y) − φ2(x,y). (7)

Assume two wavelengths are λ1 and λ2, respectively, the equivalent wavelength is

λ1λ2 λeq = (8) |λ1 − λ2|

The phase unwrapping algorithm is used (if needed) to unwrap the equivalent phase map, φeq(x,y), to obtain a contin- uous phase map Φeq(x,y). The surface depth z(x,y) is proportional to λeq, i.e.,

z(x,y) ∝ λeqΦeq(x,y). (9)

Assume λ1 > λ2, it can be shown that λeq > λ1 ⇔ λ1 < 2λ2.

This means that if λ1 > 2λ2, the equivalent wavelength is actually shorter than the longer wavelength, λ1, and two- wavelength technique does not help solve the phase ambiguity problem. On the other hand, if λ1 < 2λ2, the phase noise will be increased due to the scaling factor of the equivalent wavelength. Therefore, the two-wavelength phase-shifting algorithm helps solve the phase ambiguity problem by sacrificing the data quality (lower SNR). Therefore, to have good 7 quality data, λ1 is 3 or 4 times of λ2 is commonly recommended.

Proc. of SPIE Vol. 7432 74320N-3

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms 2.3 Multiple-wavelength phase-shifting algorithm

From Eq.(8), we can see that if λ1 = 2λ2, the equivalent wavelength will be the same as the λ1, therefore, the resultant phase noise will not be scaled up. Assume the projector has a resolution of W × H and the projected fringe images are vertical. If we choose λ1 = W, the unwrapping step is not required because the single fringe covers the whole measurement area. That is, Φ1(x,y)=φ1(x,y). (10)

Here Φ1(x,y) represents the unwrapped phase, and φ1(x,y) the wrapped phase.

For the phase φ2(x,y), there will be two fringes in the measurement area. Hence,

Φ2(x,y)=2πm2(x,y)+φ2(x,y). (11)

Here m2(x,y) are integers.

Since λ1 = 2λ2,wehave Φ2 = 2Φ1. (12) That is Φ (x,y) φ (x,y) m (x,y)= 1 − 2 . (13) 2 π 2π In the digital world, Eq.(13) becomes   Φ (x,y) φ (x,y) m (x,y)=Round 1 − 2 . (14) 2 π 2π

Here operator Round[] is to obtain the closest integer value. Therefore, the wrapped phase, φ2(x,y), can be unwrapped pixel by pixel by referring to the unwrapped longer wavelength phase Φ1(x,y). The advantage of this algorithm is that the phase Φ1(x,y) is only used to obtain integers mk(x,y). Therefore, the noise of Φ1(x,y) does not significantly affect the noise of Φ2(x,y). Moreover, since the noise level of φ1(x,y) is approximately double that of φ2(x,y), obtaining correct mk(x,y) can be guaranteed if the phase noise is not too large. On the other hand, if the phase maps have significant noise, they (except the one for the shortest wavelength) can be smoothed by a random noise reduction filter (e.g. Gaussian filter) to increase the robustness of the calculations. The phase map shortest wavelength is not smoothed to keep the original data untouched.

Once Φ2(x,y) is obtained, we can use it to correct Φ3(x,y), where λ3 = λ2/2, using a similar equation as Eq. (14). In general, for λk = λk−1/2,   Φ − (x,y) φ (x,y) m (x,y)=Round k 1 − k , (15) k π 2π and Φk(x,y)=2πmk(x,y)+φk(x,y). (16) Equation (15) shows that the unwrapped phase is obtained pixel by pixel without accessing its neighborhood pixels in the same phase map, and the noise of the longer wavelength will not significantly affect that of the shorter ones. Therefore, this technique can measure surface profile with arbitrary step height, and the measurement noise is close to that using a single-wavelength phase-shifting technique with the shortest wavelength.

3. BACKGROUND REMOVAL The background has to be removed to obtain high-quality data. Obviously, data modulation γ(x,y) in Eq.(6) and the average intensity value I(x,y) can be used for this purpose. Thresholds are chosen to determine whether the data point is background or foreground. However, due to the camera and/or projector noise, our experiments demonstrated that using γ(x,y) and I(x,y) is not sufficient to cleanly remove the background. In this research, besides using intensity value and γ value, we use an additional criteria to remove the background. Assume the fringe stripes are vertical, the unwrapped phase is monotonically increasing (or decreasing) across the im- age horizontally. This constraint can also be used to remove the background. That is, assume the phase is increasing horizontally, the point is regard as a bad points if

Φ(x + 1,y) − Φ(x,y) < c0. (17)

Here c0 is the threshold to be determined by experiment (for our case, we used π/2).

Proc. of SPIE Vol. 7432 74320N-4

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms Camera Projector

Fig. 1. Photograph of the system.

4. SYSTEM SETUP The structured light system contains a digital light processing (DLP) projector and a charge-coupled device (CCD). The DLP projector used is PLUS U5-632h with a resolution of 1024 × 768. The focal range of the projector is f = 18.4 to 22.1 mm. The digital micro-mirror device (DMD) chip used for this projector is 0.7 in.. The CCD camera is a digital CCD camera (Pulinx TM6740-CL) with an image resolution of 640 × 480. The camera sensor size is 7.4 μm (H) × 7.4 μm (V). It uses a Fujinon HF16HA-1B lens with a focal length of 16 mm at f/1.4 to f/16. The exposure time used for the camera is approximately 8.33 ms. The frame grabber used in this system is a Matrox Solios XCL with CameraLink interface. Figure 1 shows a photograph of the developed system.

5. EXPERIMENT To verify the performance of the proposed technique, we implemented this proposed algorithm into our system and did some experiments. As shown in Figure 1, the projector is mounted vertically with 768 pixels horizontally, and the projected fringe images contain vertical stripes. The wavelengths used for the measurement are 768 λ = ,k = 1,2,...,6. k 2k−1 Only six wavelengths are used for our experiments. For each measurement, three fringe images with a phase-shift of 2π/3 for each wavelength and a total number of 18 fringe images are captured. The phases are computed using Eq.(4) for each wavelength, and then unwrapped successively using Eqs.(10)-(16). In this research, the structured light system was calibrated using the approach addressed in Ref.(25).The absolute phase to coordinates conversion algorithm used the method introduced in our previous paper.23 We first measured a flat object, the phase maps for different wavelengths are shown in Fig. 2. It can be seen that for wavelength λ1 = 768, the phase is continuous. The measurement results for different number of wavelengths are shown in Fig. 3. This experiment shows that the more number of wavelengths use, the lower the noise will be. This experiment also demonstrates that the noise of the longer wavelength phase does not drastically affect the noise of the shorter wavelength phase.

As a comparison, we only use the single wavelength phase φ6(x,y) (λ6 = 24) to perform the measurement using our previously developed phase unwrapping algorithm.26 Figure 4 shows the measurement result comparing with that obtained from the multiple-wavelength algorithm. It can be seen that the data noise level generated by the multiple-wavelength algorithm is similar to that generated by the single-wavelength phase-shifting technique with the shortest wavelength. This is one of the advantages of the multiple-wavelength algorithm over a two-wavelength algorithm that increases the measurement noise significantly. Because this algorithm obtain the phase pixel by pixel without accessing its neighborhood pixels. It can be used to measure object with significant step height. Figure 5 shows the measurement result of an object with large step height. Figure 5(a) shows the photograph of the object. Figures 5(b)-5(d) show the shortest wavelength fringe images. As shown

Proc. of SPIE Vol. 7432 74320N-5

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms (a) (b) (c)

(d) (e) (f)

Fig. 2. Wrapped phase for a flat board. (a)-(f) show the wavelengths of λk = 768, 384, 192, 96, 48, and 24, respectively.

in the white box of Fig. 5(d), the fringe becomes abnormal (sharp changes) as the height of object increase drastically. The step height cannot be measured correctly if only uses this single-wavelength phase-shifted fringe images are used. On the contrast, using the multiple-wavelength phase-shifting algorithm, the step height can be measured successfully. Figure 5(e) shows the measurement result rendered in 3D. The step height is separate from the base drastically. Figure 5(f) shows its cross section. This experiments demonstrated that even the object has a step height over 150 mm, this approach can still successfully perform the measurement. Moreover, because the measurement is performed point by point, this technique can also be used to measure multiple separate objects or islands. To verify this, we measured two separate objects, two sculptures. Figure 6 shows the measure- ment results. Figure 6(a) shows the photograph of these objects. Figure 6(b) shows the 3D result rendered in shaded mode. Figure 6(c) shows the 3D result rendered with texture mapping, and Figure 6(d) shows the 3D result rendered in shaded mode viewing from another viewing . This experiment shows that even if two objects are completely separate, both of them were measured successfully using the proposed algorithm. In addition, since only the final three fringe images are used to compute the coordinates, other fringe images are used only as references. Therefore, this technique can be used to measure an object with some motion. In this research, we measured a human face. During the measurement, the object was asked to sit in front of the system naturally. It is very difficult to make the subject motionless, therefore, we use this subject to test the system capability. The first row of Fig. 7 shows the measurement result using the proposed algorithm. The second row of this figure shows the 3D reconstruction 26 result using the shortest wavelength (λ6 = 24) phase map. It is obvious that because the face region is smooth, both approaches can obtain the geometry correctly. However, the traditional phase unwrapping algorithm cannot correctly position the neck region well because of the sharp changes from the face to the neck. On the contrast, the multiple- wavelength algorithm successfully reconstruct both the neck and face regions. The surface measurement errors for both algorithms look similar as expected. It should be noted that the 3D face data are all smoothed by a 5 × 5 Gaussian filter to remove the most significant random noise. This experiment demonstrated that this algorithm is less sensitive to motion, and can be used for slow motion measurement.

Proc. of SPIE Vol. 7432 74320N-6

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms 320th column 320th column 320th column 15 15 15

10 10 10

5 5 5

0 0 0 z (mm) z (mm) z (mm) −5 −5 −5

−10 −10 −10

−15 −15 −15 50 100 150 50 100 150 50 100 150 y (mm) y (mm) y (mm) (a) (b) (c)

320th column 320th column 320th column 15 15 15

10 10 10

5 5 5

0 0 0 z (mm) z (mm) z (mm) −5 −5 −5

−10 −10 −10

−15 −15 −15 50 100 150 50 100 150 50 100 150 y (mm) y (mm) y (mm) (d) (e) (f)

Fig. 3. Cross sections of the measurement results for different number of wavelengths used. (a) Single wavelength (λ1). (b) Two wavelengths (λ1,2). (c) Three wavelengths (λ1−3). (d) Four wavelengths (λ1−4). (e) Five wavelengths (λ1−5). (f) Six wavelengths (λ = 1-6).

6. DISCUSSION The advantages of the proposed multiple-wavelength phase-shifting algorithm include

• Low noise. As indicated in Eq.(14), the longer wavelength phase is only used to compute the integer values pixel by pixel to unwrap the shorter wavelength phase, thus, the longer wavelength phase noise dose not significantly affect the shorter wavelength phase noise. The noise of the measurement result mostly comes from the shortest wavelength phase, thereby is very small. • Less sensitive to motion. Only the shortest wavelength phase is used to compute the geometry, the rest phases are used only as references. Therefore, the sensitivity of the measurement to motion is not drastically affected by the longer wavelength fringe images acquisition. Therefore, it is less sensitive to motion comparing with those methods capturing the same number of fringe images at the same speed. • Robust phase unwrapping. Unlike the traditional phase unwrapping algorithm, the phase is unwrapped pixel by pixel without accessing its neighboring pixels. Therefore, the unwrapping is much more robust, and less sensitive to noise. If one pixel is bad, it will not affect the rest. • Measuring arbitrary step height. The phase is obtained pixel by pixel without using its neighborhood points, there- fore, this technique measure each point independently, and any step height can be measured correctly. • Simultaneous multiple objects measurement. Because this technique is a point by point measurement, all objects (no matter connected or not) within the field of view can be measured.

In the meantime, this algorithm has its shortcomings. Since it uses multiple sets of fringe images, the complete measure- ment speed is slower than that using a single wavelength or two wavelength technique. It should be noted that, as similar

Proc. of SPIE Vol. 7432 74320N-7

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms 320th column 320th column

0.6 0.6

0.4 0.4

0.2 0.2

0 0 z (mm) z (mm) −0.2 −0.2

−0.4 −0.4

−0.6 −0.6

50 100 150 50 100 150 y (mm) y (mm) (a) (b)

Fig. 4. Comparison between the multiple-wavelength algorithm and the single wavelength algorithm (λ6 = 24). (a) The result using the multiple-wavelength approach (as shown in Fig. 3(f) (b) The result using the traditional single-wavelength phase-shifting algorithm.

(a) (b) (c) (d)

320th column 150

100

50 z (mm) 0 100 200 300 400 x (pixel) (e) (f)

Fig. 5. Step height measurement. (a) Photograph of the object. (b)-(d) Shortest wavelength (λ = 24) fringe images of I1, I2, and I3, respectively. (e) Measurement result rendered in 3D. (f) Plot of its cross section.

to other system using a digital fringe projection and phase-shifting algorithm, the sensitivity of our system depends on the system setup and the wavelength used. The major factors are: 1) camera resolution (the higher, the better); 2) projector resolution (the higher, the better); 3) camera depth bits (the more, the better); 4) Camera-projector angle (the larger, the better); and 5) shortest wavelength used (the shorter, the better).

Proc. of SPIE Vol. 7432 74320N-8

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms (a) (b)

(c) (d) Fig. 6. Measurement result of two separate objects. (a) Photograph of the objects. (b) 3D result rendered in shaded mode. (c) 3D result rendered with texture mapping. (d) 3D result rendered in shaded mode viewing fringe another viewing angle.

7. CONCLUSION This paper has presented a digital multiple-wavelength phase-shifting algorithm for 3D shape measurement. For this tech- nique, a series of phase-shifted fringe images with a wavelength decreased by a factor of 2 from its previous wavelength (λk = λk−1/2), and a single fringe for the longest wavelength covers the whole measurement area. The phase for each wavelength φk(x,y) is unwrapped by referring to the unwrapped longer wavelength phase Φk−1(x,y) pixel by pixel without accessing its neighborhood pixels. The traditional phase unwrapping algorithm is not required for the longest wavelength phase since the single fringe covers the whole area. The noise level of this multiple-wavelength phase-shifting algorithm is similar to that of a single-wavelength phase-shifting algorithm with the shortest wavelength. Moreover, because only the last set of fringe images are actually used for 3D shape reconstruction, this is less sensitive to motion. Experiments demonstrated that a six-wavelength phase-shifting algorithm can be used to measure a human face satisfactorily. In addi- tion, since the measurement is done pixel by pixel, this technique was also be used to measure multiple separate objects or arbitrary step height. Experiments have been presented to verify the performance of the proposed algorithm.

Proc. of SPIE Vol. 7432 74320N-9

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms (a) (b) (c)

(d) (e) (f) Fig. 7. Measurement result of a human face. (a) Photograph of the objects. (b)-(c) 3D result obtained by using a six-wavelength phase- shifting algorithm. (d) The phase map for the shortest wavelength (λ6 = 24) for the six-step phase-shifting algorithm. (e)-(f) 3D result obtained by unwrapping the phase map shown in (d).

REFERENCES [1] Malacara, D., ed., Optical Shop Testing, John Wiley and Songs, New York, 2007. [2] Ghiglia, D. C. and Pritt, M. D., Two-Dimensional Phase Unwrapping: Theory, Algorithms, and Software, John Wiley and Sons, Inc, 1998. [3] Creath, K., “Step height measurement using two-wavelength phase-shifting interferometry,” Appl. Opt. 26, pp. 2810– 2816, 1987. [4] Polhemus, C., “Two-wavelength interferometry,” Appl. Opt. 12, pp. 2071–2074, 1973. [5] Cheng, Y.-Y. and Wyant, J. C., “Two-wavelength phase shifting interferometry,” Appl. Opt. 23, pp. 4539–4543, 1984. [6] Onodera, R. and Ishii, Y., “Two-wavelength interferometry that uses a fourier-transform method,” Appl. Opt. 37, pp. 7988–7994, 1998. [7] Cheng, Y.-Y. and Wyant, J. C., “Multiple-wavelength phase shifting interferometry,” Appl. Opt. 24, pp. 804–807, 1985. [8] Decker, J. E., Miles, J. R., Madej, A. A., Siemsen, R. F., Siemsen, K. J., Bonth, S., Bustraan, K., Temple, S., and Pekel- sky, J. R., “Increasing the range of unambiguity in step-height measurement with multiple-wavelength interferometry- application to absolute long gauge block measurement,” Appl. Opt. 42, pp. 5670–5678, 2003. [9] Mehta, D. S., Dubey, S. K., Shakher, C., and Takeda, M., “Two-wavelength talbot effect and its application for three- dimensional step-height measurement,” Appl. Opt. 45, pp. 7602–7609, 2006.

Proc. of SPIE Vol. 7432 74320N-10

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms [10] Roy, M., Sheppard, C. J. R., Cox, G., and Hariharan, P., “White-light interference microscopy: a way to obtain high lateral resolution over an extended range of heights,” Opt. Express 14, pp. 6788–6793, 2006. [11] Warnasooriya, N. and Kim, M. K., “Led-based multi-wavelength phase imaging interference microscopy,” Opt. Ex- press 15, pp. 9239–9247, 2007. [12] Huntley, J. M. and Saldner, H. O., “Temporal phase-unwrapping algorithm for automated interferogram analysis,” Appl. Opt. 32, pp. 3047–3052, 1993. [13] Saldner, H. O. and Huntley, J. M., “Temporal phase unwrapping: Application to surface profiling of discontinuous objects,” Appl. Opt. 36, pp. 2770–2775, 1997. [14] Zhang, H., Chen, W., and Tan, Y., “Phase-unwrapping algorithm for the measurement of three-dimensional object shapes,” Appl. Opt. 33, pp. 4497–4500, 1994. [15] Saldner, H. O. and Huntley, J. M., “Profilometry by temporal phase unwrapping and spatial light modulator-based fringe projector,” Opt. Eng. 36, pp. 610–615, 1997. [16] Huntley, J. M. and Saldner, H. O., “Shape measurement by temporal phase unwrapping: Comparison of unwrapping algorithms,” Meas. Sic. Technol. 8, pp. 986–992, 1997. [17] Towers, D. P., Jones, J. D. C., and Towers, C. E., “Optimum frequency selection in multi-frequency interferometry,” Opt. Lett. 28, pp. 1–3, 2003. [18] Towers, C. E., Towers, D. P., and Jones, J. D. C., “Absolute fringe order calculation using optimised multi-frequency selection in full-field profilometry,” Opt. Laser Eng. 43, pp. 788–800, 2005. [19] Huang, P. S., Hu, Q., Jin, F., and Chiang, F. P., “Color-encoded digital fringe projection technique for high-speed three-dimensional surface contouring,” Opt. Eng. 38, pp. 1065–1071, 1999. [20] Huang, P. S., Zhang, C., and Chiang, F. P., “High-speed 3-d shape measurement based on digital fringe projection,” Opt. Eng. 42, pp. 163–168, 2003. [21] Zhang, S. and Huang, P. S., “High-resolution, real-time three-dimensional shape measurement,” Opt. Eng. 45, p. 123601, 2006. [22] Huang, P. S. and Zhang, S., “Fast three-step phase shifting algorithm,” Appl. Opt. 45, pp. 5086–5091, 2006. [23] Zhang, S. and Yau, S.-T., “High-resolution, real-time 3d absolute coordinate measurement based on a phase-shifting method,” Opt. Express 45, pp. 2644–2649, 2006. [24] Creath, K., Cheng, Y.-Y., and Wyant, J. C., “Contouring aspheric surfaces using two-wavelength phase-shifting inter- ferometry,” Opt. Acta 32, pp. 1455–1464, 1985. [25] Zhang, S. and Huang, P. S., “Novel method for structured light system calibration,” Opt. Eng. 45, p. 083601, 2006. [26] Zhang, S., Li, X., and Yau, S.-T., “Multilevel quality-guided phase unwrapping algorithm for real-time three- dimensional shape reconstruction,” Appl. Opt. 46, pp. 50–57, 2007.

Proc. of SPIE Vol. 7432 74320N-11

Downloaded From: http://proceedings.spiedigitallibrary.org/ on 11/07/2014 Terms of Use: http://spiedl.org/terms