[go: up one dir, main page]

CN102003948A - High-precision optical stripe phase extraction method - Google Patents

High-precision optical stripe phase extraction method Download PDF

Info

Publication number
CN102003948A
CN102003948A CN 201010292179 CN201010292179A CN102003948A CN 102003948 A CN102003948 A CN 102003948A CN 201010292179 CN201010292179 CN 201010292179 CN 201010292179 A CN201010292179 A CN 201010292179A CN 102003948 A CN102003948 A CN 102003948A
Authority
CN
China
Prior art keywords
phase extraction
window
optical
fourier transform
max
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
CN 201010292179
Other languages
Chinese (zh)
Other versions
CN102003948B (en
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.)
Jinan University
Original Assignee
Jinan University
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 Jinan University filed Critical Jinan University
Priority to CN2010102921794A priority Critical patent/CN102003948B/en
Publication of CN102003948A publication Critical patent/CN102003948A/en
Application granted granted Critical
Publication of CN102003948B publication Critical patent/CN102003948B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a high-precision optical stripe phase extraction method which comprises the following steps of: performing adaptive window Fourier transform on an optical stripe by using a formula; then, performing inverse Fourier transform on complete first-level frequency spectrum to obtain a first-level frequency spectrum light intensity component I1(x); and extracting the phase of each point of the optical stripe by using a formula. The phase extraction method of the invention has the characteristic that the telescopic factor a corresponding to each point in the optical stripe is adaptively changed. Compared with the traditional phase extraction technology, the invention has higher phase extraction precision.

Description

一种高精度光学条纹位相提取方法 A high-precision optical fringe phase extraction method

技术领域technical field

本发明涉及光学测量技术领域,特别涉及光学条纹位相提取方法。The invention relates to the technical field of optical measurement, in particular to an optical fringe phase extraction method.

背景技术Background technique

利用光学条纹(如干涉条纹、投影条纹)进行光学精密测量是一种应用广泛的技术。对光学条纹的自动分析是该技术的关键。光学条纹位相提取技术是目前普遍采用的光学条纹自动分析技术。光学条纹位相提取技术包括傅里叶变换技术、相移技术等。相移技术需要多个正弦型分布的条纹,一般不适合动态测量,而傅里叶变换技术只需要一个条纹,特别适合动态测量。在傅里叶变换技术中,并不严格要求光学条纹是正弦分布的,但要求把一级频谱从傅里叶谱空间中完全提取出来。如果一级频谱和其他级频谱混叠,傅里叶变换技术无法完全提取一级频谱,将导致位相提取出现较大误差。出现频谱混叠的原因是因为傅里叶变换是一种全局变换,不能给出谱的空间(或时间)域信息,条纹某个局域的高级谱可能会和另一个局域的低级谱重叠。窗口傅里叶变换就是为弥补傅里叶变换局域性差而提出的,窗口傅里叶变换可以在一定程度上将不同局域的频谱分离开来,以改善不同局域的频谱混叠问题,从而提高位相提取精度。但窗口尺度的选取是一个关键问题。因为不同的窗口尺度,对应的频率分辨率和空间分辨率是不同的。宽的窗口对应高的频率分辨率、低的空间分辨率;反之,窄的窗口对应低的频率分辨率、高的空间分辨率。为了精确提取一级频谱,应尽量保证较高的频率分辨率;为了分离不同局域的频谱使之不混叠,又要求高的空间分辨率。但根据Heisenberg测不准原理,空间分辨率和频率分辨率不能同时达到最大值,因此就要求在两者间达到一个平衡:在保证不出现混叠的情况下尽量提高频率的分辨率。曾经有人提出窗口大小和局域条纹周期(或瞬时频率的倒数,这里所说的瞬时频率和随时间变化信号的瞬时频率对应)成正比[翁嘉文,钟金钢“伸缩窗口傅里叶变换在三维形貌测量中的应用”,光学学报,Vol.24,No.6,725-729,6/2004。郑素珍,陈文静,苏显渝,“自适应窗口傅里叶变换三维面形检测技术 ”,光电工程,Vol.32,No.9,51-54,2005。],这种窗口选取方法,当光学条纹的瞬时频率较高时,窗口的较窄,导致频率分辨率较低,不能保证在不出现混叠的情况下得到最高的频率分辨率,因此也不能保证获得较高的位相提取精度。我们也曾提出根据瞬时频率梯度来设置窗口大小,改善了上述情况,但要求利用一个积分不等式和一个经验阈值来判断瞬时频率梯度的大小,经验阈值给实际操作带来很大的不方便[Jingang Zhong and Huiping Zeng,“Multiscale windowed Fourier transform for phase extraction of fringe patterns,”Applied Optics,Vol.46,No.14,2670-2675,5/2007.]。Optical precision measurement using optical fringes (such as interference fringes, projected fringes) is a widely used technique. The automatic analysis of optical fringes is the key to this technology. Optical fringe phase extraction technology is a widely used automatic optical fringe analysis technology. The optical fringe phase extraction technology includes Fourier transform technology, phase shift technology and so on. Phase-shift technology requires multiple sinusoidally distributed fringes, which is generally not suitable for dynamic measurement, while Fourier transform technology only needs one fringe, which is especially suitable for dynamic measurement. In the Fourier transform technology, it is not strictly required that the optical fringes are sinusoidally distributed, but it is required to extract the first-order spectrum completely from the Fourier spectral space. If the first-order spectrum and the other-order spectrum are aliased, the Fourier transform technology cannot fully extract the first-order spectrum, which will lead to a large error in phase extraction. The reason for spectral aliasing is that the Fourier transform is a global transformation that cannot give the spatial (or time) domain information of the spectrum, and the high-level spectrum of a certain local area of the fringe may overlap with the low-level spectrum of another local area. . The windowed Fourier transform is proposed to make up for the poor locality of the Fourier transform. The windowed Fourier transform can separate the spectrum of different local areas to a certain extent, so as to improve the spectral aliasing problem of different local areas. Thereby improving the phase extraction precision. But the selection of the window scale is a key issue. Because of different window scales, the corresponding frequency resolution and spatial resolution are different. A wide window corresponds to high frequency resolution and low spatial resolution; conversely, a narrow window corresponds to low frequency resolution and high spatial resolution. In order to accurately extract the first-level spectrum, a higher frequency resolution should be ensured as much as possible; in order to separate the spectrum of different local areas so that they do not alias, a high spatial resolution is required. However, according to the Heisenberg uncertainty principle, the spatial resolution and the frequency resolution cannot reach the maximum value at the same time, so it is required to achieve a balance between the two: to improve the frequency resolution as much as possible without aliasing. It was once proposed that the window size is proportional to the local fringe period (or the reciprocal of the instantaneous frequency, which corresponds to the instantaneous frequency of the time-varying signal) [Weng Jiawen, Zhong Jingang, "Fourier transform of telescopic window in three-dimensional shape Application in Surface Measurement", Acta Optics Sinica, Vol.24, No.6, 725-729, 6/2004. Zheng Suzhen, Chen Wenjing, Su Xianyu, "Adaptive Window Fourier Transform 3D Surface Shape Detection Technology", Optoelectronic Engineering, Vol.32, No.9, 51-54, 2005. ], this window selection method, when the instantaneous frequency of the optical fringe is high, the window is narrow, resulting in low frequency resolution, which cannot guarantee the highest frequency resolution without aliasing, so it cannot Guaranteed to obtain higher phase extraction accuracy. We have also proposed to set the window size according to the instantaneous frequency gradient, which improves the above situation, but requires the use of an integral inequality and an empirical threshold to judge the size of the instantaneous frequency gradient. The empirical threshold brings great inconvenience to the actual operation [Jingang Zhong and Huiping Zeng, "Multiscale windowed Fourier transform for phase extraction of fringe patterns," Applied Optics, Vol.46, No.14, 2670-2675, 5/2007.].

我们经过仔细的理论分析,提出了一种新的窗口设置方法,在实际操作中比较容易实现,可以保证不出现混叠的情况下尽量提高频率的分辨率,获得了高精度的位相提取。After careful theoretical analysis, we proposed a new window setting method, which is relatively easy to implement in actual operation, and can improve the frequency resolution as much as possible without aliasing, and obtain high-precision phase extraction.

发明内容Contents of the invention

本发明的目的在于提出一种高精度光学条纹位相提取方法。The purpose of the present invention is to propose a high-precision optical fringe phase extraction method.

一种高精度光学条纹位相提取方法,采用公式

Figure BSA00000282968300021
对光学条纹进行自适应窗口傅里叶变换,其中I(x)为通过信号采集系统获得的光学条纹,x为光学条纹的坐标,
Figure BSA00000282968300022
是窗口函数,a是伸缩因子,b是平移因子,f表示频率,j表示复数的虚部,exp(-j2πfx)=e-j2πfx;通过平移因子b控制窗口在光学条纹上逐点移动进行窗口傅里叶变换,每进行一次窗口傅里叶变换,就提取该次变换的一级频谱,将所有一级频谱相加,就得到光学条纹的完整一级频谱F(f1);再采用公式
Figure BSA00000282968300023
对这完整一级频谱进行反傅里叶变换,利用公式
Figure BSA00000282968300024
即可提取光学条纹各点的位相
Figure BSA00000282968300025
其中Im[I1(x)]为复函数I1(x)的虚部,Re[I1(x)]为I1(x)的实部;其特征在于伸缩因子a的确定方法如下:首先提取光学条纹各点的瞬时频率finst(x);根据瞬时频率finst(x)来确定光学条纹中的每一点x所对应的自适应窗口傅里叶变换的最大窗口宽度wmax(x),最大窗口宽度wmax(x)按照以下规则来确定:在以x为中心的区间[x-Δx,x+Δx](Δx>0)内的最大瞬时频率为
Figure BSA00000282968300026
最小瞬时频率为
Figure BSA00000282968300027
满足条件的Δx最大值为Δxmax,则wmax(x)=2Δxmax;再根据最大窗口宽度wmax(x)确定伸缩因子a的大小。A high-precision optical fringe phase extraction method, using the formula
Figure BSA00000282968300021
Perform adaptive window Fourier transform on the optical fringe, where I(x) is the optical fringe obtained by the signal acquisition system, x is the coordinate of the optical fringe,
Figure BSA00000282968300022
Is the window function, a is the expansion factor, b is the translation factor, f represents the frequency, j represents the imaginary part of the complex number, exp(-j2πfx)=e -j2πfx ; the window is controlled by the translation factor b to move point by point on the optical fringe to carry out the window Fourier transform, each time a windowed Fourier transform is performed, the first-order spectrum of this transformation is extracted, and all the first-order spectra are added to obtain the complete first-order spectrum F(f 1 ) of the optical fringe; then the formula
Figure BSA00000282968300023
Perform an inverse Fourier transform on this complete first-order spectrum, using the formula
Figure BSA00000282968300024
The phase of each point of the optical fringe can be extracted
Figure BSA00000282968300025
Wherein Im[I 1 (x)] is the imaginary part of the complex function I 1 (x), Re[I 1 (x)] is the real part of I 1 (x); it is characterized in that the determination method of the expansion factor a is as follows: First extract the instantaneous frequency f inst (x) of each point of the optical fringe; determine the maximum window width w max (x) of the adaptive window Fourier transform corresponding to each point x in the optical fringe according to the instantaneous frequency f inst (x) ), the maximum window width w max (x) is determined according to the following rules: the maximum instantaneous frequency in the interval [x-Δx, x+Δx] (Δx>0) centered on x is
Figure BSA00000282968300026
The minimum instantaneous frequency is
Figure BSA00000282968300027
To meet the conditions The maximum value of Δx is Δx max , then w max (x)=2Δx max ; then determine the scaling factor a according to the maximum window width w max (x).

