基于蚁群相位抖动优化的高质量三维形貌测量

邢生平,蔡宁,林斌. 基于蚁群相位抖动优化的高质量三维形貌测量[J]. 光电工程,2021,48(7): 210114. doi: 10.12086/oee.2021.210114
引用本文: 邢生平,蔡宁,林斌. 基于蚁群相位抖动优化的高质量三维形貌测量[J]. 光电工程,2021,48(7): 210114. doi: 10.12086/oee.2021.210114
Xing S P, Cai N, Lin B. High-quality 3D shape measurement based on ant colony phase jitter optimization[J]. Opto-Electron Eng, 2021, 48(7): 210114. doi: 10.12086/oee.2021.210114
Citation: Xing S P, Cai N, Lin B. High-quality 3D shape measurement based on ant colony phase jitter optimization[J]. Opto-Electron Eng, 2021, 48(7): 210114. doi: 10.12086/oee.2021.210114

基于蚁群相位抖动优化的高质量三维形貌测量

  • 基金项目:
    浙江省科技计划资助项目(2017C31080)
详细信息
    作者简介:
    *通讯作者: 林斌(1964-),男,博士,教授,主要从事图像传感及处理、光电测量技术和仪器的研究。E-mail:wjlin@zju.edu.cn
  • 中图分类号: TN247

High-quality 3D shape measurement based on ant colony phase jitter optimization

  • Fund Project: the Science and Technology Major Projects of Zhejiang Province, China (2017C31080)
More Information
  • 离焦抖动技术有效避免了商用投影仪引入的非线性效应,能够实现高速动态测量,但是离焦后的二值抖动条纹和标准正弦条纹并不完全贴近,测量过程中会有一定的偏差。针对这个测量误差问题,本文提出一种基于改进二进制蚁群算法的优化方法,从相位域对二值离焦抖动技术进行优化改进,较好地提高测量精度。通过对小尺寸二值块的优化替代整个优化过程,提高优化效率。仿真和实验结果证明:本方法在不同离焦情况下都能实现有效的三维测量。

  • Overview: The digital fringe projection 3D measurement technology has become the research focus in the field of 3D measurement due to its low cost, high precision, non-contact, and other advantages. It has been widely used in many fields, such as industrial inspection, 3D printing, face recognition, and medical imaging. Knowing the world and transforming the world provide great convenience. In recent years, the rapid development of the digital processing technology has promoted the development of digital projection structured light technology. With the continuous advancement of technology and the substantial increase in computing power, how to use these technological developments to achieve an accurate description of the three-dimensional shape of objects has become a computer research hotspot in the field of visual inspection, but the non-linear effects introduced by commercial projectors interfere with the sine of the fringe when projecting the fringe pattern and affect the experimental results. The study found that the defocusing binary coding technology can eliminate the non-linear error of the projector and avoid various error compensation operations. The method does not need to perform non-linear correction, and the projected binary image can increase the projection speed of the projector and achieve high-precision and high-speed measurement. But the binary jitter fringe after defocusing is not completely close to the standard sine fringe, and there will be a certain deviation in the measurement process.

    One-dimensional modulation technologies, such as binary square wave defocusing technology and optimized pulse width modulation technology, can effectively solve the problem of short-term measurement accuracy of fringe periods. Due to the insufficient use of the two-dimensional information of the image, the problem of measurement error still exists when the fringe period increases. The dithering technology effectively utilizes the two-dimensional information of the pattern and can produce high-quality binary fringes after defocusing projection, which greatly improves the experimental effect of defocused structured light three-dimensional measurement in processing long-period fringes, but short-period measurement still exists error. The dither optimization technology minimizes the grayscale difference between the binary fringe and the ideal sinusoidal fringe, and it can improve the sine value of the fringe with different periods. The method we propose can obtain high-quality defocused binary fringes and effectively improve the experimental results of the quality of the fringes with different periods.

    This paper proposes an optimization method based on an improved binary ant colony algorithm, which combines the advantages of genetic algorithm and binary ant colony algorithm. Through optimization in the phase domain, the quality of the binary fringe at different defocus degrees is improved, and the phase error is reduced. At last, the measurement accuracy is improved effectively. The simulation and experimental results show that the method proposed in this paper can deal with the measurement under different defocus degrees and is robust.

  • 加载中
  • 图 1  二进制蚁群算法的路径选择

    Figure 1.  Path selection of binary ant colony algorithm

    图 2  本文方法的流程图

    Figure 2.  Flowchart of the propose method

    图 3  两种方法生成的二值图案及高斯滤波后的图案

    Figure 3.  Binary patterns generated by two methods and patterns after Gaussian filtering

    图 4  两种方法的对比。

    Figure 4.  Comparison of the Floyd-Steinberg dithering method and the proposed method.

    图 5  不同条纹周期和不同大小高斯滤波时,两种方法的相位误差和强度误差。

    Figure 5.  The intensity difference and phase RMS error of the two methods between different fringe periods and different sizes of Gaussian filtering.

    图 6  结构图

    Figure 6.  Structure diagram

    图 7  不同离焦程度下,两种方法的测量结果。

    Figure 7.  Experimental results of comparing the two methods under amounts of defocusing.

    图 8  两种方法的变形条纹图案。

    Figure 8.  The deformed stripe patterns of two methods.

    图 9  两种方法在轻度、中度、重度离焦情况下的重建图。

    Figure 9.  Reconstruction of the two methods in mildly, moderate, and severe defocus conditions.

    表 1  两种方法在不同离焦程度下的相位均方根误差

    Table 1.  The phase RMS errors of two methods with different amounts of defocusing

    Mildly defocused Moderately defocused Severely defocused
    Floyd-Steinberg 0.2694 0.2217 0.1586
    Proposed 0.1283 0.1010 0.0573
    下载: 导出CSV
  • [1]

    张万祯. 数字投影结构光三维测量方法研究[D]. 杭州: 浙江大学, 2015.

    Zhang W Z. Structured-light three dimensional measurement method based on digital projector[D]. Hangzhou: Zhejiang University, 2015.

    [2]

    Su X Y, Zhang Q C. Dynamic 3-D shape measurement method: a review[J]. Opt Lasers Eng, 2009, 48(2): 191-204. doi: 10.1016/j.optlaseng.2009.03.012

    [3]

    王柳, 陈超, 高楠, 等. 基于自适应条纹投影的高反光物体三维面形测量[J]. 应用光学, 2018, 39(3): 373-378. doi: 10.5768/JAO201839.0303001

    Wang L, Chen C, Gao N, et al. Three-dimensional shape measurement of high reflective objects based on adaptive fringe-pattern projection[J]. J Appl Opt, 2018, 39(3): 373-378. doi: 10.5768/JAO201839.0303001

    [4]

    杨浩, 蔡宁, 林斌, 等. 基于正弦相位编码的相机离焦标定[J]. 光子学报, 2018, 47(7): 0715002. doi: 10.3788/gzxb20184707.0715002

    Yang H, Cai N, Lin B, et al. Defocus camera calibration based on sinusoidal phase coding[J]. Acta Photon Sin, 2018, 47(7): 0715002. doi: 10.3788/gzxb20184707.0715002

    [5]

    毛翠丽, 卢荣胜, 董敬涛, 等. 相移条纹投影三维形貌测量技术综述[J]. 计量学报, 2018, 39(5): 628-640. doi: 10.3969/j.issn.1000-1158.2018.05.07

    Mao C L, Lu R S, Dong J T, et al. Overview of the 3D profilometry of phase shifting fringe projection[J]. Acta Metrol Sin, 2018, 39(5): 628-640. doi: 10.3969/j.issn.1000-1158.2018.05.07

    [6]

    熊义可, 张万祯, 杨松涛, 等. 用于绝对相位还原的对称式和非对称式二元结构光编码[J]. 光子学报, 2016, 45(3): 0310002. doi: 10.3788/gzxb20164503.0310002

    Xiong Y K, Zhang W Z, Yang S T, et al. Symmetric and asymmetric dual structure light coding methods for absolute phase retrieval[J]. Acta Photon Sin, 2016, 45(3): 0310002. doi: 10.3788/gzxb20164503.0310002

    [7]

    Wang Y J, Jiang C F, Zhang S. Double-pattern triangular pulse width modulation technique for high-accuracy high-speed 3D shape measurement[J]. Opt Express, 2017, 25(24): 30177-30188. doi: 10.1364/OE.25.030177

    [8]

    赵立伟, 达飞鹏, 郑东亮. 离焦投影三维测量的二值光栅生成方法[J]. 光学学报, 2016, 36(8): 0812005. doi: 10.3788/AOS201636.0812005

    Zhao L W, Da F P, Zheng D L. Method for binary grating generation using defocused projection for three-dimensional measurement[J]. Acta Opt Sin, 2016, 36(8): 0812005. doi: 10.3788/AOS201636.0812005

    [9]

    Dai J F, Li B W, Zhang S. High-quality fringe pattern generation using binary pattern optimization through symmetry and periodicity[J]. Opt Lasers Eng, 2014, 52: 195-200. doi: 10.1016/j.optlaseng.2013.06.010

    [10]

    Lei S Y, Zhang S. Flexible 3-D shape measurement using projector defocusing[J]. Opt Lett, 2009, 34(20): 3080-3082. doi: 10.1364/OL.34.003080

    [11]

    Wang Y J, Zhang S. Optimal pulse width modulation for sinusoidal fringe generation with projector defocusing[J]. Opt Lett, 2010, 35(24): 4121-4123. doi: 10.1364/OL.35.004121

    [12]

    Xian T, Su X Y. Area modulation grating for sinusoidal structure illumination on phase-measuring profilometry[J]. Appl Opt, 2001, 40(8): 1201-1206. doi: 10.1364/AO.40.001201

    [13]

    Schuchman L. Dither signals and their effect on quantization noise[J]. IEEE Trans Commun Technol, 1964, 12(4): 162-165. doi: 10.1109/TCOM.1964.1088973

    [14]

    Zhang S. High-speed 3D shape measurement with structured light methods: a review[J]. Opt Lasers Eng, 2018, 106: 119-131. doi: 10.1016/j.optlaseng.2018.02.017

    [15]

    Lohry W, Zhang S. Genetic method to optimize binary dithering technique for high-quality fringe generation[J]. Opt Lett, 2013, 38(4): 540-542. doi: 10.1364/OL.38.000540

    [16]

    王偲晗. 基于改进二进制蚁群算法的高光谱影像光谱与纹理特征提取[D]. 武汉: 武汉大学, 2018.

    Wang S H. Hyperspectral image spectral and texture feature extraction based on improved binary ant colony algorithm[D]. Wuhan: Wuhan University, 2018.

    [17]

    Dorigo M, Maniezzo V, Colorni A. Positive feedback as a search strategy[R]. Milan: Milan Politecnico di Milano, 1991: 91-106.

    [18]

    熊伟清, 魏平. 二进制蚁群进化算法[J]. 自动化学报, 2007, 33(3): 259-264. doi: 10.1360/aas-007-0259

    Xiong W Q, Wei P. Binary ant colony evolutionary algorithm[J]. Acta Automat Sin, 2007, 33(3): 259-264. doi: 10.1360/aas-007-0259

    [19]

    钱乾, 程美英, 熊伟清, 等. 二元蚁群优化算法研究综述[J]. 计算机应用研究, 2012, 29(4): 1211-1215. doi: 10.3969/j.issn.1001-3695.2012.04.003

    Qian Q, Cheng M Y, Xiong W Q, et al. Reviews of binary ant colony optimization[J]. Appl Res Comput, 2012, 29(4): 1211-1215. doi: 10.3969/j.issn.1001-3695.2012.04.003

    [20]

    蔡宁, 陈浙泊, 林斌, 等. 基于遗传算法相位抖动优化的高质量二值条纹产生方法[J]. 光子学报, 2019, 48(8): 0811002. doi: 10.3788/gzxb20194808.0811002

    Cai N, Chen Z B, Lin B, et al. Genetic method to optimize dithering technique in phase domain for high-quality binary fringe generation[J]. Acta Photon Sin, 2019, 48(8): 0811002. doi: 10.3788/gzxb20194808.0811002

    [21]

    蔡宁, 陈浙泊, 林斌, 等. 基于离散粒子群抖动优化的高质量三维形貌测量[J]. 中国激光, 2019, 46(10): 1004003. doi: 10.3788/CJL201946.1004003

    Cai N, Chen Z B, Lin B, et al. High-quality three-dimensional shape measurement based on binary particle swarm dithering optimization[J]. Chin J Lasers, 2019, 46(10): 1004003. doi: 10.3788/CJL201946.1004003

  • 加载中

(9)

(1)

计量
  • 文章访问数: 
  • PDF下载数: 
  • 施引文献:  0
出版历程
收稿日期:  2021-04-09
修回日期:  2021-06-28
刊出日期:  2021-07-15

目录

/

返回文章
返回