CN113465544B - Stripe projection three-dimensional measurement nonlinear error correction method - Google Patents
Stripe projection three-dimensional measurement nonlinear error correction method Download PDFInfo
- Publication number
- CN113465544B CN113465544B CN202110709932.3A CN202110709932A CN113465544B CN 113465544 B CN113465544 B CN 113465544B CN 202110709932 A CN202110709932 A CN 202110709932A CN 113465544 B CN113465544 B CN 113465544B
- Authority
- CN
- China
- Prior art keywords
- stripe
- color
- weighted
- nonlinear
- stripes
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000005259 measurement Methods 0.000 title claims abstract description 29
- 238000012937 correction Methods 0.000 title claims abstract description 11
- 238000009826 distribution Methods 0.000 claims abstract description 23
- 230000010363 phase shift Effects 0.000 claims abstract description 18
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/25—Measuring 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
- G01B11/2504—Calibration devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明公开了一种条纹投影三维测量非线性误差校正方法,包括:步骤S1:搭建一个条纹投影三维测量系统,投影仪、摄像机和被测物体三者构成三角测量关系;步骤S2:投影仪依次投射N幅彩色条纹图案
至被测物体表面;步骤S3:摄像机采集被测物体调制后的彩色条纹图像;假设理想情况下,彩色条纹表示为In(x,y);非线性无颜色串扰影响下,彩色条纹表示为I′n(x,y);非线性有颜色串扰影响下,彩色条纹表示为I″n(x,y);步骤S4:通过设置合适的加权系数α,计算非线性有颜色串扰影响下红色通道条纹I″n,r(x,y)和蓝色通道条纹I″n,b(x,y)的加权条纹I″n,a(x,y);步骤S5:采用N步相移算法计算加权条纹I″n,a(x,y)的实际相位分布φ″a(x,y);因为加权条纹I″n,a(x,y)的第2次谐波振幅为零,使得其实际相位分布φ″a(x,y)的非线性误差Δφ″a(x,y)大幅降低。The invention discloses a non-linear error correction method for fringe projection three-dimensional measurement. Project N colored stripe patterns
to the surface of the object to be measured; Step S3: the camera collects the modulated color fringe image of the object to be measured; assuming ideally, the color fringes are expressed as In ( x , y); under the influence of nonlinear non-color crosstalk, the color fringes are expressed as I′ n (x, y); under the influence of nonlinear color crosstalk, the color stripes are expressed as I″ n (x, y); Step S4: by setting the appropriate weighting coefficient α, calculate the red color under the influence of nonlinear color crosstalk Weighted stripes I″ n,a (x,y) of channel stripes I″ n,r (x,y) and blue channel stripes I″ n,b (x,y); Step S5: adopt N-step phase shift algorithm Calculate the actual phase distribution φ″ a (x,y) of the weighted fringe I″ n ,a (x,y); since the 2nd harmonic amplitude of the weighted fringe I″ n,a (x,y) is zero, such that The nonlinear error Δφ″ a (x, y) of the actual phase distribution φ″ a (x, y) is greatly reduced.Description
技术领域technical field
本发明属于三维测量技术领域,具体地说,本发明涉及一种条纹投影三维测量非线性误差校正方法。The invention belongs to the technical field of three-dimensional measurement, and in particular relates to a nonlinear error correction method for fringe projection three-dimensional measurement.
背景技术Background technique
条纹投影三维测量具有非接触、精度高、速度快等优点,已广泛应用于各个领域,如工业检测、逆向工程、虚拟现实等。然而,条纹投影系统的Gamma非线性会使相移条纹图像失真,从中计算出的相位分布存在周期性误差,进而导致三维测量误差。
因为N步相移法的非线性误差周期为对应条纹周期的N倍,部分学者通过双N步相移法计算出两个具有π/N相移的相位,并求取平均相位来补偿非线性误差,但该方法需要采集2N幅条纹图像,并计算两个相位的平均相位,影响条纹投影系统测量速度。Because the nonlinear error period of the N-step phase shift method is N times the corresponding fringe period, some scholars use the double N-step phase shift method to calculate two phases with π/N phase shift, and calculate the average phase to compensate for the nonlinearity However, this method needs to collect 2N fringe images and calculate the average phase of the two phases, which affects the measurement speed of the fringe projection system.
另外,部分学者通过对N步相移条纹进行希尔伯特变换生成另一组相移条纹,计算两组相移条纹的平均相位来校正非线性误差,但该方法涉及到频域运算,计算量偏大,鲁棒性一般。In addition, some scholars perform Hilbert transform on N-step phase-shift fringes to generate another group of phase-shift fringes, and calculate the average phase of the two groups of phase-shift fringes to correct nonlinear errors, but this method involves frequency domain operations, and the calculation The amount is too large, and the robustness is general.
此外,部分学者通过预标定过程,如建立相位-误差映射表、估计Gamma值等来校正非线性误差,但这类方法需要提前标定系统,灵活性差。In addition, some scholars correct nonlinear errors through pre-calibration processes, such as establishing a phase-error mapping table, estimating Gamma values, etc., but such methods require pre-calibration of the system and are less flexible.
综上所述,如何校正条纹投影系统的非线性误差具有重要的实际意义。In summary, how to correct the nonlinear error of the fringe projection system has important practical significance.
发明内容SUMMARY OF THE INVENTION
本发明提供一种条纹投影三维测量非线性误差校正方法,以解决上述背景技术中存在的问题。The present invention provides a nonlinear error correction method for fringe projection three-dimensional measurement, so as to solve the problems existing in the above-mentioned background technology.
为了实现上述目的,本发明采取的技术方案为:一种条纹投影三维测量非线性误差校正方法,具体包括以下步骤:In order to achieve the above purpose, the technical solution adopted by the present invention is: a method for correcting nonlinear errors of fringe projection three-dimensional measurement, which specifically includes the following steps:
步骤S1:搭建一个条纹投影三维测量系统,包括投影仪和摄像机,所述投影仪和摄像机同步触发开启工作,投影仪、摄像机和被测物体三者构成三角测量关系;Step S1: build a fringe projection three-dimensional measurement system, including a projector and a camera, the projector and the camera are triggered to start work synchronously, and the projector, the camera and the measured object form a triangulation relationship;
步骤S2:投影仪依次投射N幅彩色条纹图案至被测物体表面,其中彩色条纹图案的红色通道编码余弦条纹蓝色通道编码正弦条纹绿色通道不编码任何信息,直接置零;Step S2: The projector projects N color stripe patterns in sequence to the surface of the measured object, in which the color stripe pattern The red channel encodes the cosine fringe Blue channel encoded sinusoidal stripes The green channel does not encode any information and is directly set to zero;
步骤S3:摄像机采集被测物体调制后的彩色条纹图像;假设理想情况下,彩色条纹表示为In(x,y);非线性无颜色串扰影响下,彩色条纹表示为I′n(x,y);非线性有颜色串扰影响下,彩色条纹表示为I″n(x,y);Step S3: The camera collects the modulated color fringe image of the object to be measured; it is assumed that in an ideal situation, the color fringes are represented as I n (x, y); under the influence of nonlinear non-color crosstalk, the color fringes are represented as I′ n (x, y); under the influence of nonlinear color crosstalk, the color stripes are expressed as I″ n (x, y);
步骤S4:通过设置合适的加权系数α,计算非线性有颜色串扰影响下红色通道条纹I″n,r(x,y)和蓝色通道条纹I″n,b(x,y)的加权条纹I″n,a(x,y);Step S4: Calculate the weighted stripes of the red channel stripes I″ n,r (x,y) and the blue channel stripes I″ n,b (x,y) under the influence of nonlinear color crosstalk by setting an appropriate weighting coefficient α I″ n, a (x, y);
步骤S5:采用N步相移算法计算加权条纹I″n,a(x,y)的实际相位分布φ″a(x,y);因为加权条纹I″n,a(x,y)的第2次谐波振幅为零,使得其实际相位分布φ″a(x,y)的非线性误差Δφ″a(x,y)大幅降低。Step S5: Calculate the actual phase distribution φ″ a (x, y) of the weighted fringe I″ n,a ( x,y) by using the N-step phase shift algorithm; The amplitude of the second harmonic is zero, which greatly reduces the nonlinear error Δφ″ a (x, y) of its actual phase distribution φ″ a (x, y).
进一步的,所述步骤S2中N幅彩色条纹图案其红色通道编码的余弦条纹蓝色通道编码的正弦条纹分别表示为:Further, in the step S2, N color stripe patterns its red channel encoded cosine fringes Blue channel encoded sinusoidal stripes They are respectively expressed as:
式中:n=0,1,2,...,N-1;(xp,yp)表示投影仪的像素坐标;T表示条纹周期;δn=2πn/N表示相移量。In the formula: n=0,1,2,...,N-1; (x p , y p ) represents the pixel coordinates of the projector; T represents the fringe period; δ n =2πn/N represents the phase shift amount.
进一步的,所述步骤S3中理想情况下彩色条纹In(x,y),其红色通道条纹In,r(x,y)和蓝色通道条纹In,b(x,y)分别表示为:Further, ideally in the step S3, the color stripes I n (x, y), the red channel stripes I n,r (x, y) and the blue channel stripes I n,b (x, y) respectively represent for:
In,r=A+B cos(φ+δn);I n,r =A+B cos(φ+δ n );
In,b=A+B sin(φ+δn);I n,b =A+B sin(φ+δ n );
式中:(x,y)表示摄像机的像素坐标;A(x,y)、B(x,y)和φ(x,y)分别表示平均强度、调制强度和理想相位分布。where (x, y) represents the pixel coordinates of the camera; A(x, y), B(x, y) and φ(x, y) represent the average intensity, modulation intensity and ideal phase distribution, respectively.
进一步的,所述步骤S3中非线性无颜色串扰影响下彩色条纹I′n(x,y),其红色通道条纹I′n,r(x,y)和蓝色通道条纹I′n,b(x,y)分别表示为:Further, in the step S3, under the influence of nonlinear non-color crosstalk, the color stripes I' n (x, y), the red channel stripes I' n,r (x, y) and the blue channel stripes I' n,b (x, y) are expressed as:
I′n,r=[A+B cos(φ+δn)]γ;I′ n,r =[A+B cos(φ+δ n )] γ ;
I′n,b=[A+B sin(φ+δn)]γ;I′ n,b =[A+B sin(φ+δ n )] γ ;
式中:γ表示非线性Gamma值;In the formula: γ represents the nonlinear Gamma value;
进一步地,红色通道条纹I′n,r(x,y)和蓝色通道条纹I′n,b(x,y)的傅里叶展开式分别表示为:Further, the Fourier expansions of the red channel stripes I′ n,r (x,y) and the blue channel stripes I′ n,b (x,y) are respectively expressed as:
式中:a0表示彩色条纹I′n(x,y)的直流分量;am分别表示红色通道条纹I′n,r(x,y)或蓝色通道条纹I′n,b(x,y)的第m次谐波振幅。where a 0 represents the DC component of the color stripe I′ n (x, y); a m represents the red channel stripe I′ n,r (x,y) or the blue channel stripe I′ n,b (x, The mth harmonic amplitude of y).
进一步的,所述步骤S3中非线性且颜色串扰影响下彩色条纹I″n(x,y),其红色通道条纹I″n,r(x,y)和蓝色通道条纹I″n,b(x,y)可分别表示为:Further, in the step S3, the color stripes I″ n (x, y) under the influence of nonlinear and color crosstalk, the red channel stripes I″ n,r (x, y) and the blue channel stripes I″ n,b (x,y) can be expressed as:
I″n,r=κrrI′n,r+κbrI′n,b;I″ n,r =κ rr I′ n,r +κ br I′ n,b ;
I″n,b=κrbI′n,r+κbbI′n,b;I″ n,b =κ rb I′ n,r +κ bb I′ n,b ;
式中κrr,κbr,κrb,κbb表示红色通道和蓝色通道的颜色串扰系数;κrb,κbr远小于κrr,κbb。where κ rr , κ br , κ rb , κ bb represent the color crosstalk coefficients of the red and blue channels; κ rb , κ br are much smaller than κ rr , κ bb .
进一步的,所述步骤S4中红色通道条纹I″n,r(x,y)和蓝色通道条纹I″n,b(x,y)的加权条纹I″n,a(x,y)可表示为:Further, in the step S4, the weighted stripes I″ n,a (x, y) of the red channel stripes I″ n,r (x,y) and the blue channel stripes I″ n,b (x,y) can be Expressed as:
I″n,a=I″n,r+αI″n,b=(κrr+ακrb)I′n,r+(κbr+ακbb)I′n,b;I″ n,a =I″ n,r + αI″ n,b =(κ rr +ακ rb )I′ n,r +(κ br +ακ bb )I′ n,b ;
进一步地,当η=κrr+ακrb=κbr+ακbb时,加权条纹I″n,a(x,y)的傅里叶展开式可表示为:Further, when η=κ rr +ακ rb =κ br +ακ bb , the Fourier expansion of the weighted fringes I″ n,a (x,y) can be expressed as:
式中:2ηa0表示加权条纹I″n,a(x,y)的直流分量;2ηa′m=2ηam cos(mπ/4)表示加权条纹I″n,a(x,y)的第m次谐波振幅;φa=φ-π/4表示加权条纹I″n,a(x,y)的理想相位分布。In the formula: 2ηa 0 represents the DC component of the weighted fringe I″ n,a (x,y); 2ηa′ m =2ηa m cos(mπ/4) represents the mth of the weighted fringe I″ n,a (x,y) Subharmonic amplitude; φ a =φ-π/4 represents the ideal phase distribution of the weighted fringes I″ n,a (x,y).
进一步的,所述步骤S4中加权系数α,其计算公式如下:Further, in the step S4, the calculation formula of the weighting coefficient α is as follows:
进一步的,所述步骤S5中利用N步相移算法计算加权条纹I″n,a(x,y)的实际相位分布φ″a(x,y),其计算公式如下:Further, in the step S5, the actual phase distribution φ" a (x, y) of the weighted stripe I″ n, a (x, y) is calculated by using the N-step phase shift algorithm, and its calculation formula is as follows:
特别地,以三步相移法为例,忽略m≥6次谐波,加权条纹I″n,a(x,y)的实际相位分布φ″a(x,y),其计算公式如下:In particular, taking the three-step phase shift method as an example, ignoring the m≥6 harmonics, the actual phase distribution φ″ a (x, y) of the weighted fringes I″ n,a (x,y), the calculation formula is as follows:
进一步的,所述步骤S5中实际相位分布φ″a(x,y)的非线性误差Δφ″a(x,y),以三步相移法为例,其计算公式如下:Further, in the step S5, the nonlinear error Δφ" a (x, y) of the actual phase distribution φ " a (x, y), taking the three-step phase shift method as an example, the calculation formula is as follows:
分别将m=1,2,4,5代入至a′m=am cos(mπ/4),可以得到:Substitute m=1, 2, 4, and 5 into a′ m = a m cos(mπ/4), we can get:
进一步地,非线性误差Δφ″a(x,y)的计算公式可化简为:Further, the calculation formula of the nonlinear error Δφ″ a (x, y) can be simplified as:
式中:消除了第2次谐波振幅a′2,大幅降低了非线性误差Δφ″a(x,y)。In the formula: the second harmonic amplitude a′ 2 is eliminated, and the nonlinear error Δφ″ a (x, y) is greatly reduced.
采用以上技术方案的有益效果是:The beneficial effects of adopting the above technical solutions are:
1、本发明提供的一种条纹投影三维测量非线性误差校正方法,只需要依次投射N幅彩色条纹图案至被测物体表面,测量速度快。1. The non-linear error correction method for fringe projection three-dimensional measurement provided by the present invention only needs to sequentially project N colored fringe patterns onto the surface of the object to be measured, and the measurement speed is fast.
2、本发明提供的一种条纹投影三维测量非线性误差校正方法,不需要额外的预标定过程,测量灵活性高。2. The non-linear error correction method for fringe projection three-dimensional measurement provided by the present invention does not require an additional pre-calibration process and has high measurement flexibility.
3、本发明提供的一种条纹投影三维测量非线性误差校正方法,能够大幅降低非线性误差,测量精度高。3. The present invention provides a nonlinear error correction method for fringe projection three-dimensional measurement, which can greatly reduce the nonlinear error and has high measurement accuracy.
附图说明Description of drawings
图1条纹投影三维测量非线性误差校正原理图;Fig.1 Schematic diagram of nonlinear error correction of
图2(a)投影仪投射的彩色条纹图案(b)红色通道编码的余弦条纹(c)蓝色通道编码的正弦条纹 Figure 2(a) Colored fringe pattern projected by the projector (b) Cosine fringes encoded by the red channel (c) Sine fringes encoded by the blue channel
图3(a)理想情况下红色通道条纹In,r(x,y);(b)非线性有颜色串扰影响下红色通道条纹I″n,r(x,y);(c)非线性有颜色串扰影响下加权条纹I″n,a(x,y);(d)红色通道条纹I″n,r(x,y)、蓝色通道条纹I″n,b(x,y)和加权条纹I″n,a(x,y)的非线性误差Δφ″r(x,y)、Δφ″b(x,y)和Δφ″a(x,y);Figure 3(a) Ideal red channel stripe I n,r (x,y); (b) Red channel stripe I″ n,r (x,y) under the influence of nonlinear color crosstalk; (c) Nonlinear Weighted fringes I″ n,a (x,y) under the influence of color crosstalk; (d) red channel fringes I″ n,r (x,y), blue channel fringes I″ n,b (x,y) and Nonlinear errors of weighted fringes I″ n,a (x,y) Δϕ″ r (x,y), Δϕ″ b (x,y) and Δϕ″ a (x,y);
图4(a)被测物体;(b)彩色条纹I″n(x,y);(c)红色通道条纹I″n,r(x,y);(d)蓝色通道条纹I″n,b(x,y);(e)加权条纹I″n,a(x,y);Figure 4(a) Object under test; (b) Color stripe I″ n (x,y); (c) Red channel stripe I″ n,r (x,y); (d) Blue channel stripe I″ n , b (x, y); (e) weighted stripes I″ n, a (x, y);
图5(a)红色通道条纹I″n,r(x,y)的实际相位分布φ″r(x,y);(b)蓝色通道条纹I″n,b(x,y)的实际相位分布φ″b(x,y);(c)加权条纹I″n,a(x,y)的实际相位分布φ″a(x,y);Figure 5 (a) The actual phase distribution φ″ r (x, y) of the red channel stripe I″ n,r (x,y); (b) The actual phase distribution of the blue channel stripe I″ n,b (x,y) Phase distribution φ″ b (x, y); (c) actual phase distribution φ″ a (x, y) of weighted fringe I″ n,a (x, y);
具体实施方式Detailed ways
下面对照附图,通过对实施例的描述,对本发明的具体实施方式作进一步详细的说明,目的是帮助本领域的技术人员对本发明的构思、技术方案有更完整、准确和深入的理解,并有助于其实施。Below with reference to the accompanying drawings, through the description of the embodiments, the specific embodiments of the present invention will be described in further detail, the purpose is to help those skilled in the art to have a more complete, accurate and in-depth understanding of the concept and technical solutions of the present invention, and contribute to its implementation.
如图1至图5所示,本发明是一种条纹投影三维测量非线性误差校正方法,以三步相移法为例,具体包括以下步骤:As shown in FIGS. 1 to 5 , the present invention is a method for correcting nonlinear errors of fringe projection three-dimensional measurement, taking the three-step phase shift method as an example, and specifically includes the following steps:
实施例1:Example 1:
步骤S1:搭建一个条纹投影三维测量系统,包括投影仪和摄像机,所述投影仪和摄像机同步触发开启工作,投影仪、摄像机和被测物体三者构成三角测量关系;图1展示了条纹投影三维测量非线性误差校正原理图;Step S1: build a fringe projection three-dimensional measurement system, including a projector and a camera, the projector and the camera are triggered to start work synchronously, and the projector, the camera and the measured object form a triangulation relationship; Figure 1 shows the fringe projection three-dimensional measurement system. Schematic diagram of measurement nonlinear error correction;
步骤S2:投影仪依次投射3幅彩色条纹图案至被测物体表面,其中彩色条纹图案的红色通道编码余弦条纹蓝色通道编码正弦条纹绿色通道不编码任何信息,直接置零;图2(a)展示了彩色条纹图案图2(b)展示了红色通道编码余弦条纹图2(c)展示了蓝色通道编码正弦条纹 Step S2: The projector projects 3 color stripe patterns in sequence to the surface of the measured object, in which the color stripe pattern The red channel encodes the cosine fringe Blue channel encoded sinusoidal stripes The green channel does not encode any information and is set to zero directly; Figure 2(a) shows the color fringe pattern Figure 2(b) shows the red channel encoded cosine fringes Figure 2(c) shows the blue channel encoded sinusoidal fringes
步骤S3:摄像机采集被测物体调制后的彩色条纹图像;假设理想情况下,彩色条纹表示为In(x,y);非线性无颜色串扰影响下,彩色条纹表示为I′n(x,y);非线性有颜色串扰影响下,彩色条纹表示为I″n(x,y);图3(a)展示了理想情况下彩色条纹In(x,y)的红色通道条纹In,r(x,y);图3(b)展示了非线性有颜色串扰影响下彩色条纹I″n(x,y)的红色通道条纹I″n,r(x,y);通过设置红色通道和蓝色通道的颜色串扰系数κrr=κbb=1.0,κrb=κbr=0,可以得到I′n(x,y)=I″n(x,y);Step S3: The camera collects the modulated color fringe image of the object to be measured; it is assumed that in an ideal situation, the color fringes are represented as I n (x, y); under the influence of nonlinear non-color crosstalk, the color fringes are represented as I′ n (x, y); under the influence of non-linear color crosstalk, the color stripes are expressed as I″ n (x, y); Figure 3(a) shows the red channel stripes I n of the ideal color stripes I n (x, y) , r (x,y); Figure 3(b) shows the red channel stripe I″ n,r (x,y) of the color stripe I″ n (x,y) under the influence of nonlinear color crosstalk; by setting the red channel and the color crosstalk coefficient of the blue channel κ rr =κ bb =1.0, κ rb =κ br =0, we can obtain I′n(x,y)=I″n ( x,y);
步骤S4:通过设置加权系数α=1,计算非线性有颜色串扰影响下红色通道条纹I″n,r(x,y)和蓝色通道条纹I″n,b(x,y)的加权条纹I″n,a(x,y)=I″n,r(x,y)+I″n,b(x,y);图3(c)展示了非线性有颜色串扰影响下加权条纹I″n,a(x,y);Step S4: Calculate the weighted stripes of the red channel stripes I″ n,r (x,y) and the blue channel stripes I″ n,b (x,y) under the influence of nonlinear color crosstalk by setting the weighting coefficient α=1 I″ n,a (x,y)=I″ n,r (x,y)+I″ n,b (x,y); Figure 3(c) shows the weighted fringe I under the influence of nonlinear color crosstalk " n,a (x,y);
步骤S5:采用三步相移算法计算加权条纹I″n,a(x,y)的实际相位分布φ″a(x,y);加权条纹I″n,a(x,y)的第2次谐波振幅为零,使得其实际相位分布φ″a(x,y)的非线性误差Δφ″a(x,y)大幅降低;图3(d)展示了红色通道条纹I″n,r(x,y)、蓝色通道条纹I″n,b(x,y)和加权条纹I″n,a(x,y)的非线性误差Δφ″r(x,y)、Δφ″b(x,y)和Δφ″a(x,y)。从图3(d)中可以看出,Δφ″a(x,y)远小于Δφ″r(x,y)、Δφ″b(x,y)。Step S5: Calculate the actual phase distribution φ″ a (x, y) of the weighted fringe I″ n,a ( x,y) by using a three-step phase shift algorithm; The sub-harmonic amplitude is zero, which greatly reduces the nonlinear error Δφ″ a (x, y) of its actual phase distribution φ″ a (x, y); Figure 3(d) shows the red channel stripe I″ n,r (x,y), non-linear errors Δφ″ r (x , y), Δφ″ b ( x, y) and Δφ″ a (x, y). As can be seen from Figure 3(d), Δφ″ a (x, y) is much smaller than Δφ″ r (x, y), Δφ″ b (x, y).
实施例2:Example 2:
步骤S1:搭建一个条纹投影三维测量系统,包括投影仪和摄像机,所述投影仪和摄像机同步触发开启工作,投影仪、摄像机和被测物体三者构成三角测量关系;图1展示了条纹投影三维测量非线性误差校正原理图;Step S1: build a fringe projection three-dimensional measurement system, including a projector and a camera, the projector and the camera are triggered to start work synchronously, and the projector, the camera and the measured object form a triangulation relationship; Figure 1 shows the fringe projection three-dimensional measurement system. Schematic diagram of measurement nonlinear error correction;
步骤S2:投影仪依次投射3幅彩色条纹图案至被测物体表面;图4(a)展示了被测物体图像。Step S2: The projector projects 3 color stripe patterns in sequence to the surface of the object to be measured; Figure 4(a) shows the image of the object to be measured.
步骤S3:摄像机采集被测物体调制后的彩色条纹图像;图4(b)展示了所采集的彩色条纹I″n(x,y);图4(c)展示了红色通道条纹I″n,r(x,y);图4(d)展示了蓝色通道条纹I″n,b(x,y);Step S3: the camera collects the modulated color fringe image of the measured object; Figure 4(b) shows the collected color fringes I″ n (x, y); Figure 4 (c) shows the red channel fringes I″ n, r (x, y); Figure 4(d) shows the blue channel stripes I″ n, b (x, y);
步骤S4:通过设置加权系数计算红色通道条纹I″n,r(x,y)和蓝色通道条纹I″n,b(x,y)的加权条纹I″n,a(x,y)=I″n,r(x,y)+αI″n,b(x,y);图4(e)展示了加权条纹I″n,a(x,y)。Step S4: by setting the weighting coefficient Calculate the weighted fringes I″ n ,a (x,y) = I″ n,r ( x ,y)+αI″ n,b (x,y); Figure 4(e) shows the weighted fringes I″ n,a (x,y).
步骤S5:采用三步相移算法分别计算红色通道条纹I″n,r(x,y)、蓝色通道条纹I″n,b(x,y)及其加权条纹I″n,a(x,y)的实际相位分布φ″r(x,y)、φ″b(x,y)和φ″a(x,y);图5展示了红色通道条纹I″n,r(x,y)、蓝色通道条纹I″n,b(x,y)和加权条纹I″n,a(x,y)的实际相位分布φ″r(x,y)、φ″b(x,y)和φ″a(x,y)。从图5中可以看出,φ″a(x,y)的非线性误差远小于φ″r(x,y)、φ″b(x,y)的非线性误差。Step S5: Using a three-step phase shift algorithm to calculate the red channel stripes I″ n,r (x,y), the blue channel stripes I″ n,b (x,y) and their weighted stripes I″ n,a (x ,y) actual phase distributions φ″ r (x,y), φ″ b (x,y) and φ″ a (x,y); Figure 5 shows the red channel fringes I″ n,r (x,y ), the actual phase distributions of the blue channel stripes I″ n,b (x,y) and the weighted stripes I″ n,a (x,y) ϕ″ r (x,y), ϕ″ b (x,y) and φ″ a (x,y). It can be seen from Figure 5 that the nonlinear error of φ″ a (x, y) is much smaller than the nonlinear errors of φ″ r (x, y) and φ″ b (x, y).
以上结合附图对本发明进行了示例性描述,显然,本发明具体实现并不受上述方式的限制,只要是采用了本发明的方法构思和技术方案进行的各种非实质性的改进;或未经改进,将本发明的上述构思和技术方案直接应用于其它场合的,均在本发明的保护范围之内。The present invention has been exemplarily described above with reference to the accompanying drawings. Obviously, the specific implementation of the present invention is not limited by the above-mentioned manner, as long as various insubstantial improvements made by the method concept and technical solution of the present invention are adopted; or After improvement, it is within the protection scope of the present invention to directly apply the above-mentioned ideas and technical solutions of the present invention to other occasions.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110709932.3A CN113465544B (en) | 2021-06-25 | 2021-06-25 | Stripe projection three-dimensional measurement nonlinear error correction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110709932.3A CN113465544B (en) | 2021-06-25 | 2021-06-25 | Stripe projection three-dimensional measurement nonlinear error correction method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113465544A CN113465544A (en) | 2021-10-01 |
CN113465544B true CN113465544B (en) | 2022-04-08 |
Family
ID=77872882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110709932.3A Active CN113465544B (en) | 2021-06-25 | 2021-06-25 | Stripe projection three-dimensional measurement nonlinear error correction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113465544B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115854920B (en) * | 2022-11-16 | 2024-05-28 | 安徽大学 | Crosstalk error correction method in three-dimensional measurement of color stripes |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201028737A (en) * | 2009-01-23 | 2010-08-01 | Univ Nat Taipei Technology | Method for simultaneous hue phase-shifting and system for 3-D surface profilometry using the same |
JP2013208284A (en) * | 2012-03-30 | 2013-10-10 | Fujifilm Corp | Stripe noise correction method of captured image, photographing apparatus and electronic endoscopic apparatus |
CN103383249A (en) * | 2013-07-12 | 2013-11-06 | 西安交通大学 | Gray fringe projection light intensity nonlinear correction method and phase correction method based on method |
CN105403172A (en) * | 2015-10-27 | 2016-03-16 | 华侨大学 | Regional Gamma precorrection phase error compensation method in large view field structured light vision measurement |
CN106017357A (en) * | 2016-08-04 | 2016-10-12 | 南昌航空大学 | Defocused projection three-dimensional measuring method based on colorful triangular wave fringes |
CN108303040A (en) * | 2018-02-27 | 2018-07-20 | 武汉理工大学 | A kind of three-dimension measuring system and application method based on plane compound eye and coaxial configuration light |
CN109186476A (en) * | 2018-10-26 | 2019-01-11 | 广东工业大学 | A kind of color structured light method for three-dimensional measurement, device, equipment and storage medium |
CN110608687A (en) * | 2019-06-04 | 2019-12-24 | 重庆大学 | A Color-coded Grating Crosstalk Compensation Method Based on Projection Plane |
CN112097685A (en) * | 2020-07-28 | 2020-12-18 | 安徽农业大学 | A three-dimensional measurement method of moving objects based on color fringe projection |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10257498B2 (en) * | 2015-12-04 | 2019-04-09 | Empire Technology Development Llc | Coordination of multiple structured light-based 3D image detectors |
CN109990731B (en) * | 2019-01-21 | 2024-12-13 | 深圳市易尚展示股份有限公司 | Correction method of nonlinear phase error based on digital projection 3D measurement system |
-
2021
- 2021-06-25 CN CN202110709932.3A patent/CN113465544B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201028737A (en) * | 2009-01-23 | 2010-08-01 | Univ Nat Taipei Technology | Method for simultaneous hue phase-shifting and system for 3-D surface profilometry using the same |
JP2013208284A (en) * | 2012-03-30 | 2013-10-10 | Fujifilm Corp | Stripe noise correction method of captured image, photographing apparatus and electronic endoscopic apparatus |
CN103383249A (en) * | 2013-07-12 | 2013-11-06 | 西安交通大学 | Gray fringe projection light intensity nonlinear correction method and phase correction method based on method |
CN105403172A (en) * | 2015-10-27 | 2016-03-16 | 华侨大学 | Regional Gamma precorrection phase error compensation method in large view field structured light vision measurement |
CN106017357A (en) * | 2016-08-04 | 2016-10-12 | 南昌航空大学 | Defocused projection three-dimensional measuring method based on colorful triangular wave fringes |
CN108303040A (en) * | 2018-02-27 | 2018-07-20 | 武汉理工大学 | A kind of three-dimension measuring system and application method based on plane compound eye and coaxial configuration light |
CN109186476A (en) * | 2018-10-26 | 2019-01-11 | 广东工业大学 | A kind of color structured light method for three-dimensional measurement, device, equipment and storage medium |
CN110608687A (en) * | 2019-06-04 | 2019-12-24 | 重庆大学 | A Color-coded Grating Crosstalk Compensation Method Based on Projection Plane |
CN112097685A (en) * | 2020-07-28 | 2020-12-18 | 安徽农业大学 | A three-dimensional measurement method of moving objects based on color fringe projection |
Non-Patent Citations (1)
Title |
---|
多光通道结构光三维测量系统误差补偿研究;张宗华等;《光电子·激光》;20200531;第31卷(第5期);第480-487页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113465544A (en) | 2021-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | Nonlinear correction for fringe projection profilometry with shifted-phase histogram equalization | |
CN113983960B (en) | Multi-frequency fringe projection nonlinear error correction method | |
US12013228B2 (en) | Phase-shifting phase measurement error correction method based on pixel tracing of object raster images | |
CN101881605B (en) | Optical three-dimensional measuring method based on phase coding technology | |
CN113063371B (en) | Three-dimensional measurement method and system for nonlinear self-correction structured light for sine stripes | |
CN102322823B (en) | Phase grade self-coding-based optical three-dimensional measurement method | |
CN108955574B (en) | A three-dimensional measurement method and system | |
CN105606038B (en) | A kind of gamma non-linear correction method of phase measuring profilometer, system | |
Chen et al. | Generic exponential fringe model for alleviating phase error in phase measuring profilometry | |
CN108534714A (en) | Based on sinusoidal and binary system fringe projection quick three-dimensional measurement method | |
CN112097685A (en) | A three-dimensional measurement method of moving objects based on color fringe projection | |
CN106017357A (en) | Defocused projection three-dimensional measuring method based on colorful triangular wave fringes | |
CN102506760A (en) | Phase compensating method in object surface outline measurement | |
CN109141291A (en) | A kind of fast phase unwrapping algorithm | |
CN107063128A (en) | A kind of double frequency phase shift method for three-dimensional measurement and system | |
CN113465544B (en) | Stripe projection three-dimensional measurement nonlinear error correction method | |
CN110849290B (en) | Three-dimensional measurement method for segmented quantization coding intensity based on morphological operation | |
CN104048621A (en) | Phase error detection method based on constant phase encoding and applied to digital phase shifting three-dimensional measurement profilometry | |
CN111060028A (en) | A three-dimensional measurement method of composite sinusoidal trapezoidal stripe structured light | |
CN113686263B (en) | A three-dimensional measurement method of rigid moving objects based on phase-shift fringe projection | |
CN111207694B (en) | A three-dimensional measurement method with two-step phase shift method combined with phase encoding | |
CN117252913B (en) | Equidistant binary stripe coding projection method and system | |
CN102798354B (en) | Binary stripe stack based sinusoidal grating generation method | |
CN110608687A (en) | A Color-coded Grating Crosstalk Compensation Method Based on Projection Plane | |
CN115468513A (en) | Rapid projection strategy method, device and storage medium for three-dimensional measurement |
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 |