进一步的,窗口函数采用高斯函数 G a b ( x ) = 1 a g ( x - b a ) , g ( x ) = 1 2 π exp ( - x 2 2 ) . Further, the window function adopts the Gaussian function G a b ( x ) = 1 a g ( x - b a ) , g ( x ) = 1 2 π exp ( - x 2 2 ) .

进一步的,取高斯函数最大值的1/e2处的全宽度为高斯窗口宽度,光学条纹中的每一点x所对应的伸缩因子

Figure BSA000002829683000211
Further, take the full width at 1/e 2 of the maximum value of the Gaussian function as the width of the Gaussian window, and the scaling factor corresponding to each point x in the optical fringe
Figure BSA000002829683000211

为了保证窗口傅里叶变换的一级频谱不会和零级频谱重叠,最好是设定一个最大窗口宽度wmax(x)的最小值,对于高斯函数,wmax(x)的最小值优先采用即如果满足条件

Figure BSA00000282968300032
的Δx最大值
Figure BSA00000282968300033
那么
Figure BSA00000282968300034
In order to ensure that the first-order spectrum of the windowed Fourier transform does not overlap with the zero-order spectrum, it is best to set a minimum value of the maximum window width w max (x). For Gaussian functions, the minimum value of w max (x) is preferred use i.e. if the condition is met
Figure BSA00000282968300032
Δx max
Figure BSA00000282968300033
So
Figure BSA00000282968300034

进一步的,采用小波变换方法提取光学条纹各点的瞬时频率。小波变换方法是现有的提取瞬时频率方法中的较好的方法。Further, the wavelet transform method is used to extract the instantaneous frequency of each point of the optical fringe. The wavelet transform method is a better method among the existing methods for extracting instantaneous frequency.

本发明的理论依据如下:The theoretical basis of the present invention is as follows:

对于任一光学条纹,可以用下式表示:For any optical fringe, it can be expressed by the following formula:

Figure BSA00000282968300035
Figure BSA00000282968300035

其中,r(x)为表示对比度的参数,An为傅里叶系数,n为整数,

Figure BSA00000282968300036
为需要提取的位相。设I1(x)为光学条纹的基傅里叶分量,有:Wherein, r(x) is a parameter representing contrast, A n is a Fourier coefficient, and n is an integer,
Figure BSA00000282968300036
is the phase to be extracted. Let I 1 (x) be the base Fourier component of the optical fringe, we have:

Figure BSA00000282968300037
Figure BSA00000282968300037

那么通过以下运算即可获得位相:Then the phase can be obtained by the following operation:

Figure BSA00000282968300038
Figure BSA00000282968300038

因此,要提取位相

