CN112330771A - 一种用于快速三维测量的pcps条纹图案设计方法 - Google Patents

一种用于快速三维测量的pcps条纹图案设计方法 Download PDF

Info

Publication number
CN112330771A
CN112330771A CN202011183017.7A CN202011183017A CN112330771A CN 112330771 A CN112330771 A CN 112330771A CN 202011183017 A CN202011183017 A CN 202011183017A CN 112330771 A CN112330771 A CN 112330771A
Authority
CN
China
Prior art keywords
stripe pattern
pattern
pcps
stripe
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011183017.7A
Other languages
English (en)
Other versions
CN112330771B (zh
Inventor
左超
张晓磊
沈德同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd
Original Assignee
Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd filed Critical Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd
Priority to CN202011183017.7A priority Critical patent/CN112330771B/zh
Publication of CN112330771A publication Critical patent/CN112330771A/zh
Application granted granted Critical
Publication of CN112330771B publication Critical patent/CN112330771B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明提出了一种用于快速三维测量的PCPS条纹图案设计方法。首先对于标准的四步相移条纹图案,利用相移条纹图案间的光强冗余,通过修改条纹图案中的直流分量将辅助信息嵌入到条纹图案中。然后选择将二值散斑图案作为辅助信息嵌入到条纹图案中。与原始PCPS条纹图案中的一维斜坡信号相比,二维散斑图案由于对镜头离焦不敏感,从而适合应用于二值离焦投影测量系统。基于所提出的PCPS条纹图案设计方法,可以保证所生成的复合条纹图案既不会损失条纹图的质量,也确保辅助信息的高质量恢复。

Description

一种用于快速三维测量的PCPS条纹图案设计方法
技术领域
本发明属于光学测量技术领域,具体涉及一种用于快速三维测量的PCPS条纹图案设计方法。
背景技术
近年来,高速三维形状测量技术被广泛应用于各个领域如生物力学、智能监控、机器人导航、工业质量控制等人机交互。在许多最先进的方法中,条纹投影法轮廓测量法(FPP)基于结构化光和三角测量原理,已被证明是最有前途的技术之一,由于其固有的优势非接触式、高精度、高效率、低成本。主流的FPP技术一般可以分为两类:傅里叶变换轮廓术(FTP)和相移轮廓术(PSP)。FTP非常适合动态3D采集并能提供相位图使用单一条纹模式。但它受到频谱重叠的影响,限制了其测量精度,使得该方法难以恢复被测物体的精细结构。相比之下,PSP对环境照明和改变表面性质,可以实现逐像素的具有高精度的相位测量,但它通常需要多个条纹图案来重建物体的三维形貌。
为了实现快速三维测量,研究人员通过修改条纹图案中的直流分量A(x,y)或调制度B(x,y)将附加信息嵌入到条纹图案中。例如,Lohry等人通过将B(x,y)调整为0.25或0.5,将二值散斑信号嵌入三步相移条纹图案中(W.Lohry and S.Zhang,“High-speed absolutethree-dimensional shape measurement using three binary dithered patterns,”Opt.Express 22(22),26752–26762(2014).)。陶等人选择三角波作为编码信号,并修改A(x,y)来编码条纹图案(T.Tao,Q.Chen,J.Da,S.Feng,Y.Hu,and C.Zuo,“Real-time 3-Dshape measurement with composite phase-shifting fringes and multi-viewsystem,”Opt.Express 24(18),20253–20269(2016).)。但是,为了确保复合条纹图的光强值不超出范围[0,1],这些方法必须减小B(x,y)的幅度,这影响了所获得的相位图的质量。为了嵌入散斑信号而不降低条纹图案的幅度B(x,y),张等人充分利用了三步相移条纹图案中的有限冗余(Y.Zhang,Z.Xiong,and F.Wu,“Unambiguous 3D measurement fromspeckle-embedded fringe,”Appl.Opt.52(32),7797–7805(2013).)。对于相移轮廓术(PSP),嵌入散斑的方法将三步相移条纹图案的理论最小值应用到绝对相位恢复中,这大大改善了3D测量的效率。然而,嵌入的散斑图案质量低并且基本上易受环境照明的影响,从而影响相关结果,因此仍然需要复杂的后处理算法来产生更可靠的相位展开结果。为了解决这个问题,王等人通过将额外的斜坡信号嵌入标准的四步相移模式,开发了一种周期编码的相移算法(Y.Wang,K.Liu,Q.Hao,D.L.Lau,and L.G.Hassebrook,“Period coded phaseshifting strategy for real-time3-D structured light illumination,”IEEETransactions on Image Processing 20(11),3001–3013(2011).)。但是斜坡信号易受噪声影响,使得边缘的周期一般限制在很小的范围内(≤20),这使得三维测量精度受到限制。鉴于此,王的方法不适用于具有一定离焦量的高速二元离焦投影系统,该系统很难产生理想的低频条纹图案。因此,应谨慎选择辅助信号的类型。
发明内容
为了克服上述问题,本发明提供一种用于快速三维测量的PCPS条纹图案设计方法。
本发明的技术方案如下:一种用于快速三维测量的PCPS条纹图案设计方法,其特征在于如下步骤:
步骤一:对于标准的四步相移条纹图案,利用相移条纹图案间的光强冗余,通过修改条纹图案中的直流分量将辅助信息嵌入到条纹图案中;
步骤二:选择将二值散斑图案作为辅助信息嵌入到条纹图案中;
步骤三:生成复合条纹图案。
优选的,步骤一中,标准的四步相移条纹图案可以描述为:
In(x,y)=A(x,y)+B(x,y)cos(Φ(x,y)-2πn/4)
A(x,y)为直流分量,B(x,y)为条纹的调制度,Φ(x,y)为待求相位,2πn/4是相位的偏移量,A(x,y)和B(x,y)设置为0.5,In(x,y)的值范围从0到1。
优选的,步骤一中,通过修改条纹图案中的直流分量将辅助信息嵌入到条纹图案中,具体为:
Figure BDA0002750705730000023
其中Cn(x,y)(n=0,1,2,3)表示为嵌入到原始条纹图中的编码信息。根据最小二乘算法,可以获得包裹相位图
Figure BDA0002750705730000021
Figure BDA0002750705730000022
编码信号满足:C0(x,y)=C2(x,y),C1(x,y)=C3(x,y),
Figure BDA0002750705730000031
的值在0到1之间,-In(x,y)≤Cn(x,y)≤1-In(x,y),且:
max(-I0(x,y),-I2(x,y))≤C0(x,y)≤min(1-I0(x,y),1-I2(x,y))
max(-I1(x,y),-I3(x,y))≤C1(x,y)≤min(1-I1(x,y),1-I3(x,y))
嵌入的辅助信息D(x,y)可以解调得到:
Figure BDA0002750705730000032
Dinf(x,y)≤D(x,y)≤Dsup(x,y)
Dinf(x,y)≤D(x,y)≤Dsup(x,y)
Dinf(x,y)=2[max(-I0(x,y),-I2(x,y))-min(1-I1(x,y),1-I3(x,y))]
Dsup(x,y)=2[min(1-I0(x,y),1-I2(x,y))-max(-I1(x,y),-I3(x,y))]
D(x,y)在x轴上的取值,其动态范围为[-0.5,0.5]。
本发明的有益效果是:本发明基于所提出的PCPS条纹图案设计方法,可以保证所生成的复合条纹图案既不会损失条纹图的质量,也确保辅助信息的高质量恢复。
附图说明
图1为本发明实施例的数字病理系统示意图。
图2为本发明实施例所提出的斜坡信号与编码信号图。
图3为本发明实施例所提出的嵌入散斑的四步相移算法图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
本实施例提出了一种用于快速三维测量的PCPS条纹图案设计方法,首先对于标准的四步相移条纹图案,利用相移条纹图案间的光强冗余,通过修改条纹图案中的直流分量将辅助信息嵌入到条纹图案中。然后选择将二值散斑图案作为辅助信息嵌入到条纹图案中。与原始PCPS条纹图案中的一维斜坡信号相比,二维散斑图案由于对镜头离焦不敏感,从而适合应用于二值离焦投影测量系统。基于所提出的PCPS条纹图案设计方法,可以保证所生成的复合条纹图案既不会损失条纹图的质量,也确保辅助信息的高质量恢复。本方法包括以下三个步骤。
步骤一:标准的四步相移条纹图案可以描述为:
In(x,y)=A(x,y)+B(x,y)cos(Φ(x,y)-2πn/4)
A(x,y)为直流分量,B(x,y)为条纹的调制度,Φ(x,y)为待求相位。2πn/4是相位的偏移量。为了最大化信噪比(SNR)并使光强图案In(x,y)归一化,将A(x,y)和B(x,y)设置为0.5,以便In(x,y)的值范围从0到1。通过修改条纹图案中的直流分量将辅助信息嵌入到条纹图案中,可以描述为:
Figure BDA0002750705730000041
其中Cn(x,y)(n=0,1,2,3)表示为嵌入到原始条纹图中的编码信息。根据最小二乘算法,可以获得包裹相位图
Figure BDA0002750705730000042
Figure BDA0002750705730000043
为了确保提取到的包裹相位不受嵌入的编码信号所影响,编码信号应满足:
C0(x,y)=C2(x,y)
C1(x,y)=C3(x,y)
此外,
Figure BDA0002750705730000044
的值也应该在0到1之间。所以我们有:
-In(x,y)≤Cn(x,y)≤1-In(x,y)
结合上述两式可以得出:
max(-I0(x,y),-I2(x,y))≤C0(x,y)≤min(1-I0(x,y),1-I2(x,y))
max(-I1(x,y),-I3(x,y))≤C1(x,y)≤min(1-I1(x,y),1-I3(x,y))
此外,嵌入的辅助信息D(x,y)可以解调得到:
Figure BDA0002750705730000045
因此,可以得到:
Dinf(x,y)≤D(x,y)≤Dsup(x,y)
Dinf(x,y)=2[max(-I0(x,y),-I2(x,y))-min(1-I1(x,y),1-I3(x,y))]
Dsup(x,y)=2[min(1-I0(x,y),1-I2(x,y))-max(-I1(x,y),-I3(x,y))]
根据此公式,我们可以得到D(x,y)在x轴上的取值,其动态范围为[-0.5,0.5]。值得注意的是,由于D(x,y)的相对幅度为1,因此嵌入的辅助信息D(x,y)的质量得到了很大的改善。但是,设计的编码信号C0(x,y)和C1(x,y)也变得不再光滑,对镜头散焦很敏感。由于原始PCPS条纹图案中的一维斜坡信号易受噪声影响,因此条纹图案的频率一般限制在很小的范围内(≤20),这使得三维测量精度受到限制。鉴于此,原始PCPS条纹图案不适用于具有一定离焦量的高速二元离焦投影系统,该系统比高频系统更难产生理想的低频条纹图案。因此,应谨慎选择辅助信号的类型。
步骤二:为了克服上述问题,我们选择了二值散斑图案作为辅助信息来代替原始的斜坡信息。与原始PCPS条纹图案中的一维斜坡信号相比,二维散斑图案由于对镜头离焦不敏感,从而适合应用于二值离焦投影测量系统。
步骤三:基于上述步骤,即所提出的PCPS条纹图案设计方法生成复合条纹图案,可以保证复合条纹图案既不会损失条纹图的质量,也确保辅助信息的高质量恢复。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (3)

1.一种用于快速三维测量的PCPS条纹图案设计方法,其特征在于如下步骤:
步骤一:对于标准的四步相移条纹图案,利用相移条纹图案间的光强冗余,通过修改条纹图案中的直流分量将辅助信息嵌入到条纹图案中;
步骤二:选择将二值散斑图案作为辅助信息嵌入到条纹图案中;
步骤三:生成复合条纹图案。
2.根据权利要求1所述的用于快速三维测量的PCPS条纹图案设计方法,其特征在于步骤一中,标准的四步相移条纹图案可以描述为:
In(x,y)=A(x,y)+B(x,y)cos(Φ(x,y)-2πn/4)
A(x,y)为直流分量,B(x,y)为条纹的调制度,Φ(x,y)为待求相位,2πn/4是相位的偏移量,A(x,y)和B(x,y)设置为0.5,In(x,y)的值范围从0到1。
3.根据权利要求1所述的用于快速三维测量的PCPS条纹图案设计方法,其特征在于步骤一中,通过修改条纹图案中的直流分量将辅助信息嵌入到条纹图案中,具体为:
Figure FDA0002750705720000011
其中Cn(x,y)(n=0,1,2,3)表示为嵌入到原始条纹图中的编码信息。根据最小二乘算法,可以获得包裹相位图
Figure FDA0002750705720000012
Figure FDA0002750705720000013
编码信号满足:C0(x,y)=C2(x,y),C1(x,y)=C3(x,y),
Figure FDA0002750705720000014
的值在0到1之间,-In(x,y)≤Cn(x,y)≤1-In(x,y),且:
max(-I0(x,y),-I2(x,y))≤C0(x,y)≤min(1-I0(x,y),1-I2(x,y))
max(-I1(x,y),-I3(x,y))≤C1(x,y)≤min(1-I1(x,y),1-I3(x,y))
嵌入的辅助信息D(x,y)可以解调得到:
Figure FDA0002750705720000015
Dinf(x,y)≤D(x,y)≤Dsup(x,y)
Dinf(x,y)≤D(x,y)≤Dsup(x,y)
Dinf(x,y)=2[max(-I0(x,y),-I2(x,y))-min(1-I1(x,y),1-I3(x,y))]
Dsup(x,y)=2[min(1-I0(x,y),1-I2(x,y))-max(-I1(x,y),-I3(x,y))]
D(x,y)在x轴上的取值,其动态范围为[-0.5,0.5]。
CN202011183017.7A 2020-10-29 2020-10-29 一种用于快速三维测量的pcps条纹图案设计方法 Active CN112330771B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011183017.7A CN112330771B (zh) 2020-10-29 2020-10-29 一种用于快速三维测量的pcps条纹图案设计方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011183017.7A CN112330771B (zh) 2020-10-29 2020-10-29 一种用于快速三维测量的pcps条纹图案设计方法

Publications (2)

Publication Number Publication Date
CN112330771A true CN112330771A (zh) 2021-02-05
CN112330771B CN112330771B (zh) 2023-12-15

Family

ID=74297442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011183017.7A Active CN112330771B (zh) 2020-10-29 2020-10-29 一种用于快速三维测量的pcps条纹图案设计方法

Country Status (1)

Country Link
CN (1) CN112330771B (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140354681A1 (en) * 2013-05-31 2014-12-04 Microsoft Corporation Absolute Phase Measurement with Secondary Pattern-Embedded Fringe
US20150062558A1 (en) * 2013-09-05 2015-03-05 Texas Instruments Incorporated Time-of-Flight (TOF) Assisted Structured Light Imaging
US20170163962A1 (en) * 2015-12-02 2017-06-08 Purdue Research Foundation Method and system for multi-wavelength depth encoding for three dimensional range geometry compression
CN108955571A (zh) * 2018-05-16 2018-12-07 南昌航空大学 双频外差与相移编码相结合的三维测量方法
US20200166333A1 (en) * 2016-12-07 2020-05-28 Ki 'an Chishine Optoelectronics Technology Co., Ltd. Hybrid light measurement method for measuring three-dimensional profile
CN111325683A (zh) * 2020-01-23 2020-06-23 深圳市易尚展示股份有限公司 基于复合编码三维重建的散斑灰度校正方法和装置
CN111563564A (zh) * 2020-07-20 2020-08-21 南京理工大学智能计算成像研究院有限公司 基于深度学习的散斑图像逐像素匹配方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140354681A1 (en) * 2013-05-31 2014-12-04 Microsoft Corporation Absolute Phase Measurement with Secondary Pattern-Embedded Fringe
US20150062558A1 (en) * 2013-09-05 2015-03-05 Texas Instruments Incorporated Time-of-Flight (TOF) Assisted Structured Light Imaging
US20170163962A1 (en) * 2015-12-02 2017-06-08 Purdue Research Foundation Method and system for multi-wavelength depth encoding for three dimensional range geometry compression
US20200166333A1 (en) * 2016-12-07 2020-05-28 Ki 'an Chishine Optoelectronics Technology Co., Ltd. Hybrid light measurement method for measuring three-dimensional profile
CN108955571A (zh) * 2018-05-16 2018-12-07 南昌航空大学 双频外差与相移编码相结合的三维测量方法
CN111325683A (zh) * 2020-01-23 2020-06-23 深圳市易尚展示股份有限公司 基于复合编码三维重建的散斑灰度校正方法和装置
CN111563564A (zh) * 2020-07-20 2020-08-21 南京理工大学智能计算成像研究院有限公司 基于深度学习的散斑图像逐像素匹配方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIAMING QIAN ET AL: "Motion-artifact-free dynamic 3D shape measurement with hybrid Fourier-transform phase-shifting profilometry", 《OPTICS EXPRESS》, vol. 27, no. 3, pages 2713 - 2731 *
李彪: "基于相位编码条纹加相移的三维测量方法研究", 南昌航空大学硕士学位论文, pages 1 - 70 *

Also Published As

Publication number Publication date
CN112330771B (zh) 2023-12-15

Similar Documents

Publication Publication Date Title
CN109506589B (zh) 一种基于结构光场成像的三维轮廓测量方法
CN104061879B (zh) 一种连续扫描的结构光三维面形垂直测量方法
CN101986098B (zh) 基于三色光投影的傅里叶变换三维测量法
CN109186496B (zh) 一种基于移动最小二乘法的三维面形测量方法
CN108692677B (zh) 基于反射光场偏振与空时编码的表面三维重建方法和系统
Zhu et al. Stable 3D measurement method for high dynamic range surfaces based on fringe projection profilometry
CN113506348B (zh) 一种基于格雷码辅助的三维坐标计算方法
Hu et al. Microscopic 3D measurement of shiny surfaces based on a multi-frequency phase-shifting scheme
Tang et al. Micro-phase measuring profilometry: Its sensitivity analysis and phase unwrapping
CN109631797B (zh) 一种基于相移技术的三维重构无效区域快速定位方法
CN113063371A (zh) 面向正弦条纹的非线性自矫正结构光三维测量方法及系统
CN116793247A (zh) 一种基于区域统计的条纹投影轮廓术条纹级数校正方法
Zeng et al. Self-unwrapping phase-shifting for fast and accurate 3-D shape measurement
An et al. Temporal phase unwrapping based on unequal phase-shifting code
Zhang et al. Three-dimensional shape measurement based on speckle-embedded fringe patterns and wrapped phase-to-height lookup table
CN114777677A (zh) 基于深度学习的单帧双频复用条纹投影三维面型测量方法
CN112330771B (zh) 一种用于快速三维测量的pcps条纹图案设计方法
Shi et al. A phase unwrapping method suitable for high frequency fringe based on edge feature
Liu et al. A novel phase unwrapping method for binocular structured light 3D reconstruction based on deep learning
Wang et al. Pixel-wise phase unwrapping with adaptive reference phase estimation for 3-D shape measurement
Wang et al. Light-field-assisted phase unwrapping of fringe projection profilometry
Zhou et al. High-dynamic-range 3-D shape measurement with adaptive speckle projection through segmentation-based mapping
CN116592794A (zh) 一种基于偏振结构光的快速三维重建方法
Yang et al. Line-encoded structured light measurement method in measuring shiny and transparent objects
CN112325799A (zh) 一种基于近红外光投影的高精度三维人脸测量方法

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant