楊麗娟, 束益梅, 程 菊,2, 邊心田,2
(1.淮陰師范學(xué)院 物理與電子電氣工程學(xué)院, 江蘇 淮安 223300; 2.淮陰師范學(xué)院 江蘇省現(xiàn)代檢測(cè)技術(shù)與智能系統(tǒng)重點(diǎn)建設(shè)實(shí)驗(yàn)室, 江蘇 淮安 223300)
?
改進(jìn)的復(fù)合光柵投影快速三維測(cè)量方法
楊麗娟1, 束益梅1, 程 菊1,2, 邊心田1,2
(1.淮陰師范學(xué)院 物理與電子電氣工程學(xué)院, 江蘇 淮安 223300; 2.淮陰師范學(xué)院 江蘇省現(xiàn)代檢測(cè)技術(shù)與智能系統(tǒng)重點(diǎn)建設(shè)實(shí)驗(yàn)室, 江蘇 淮安 223300)
提出一種新相移算法下的復(fù)合光柵投影三維測(cè)量方法.利用逆推法建立投影光柵模型,對(duì)投影儀投出的光柵進(jìn)行預(yù)校正,保證投到參考面的條紋為標(biāo)準(zhǔn)的正弦分布.測(cè)量過(guò)程由具有相移的復(fù)合光柵到待測(cè)物體表面,CCD相機(jī)采集變形條紋圖,將采集到的圖像分離成3幀單色圖,再由相位算法提取相位,通過(guò)高度映射公式恢復(fù)待測(cè)物體的三維面形.該方法有較好的抗噪性能,為動(dòng)態(tài)在線測(cè)量奠定了基礎(chǔ).計(jì)算機(jī)仿真實(shí)驗(yàn)驗(yàn)證了該方法的可行性.
三維測(cè)量; 復(fù)合光柵; 逆推法; 光柵投影
圖1 系統(tǒng)測(cè)量原理示意圖
1.1 光柵模型
通常采用發(fā)散光路投影的測(cè)量系統(tǒng)原理如圖1所示,投影到參考面的條紋會(huì)產(chǎn)生畸變,其幾何變換關(guān)系[9]為
(1)
式中,x,x′分別為投影光柵上點(diǎn)的坐標(biāo)和與之對(duì)應(yīng)的投影到參考面上點(diǎn)的坐標(biāo),d是投影系統(tǒng)出瞳與成像系統(tǒng)入瞳之間的距離,L是成像系統(tǒng)入瞳與參考面之間的距離,f是投影系統(tǒng)焦距.投影到參考面上的條紋是等周期分布的,令其周期為p,其相位分布φ(x)可表示為
(2)
所以,投影光柵的相位分布函數(shù)為
(3)
1.2 相位分析
I(x,y)= Rr(x,y){Ar(x,y)+Br(x,y)cosφ(x,y)}+
(4)
Ir(x,y)=Rr(x,y){Ar(x,y)+Br(x,y)cosφ(x,y)}
(5)
(6)
(7)
聯(lián)立式(5)~(7),計(jì)算出相位分布為
(8)
由式(8)計(jì)算出的相位分布被截?cái)嘣诜慈呛瘮?shù)的主值范圍內(nèi),必須展開(kāi)成連續(xù)的相位φu.所以,物體的相位-高度之間的關(guān)系[1]可以表示為
(9)
為了驗(yàn)證提出方法的可行性,進(jìn)行了計(jì)算機(jī)仿真實(shí)驗(yàn).模擬待測(cè)物體大小為400×400 pixel,高度為4 cm的Peaks函數(shù),如圖2所示.利用提出方法將一幅復(fù)合光柵圖像投影到被測(cè)物體上,對(duì)成像系統(tǒng)獲取的變形條紋如圖3所示,并對(duì)其進(jìn)行分離成3幀具有相移的單色變形條紋圖像如圖4,利用式(8)求出物體的相位,最后根據(jù)相位-高度映射關(guān)系恢復(fù)物體的三維面形如圖5所示.在條紋圖中給強(qiáng)度添加了3%的隨機(jī)噪聲后恢復(fù)物體與實(shí)際待測(cè)物體的誤差如圖6所示.由圖6可以看出,本文提出的方法具有較高的測(cè)量精度,可以將誤差控制在0.02 μm以內(nèi).
圖2 模擬待測(cè)物體圖像 圖3 變形條紋圖像
圖4 通過(guò)變形條紋圖分離成3幀具有相移的單色變形條紋圖像
圖5 恢復(fù)物體圖像 圖6 恢復(fù)物體與待測(cè)物體的誤差
提出光柵預(yù)校正與復(fù)合光柵相結(jié)合的方法.將復(fù)合光柵投影的彩色條紋圖分離成具有相移的RGB單色條紋強(qiáng)度分布圖,有效的避免了傳統(tǒng)算法中相移誤差的問(wèn)題,提高了測(cè)量精度;光柵預(yù)校正算法簡(jiǎn)化了測(cè)量過(guò)程.提出方法具有較強(qiáng)的抗噪聲能力,在較大噪聲情況下,仍能獲得滿意的效果,仿真實(shí)驗(yàn)驗(yàn)證了本方法的可行性,為在線三維測(cè)量提供了一種有效的測(cè)量手段.
[1] 蘇顯渝. 信息光學(xué)[M].北京:科學(xué)出版社,2011.
[2] 陳鋒,蘿莉. 復(fù)合光柵投影的相位測(cè)量輪廓術(shù)[J]. 激光雜志,2007, 28(3): 52-53.
[3] 李華偉,申作春,覃銀紅,等. 相位測(cè)量輪廓術(shù)應(yīng)用于葉片測(cè)量[J]. 航空動(dòng)力學(xué)報(bào),2012,27(2):275-281.
[4] Liu Y K, Su X Y, Zhang Q C. A novel encoded-phase technique for phase measuring profilometry[J]. Optics express, 2011, 19(15): 14137-14144.
[5] 蓋紹彥,達(dá)飛鵬.基于數(shù)字投影儀的光柵相位自校正方法[J].自動(dòng)化學(xué)報(bào),2008,34(11): 1364-1366.
[6] Zhang S, Yau S T. Absolute phase-assisted three-dimensional data registration for a dual-camera structured light system[J]. Applied Optics, 2008, 47(17):3134-3142.
[7] Su W H. Color-encoded fringe projection for 3D shape measurements[J]. Optics Express, 2007, 15(20): 13167-13181.
[8] 劉玉鳳,曹益平,何宇航. 新改進(jìn)型三步非等步相位測(cè)量輪廓術(shù)算法[J].光電子·激光, 2010, 21(1): 83-86.
[9] 馬云秀,邊心田. 相位測(cè)量輪廓術(shù)中投影條紋畸變的研究[J]. 光電技術(shù)應(yīng)用,2013, 28(4):83-85.
[責(zé)任編輯:蔣海龍]
Modified Phase Measuring Profilometry based on Color-encoded Fringe Projection
YANG LI-juan1, SHU Yi-mei1, CHENG Ju1,2, BIAN Xin-tian1,2
(1.School of Physics and Electronic and Electrical Engineering, Huaiyin Normal University, Huaian Jiangsu 223300, China)(2.Jiangsu Key Construction Laboratory of Modern Measurement Technology and Intelligent System, Huaiyin Normal University, Huaian Jiangsu 223300, China)
A new method for 3D measurement of color-encoded grating projection based on a new phase shifting algorithm is presented. First of all, the inverse-deducing method is used to set up the grating model for projection. Then, according to the established model, the projected grating can be pre-corrected in order to ensure that the intensity of the stripe projected on the reference surface is up to a standard sinusoidal distribution. When measuring, after projecting the compound grating with phase shifting to the object, the deformed fringe which can be separated to three monochromatic images is captured by CCD, and then, the phase distribution will be extracted so as to recover three-dimensional shape of the object according to the height mapping formula. This proposed method has strong noise resistance and shows high performance in case of adding great noise to the image, which is much helpful for dynamic online measurement. The feasibility of the method is verified by computer simulation experiment.
3D measurement; color-encoded grating; inverse-deducing method; grating projection
2016-06-22
江蘇省高校大學(xué)生創(chuàng)新創(chuàng)業(yè)訓(xùn)練計(jì)劃項(xiàng)目(201510323018Z); 淮安市科技支撐計(jì)劃項(xiàng)目(HAG2014019)
邊心田(1978-),男,山東淄博人,副教授,博士,主要研究方向?yàn)楣鈱W(xué)三維傳感與機(jī)器視覺(jué). E-mail: bianxt@126.com
O438
A
1671-6876(2016)04-0305-04