Figure BSA00000282968300039
首先要获得I1(x)。目前最常用的方法是先对(1)式表示的光学条纹进行傅里叶变换:Therefore, to extract the phase
Figure BSA00000282968300039
First, I 1 (x) must be obtained. At present, the most commonly used method is to perform Fourier transform on the optical fringe represented by formula (1):

Ff (( ff )) == ∫∫ -- xx xx II (( xx )) expexp (( -- jj 22 πfxπfx )) dxdx ,, -- -- -- (( 44 ))

从其傅里叶频谱中提取一级频谱F(f1),再对该一级频谱进行逆傅里叶变换,即可得:Extract the first-order spectrum F(f 1 ) from its Fourier spectrum, and then perform inverse Fourier transform on the first-order spectrum to get:

II 11 (( xx )) == ∫∫ -- xx xx Ff (( ff 11 )) expexp (( jj 22 πfxπfx )) dfdf .. -- -- -- (( 55 ))

该方法存在的问题是,如果一级频谱F(f1)和其他频谱混叠在一起,则无法提取完整的一级频谱F(f1),因此也就限制了其应用范围。The problem with this method is that if the primary spectrum F(f 1 ) is aliased with other spectrums, the complete primary spectrum F(f 1 ) cannot be extracted, thus limiting its application range.

本发明采用自适应窗口傅里叶变换方法,可在一定程度上解决上述频谱混叠问题。自适应窗口傅里叶变换表示为:The present invention adopts an adaptive window Fourier transform method, which can solve the above spectrum aliasing problem to a certain extent. The adaptive window Fourier transform is expressed as:

AWFTAWFT aa bb (( ff )) == ∫∫ -- xx xx [[ II (( xx )) expexp (( -- jj 22 πfxπfx )) ]] GG aa bb (( xx )) dxdx .. -- -- -- (( 66 ))

其中,

Figure BSA000002829683000313
Figure BSA000002829683000314
是高斯函数,伸缩因子a(>0)控制高斯函数的宽度,平移因子b在x轴上逐点移动,使高斯窗口在x轴上滑动。根据高斯函数的性质有:in,
Figure BSA000002829683000313
Figure BSA000002829683000314
is a Gaussian function, the scaling factor a (>0) controls the width of the Gaussian function, and the translation factor b moves point by point on the x-axis to make the Gaussian window slide on the x-axis. According to the properties of the Gaussian function:

∫∫ -- xx xx GG aa bb (( xx )) dxdx == ∫∫ -- xx xx GG aa bb (( xx )) dbdb == 11 ,, -- -- -- (( 77 ))

因此可得到以下关系:Therefore the following relationship can be obtained:

∫∫ -- xx xx AWFTAWFT aa bb (( ff )) dbdb == ∫∫ -- xx xx ∫∫ -- xx xx [[ II (( xx )) expexp (( -- jj 22 πfxπfx )) ]] GG aa bb (( xx )) dxdbdxdb

== ∫∫ -- xx xx {{ II (( xx )) expexp (( -- jj 22 πfxπfx )) ∫∫ -- xx xx GG aa bb (( xx )) dbdb }} dxdx ,, -- -- -- (( 88 ))

== ∫∫ -- xx xx II (( xx )) expexp (( -- jj 22 πfxπfx )) dxdx

== Ff (( ff ))

上式表明,将所有窗口傅里叶变换的频谱进行叠加,即可得到传统傅里叶变换频谱。因此,将所有窗口傅里叶变换的一级频谱进行叠加,也可得到传统傅里叶变换一级频谱:The above formula shows that the traditional Fourier transform spectrum can be obtained by superimposing the spectra of all window Fourier transforms. Therefore, the traditional Fourier transform primary spectrum can also be obtained by superimposing the primary spectrum of all window Fourier transforms:

Ff (( ff 11 )) == ∫∫ -- xx xx AWFTAWFT aa bb (( ff 11 )) dbdb .. -- -- -- (( 99 ))

再根据(5)和(3)式,就可以获得所需要的位相。Then according to (5) and (3) equations, the required phase can be obtained.

那么,如何确定伸缩因子a使得在每次进行窗口傅里叶变换后,保证窗口傅里叶变换的一级频谱和其他频谱分离就成为该方法的关键,同时为了能精确完整地提取一级频谱,应尽可能地提高窗口傅里叶变换的频率分辨率。本发明就是根据这一原则来确定伸缩因子a的大小:Then, how to determine the scaling factor a so that after each windowed Fourier transform, it is the key to ensure the separation of the first-order spectrum of the window Fourier transform from other spectrums, and at the same time, in order to accurately and completely extract the first-order spectrum , the frequency resolution of the windowed Fourier transform should be improved as much as possible. The present invention determines the size of expansion factor a according to this principle:

(a)如图1所示,为了使以x为中心的窗口傅里叶变换内的一级频谱不会和二级谱重叠,必须满足关系:(a) As shown in Figure 1, in order to make the first-order spectrum in the window Fourier transform centered on x will not overlap with the second-order spectrum, the relationship must be satisfied:

