留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

Enhanced Gray-code method for three-dimensional shape measurement

Liu Lu Xi Dongdong Cheng Lei Wang Yuwei Cai Bolin Zhou Huiyu

刘路, 奚冬冬, 程磊, 王玉伟, 蔡柏林, 周挥宇. 改进格雷码条纹投影三维测量方法[J]. 红外与激光工程, 2020, 49(11): 20200314. doi: 10.3788/IRLA20200314
引用本文: 刘路, 奚冬冬, 程磊, 王玉伟, 蔡柏林, 周挥宇. 改进格雷码条纹投影三维测量方法[J]. 红外与激光工程, 2020, 49(11): 20200314. doi: 10.3788/IRLA20200314
Liu Lu, Xi Dongdong, Cheng Lei, Wang Yuwei, Cai Bolin, Zhou Huiyu. Enhanced Gray-code method for three-dimensional shape measurement[J]. Infrared and Laser Engineering, 2020, 49(11): 20200314. doi: 10.3788/IRLA20200314
Citation: Liu Lu, Xi Dongdong, Cheng Lei, Wang Yuwei, Cai Bolin, Zhou Huiyu. Enhanced Gray-code method for three-dimensional shape measurement[J]. Infrared and Laser Engineering, 2020, 49(11): 20200314. doi: 10.3788/IRLA20200314

改进格雷码条纹投影三维测量方法

doi: 10.3788/IRLA20200314
详细信息
  • 中图分类号: TP391

Enhanced Gray-code method for three-dimensional shape measurement

More Information
    Author Bio:

    刘路(1988-),男,讲师,博士,主要从事非相干数字全息方面的研究。Email:vliulu@ahau.edu.cn

    Corresponding author: 蔡柏林(1991-),男,讲师,博士,主要从事数字全息、光电检测方面的研究。Email:cbl37@mail.ustc.edu.cn
  • 摘要: 传统的格雷码加相移法已经广泛应用于三维测量,但是相位解包裹一般需要投影多幅格雷码条纹,如何实现快速、准确的三维测量仍具有一定挑战性。提出了一种基于几何约束的改进格雷码条纹投影三维测量方法,可以有效减少格雷码条纹的数量。为了实现高速条纹投影,使用二值抖动技术将8位正弦相移条纹转换为1位二值图像。总共使用六幅条纹图像,其中三幅相移条纹用于计算截断相位,三幅格雷码条纹用于对截断相位进行初步展开获得伪展开相位,最后利用几何约束对伪展开相位进行解包裹获得绝对相位。实验结果表明,所提方法可以有效地重建被测物体的三维形貌。
  • Figure  1.  Obtainment of fringe order ${K_V}$

    Figure  2.  Principle of conventional Gray-code plus phase-shifting approach

    Figure  3.  Principle of using ${\varPhi _{{\rm{min}}}}$ to unwrap $\varPhi $(${\varPhi _A}$ denotes the actual absolute phase, while $\varPhi $ denotes the recovered absolute phase)

    Figure  4.  Patterns of enhanced GC approach. (a)-(c) Phase-shifting dithered patterns; (d)-(f) GC patterns with M cycles

    Figure  5.  Cross sections of wrapped phase $\phi (x,y)$, cyclic fringe order ${K_V}$

    Figure  6.  Fundamental idea of employing ${\varPhi _{\min }}$ for unwrapping ${\varPhi _P}$

    Figure  7.  Images of the sphere. (a) Sinusoidal fringe pattern; (b) GC pattern; (c) Wrapped phase map; (d) Fringe order map; (e) Pseudo unwrapped phase map; (f) Minimum phase map; (g) Unwrapped phase map; (h) Absolute phase map

    Figure  8.  Reconstructed 3D shapes of a sphere. (a) Conventional geometric constraint method; (b) Proposed method; (c) Cross-sections of (a) and (b)

    Figure  9.  Reconstructed 3D shapes of the Doraemon sculpture. (a) Conventional GC method using three sinusoidal fringe patterns with T=114 pixels and three GC patterns; (b) Conventional GC method using three sinusoidal fringe patterns with T=21 pixels and six GC patterns; (c) Proposed method using three sinusoidal fringe patterns with T=21 pixels and three GC patterns; (d)-(f) Cross-sections of (a)-(c)

    Figure  10.  Reconstructed 3D shape of two isolated sculptures

  • [1] Su X, Zhang Q. Dynamic 3-D shape measurement method: A review [J]. Optics and Lasers in Engineering, 2010, 48(2): 191-204. doi:  10.1016/j.optlaseng.2009.03.012
    [2] Weng S, Zhu W, Zhang X, et al. Recent advances in Raman technology with applications in agriculture, food and biosystems: A review [J]. Artificial Intelligence in Agriculture, 2019, 3(9): 1-10.
    [3] Deng J, Li J, Feng H, et al. Omnidirectional depth segmentation using orthogonal fringe patterns and multi-scale enhancement [J]. Optics and Lasers in Engineering, 2019, 126: 105890.
    [4] Lu L, Xi J, Yu Y, et al. New approach to improve the accuracy of 3-D shape measurement of moving object using phase shifting profilometry [J]. Optics Express, 2013, 21(25): 30610-30622. doi:  10.1364/OE.21.030610
    [5] Su X, Chen W. Fourier transform profilometry: A review [J]. Optics and Lasers in Engineering, 2001, 35(5): 263-284. doi:  10.1016/S0143-8166(01)00023-9
    [6] Zuo C, Feng S, Huang L, et al. Phase shifting algorithms for fringe projection profilometry: A review [J]. Optics and Lasers in Engineering, 2018, 109: 23-59. doi:  10.1016/j.optlaseng.2018.04.019
    [7] Su X, Chen W. Reliability-guided phase unwrapping algorithm: a review [J]. Optics & Lasers in Engineering, 2004, 42(3): 245-261.
    [8] Yang X, Zeng C, Luo J, et al. Absolute phase retrieval using one coded pattern and geometric constraints of fringe projection system [J]. Applied Sciences, 2018, 8(12): 8122673. doi:  10.3390/app8122673
    [9] Han X, Wang L, Fu Y. Phase unwrapping method based on dual-frequency heterodyne combined with phase encoding [J]. Infrared and Laser Engineering, 2019, 48(9): 0913003. (in Chinese doi:  10.3788/IRLA201948.0913003
    [10] Wang Y, Chen X, Wang Y. Modified dual-frequency geometric constraint fringe projection for 3D shape measurement [J]. Infrared and Laser Engineering, 2020, 49(6): 20200049. (in Chinese doi:  10.3788/IRLA20200049
    [11] Li B, Wu H, Zhang J, et al. 3D shape measurement method combining sinusoidal pulse width modulation fringe with phase coding fringe [J]. Infrared and Laser Engineering, 2016, 45(6): 0617006. (in Chinese doi:  10.3788/irla201645.0617006
    [12] Wang Y, Liu L, Wu J, et al. Enhanced phase-coding method for three-dimensional shape measurement with half-period codeword [J]. Applied Optics, 2019, 58(27): 7359-7366. doi:  10.1364/AO.58.007359
    [13] Sansoni G, Carocci M, Rodella R, et al. Three-dimensional vision based on a combination of gray-code and phase-shift light projection: analysis and compensation of the systematic errors [J]. Applied Optics, 1999, 38(31): 6565-6573. doi:  10.1364/AO.38.006565
    [14] Wang Y, Liu L, Wu J, et al. Spatial binary coding method for stripe-wise phase unwrapping [J]. Applied Optics, 2020, 59(14): 4279-4285. doi:  10.1364/AO.391387
    [15] Zhang Q, Su X, Xiang L, et al. 3-D shape measurement based on complementary Gray-code light [J]. Optics and Lasers in Engineering, 2012, 50(4): 574-579. doi:  10.1016/j.optlaseng.2011.06.024
    [16] Yu S, Zhang J, Yu X, et al. Unequal-period combination approach of gray code and phase-shifting for 3-D visual measurement [J]. Optics Communications, 2016, 374: 97-106. doi:  10.1016/j.optcom.2016.04.042
    [17] Wang Y, Zhang S, Oliver J H, et al. 3D shape measurement technique for multiple rapidly moving objects [J]. Optics Express, 2011, 19(9): 8539-8545. doi:  10.1364/OE.19.008539
    [18] Wu Z, Zuo C, Guo W, et al. High-speed three-dimensional shape measurement based on cyclic complementary Gray-code light [J]. Optics Express, 2019, 27(2): 1283-1297. doi:  10.1364/OE.27.001283
    [19] Wu Z, Guo W, Zhang Q. High-speed three-dimensional shape measurement based on shifting Gray-code light [J]. Optics Express, 2019, 27(16): 22631-22644. doi:  10.1364/OE.27.022631
    [20] Zheng D, Kemao Q, Da F, et al. Ternary Gray code-based phase unwrapping for 3D measurement using binary patterns with projector defocusing [J]. Applied Optics, 2017, 56(13): 3660-3665. doi:  10.1364/AO.56.003660
    [21] He X, Zheng D, Qian K, et al. Quaternary gray-code phase unwrapping for binary fringe projection profilometry [J]. Optics and Lasers in Engineering, 2019, 121: 358-368. doi:  10.1016/j.optlaseng.2019.04.009
    [22] An Y, Hyun J S, Zhang S. Pixel-wise absolute phase unwrapping using geometric constraints of structured light system [J]. Optics Express, 2016, 24(16): 18445-18459. doi:  10.1364/OE.24.018445
    [23] Wang Y, Zhang S. Three-dimensional shape measurement with binary dithered patterns [J]. Applied Optics, 2012, 51(27): 6631-6636. doi:  10.1364/AO.51.006631
    [24] Li B, Wang Y, Dai J, et al. Some recent advances on superfast 3D shape measurement with digital binary defocusing techniques [J]. Optics and Lasers in Engineering, 2014, 54(4): 236-246.
  • [1] 徐瑞书, 罗笑南, 沈瑶琼, 郭创为, 张文涛, 管钰晴, 傅云霞, 雷李华.  基于改进U-Net网络的相位解包裹技术研究 . 红外与激光工程, 2024, 53(2): 20230564-1-20230564-14. doi: 10.3788/IRLA20230564
    [2] 张宗华, 李雁玲, 高峰, 高楠, 孟召宗, 蒋向前.  面向结构光三维测量的相位展开技术综述(特邀) . 红外与激光工程, 2023, 52(8): 20230126-1-20230126-23. doi: 10.3788/IRLA20230126
    [3] 刘飞, 罗惠方, 江翰立, 张茵楠, 严谨.  改进的三频三步相移结构光三维重建方法 . 红外与激光工程, 2022, 51(4): 20210179-1-20210179-9. doi: 10.3788/IRLA20210179
    [4] Fu Yanjun, Cai Xiaoqi, Zhong Kejun, Ma Baiheng, Yan Zhanjun.  Method for phase-height mapping calibration based on fringe projection profilometry . 红外与激光工程, 2022, 51(4): 20210403-1-20210403-9. doi: 10.3788/IRLA20210403
    [5] 于淼, 孙铭阳, 张耀鲁, 何禹潼, 郑志丰.  相位敏感光时域反射系统相位模糊及解卷绕 . 红外与激光工程, 2021, 50(5): 20200437-1-20200437-8. doi: 10.3788/IRLA20200437
    [6] Wang Yichao, Zhang Zheng, Huang Haizhou, Lin Wenxiong.  Particle auto-statistics and measurement of the spherical powder for 3D printing based on deep learning . 红外与激光工程, 2021, 50(10): 2021G004-1-2021G004-10. doi: 10.3788/IRLA2021G004
    [7] 伏燕军, 韩勇华, 陈元, 张鹏飞, 桂建楠, 钟可君, 黄采敏.  基于相位编码的三维测量技术研究进展 . 红外与激光工程, 2020, 49(3): 0303010-0303010-15. doi: 10.3788/IRLA202049.0303010
    [8] 宋晓凤, 李居朋, 陈后金, 李丰, 万成凯.  多场景下结构光三维测量激光中心线提取方法 . 红外与激光工程, 2020, 49(1): 0113004-0113004(8). doi: 10.3788/IRLA202049.0113004
    [9] 赵洋, 傅佳安, 于浩天, 韩静, 郑东亮.  深度学习精确相位获取的离焦投影三维测量 . 红外与激光工程, 2020, 49(7): 20200012-1-20200012-8. doi: 10.3788/IRLA20200012
    [10] 李红梅, 曹益平, 王亚品, 王璐, 李城梦, 安海华, 徐财.  基于灰度拓展复合光栅的单帧三维测量方法 . 红外与激光工程, 2020, 49(6): 20200034-1-20200034-8. doi: 10.3788/IRLA20200034
    [11] 张钊, 韩博文, 于浩天, 张毅, 郑东亮, 韩静.  多阶段深度学习单帧条纹投影三维测量方法 . 红外与激光工程, 2020, 49(6): 20200023-1-20200023-8. doi: 10.3788/IRLA20200023
    [12] 钟锦鑫, 尹维, 冯世杰, 陈钱, 左超.  基于深度学习的散斑投影轮廓术 . 红外与激光工程, 2020, 49(6): 20200011-1-20200011-11. doi: 10.3788/IRLA20200011
    [13] 邢妍, 王琼华.  集成成像3D信息获取技术 . 红外与激光工程, 2020, 49(3): 0303003-0303003-12. doi: 10.3788/IRLA202049.0303003
    [14] 左超, 张晓磊, 胡岩, 尹维, 沈德同, 钟锦鑫, 郑晶, 陈钱.  3D真的来了吗?— 三维结构光传感器漫谈 . 红外与激光工程, 2020, 49(3): 0303001-0303001-45. doi: 10.3788/IRLA202049.0303001
    [15] 王玉伟, 陈向成, 王亚军.  改进的双频几何约束条纹投影三维测量方法 . 红外与激光工程, 2020, 49(6): 20200049-1-20200049-7. doi: 10.3788/IRLA20200049
    [16] 韩旭, 王霖, 伏燕军.  双频外差结合相位编码的相位解包裹方法 . 红外与激光工程, 2019, 48(9): 913003-0913003(8). doi: 10.3788/IRLA201948.0913003
    [17] 鹿丰, 吴成东, 贾同, 闻时光.  基于两类阶梯模式的相位展开 . 红外与激光工程, 2018, 47(8): 826002-0826002(8). doi: 10.3788/IRLA201847.0826002
    [18] 郭丽丽, 李丽娟, 侯茂盛, 林雪竹.  智能激光3D投影空间定位精度分析 . 红外与激光工程, 2018, 47(8): 806006-0806006(9). doi: 10.3788/IRLA201847.0806006
    [19] 王鹏, 史瑞泽, 钟小峰, 孙长库.  基于双线投影与线面约束的3D扫描测量系统研究 . 红外与激光工程, 2017, 46(4): 427001-0427001(7). doi: 10.3788/IRLA201746.0427001
    [20] 李博, 马锁冬.  使用区域重构技术的路径无关相位解包方法 . 红外与激光工程, 2016, 45(2): 229006-0229006(9). doi: 10.3788/IRLA201645.0229006
  • 加载中
图(10)
计量
  • 文章访问数:  644
  • HTML全文浏览量:  111
  • PDF下载量:  67
  • 被引次数: 0
出版历程
  • 收稿日期:  2020-08-26
  • 修回日期:  2020-09-29
  • 刊出日期:  2020-11-25

Enhanced Gray-code method for three-dimensional shape measurement

doi: 10.3788/IRLA20200314
    作者简介:

    刘路(1988-),男,讲师,博士,主要从事非相干数字全息方面的研究。Email:vliulu@ahau.edu.cn

    通讯作者: 蔡柏林(1991-),男,讲师,博士,主要从事数字全息、光电检测方面的研究。Email:cbl37@mail.ustc.edu.cn
  • 中图分类号: TP391

摘要: 传统的格雷码加相移法已经广泛应用于三维测量,但是相位解包裹一般需要投影多幅格雷码条纹,如何实现快速、准确的三维测量仍具有一定挑战性。提出了一种基于几何约束的改进格雷码条纹投影三维测量方法,可以有效减少格雷码条纹的数量。为了实现高速条纹投影,使用二值抖动技术将8位正弦相移条纹转换为1位二值图像。总共使用六幅条纹图像,其中三幅相移条纹用于计算截断相位,三幅格雷码条纹用于对截断相位进行初步展开获得伪展开相位,最后利用几何约束对伪展开相位进行解包裹获得绝对相位。实验结果表明,所提方法可以有效地重建被测物体的三维形貌。

English Abstract

    • Optical measurement techniques have been employed in multiple areas, including industrial inspection, agricultural engineering, and intelligent manufacturing[1-3]. Recently, those techniques have been broadly applied in three-dimensional shape measurement. Among them, digital fringe projection (DFP) has drawn significant attention due to its speed, precision, and flexibility[4]. A projector can be employed to project fringe patterns onto the measured object, while the deformed patterns can be captured using the camera from the other orientation. Finally, a fringe analysis algorithm is applied for recovering the 3D shape of the measured objects. Fourier transform[5] and phase-shifting[6] are known as two fundamental fringe analysis techniques. The Fourier transform algorithm only utilizes one fringe pattern for phase retrieval; however, it is inefficient in the case of objects with sharp edges, sudden changes, and non-uniform surface reflectivity. The phase-shifting algorithm using multiple patterns is much more robust in 3D shape reconstruction. However, because both algorithms use an arctangent function, the obtained phase is wrapped in the range of $( - \pi ,\pi ]$ with $2\pi $ discontinuities. Therefore, a phase unwrapping process is inevitably to retrieve the absolute phase.

      Many frequently used phase unwrapping operations are available, which can be broadly classified into spatial methods[7] and temporal methods[8]. In the spatial method, the $2\pi $ discontinuities are removed without projecting any additional patterns, thus lacking of robustness to unwrap all pixels. Phase unwrapping operator per pixel in the temporal method improves its stability when measuring complex surfaces or isolated objects, though more than one pattern is required. Temporal methods mainly include multi-frequency [9-10], phase-coding[11-13] and Gray-code (GC)[14-15] etc., where GC method can robustly identify fringe order of the wrapped phase by projecting a set of binary GC patterns. However, because of the random noise and the defocus effect, the boundaries of two adjacent binary GC values are not sharply cut-off, leading to some errors in phase unwrapping. To overcome this challenge, Zhang et al.[15] developed a complementary GC approach to remove phase unwrapping errors at the cost of projecting and capturing an additional GC pattern. Yu et al.[16] proposed an approach to optimize the GC encoding period and phase-shifting fringe period to avoid incorrect code orders and decoding errors. With the development of binary defocusing techniques, a dynamic 3D shape measurement has now become possible. However, this technique has a drawback when objects are moving rapidly, and the motion-induced errors may cause phase wrapping failure. To this end, Wu et al.[17] combined the conventional spatial phase unwrapping method with the GC method to alleviate the phase unwrapping errors due to the motion. Wu et al.[18] proposed a cyclic complementary GC method based on the complementary GC method and a new cyclic coding strategy, which can effectively improve the measurement depth range and accuracy. Subsequently, the shifting GC coding strategy[19] is employed to reduce the phase unwrapping errors at the codewords edge and has been proven successful for high-speed dynamic 3D shape measurement. Although the GC method is widely used for phase unwrapping, it has its own drawbacks. For example, simultaneously performing a fast and accurate measurement remains challenging because multiple GC patterns need to be projected and captured. To this end, ternary GC[20] and quaternary GC[21] methods have been introduced to reduce the number of required GC patterns without sacrificing measuring accuracy. For fringe patterns with n periods, the ternary GC method requires ${\log _3}n$ GC patterns, whereas the quaternary GC method requires ${\log _4}n$ patterns.

      This paper developed an enhanced GC method based on the geometric constraint method. Three GC patterns with $M$ cycles are used for phase unwrapping of $8M$ fringe periods, where the wrapped phase is firstly obtained with the phase-shifting algorithm, and a cyclic fringe order ${K_V}$ with $M$ cycles is obtained from the three GC patterns. Then, the wrapped phase is unwrapped to a pseudo unwrapped phase using ${K_V}$. The pseudo unwrapped phase is further unwrapped to the absolute phase by considering the minimum phase map, obtained through the geometric constraint method[22]. The experiments clarify that the enhanced GC approach can reliably recover the 3D shape of measured objects.

      The rest of this paper is organized as the following: Section 1 introduces the principle of the presented approach. Section 2 provides the experiments to evaluate the accuracy of the presented approach. In Section 3, the study is summarized and concluded.

    • The phase-shifting algorithm has shown good performance in the field of optical metrology, owing to its no-contact feature, high accuracy, and high speed. Therefore, we use the three-step phase-shifting algorithm for phase recovery to evaluate the efficiency of the presented method. The fringe patterns can be mathematically defined in Eqs.(1)-(3):

      $${I_1}(x,y) = I'(x,y) + I''(x,y)\cos \left[ {\phi (x,y) - 2\pi /3} \right]$$ (1)
      $${I_2}(x,y) = I'(x,y) + I''(x,y)\cos \left[ {\phi (x,y)} \right]$$ (2)
      $${I_3}(x,y) = I'(x,y) + I''(x,y)\cos \left[ {\phi (x,y) + 2\pi /3} \right]$$ (3)

      where, $I'(x,y)$ and $I''(x,y)$ represent the average intensity of the fringe imagen and the intensity modulation, respectively; $\phi (x,y)$ is the wrapped phase. Under the given ${I_1}$, ${I_2}$ and ${I_3}$, Eqs. (1)-(3) can be rewritten as:

      $$I'(x,y) = \frac{1}{3}({I_1} + {I_2} + {I_3})$$ (4)
      $$I''(x,y) = \frac{1}{3}\sqrt {3{{({I_1} - {I_3})}^2} + {{(2{I_2} - {I_1} - {I_3})}^{\rm{2}}}} $$ (5)
      $$\phi (x,y) = {\arctan { }}\left( {\frac{{\sqrt 3 ({I_1} - {I_3})}}{{2{I_2} - {I_1} - {I_3}}}} \right)$$ (6)

      In the Eq.(6), the arctangent function used to calculate the wrapped phase ranges from $ - \pi $ to $\pi $ with $2\pi $ discontinuities, and then the phase unwrapping procedure is needed. The unwrapped phase $\varPhi (x,y)$ can be calculated as Eq.(7):

      $$\varPhi (x,y) = \phi (x,y) + K(x,y) \times 2\pi $$ (7)

      where, $K(x,y)$ indicates the fringe order of the wrapped phase. Subsequently, the GC method is used for phase unwrapping, and we use ${K_{V}}$ to denote the fringe order calculated from GC patterns. For a wrapped phase with $n$ fringe periods, the conventional GC method requires ${\log _2}n$ GC patterns to determine the fringe order. For example, $n$ is assumed as 8, and ${\log _2}8 = 3$ GC patterns are required for phase unwrapping. And the average intensity of three phase-shifting patterns $I'(x,y)$ is chosen as the suitable threshold to binarize the GC patterns to obtain their codewords. Figure 1 illustrates the decoding process of the GC patterns, in which GC1, GC2, and GC3 are three GC patterns; $V$ is a decimal number, which can be computed as:

      Figure 1.  Obtainment of fringe order ${K_V}$

      $$V = \sum\nolimits_{i = 1}^3 {G{C_i} \times {2^{(3 - i)}}} $$ (8)

      Finally, the fringe order ${K_V}$ can be determined on the basis of the one-to-one mapping relationship between $V$ and ${K_V}$.

      The binary dithering technique can provide successful image rendering and color reduction, and it operates successfully in generating high-quality sinusoidal patterns based on the binary defocusing technique[23]. Several dithering techniques have been presented, including simple thresholding, random dithering, Bayer-ordered dithering, and error diffusion dithering. Among them, the error-diffusion dithering has been widely employed, since it can better describe the primary image with the quantization errors being propagated[24]. Therefore, we apply this technique to generate sinusoidal fringes. Figure 2 shows the principle of conventional gray-code plus phase-shifting approach in summary.

      Figure 2.  Principle of conventional Gray-code plus phase-shifting approach

    • Researcher An[22] employed the geometric constraints of the DFP system to present a phase unwrapping method. The main idea is that a minimum phase map ${\varPhi _{{\rm{min}}}}$ can be created at the nearest plane ${Z_{{\rm{min}}}}$ of the measurement volume. The wrapped phase $\phi $ can be converted to an unwrapped one pixel-by-pixel based on ${\varPhi _{{\rm{min}}}}$. Essentially, $K$ times $2\pi $ should be added to $\phi $ by comparing the difference between $\phi $ and ${\varPhi _{{\rm{min}}}}$. Figure 3 illustrates the principle of using ${\varPhi _{{\rm{min}}}}$ to unwrap $\phi $, which includes four $2\pi $ discontinuities: A, B, C, and D. The fringe order $K(x,y)$ can be obtained using the following equation:

      Figure 3.  Principle of using ${\varPhi _{{\rm{min}}}}$ to unwrap $\varPhi $(${\varPhi _A}$ denotes the actual absolute phase, while $\varPhi $ denotes the recovered absolute phase)

      $$K\left( {x,y} \right) = Ceil\left[ {\frac{{{\varPhi _{\min }} - \phi }}{{2\pi }}} \right]$$ (9)

      Here, function $Ceil\left( {} \right)$ returns the closet upper integer value. According to Eq.(7), the absolute phase $\varPhi $ can be finally determined.

      From Fig.3, we can note that the maximum measurement depth ranging from the object to the plane ${Z_{{\rm{min}}}}$, which can be handled by this method is $2\pi $. It means that $\varPhi$ should satisfy the condition shown in the Eq.(10), otherwise phase unwrapping errors will be induced. As shown in Fig. 3 on the left of point C, the phase difference $\varPhi - {\varPhi _{\min }}$ is greater than 0 but less than $2\pi $, and the wrapped phase $\phi $ is correctly unwrapped whereas on the right of point C, the phase difference is greater than $2\pi $, and the wrapped phase $\phi $ is wrongly unwrapped.

      $$0 < \varPhi - {\varPhi _{\min }} < 2\pi $$ (10)
    • To reduce the number of required fringe patterns, an enhanced GC method based on geometric constraint method is proposed in this paper, where the GC patterns are designed to have several cycles. We use N to denote the number of the designed GC patterns. Obviously, N can be any integer, we take the N=3 as an example to describe the proposed method specifically in this paper. Figure 4 shows the sinusoidal and GC patterns with several cycles. The phase unwrapping method will be introduced in the following part.

      Figure 4.  Patterns of enhanced GC approach. (a)-(c) Phase-shifting dithered patterns; (d)-(f) GC patterns with M cycles

      In general, three GC patterns can encode 8 fringe periods. When the number of fringe periods is greater than 8, the fringe order ${K_V}$ obtained from the three GC patterns will be cyclic, as shown in Fig. 5. Thus, the unwrapped phase recovered by cyclic fringe order ${K_V}$ is not continuous and ranges from 0 to $16\pi $ with $16\pi $ discontinuities, which is called as pseudo unwrapped phase ${\varPhi _P}$ in this paper. To remove the $16\pi $ discontinuities, ${\varPhi _P}$ can be further unwrapped using the geometric constraint method.

      Figure 5.  Cross sections of wrapped phase $\phi (x,y)$, cyclic fringe order ${K_V}$

      As mentioned above, the pseudo unwrapped phase ${\varPhi _P}$ with several periods can be unwrapped using ${\varPhi _{\min }}$ based on the geometric constraint method. Figure 6 shows a case wherein ${\varPhi _{\min }}$ is used to unwrap ${\varPhi _P}$, which contains several $16\pi $ discontinuities: E, F, and G. Similarly, we can calculate the cycle order ${K_P}$ of ${\varPhi _P}$ as:

      $${K_P}\left( {x,y} \right) = Ceil\left[ {\frac{{{\varPhi _{\min }} - {\varPhi _P}}}{{16\pi }}} \right]$$ (11)

      Figure 6.  Fundamental idea of employing ${\varPhi _{\min }}$ for unwrapping ${\varPhi _P}$

      Finally, the absolute phase $\varPhi $ can be finally determined as Eq.(12). Compared with the conventional geometric constraint method[27], the proposed method can theoretically extend the measurement range from $2\pi $ to $16\pi $.

      $$\varPhi (x,y) = {\varPhi _P} + {K_P}(x,y) \times 16\pi $$ (12)
    • To evaluate the enhanced GC approach, a DFP system, containing a projector (DLP Light-Crafter 4500) and camera (Point Gray Chameleon 3), was implemented. The camera resolution is 1280×1024 pixel, and it was synchronized using the projector's trigger signal. The optical lens has a focal length of 8 mm. The projector has a resolution of 912×1140 pixel. The measured objects were placed at a distance of approximately 60 cm in front of the DFP system, and a smooth board was used as the reference plane. In the following experiments, the fringe period in the enhanced GC method was set to 21 pixel.

      In the first experiment, we compared the proposed method to the conventional geometric constraint method. A large sphere with a smooth surface was measured based on the two approaches. The absolute phase maps were derived for reconstructing the 3D shape of the sphere. The results of the 3D reconstruction using the two methods were then compared. Figure 7 presents the sphere's captured images. The wrapped phase $\phi $ was obtained using the three-step phase-shifting algorithm, and the cyclic fringe order ${K_V}$ with several cycles was calculated from the three GC patterns. The pseudo unwrapped phase ${\varPhi _P}$ was obtained using Eq.(7), and ${\varPhi _P}$ was further unwrapped to an absolute phase using the geometric constraint method. Figures 8(a) and (b) show the 3D reconstructions made using the conventional geometric constraint approach and the presented approach, receptively. The phase difference of the two methods in Fig.8(c) indicated that conventional geometric constraint method fails, while the proposed method can work well. The experimental results demonstrate that the proposed approach has a broader measurement range compared with the conventional geometric constraint one.

      Figure 7.  Images of the sphere. (a) Sinusoidal fringe pattern; (b) GC pattern; (c) Wrapped phase map; (d) Fringe order map; (e) Pseudo unwrapped phase map; (f) Minimum phase map; (g) Unwrapped phase map; (h) Absolute phase map

      Figure 8.  Reconstructed 3D shapes of a sphere. (a) Conventional geometric constraint method; (b) Proposed method; (c) Cross-sections of (a) and (b)

      In the second experiment, we compared the proposed method with the conventional GC method using three groups of patterns. In the first group of patterns, we used the same number (three) of GC patterns as the proposed method, three GC patterns can encode 8 fringe periods. Thus, the first group of patterns used three sinusoidal fringe patterns with T=114 pixels and three GC patterns. In the second group of patterns, we used the same sinusoidal fringe period (T=21 pixels) as the proposed method. Thus, the number of corresponding fringe periods was $Ceil\left[ {912/21} \right]{\rm{ = }}44$. And the number of required GC patterns was $Ceil\left[ {{{\log }_2}44} \right]\!=\!6$. Thus, the second group of patterns used three sinusoidal fringe patterns with T=21 pixels and six GC patterns, and the last used three sinusoidal fringe patterns with T=21 pixels and three GC patterns with several cycles. Figure 9 presents the reconstructed 3D shapes, respectively, reconstructed using the conventional GC method with three GC patterns, six GC patterns, and enhanced GC method. Figure 9(a) shows the 3D shape reconstructed by conventional GC method using three sinusoidal fringe patterns with T=114 pixels and three GC patterns. Figures 9(b) shows the 3D shape reconstructed by conventional GC method using three sinusoidal fringe patterns with T=21 pixels and six GC patterns. Figure 9(c) shows the 3D shape reconstructed by the proposed approach using three sinusoidal fringe patterns with T=21 pixels and three GC patterns. Figure 9(d)-(f) show the cross-sections of the three reconstructed results. The cross-section of the presented approach is much smoother than that of traditional one with three GC patterns, thus proving that the proposed method can achieve a more accurate 3D reconstructed results than conventional method when using the same number of GC patterns. And the cross-sections of the proposed method and the conventional GC method with six GC patterns are the same in each pixel, thus it proves that the proposed method can enhance the measurement efficiency while using the same fringe period.

      Figure 9.  Reconstructed 3D shapes of the Doraemon sculpture. (a) Conventional GC method using three sinusoidal fringe patterns with T=114 pixels and three GC patterns; (b) Conventional GC method using three sinusoidal fringe patterns with T=21 pixels and six GC patterns; (c) Proposed method using three sinusoidal fringe patterns with T=21 pixels and three GC patterns; (d)-(f) Cross-sections of (a)-(c)

      Finally, we applied our method to measure two isolated sculptures. Figure 10 presents the 3D reconstructed shape of the two sculptures. The experiments demonstrate that the presented approach can reliably measure multiple isolated objects.

      Figure 10.  Reconstructed 3D shape of two isolated sculptures

    • This paper presents an enhanced GC approach for 3D shape measurement based on geometric constraint method. Based on the cyclic coding strategy, we used N GC patterns with M cycles to unwrap the wrapped phase with $M\times{2^N}$ periods, whereas only ${2^N}$ fringe periods can be determined when using N conventional GC patterns. N denotes the number of GC patterns. We can choose a suitable N in different measuring cases. Compared with the conventional geometric constraint method, the enhanced GC method extends the measurement range from $0$ to ${2^{(N + 1)}}\pi $ in the phase domain. Furthermore, all the projected 8-bit patterns are converted into 1-bit ones using the binary dithering technique to increase the acquisition speed. Thus, the proposed enhanced GC method has potential for high-speed 3D shape measurements.

参考文献 (24)

目录

    /

    返回文章
    返回