Laser & Optoelectronics Progress, Volume. 60, Issue 8, 0811034(2023)

[in Chinese]

Hailing Hu1,3,5, Renji He1,3, Yang Chen1,3,5, Peiqing Zhang2,3,5, Xiang Shen2,3,4,5, Da Shixun2,3,5, and Baoan Song1,3,5、*
Author Affiliations
  • 1Faculty of Electrical Engineering and Computer Science, Ningbo University, Ningbo 315211, Zhejiang, China
  • 2The Research Institute of Advanced Technologies, Ningbo University, Ningbo 315211, Zhejiang, China
  • 3Key Laboratory of Photoelectric Detecting Materials and Devices of Zhejiang Province, Ningbo 315211, Zhejiang, China
  • 4Ningbo Institute of Oceanography, Ningbo University, Ningbo 315211, Zhejiang, China
  • 5Engineering Research Center for Advanced Infrared Photoelectric Materials and Devices of Zhejiang Province, Ningbo 315211, Zhejiang, China
  • show less

    A dual-frequency digital Moiré measurement method (DFDM) is proposed for the three-dimensional (3D) shape measurement of an object. The high- and low-frequency fringes are modulated separately along orthogonal direction using different carrier frequencies before being projected onto the measured object. After collecting and demodulating the composite fringe, the digital π phase shift is used to remove the DC component of the demodulated fringes, resulting in high-precision Moiré fringes for calculating the wrapped phase. The unwrapping of the high-frequency wrapped phase is guided by the low-frequency phase to further realistically reconstruct the surface of the measured object. When compared with existing single-shot digital Moiré profilometry, DFDM effectively removes the DC component of the fringe and calculates the phase more accurately.A dual-frequency digital Moiré measurement method (DFDM) is proposed for the three-dimensional (3D) shape measurement of an object. The high- and low-frequency fringes are modulated separately along orthogonal direction using different carrier frequencies before being projected onto the measured object. After collecting and demodulating the composite fringe, the digital π phase shift is used to remove the DC component of the demodulated fringes, resulting in high-precision Moiré fringes for calculating the wrapped phase. The unwrapping of the high-frequency wrapped phase is guided by the low-frequency phase to further realistically reconstruct the surface of the measured object. When compared with existing single-shot digital Moiré profilometry, DFDM effectively removes the DC component of the fringe and calculates the phase more accurately.

    1 Introduction

    Optical three-dimensional(3D)measurement technology1-4 has the advantages of noncontact,fast measurement,and high precision. It is widely used in a variety of industries,including manufacturing,biomedical systems,computer science,and archaeological exploration. With the development of on-line detection and dynamic profilometry,real-time 3D measurement has become a research hotspot5-8.

    Because only one fringe is projected,Fourier transform profilometry(FTP)is the most common and simplest real-time 3D measurement method9-12. However,the aliasing of the zero frequency component and the fundamental frequency component in filtering would limit the measurement accuracy. Phase shift profilometry(PSP)13 has high measurement accuracy,but it cannot be effectively used for real-time measurement due to the need to project multiple fringe patterns. Several improved methods for using PSP for real-time measurement have been proposed by researchers. Among these is a color phase-shift technology14-17 that combines three fixed phase-shift fringes into the R,G,and B channels to achieve a three-step phase shift profile measurement. However,it does suffer from color coupling due to spectral overlap between adjacent channels,which is easily disturbed via the color of the object surface,and it is prone to introducing unavoidable errors in the measurement process. An orthogonal composite fringe method was developed18. Each phase-shift sinusoidal fringe was modulated via different frequency sinusoidal carriers before being combined to form a composite fringe. More than three fringes were combined,and 256 gray levels were shared,with each fringe having a smaller grayscale range,resulting in low measurement accuracy and range in this method. In recent years,the digital Moiré technology has been proposed19-21,which integrates the features of FTP and PSP,with high speed and high precision. Li et al. proposed a computer-generated Moiré profilometry(CGMP)22 that collected only one deformed fringe,superimposed reference fringes,and deformed fringes with only AC components to synthesize the corresponding Moiré fringe. The wrapped phase was then calculated using the Moiré fringe. However,in the actual measurement process,the AC and DC components of the deformed fringe easily overlap in the frequency domain,making effective filtering of the DC component impossible and affecting the accuracy of CGMP. Wang et al. proposed an orthogonal modulation CGMP(OMCGMP)23 to resolve spectrum aliasing which combined two sinusoidal fringes with a fixed phase shift of π. The DC component was removed by subtracting the two fringes demodulated from the captured composite deformed fringe. It effectively removes the DC component,but it only uses one frequency fringe to calculate the phase,limiting measurement accuracy,particularly when measuring objects with discontinuous surfaces.

    A dual-frequency digital Moiré measurement method(DFDM)is proposed in this study to achieve rapid measurement of the object profile. While the DC component of the fringe is removed effectively,the measurement accuracy is improved using DFDM compared with the OMCGMP. This method’s measurement principle is clarified,and its measurement accuracy is simulated and demonstrated. Finally,the 3D shape of discontinuous objects such as a face mask is measured experimentally,and the method’s measurement accuracy is analyzed and compared.

    2 Principle of DFDM

    As shown in Fig. 1,two sinusoidal fringe patterns of high and low frequency are orthogonally modulated with two carrier fringe patterns of different frequencies,and then added together to form a composite fringe. To begin,the collected reference fringe can be expressed by projecting the composite fringe onto the reference plane:

    IR(x,y)=R(x,y)C+Dn=12cos(2πFnx)InR(x,y),n = 1,2

    Principle of fringe compounding

    Figure 1.Principle of fringe compounding

    where

    InR(x,y)=A+Bcos2πfny+φn0(x,y), n = 1,2

    R(x,y) represents the reflectivity of the reference plane;C and A represent the DC component of composite fringe and sinusoidal fringe,respectively;D and B represent the fringe contrast of composite fringe and sinusoidal fringe,respectively;Fn represents the carrier frequency and F1<F2fn represents the spatial frequency of sinusoidal fringe and f2=mf1m is a positive integer);φn0(x,y) represents the phase value caused by the reference plane.

    We demodulate Eq.(1) to obtain Eq.(3)24. If the demodulated single-frequency sinusoidal fringe still contains noise,the Butterworth filter is used to remove the noise’s influence on the subsequent calculation.

    InR0(x,y)=12R(x,y)DA+12R(x,y)DBcos2πfny+φn0(x,y), n=1,2

    The most common method for removing the DC component in Eq.(3) is to use frequency domain high-pass filtering. However,this method is not applicable when the AC and DC components of the fringe are aliased. To remove the DC component of the fringe,the digital π phase shift method is proposed. First,we locate the troughs of the fringe according to InR0(x,yi)<InR0(x,yi-1) and InR0(x,yi)<InR0(x,yi+1),and use InR0(x,yj)>InR0(x,yj-1) and InR0(x,yj)>InR0(x,yj+1) to locate the peaks of the fringe,as shown via the red points in Fig. 2(a). Then,the median points are calculated using InR0(x,yi)+InR0(x,yj)2. Because the fringe is discretized,the calculated median points may not be found on the fringe;instead,we find points near the calculated values[the initial points in Fig. 2(a)]and define these points as the initial median points. To find the median points with subpixel accuracy,the Akima interpolation method25 is used. On the given interval [yi,yi+1],if the function values Ii and Ii+1 at the two endpoints and their derivatives Ii' and Ii+1' exist,then there is a continuous function value I(y) in the given interval.

    I(y)=a+b(y-yi)+c(y-yi)2+d(y-yi)3

    Principle of digital π phase shift. (a) Median points before and after interpolation; (b) symmetry transform and remove DC component

    Figure 2.Principle of digital π phase shift. (a) Median points before and after interpolation; (b) symmetry transform and remove DC component

    where

    a=Iib=tic=[3(Ii+1-Ii)/(yi+1-yi)-2ti-2ti+1]/(yi+1-yi)d=[ti+ti+1-2(Ii+1-Ii)/(yi+1-yi)]/(yi+1-yi)2

    where ti and ti+1 are the slopes at yi and yi+1,respectively,and I(y) is the fringe intensity value with subpixel accuracy. Using Eqs.(4)and(5),interpolation is performed in the range of two points on the left and right sides of the initial median point,and the nearest point to the initial median point is found from the interpolated points to be the exact median point[the exact median points in Fig. 2(a)]. Lastly,using linear interpolation,these exact median points are used to create the center line,and a symmetric transformation is performed about the center line for InR0(x,y),as shown in Fig. 2(b),we can get

    InRπ(x,y)=12R(x,y)DA+12R(x,y)DBcos2πfny+φn0(x,y)+π

    Eqs.(3)and(6)are subtracted to obtain the AC component of reference fringe I˜nR0(x,y),as shown in Fig. 2(b):

    I˜nR0(x,y)=InR0(x,y)-InRπ(x,y)=R(x,y)DBcos[2πfny+φn0(x,y)].

    Eq.(7) is transformed using the Hilbert transformation principle to obtain

    I˜nRπ2(x,y)=R(x,y)DBcos2πfny+φn0(x,y)+π2

    the obtained AC component fringe patterns,I˜nR0(x,y) and I˜nRπ2(x,y),are stored in the computer.

    The composite fringe is then projected onto the measured object,and the deformed composite fringe is collected:

    IO(x,y)=R'(x,y)C+Dn=12cos(2πFnx)InO(x,y)n =1,2,

    where

    InO(x,y)=A+Bcos2πfny+φn(x,y)n = 1,2,

    R'(x,y) represents the reflectivity of the object surface;φn(x,y) represents the phase value caused by the reference plane and the height of the object. We demodulate Eq.(9) and then use the digital π phase shift to remove the DC from the demodulated fringe. The AC component of the deformed fringe obtained can be expressed as

    I˜nO0(x,y)=R'(x,y)DBcos2πfny+φn(x,y)

    Moiré fringes are calculated using I˜nR0(x,y)I˜nRπ2(x,y),and I˜nO0(x,y)22

    InMoire0(x,y)=12R(x,y)R'(x,y)B2D2cosφn(x,y)-φn0(x,y)n = 1,2,
    InMoireπ2(x,y)=12R(x,y)R'(x,y)B2D2sinφn(x,y)-φn0(x,y)n = 1,2,

    the ratios of Eqs.(12)and(13)are just the tangent of the modulated phase,and they can be expressed as

    φn(x,y)-φn0(x,y)=arctanInMoireπ2InMoire0

    where φn(x,y)-φn0(x,y) is calculated from the arctangent function,and its range is from -π to π,thus a phase unwrapping algorithm is required to obtain a continuous phase. Let φL(x,y)=φ1(x,y)-φ10(x,y) the low-frequency wrapping phase be indicated,φH(x,y)=φ2(x,y)-φ20(x,y) and the high-frequency wrapping phase be indicated. φL(x,y) can use the spatial approach to obtain a continuous phase ϕL(x,y). Eq.(15)26-27 can be used to calculate the high-frequency unwrapped phase.

    ϕH(x,y)=2πINTmϕL(x,y)-φH(x,y)2π+φH(x,y)

    where INT() is the unsigned rounding operator and m=f2/f1. The phase-to-height relationship28 shown in Eq.(16) can be used to calculate 3D reconstruction.

    1h(x,y)=a1(x,y)+a2(x,y)1ϕh(x,y)+a3(x,y)1ϕh(x,y)2

    where h(x,y) represents the height of the measured object and a1(x,y)a2(x,y),and a3(x,y) are system parameters obtained via calibration.

    3 Simulation and analysis

    The simulation generated a “crown ball” with a height of 60 mm,as shown in Fig. 3(a). The modulation frequencies of the two sinusoidal fringes are f1=1/16 pixel and f2=1/4 pixel,the two carrier frequencies are F1=1/12 pixel and F2=1/4 pixel. Fig. 3(b)is the deformed fringe of the DFDM,and the image size is 512 pixel×512 pixel. Fig. 3(c)shows the corresponding spectrum distribution.Fig. 3(d)andFig. 3(e)show low- and high-frequency sinusoidal fringes extracted from the composite deformed fringe,respectively using Filters 1 and 2. The digital π phase shift is used to remove the DC component of the fringe shown in Figs. 3(d)and3(e)to generate high-precision Moiré fringe. Figs.3(f)and3(g)are two high-frequency digital Moiré fringe patterns with a phase difference of π/2 generated via calculation,respectively. The reconstructed result of the “crown ball” using DFDM is shown in Fig. 3(h),with a root mean square error(RMSE)of 0.0618 mm. To demonstrate the efficacy of digital π phase shift in DFDM,deformed fringe patterns with various frequencies are simulated,and the corresponding spectrum distribution is shown in Fig. 4(a1)-(d1). The AC and DC components of the fringe change from separate to aliasing as the frequency of the fringe decreases. The spectrum distribution after removing the DC component using digital π phase shift is shown in Fig. 4(a2)-(d2). Results show that digital digital π phase shift can effectively remove the DC component not only when the AC and DC are not aliased but also when they are.

    Simulation of DFDM. (a) Measured object; (b) deformed composite fringe; (c) spectrum distribution; (d) low-frequency deformed fringe extracted via Filter 1; (e) high-frequency deformed fringe extracted via Filter 2; (f) extracted high-frequency Moiré fringe (sine); (g) extracted high-frequency Moiré fringe (cosine); (h) reconstructed result

    Figure 3.Simulation of DFDM. (a) Measured object; (b) deformed composite fringe; (c) spectrum distribution; (d) low-frequency deformed fringe extracted via Filter 1; (e) high-frequency deformed fringe extracted via Filter 2; (f) extracted high-frequency Moiré fringe (sine); (g) extracted high-frequency Moiré fringe (cosine); (h) reconstructed result

    Spectrum analysis. (a1)-(d1) Spectrum distribution of different frequency fringes; (a2)-(d2) spectrum distribution after removing the DC of Fig. 4 (a1)-(d1)

    Figure 4.Spectrum analysis. (a1)-(d1) Spectrum distribution of different frequency fringes; (a2)-(d2) spectrum distribution after removing the DC of Fig. 4 (a1)-(d1)

    4 Experimental results and analysis

    The 3D shapes of objects were measured. The composite fringe is generated via calculation according to the DFDM principle. The two modulation frequencies are f1=1/32 pixel and f2=1/16 pixel,respectively. The two carrier frequencies are F1=1/24 pixel and F2=1/12 pixel,respectively. The deformed composite fringe pattern collected using the camera MVC1000MF is shown in Fig. 5(a)after projecting the composite fringe onto the “face mask” by using the View Sonic PLED-W200 projector.Fig. 5(b)depicts the spectrum of a deformed composite fringe. Figs.5(c)and5(d)show the low- and high-frequency deformed fringes obtained using Filter 1 and Filter 2,respectively. In the frequency domain,the AC and DC components of low-frequency deformed fringes are more likely to overlap. Using digital π phase shift,the spectrum distribution after removing the DC component in Fig. 5(c)is shown inFig. 5(e),which effectively removes the DC component. It is possible to extract the two high-frequency digital Moiré fringes shown in Figs.5(f)and5(g),which reflect the sine and cosine of phase only modulated by the “face mask” respectively.Fig. 5(h)is a reconstructed measured object. The outcome demonstrates that the “face mask” is accurately reconstructed and retains the majority of the surface detail.

    Experiment of DFDM. (a) Deformed composite fringe; (b) spectrum distribution; (c) low-frequency deformed fringe extracted via Filter 1; (d) high-frequency deformed fringe extracted via Filter 2; (e) spectrum distribution of AC component in Fig. 6(c); (f) extracted high-frequency Moiré fringe (sine); (g) extracted high-frequency Moiré fringe (cosine); (h) reconstructed face mask

    Figure 5.Experiment of DFDM. (a) Deformed composite fringe; (b) spectrum distribution; (c) low-frequency deformed fringe extracted via Filter 1; (d) high-frequency deformed fringe extracted via Filter 2; (e) spectrum distribution of AC component in Fig. 6(c); (f) extracted high-frequency Moiré fringe (sine); (g) extracted high-frequency Moiré fringe (cosine); (h) reconstructed face mask

    The accuracy of DFDM and OMCGMP in measuring the same “face mask” is compared and analyzed experimentally. When the object is measured by OMCGMP,two fringes with the same frequency and π phase difference are orthogonally combined,and the two sinusoidal deformed fringes are subtracted to remove the DC component of sinusoidal fringes while retaining only the AC component. The frequency of the projection fringe is greater in the same experimental environment and equipment,and the reconstructed surface is finer. However,phase unwrapping may be incomplete. A lower frequency is usually chosen to correctly unwrap the phase,but the lower frequency is difficult to ensure accuracy. Thus,most details on the reconstructed 3D object surface are blurred. The high- and low-frequency fringes are combined in DFDM,and the temporal approach is used to unwrap the high-frequency wrapped phase,ensuring high object reconstruction accuracy. Figs. 6(a1)and(a2)are the low- and high-frequency deformed composite fringe obtained by OMCGMP,respectively. The deformed composite fringe pattern obtained by DFDM is shown inFig. 6(b).Figs. 6(c1)and(c2)illustrate the reconstruction results using OMCGMP at low- and high-frequency,respectively. It can be seen that the low-frequency fringe measurement accuracy is low,and the high-frequency fringe phase unwrapping is incorrect. By contrast,the phase at high-frequency was unwrapped correctly using DFDM,as shown inFig. 6(d). Table 1 compares the number of fringe patterns collected and measurement error by the two methods under the assumption of complete object contour reconstruction. It can be seen that DFDM only needs one reference fringe pattern,and it takes less time in the preparation part. Taking the object reconstructed using the high-precision 16-PSP as the reference standard,the RMSE of the OMCGMP and DFDM is 0.1694 mm and 0.0737 mm,respectively. The cutaway views of the 240th row,406th row,and 350th column of Figs.6(c1)and6(d),and the reconstruction result obtained by 16-PSP are shown inFig. 7(a)-(c). The DFDM curve is significantly more similar to the 16-PSP curve than the OMCGMP curve. The outcome demonstrates that DFDM is more accurate than OMCGMP. At the same time,when compared with the 16-PSP,objects measured by DFDM require one deformed fringe to be captured,and the measurement speed is fast.

    Comparison of results obtained by OMCGMP and DFDM. (a1) Deformed pattern using OMCGMP at low-frequency; (a2) deformed pattern using OMCGMP at high-frequency; (b) deformed pattern using DFDM; (c1) reconstructed result using OMCGMP at low-frequency; (c2) reconstructed result using OMCGMP at high-frequency; (d) reconstructed result using DFDM

    Figure 6.Comparison of results obtained by OMCGMP and DFDM. (a1) Deformed pattern using OMCGMP at low-frequency; (a2) deformed pattern using OMCGMP at high-frequency; (b) deformed pattern using DFDM; (c1) reconstructed result using OMCGMP at low-frequency; (c2) reconstructed result using OMCGMP at high-frequency; (d) reconstructed result using DFDM

    • Table 1. Experimental comparison results between OMCGMP and DFDM

      Table 1. Experimental comparison results between OMCGMP and DFDM

      MethodReference fringe patternDeformed fringe patternRMSE /mm
      OMCGMP410.1694
      DFDM110.0737

    Error analysis of results measured using OMCGMP and DFDM. (a) Cutaway view at line 240 with Figs. 6(c1) and 6(d), and the reconstructed result obtained by 16-PSP; (b) cutaway view at line 406 with Figs. 6(c1) and 6(d), and the reconstructed result obtained by 16-PSP; (c) cutaway view at column 350 with Figs. 6(c1) and 6(d), and the reconstructed result obtained by 16-PSP

    Figure 7.Error analysis of results measured using OMCGMP and DFDM. (a) Cutaway view at line 240 with Figs. 6(c1) and 6(d), and the reconstructed result obtained by 16-PSP; (b) cutaway view at line 406 with Figs. 6(c1) and 6(d), and the reconstructed result obtained by 16-PSP; (c) cutaway view at column 350 with Figs. 6(c1) and 6(d), and the reconstructed result obtained by 16-PSP

    Furthermore,space-isolated objects(“dolphin model” on the left and “fish model” on the right)are measured to validate the method’s ability to measure discontinuous objects. Fig. 8(a)depicts the deformed fringe,whereasFig. 8(b)depicts the reconstructed measured object. The results demonstrate that these models can be successfully reconstructed using DFDM. Similarly,using the object shape reconstructed via 16-PSP as a reference,the cutaway view at line 345 of the DFDM and 16-PSP space-isolated object reconstruction results is shown inFig. 8(c). The similarity of the DFDM curve to the 16-PSP curve demonstrates the accuracy with which the 3D forms of several spatially independent objects are measured.

    Results of space-isolated objects reconstructed using DFDM. (a) Deformed composite pattern of space-isolated objects; (b) reconstructed result of Fig. 8(a); (c) cutaway view at line 345 with Fig. 8 (b) and the reconstructed result obtained by 16-PSP

    Figure 8.Results of space-isolated objects reconstructed using DFDM. (a) Deformed composite pattern of space-isolated objects; (b) reconstructed result of Fig. 8(a); (c) cutaway view at line 345 with Fig. 8 (b) and the reconstructed result obtained by 16-PSP

    5 Conclusions

    The DFDM is proposed for 3D object shape measurement. Digital π phase shift is used to remove the DC component of the fringe. Whether the AC or DC components of the fringe are aliased,the DC component can be removed well,ensuring Moiré fringe accuracy. At the same time,dual-frequency Moiré fringes can be used to obtain the phase more precisely,improving the object’s measurement accuracy. The RMSE of DFDM is 0.0618 mm,according to the results of the simulated reconstruction of the“crown ball.” In the experiment,the measurement of the “face mask” is carried out. The result shows that the RMSE of high-accuracy DFDM is only 0.0737 mm,which is significantly less than the RMSE of OMCGMP,with 0.1694 mm. Simultaneously,DFDM is used to assess the “dolphin model” and “fish model”. The measurement results are remarkably similar to those obtained using 16-PSP,demonstrating the efficacy of DFDM even more. DFDM reconstructs objects with only one deformed fringe,which has broader application prospects in the field of real-time 3D shape measurement.

    [2] Yan F, Qi J, Liu Y P et al. Three-dimensional measurement method of binary coded fringe focusing projection[J]. Acta Optica Sinica, 42, 2212002(2022).

    [4] Liu L, Xi D D, Chen Z J et al. Three-dimensional shape measurement based on hybrid dual-frequency fringe projection[J]. Laser & Optoelectronics Progress, 58, 1212001(2021).

    Tools

    Get Citation

    Copy Citation Text

    Hailing Hu, Renji He, Yang Chen, Peiqing Zhang, Xiang Shen, Da Shixun, Baoan Song. [J]. Laser & Optoelectronics Progress, 2023, 60(8): 0811034

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Imaging Systems

    Received: Sep. 30, 2022

    Accepted: Oct. 24, 2022

    Published Online: Apr. 13, 2023

    The Author Email: Song Baoan (songbaoan@nbu.edu.cn)

    DOI:10.3788/LOP222658

    Topics