(f1)max<(f2)min。                         (10)(f 1 ) max < (f 2 ) min . (10)

由于(f2)min=2(f1)min,因此(10)式又可写为:Since (f 2 ) min =2(f 1 ) min , formula (10) can be written as:

(f1)max<2(f1)min。                        (11)(f 1 ) max < 2(f 1 ) min . (11)

上式也可表示为瞬时频率的形式:The above formula can also be expressed in the form of instantaneous frequency:

(( ff instinst xx )) maxmax << 22 (( ff mstmst xx )) minmin .. -- -- -- (( 1212 ))

其中

Figure BSA00000282968300047
分别为以x为中心的区间[x-Δx,x+Δx](Δx>0)内的最大瞬时频率、最小瞬时频率,满足条件(12)的Δx最大值为Δxmax,则自适应窗口傅里叶变换高斯窗口的宽度为:in
Figure BSA00000282968300047
are respectively the maximum instantaneous frequency and the minimum instantaneous frequency in the interval [x-Δx, x+Δx] (Δx>0) centered on x, and the maximum value of Δx satisfying the condition (12) is Δx max , then the adaptive window Fu The width of the Lie transform Gaussian window is:

wmax(x)=2Δxmax。                         (13)w max (x)=2Δx max . (13)

取高斯函数最大值的1/e2处的全宽度为高斯窗口,则:Take the full width at 1/e 2 of the maximum value of the Gaussian function as the Gaussian window, then:

wmax(x)=4a,                              (14)w max (x) = 4a, (14)

那么,So,

aa == 11 22 &Delta;&Delta; xx maxmax .. -- -- -- (( 1515 ))

(b)如图1所示,为了使以x为中心的窗口傅里叶变换内的一级频谱不会和零级频谱重叠,必须满足关系:(b) As shown in Figure 1, in order to make the first-order spectrum in the window Fourier transform centered on x will not overlap with the zero-order spectrum, the relationship must be satisfied:

fb<(f1)min,                          (16)f b <(f 1 ) min , (16)

表示为瞬时频率的形式:Expressed in the form of instantaneous frequency:

ff bb << (( ff instinst xx )) minmin .. -- -- -- (( 1717 ))

对于高斯函数,有:For Gaussian functions, there are:

ff bb == 11 22 &pi;a&pi;a ,, -- -- -- (( 1818 ))

那么: a > 1 2 &pi; ( f inst x ) min , - - - ( 19 ) So: a > 1 2 &pi; ( f inst x ) min , - - - ( 19 )

也就是说,在以x为中心的区间[x-Δxmax,x+Δxmax]内的最小瞬时频率为

Figure BSA00000282968300054
那么伸缩因子a的最小值必须满足条件(19),才能保证一级频谱不会和零级频谱重叠。That is, the minimum instantaneous frequency within the interval [x-Δx max , x+Δx max ] centered at x is
Figure BSA00000282968300054
Then the minimum value of the scaling factor a must satisfy the condition (19), so as to ensure that the first-order spectrum will not overlap with the zero-order spectrum.

综合(15)和(19)式,有:Combining formulas (15) and (19), we have:

Figure BSA00000282968300055
Figure BSA00000282968300055

根据(14)式,上式也可写成一下形式:According to formula (14), the above formula can also be written as follows:

Figure BSA00000282968300056
Figure BSA00000282968300056

本发明由于采用自适应的伸缩因子a,最大限度使图像中各点的窗口傅里叶变换后的一级频谱不与零级频谱和二级频谱相混叠,因此与现有的傅里叶变换、固定窗口傅里叶变换、小波变换等位相提取技术相比,本发明具有更高的位相提取精度。Because the present invention adopts the self-adaptive expansion factor a, the first-order spectrum after the window Fourier transform of each point in the image is not mixed with the zero-order spectrum and the second-order spectrum to the greatest extent, so it is different from the existing Fourier Compared with phase extraction techniques such as phase extraction techniques such as Fourier transformation with fixed window, wavelet transformation, etc., the present invention has higher phase extraction precision.

附图说明Description of drawings

图1为窗口傅里叶变换频谱示意图。Figure 1 is a schematic diagram of a windowed Fourier transform spectrum.

图2为一维光学条纹图。Figure 2 is a one-dimensional optical fringe diagram.

图3为光学条纹的瞬时频率分布图。Fig. 3 is a graph of instantaneous frequency distribution of optical fringes.

图4为最大窗口宽度分布图。Figure 4 is a distribution diagram of the maximum window width.

图5为高斯函数伸缩因子分布图。Fig. 5 is a distribution diagram of Gaussian function scaling factor.

图6为本发明位相提取方法获得的位相图。Fig. 6 is a phase diagram obtained by the phase extraction method of the present invention.

图7为实施例结构光投影光学条纹图。Fig. 7 is an optical fringe diagram of the structured light projection of the embodiment.

