CN109974624B - 一种基于多频相移的减少投影图像数量的方法 - Google Patents
一种基于多频相移的减少投影图像数量的方法 Download PDFInfo
- Publication number
- CN109974624B CN109974624B CN201910222305.XA CN201910222305A CN109974624B CN 109974624 B CN109974624 B CN 109974624B CN 201910222305 A CN201910222305 A CN 201910222305A CN 109974624 B CN109974624 B CN 109974624B
- Authority
- CN
- China
- Prior art keywords
- phase
- grating
- frequency
- deformed
- image
- 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 43
- 230000010363 phase shift Effects 0.000 title claims abstract description 26
- 238000005315 distribution function Methods 0.000 claims description 16
- 230000000295 complement effect Effects 0.000 claims description 5
- 238000010587 phase diagram Methods 0.000 claims 1
- 238000005259 measurement Methods 0.000 abstract description 19
- 238000005070 sampling Methods 0.000 abstract description 7
- 230000003287 optical effect Effects 0.000 abstract description 3
- 238000009434 installation Methods 0.000 abstract description 2
- 238000006467 substitution reaction Methods 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000005305 interferometry Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001314 profilometry 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/2518—Projection by scanning of the object
- G01B11/2527—Projection by scanning of the object with phase change by in-plane movement of the patern
-
- 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/254—Projection of a pattern, viewing through a pattern, e.g. moiré
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
本发明提出了一种基于多频相移的减少投影图像数量的方法,当N为偶数时,利用相同频率下的第i幅变形光栅图像和第i+N/2幅变形光栅图像相位互补、互相代替的原理,将采样次数从m*N+1次降低到m*N/2+1次,减少了投影图像数量,缩短了测量过程时间;整个方法一方面可以减少所需投影数量,进而缩短投影时间;另一方面提高了测量平台及光学系统的安装精度,为用更少的图像就能获得更高的测量精度提供了可能性。
Description
技术领域
本发明涉及三维光学测量领域,尤其涉及一种基于多频相移的减少投影图像数量的方法。
背景技术
随着自动控制技术的发展,在航空航天、武器装备、汽车制造等越来越多的领域三维测量已经有了广泛的应用。然而在锻造行业中的一些核心零部件,它们通常结构复杂、曲面形状不规则、精度要求高,所以大多仍然采用人工的卡尺和模板进行检测。随着面阵CCD相机和数字投影技术的发展,相位测量轮廓术(PMP)和相移干涉法(PSI)在相互交融借鉴中得到了较快的发展并取得了越来越广泛的应用。PMP具有以下三个特点:
(1)每个点的相位值只与该点的光强(灰度)有关,稳定性强;
(2)一次可以测量出视场内物体表面的完整三维测量数据,测量效率高;
(3)使用相移方法可以得到每个像素点的相位值,测量分辨率高。
但是,PMP需要测量多个点,由于测量的点数多,需要处理的数据也多,进而测量时间增加,效率下降。系统的扫描速率受制于数字微镜设备的跳动频率和CCD相机的曝光频率。这样的条件下,加快测量过程的可行方法就是减少投影图像的数量。因此,本发明提供一种基于多频相移的减少投影图像数量以缩短测量过程时间的方法。
发明内容
有鉴于此,本发明提出了一种基于多频相移的减少投影图像数量以缩短测量过程时间的方法。
本发明的技术方案是这样实现的:本发明提供了一种基于多频相移的减少投影图像数量的方法,包括以下步骤:
S101、将一系列相位相同的标准正弦条纹图像投影到目标表面上,在物体表面形成变形光栅,两个相机同时捕捉变形光栅的图像信息,建立变形光栅图像的光强分布函数Iji(x,y);
S103、当N为偶数时,相同频率下的第i幅变形光栅图像和第i+N/2幅变形光栅图像相位互补,互相代替,获取m*N/2+1次变形光栅图像,进行相位展开,根据相位展开后的相位图,使用双目立体视觉原理完成目标体的点云重构。
在以上技术方案的基础上,S101中变形光栅图像的光强分布函数为:
更进一步优选的,S102中m频N步相移法求解相对相位值的方法为:将光栅在栅线上垂直方向上平移栅距的1/N,式(1)中相位移动2π/N,再等距平移N-1次,获得N幅变形光栅图像,求解N幅变形光栅图像的光强分布函数,获得相对相位值
更进一步优选的,S102中第i幅变形光栅图像的光强分布函数为
更进一步优选的,S103中当N为偶数时,第i幅变形光栅图像和第i+N/2幅变形光栅图像的灰度之和为:Iji+Ij(i+N/2)=2A(x,y)。
本发明的一种基于多频相移的减少投影图像数量的方法相对于现有技术具有以下有益效果:
(1)当N为偶数时,利用相同频率下的第i幅变形光栅图像和第i+N/2幅变形光栅图像相位互补、互相代替的原理,将采样次数从m*N+1次降低到m*N/2+1次,减少了投影图像数量,缩短了测量过程时间;
(2)整个方法一方面可以减少所需投影数量,进而缩短投影时间;另一方面提高了测量平台及光学系统的安装精度,为用更少的图像就能获得更高的测量精度提供了可能性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一种基于多频相移的减少投影图像数量的方法的流程图;
图2为本发明一种基于多频相移的减少投影图像数量的方法中实施一的流程图。
具体实施方式
下面将结合本发明实施方式,对本发明实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本发明一部分实施方式,而不是全部的实施方式。基于本发明中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都属于本发明保护的范围。
实施例一、
如图1和图2所示,本发明的一种基于多频相移的减少投影图像数量的方法,包括以下步骤:
S101、将一系列相位相同的标准正弦条纹图像投影到目标表面上,在物体表面形成变形光栅,两个相机同时捕捉变形光栅的图像信息,建立变形光栅图像的光强分布函数:
S102、使用m频N步相移法求解即将光栅在栅线上垂直方向上平移栅距的1/N,式(1)中相位移动2π/N,再等距平移N-1次,获得N幅变形光栅图像,第i幅变形光栅图像的光强分布函数为求解N幅变形光栅图像的光强分布函数,获得相对相位值
S103、第N幅变形光栅图像的相位移为δji=2πi/N,N幅变形光栅图像的总灰度为当N为偶数时,第i幅变形光栅图像和第i+N/2幅变形光栅图像的灰度之和为:Iji+Ij(i+N/2)=2A(x,y),因此相同频率下的第i幅变形光栅图像和第i+N/2幅变形光栅图像相位互补,互相代替,获取m*N/2+1次变形光栅图像,进行相位展开,根据相位展开后的相位图,使用双目立体视觉原理完成目标体的点云重构。
在本实施例中,平均灰度A(x,y)为常数,由于每个变形光栅图像的灰度都近似为平均灰度并不影响测量的精度,因而得出N幅变形光栅图像的总灰度为当N为偶数时,第i幅变形光栅图像和第i+N/2幅变形光栅图像的灰度之和为:Iji+Ij(i+N/2)=2A(x,y),因此相同频率下的第i幅变形光栅图像和第i+N/2幅变形光栅图像相位互补,互相代替,利用上述原理,在N为偶数时,取样次数从m*N+1次降低到m*N/2+1次,减少了投影图像数量,缩短了测量过程时间。
实施例二、
联立式(2)至式(5),得其中I1(x,y)、I1(x,y)、I1(x,y)和I1(x,y)分别表示4幅变形光栅图像的灰度。若利用传统的方法,即采样m*N+1次,则需要采样13次,其中有一次为简单光源的参考变形光栅图像;而利用本实施例的方法,只需采样8次,其中有一次为简单光源的参考变形光栅图像,在不影响测量精度的前提下,本实施例取样过程所需的时间降低了38.5%。
以上所述仅为本发明的较佳实施方式而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (7)
7.如权利要求6所述的一种基于多频相移的减少投影图像数量的方法,其特征在于:所述S103中当N为偶数时,第i幅变形光栅图像和第i+N/2幅变形光栅图像的灰度之和为:Iji+Ij(i+N/2)=2A(x,y)。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910222305.XA CN109974624B (zh) | 2019-03-22 | 2019-03-22 | 一种基于多频相移的减少投影图像数量的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910222305.XA CN109974624B (zh) | 2019-03-22 | 2019-03-22 | 一种基于多频相移的减少投影图像数量的方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109974624A CN109974624A (zh) | 2019-07-05 |
CN109974624B true CN109974624B (zh) | 2020-09-29 |
Family
ID=67080075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910222305.XA Active CN109974624B (zh) | 2019-03-22 | 2019-03-22 | 一种基于多频相移的减少投影图像数量的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109974624B (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110401827B (zh) * | 2019-07-26 | 2022-05-17 | 易思维(杭州)科技有限公司 | 一种正弦条纹图像的快速投影系统 |
CN110672038A (zh) * | 2019-09-03 | 2020-01-10 | 安徽农业大学 | 一种基于双频相移条纹投影的快速三维测量方法 |
CN111473745A (zh) * | 2020-06-23 | 2020-07-31 | 南京理工大学智能计算成像研究院有限公司 | 一种基于多频相移方案的发光表面微观三维测量方法 |
CN113784044B (zh) * | 2021-08-26 | 2023-07-18 | 昆山丘钛微电子科技股份有限公司 | 一种摄像模组成像方法、摄像模组及电子设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103557808A (zh) * | 2013-11-19 | 2014-02-05 | 东南大学 | 一种基于Sierra Lite抖动算法的散焦投影光栅测量方法 |
CN104330052A (zh) * | 2014-11-21 | 2015-02-04 | 天津工业大学 | 外差式三频不等步相移解相位方法 |
WO2016202562A1 (de) * | 2015-06-17 | 2016-12-22 | Hp Deutschland Gmbh | Streifenprojetionsverfahren, streifenprojektionsvorrichtung und computerprogrammprodukt |
CN107063129A (zh) * | 2017-05-25 | 2017-08-18 | 西安知象光电科技有限公司 | 一种阵列式并行激光投影三维扫描方法 |
-
2019
- 2019-03-22 CN CN201910222305.XA patent/CN109974624B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103557808A (zh) * | 2013-11-19 | 2014-02-05 | 东南大学 | 一种基于Sierra Lite抖动算法的散焦投影光栅测量方法 |
CN104330052A (zh) * | 2014-11-21 | 2015-02-04 | 天津工业大学 | 外差式三频不等步相移解相位方法 |
WO2016202562A1 (de) * | 2015-06-17 | 2016-12-22 | Hp Deutschland Gmbh | Streifenprojetionsverfahren, streifenprojektionsvorrichtung und computerprogrammprodukt |
CN107063129A (zh) * | 2017-05-25 | 2017-08-18 | 西安知象光电科技有限公司 | 一种阵列式并行激光投影三维扫描方法 |
Non-Patent Citations (2)
Title |
---|
基于多视相移框架的动态物体三维面形测量技术与系统研究;钟凯;《中国博士学位论文全文数据库 信息科技辑》;20140215(第2期);正文第23页、第33-49页第3章 * |
基于多频外差原理的三维测量技术;黄燕钧等;《新技术新工艺》;20081225(第12期);第37-40页第1-3节 * |
Also Published As
Publication number | Publication date |
---|---|
CN109974624A (zh) | 2019-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109974624B (zh) | 一种基于多频相移的减少投影图像数量的方法 | |
CN113237435B (zh) | 一种高反光表面三维视觉测量系统及方法 | |
CN107607060B (zh) | 一种应用于光栅三维投影测量中的相位误差补偿方法 | |
Chen et al. | Adaptive pixel-to-pixel projection intensity adjustment for measuring a shiny surface using orthogonal color fringe pattern projection | |
US9322643B2 (en) | Apparatus and method for 3D surface measurement | |
CN113358063B (zh) | 一种基于相位加权融合的面结构光三维测量方法及系统 | |
CN109945802B (zh) | 一种结构光三维测量方法 | |
WO2021184686A1 (zh) | 基于多尺度生成对抗神经网络的单帧条纹分析方法 | |
Zhongdong et al. | 3D laser scanner system using high dynamic range imaging | |
CN108195313A (zh) | 一种基于光强响应函数的高动态范围三维测量方法 | |
CN106500626A (zh) | 一种手机立体成像方法及三维成像手机 | |
Zou et al. | High-accuracy calibration of line-structured light vision sensors using a plane mirror | |
CN108332684A (zh) | 一种基于结构光照明显微技术的三维轮廓测量方法 | |
CN103868473B (zh) | 一种基于递推法的高光物体表面相位快速恢复方法 | |
CN112767536B (zh) | 一种对象的三维重建方法、装置、设备及存储介质 | |
Wang et al. | Highly reflective surface measurement based on dual stereo monocular structured light system fusion | |
Liu et al. | A novel phase unwrapping method for binocular structured light 3D reconstruction based on deep learning | |
CN110160468B (zh) | 一种针对运动对象的散焦光栅投影三维测量方法 | |
Huang et al. | Adaptive Pixel-by-Pixel Modulated 3-D Morphometry Based on Digital Micromirror Device | |
CN102798344A (zh) | 基于区域散焦的正弦光栅生成方法 | |
CN114199160A (zh) | 基于二值编码光栅散焦投影的电路板元器件几何检测方法 | |
Im et al. | A solution for camera occlusion using a repaired pattern from a projector | |
Zeng et al. | Complex surface three-dimensional shape measurement method based on defocused gray code plus phase-shifting | |
Ekberg et al. | 3D precision measurements of meter sized surfaces using low cost illumination and camera techniques | |
Huang et al. | Defocusing rectified multi-frequency patterns for high-precision 3D 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 |