图8为本发明位相提取方法对结构光投影光学条纹提取的位相图。FIG. 8 is a phase diagram of optical fringe extraction of structured light projection by the phase extraction method of the present invention.

图9为利用本发明位相提取方法提取的位相图重建的嘴唇轮廓。Fig. 9 is the contour of lips reconstructed from the phase map extracted by the phase extraction method of the present invention.

图10为传统傅里叶变换位相提取方法对结构光投影光学条纹提取的位相图。Fig. 10 is a phase diagram of the extraction of structured light projection optical fringes by the traditional Fourier transform phase extraction method.

图11为利用传统傅里叶变换位相提取方法提取的位相图重建的嘴唇轮廓。Fig. 11 is the lip contour reconstructed from the phase map extracted by the traditional Fourier transform phase extraction method.

图12为小波变换位相提取方法对结构光投影光学条纹提取的位相图。Fig. 12 is a phase diagram of extraction of optical fringes of structured light projection by wavelet transform phase extraction method.

图13为利用小波变换位相提取方法提取的位相图重建的嘴唇轮廓。Figure 13 is the lip contour reconstructed from the phase map extracted by wavelet transform phase extraction method.

具体实施方式Detailed ways

下面结合附图对本发明作进一步详细地说明。The present invention will be described in further detail below in conjunction with the accompanying drawings.

图2所示为需要进行位相提取的一维光学条纹图,通过信号采集设备得到的光学条纹可表示为离散化形式I(m),其中m为大于或等于零的整数,即0≤m≤M。应用本发明的方法对图2所示光学条纹进行位相提取,具体步骤如下:Figure 2 shows the one-dimensional optical fringe pattern that requires phase extraction. The optical fringe obtained by the signal acquisition device can be expressed as a discretized form I(m), where m is an integer greater than or equal to zero, that is, 0≤m≤M . Applying the method of the present invention to carry out phase extraction to the optical fringes shown in Figure 2, the specific steps are as follows:

(1)首先利用现有技术,例如小波变换方法获取光学条纹的瞬时频率分布finst(m),频率的单位为Hz,如图3所示。(1) Firstly, the instantaneous frequency distribution f inst (m) of the optical fringe is obtained by using the existing technology, such as the wavelet transform method, and the unit of the frequency is Hz, as shown in FIG. 3 .

(2)确定以点m为中心的区间[m-Δ,m+Δ]内满足条件

Figure BSA00000282968300061
的Δ最大值Δmax。其中Δ为大于或等于零的整数;
Figure BSA00000282968300062
为区间[m-Δ,m+Δ]内瞬时频率的最大值,表示为
Figure BSA00000282968300063
为区间[m-Δ,m+Δ]内瞬时频率的最小值,表示为
Figure BSA00000282968300065
得到以点m为中心的高斯窗口函数的最大窗口宽度:(2) Determine that the condition is satisfied within the interval [m-Δ, m+Δ] centered on point m
Figure BSA00000282968300061
The maximum value of Δ Δ max . Where Δ is an integer greater than or equal to zero;
Figure BSA00000282968300062
is the maximum value of the instantaneous frequency in the interval [m-Δ, m+Δ], expressed as
Figure BSA00000282968300063
is the minimum value of the instantaneous frequency in the interval [m-Δ, m+Δ], expressed as
Figure BSA00000282968300065
Get the maximum window width of the Gaussian window function centered at point m:

Figure BSA00000282968300066
如图4所示。
Figure BSA00000282968300066
As shown in Figure 4.

(3)根据高斯窗口宽度和伸缩因子a的关系wmax(m)=4a(m),逐点确定以m点为中心的高斯函数的伸缩因子a(m)的大小:(3) according to the relation w max (m)=4a (m) of Gaussian window width and expansion factor a, determine point by point the size of the expansion factor a (m) of the Gaussian function centered on point m:

如图5所示。 As shown in Figure 5.

(4)使高斯窗在光学条纹上逐点移动进行离散自适应窗口傅里叶变换:(4) Make the Gaussian window move point by point on the optical fringe to perform discrete adaptive window Fourier transform:

AWFTAWFT aa (( kk )) kk (( ff )) == &Sigma;&Sigma; mm [[ II (( mm )) expexp (( -- jj 22 &pi;fm&pi;fm )) ]] GG aa (( kk )) kk (( mm )) ,,

其中,

Figure BSA00000282968300069
Figure BSA000002829683000610
k为大于或等于零的整数且0≤k≤M,这里的k与上述的b的意义相同。每进行一次窗口傅里叶变换,提取其一级频谱将所有的一级频谱相加即得到全局傅里叶变换的一级频谱
Figure BSA00000282968300072
in,
Figure BSA00000282968300069
Figure BSA000002829683000610
k is an integer greater than or equal to zero and 0≤k≤M, where k has the same meaning as b above. Every time a windowed Fourier transform is performed, its primary spectrum is extracted Add all the first-order spectrum to get the first-order spectrum of the global Fourier transform
Figure BSA00000282968300072

(5)对F(f1)进行逆傅里叶变换得到再通过以下公式提取位相:如图6所示。(5) Perform inverse Fourier transform on F(f 1 ) to get The phase is then extracted by the following formula: As shown in Figure 6.

实施例Example

利用本发明方法对结构光投影轮廓术中获取的光学条纹进行位相提取,从而实现表面轮廓测量。图7是结构光投影光学条纹图,是对人脸进行结构光投影获得的光学条纹图。图8为本发明位相提取方法对图7中间方框内区域结构光投影光学条纹图提取的位相图。图9为基于图8重建的嘴唇轮廓。图10为传统傅里叶变换位相提取方法对图7中间方框内区域结构光投影光学条纹图提取的位相图。图11为基于图10重建的嘴唇轮廓。图12为小波变换位相提取方法对图7中间方框内区域结构光投影光学条纹图提取的位相图。图13为基于图12重建的嘴唇轮廓。从图9、图11、图13重建的嘴唇轮廓效果来看,图9的效果明显优于图11和图13,由此可见,利用本发明位相提取方法具有更高的位相提取精度。The method of the invention is used to extract the phase of the optical fringes obtained in the structured light projection profilometry, thereby realizing the surface profile measurement. FIG. 7 is an optical fringe diagram of structured light projection, which is an optical fringe diagram obtained by projecting structured light on a human face. Fig. 8 is a phase diagram extracted from the optical fringe pattern of structured light projection in the area in the middle box of Fig. 7 by the phase extraction method of the present invention. Fig. 9 is the lip contour reconstructed based on Fig. 8 . Fig. 10 is a phase diagram extracted by the traditional Fourier transform phase extraction method for the optical fringe pattern extracted from the structured light projection of the area in the middle box of Fig. 7 . Fig. 11 is the lip contour reconstructed based on Fig. 10 . Fig. 12 is the phase diagram extracted from the optical fringe pattern of the structured light projection in the middle box of Fig. 7 by the wavelet transform phase extraction method. Fig. 13 is the lip contour reconstructed based on Fig. 12 . Judging from the reconstructed lip contour effects in Fig. 9, Fig. 11 and Fig. 13, the effect in Fig. 9 is obviously better than that in Fig. 11 and Fig. 13. It can be seen that the phase extraction method of the present invention has higher phase extraction accuracy.

Claims (5)

1. A high-precision optical stripe phase extraction method adopts a formula
Figure FSA00000282968200011
Performing an adaptive windowed Fourier transform on the optical fringes, wherein I (x) is the optical fringes obtained by the signal acquisition system, x is the coordinates of the optical fringes,
Figure FSA00000282968200012
is a window function, a is a scaling factor, b is a translation factorSub, f denotes frequency, j denotes imaginary part of complex number; controlling the window to move point by point on the optical stripe by a translation factor b to perform window Fourier transform, extracting the primary frequency spectrum of the transform every time the window Fourier transform is performed, and adding all the primary frequency spectrums to obtain a complete primary frequency spectrum F (F) of the optical stripe1) (ii) a Then using the formulaPerforming inverse Fourier transform on the complete primary spectrum by using formula
Figure FSA00000282968200014
The phase of each point of the optical stripe can be extracted
Figure FSA00000282968200015
Wherein Im [ I1(x)]Is a complex function I1(x) Imaginary part of, Re [ I ]1(x)]Is I1(x) The real part of (a); the method for determining the scaling factor a is characterized by comprising the following steps: firstly, extracting the instantaneous frequency f of each point of the optical stripeinst(x) (ii) a According to instantaneous frequency finst(x) To determine the maximum window width w of the adaptive window Fourier transform corresponding to each point x in the optical fringemax(x) Maximum window width wmax(x) Determined according to the following rules: in the interval [ x- Δ x, x + Δ x ] centered at x](Δ x > 0) a maximum instantaneous frequency of
Figure FSA00000282968200016
Minimum instantaneous frequency of
Figure FSA00000282968200017
Satisfies the conditions
Figure FSA00000282968200018
Δ x of (a) is maximum Δ xmaxThen w ismax(x)=2Δxmax(ii) a Then according to the maximum window width wmax(x) The magnitude of the scaling factor a is determined.
2. The method according to claim 1, wherein the phase extraction method comprises: the window function adopts a Gaussian function
Figure FSA00000282968200019
Figure FSA000002829682000110
3. The method according to claim 1 or 2, wherein the phase extraction method comprises: the scale factor corresponding to each point x in the optical stripe
4. The method according to claim 3, wherein the phase extraction method comprises: determining a maximum window width wmax(x) When, if
Figure FSA000002829682000112
Then
Figure FSA000002829682000113
5. The method according to claim 1, wherein the phase extraction method comprises: and extracting the instantaneous frequency of each point of the optical stripe by adopting a wavelet transform method.
CN2010102921794A 2010-09-21 2010-09-21 A high-precision optical fringe phase extraction method Expired - Fee Related CN102003948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102921794A CN102003948B (en) 2010-09-21 2010-09-21 A high-precision optical fringe phase extraction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102921794A CN102003948B (en) 2010-09-21 2010-09-21 A high-precision optical fringe phase extraction method

Publications (2)

Publication Number Publication Date
CN102003948A true CN102003948A (en) 2011-04-06
CN102003948B CN102003948B (en) 2012-02-29

Family

ID=43811509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102921794A Expired - Fee Related CN102003948B (en) 2010-09-21 2010-09-21 A high-precision optical fringe phase extraction method

Country Status (1)

Country Link
CN (1) CN102003948B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305320A (en) * 2018-02-09 2018-07-20 重庆大学 Adaptive windowing method for reconstructing for improving big visual field holographic imaging quality

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000329514A (en) * 1999-05-18 2000-11-30 Mitsutoyo Corp Method for correcting interference fringe image
CN1844868A (en) * 2006-04-28 2006-10-11 清华大学 Method and device for measuring laser wavelength by heterodyne interferometry
CN101655359A (en) * 2009-07-01 2010-02-24 四川大学 Method for realizing real-time three-dimensional shape measurement by using unequal step phase shifting cross grating

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000329514A (en) * 1999-05-18 2000-11-30 Mitsutoyo Corp Method for correcting interference fringe image
CN1844868A (en) * 2006-04-28 2006-10-11 清华大学 Method and device for measuring laser wavelength by heterodyne interferometry
CN101655359A (en) * 2009-07-01 2010-02-24 四川大学 Method for realizing real-time three-dimensional shape measurement by using unequal step phase shifting cross grating

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《光子学报》 20030831 翁嘉文 等 加窗傅里叶变换在三维形貌测量中的应用 993-996 1-5 第32卷, 第8期 2 *
《光学学报》 20040630 翁嘉文 等 伸缩窗口傅里叶变换在三维形貌测量中的应用 725-729 1-5 第24卷, 第6期 2 *
《光电工程》 20100131 杨初平 等 畸变测量中应用窗口傅里叶变换载频条纹分析 13-18 1-5 第37卷, 第1期 2 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305320A (en) * 2018-02-09 2018-07-20 重庆大学 Adaptive windowing method for reconstructing for improving big visual field holographic imaging quality
CN108305320B (en) * 2018-02-09 2021-06-04 重庆大学 Self-adaptive sliding window reconstruction method for improving large-field holographic imaging quality

Also Published As

Publication number Publication date
CN102003948B (en) 2012-02-29

Similar Documents

Publication Publication Date Title
CN101986098B (en) Three-dimensional measuring method based on three-color light projection using Fourier transform
Huang et al. Comparison of Fourier transform, windowed Fourier transform, and wavelet transform methods for phase extraction from a single fringe pattern in fringe projection profilometry
Giusca et al. Calibration of the scales of areal surface topography measuring instruments: part 3. Resolution
Quan et al. Phase-retrieval techniques in fringe-projection profilometry
Huang et al. Spline based least squares integration for two-dimensional shape or wavefront reconstruction
CN106813596B (en) A kind of self-calibration shadow Moire measuring three-dimensional profile method
CN103267496B (en) A kind of improvement window Fourier three-dimensional measurement method based on wavelet transformation
Liu et al. Simultaneous extraction of phase and phase shift from two interferograms using Lissajous figure and ellipse fitting technology with Hilbert–Huang prefiltering
Wu et al. Improved composite Fourier transform profilometry
Huang et al. Phase retrieval from reflective fringe patterns of double-sided transparent objects
Barucq et al. A priori estimates of attraction basins for nonlinear least squares, with application to Helmholtz seismic inverse problem
Dou et al. A flexible fast 3D profilometry based on modulation measurement
Zhong et al. Optical 3D shape measurement profilometry based on 2D S-Transform filtering method
Ratnam et al. Circular fringe projection technique for out-of-plane deformation measurements
CN109696152A (en) A kind of low coherence regional land subsidence amount evaluation method
Wu et al. Accurate characterisation of hole size and location by projected fringe profilometry
Jiang et al. Fringe pattern analysis by S-transform
Fujun et al. Single fringe projection profilometry based on sinusoidal intensity normalization and subpixel fitting
CN102003948B (en) A high-precision optical fringe phase extraction method
Gdeisat et al. Fast fringe pattern phase demodulation using FIR Hilbert transformers
CN102096910A (en) Method for acquiring weighted gradient quality map for two-dimensional phase unwrapping
Cywińska et al. Enhancing single-shot fringe pattern phase demodulation using advanced variational image decomposition
Ruan et al. Direct measurement of the vorticity field in digital particle images
Chen et al. Study on Fourier transforms profilometry based on bi-color projecting
Kulkarni et al. Matrix pencil based phase derivative estimation in digital holographic interferometry

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120229

Termination date: 20140921

EXPY Termination of patent right or utility model