CN110702007B - A three-dimensional measurement method of line structured light based on MEMS scanning galvanometer - Google Patents
A three-dimensional measurement method of line structured light based on MEMS scanning galvanometer Download PDFInfo
- Publication number
- CN110702007B CN110702007B CN201911048657.4A CN201911048657A CN110702007B CN 110702007 B CN110702007 B CN 110702007B CN 201911048657 A CN201911048657 A CN 201911048657A CN 110702007 B CN110702007 B CN 110702007B
- Authority
- CN
- China
- Prior art keywords
- light
- point
- light spot
- scanning galvanometer
- mems scanning
- 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.)
- Expired - Fee Related
Links
- 238000000691 measurement method Methods 0.000 title claims abstract description 13
- 238000005259 measurement Methods 0.000 claims abstract description 18
- 238000000034 method Methods 0.000 claims abstract description 16
- 230000003287 optical effect Effects 0.000 claims abstract description 8
- 230000010363 phase shift Effects 0.000 claims description 10
- 238000004804 winding Methods 0.000 claims description 8
- 238000005286 illumination Methods 0.000 claims 1
- 238000000605 extraction Methods 0.000 abstract description 6
- 238000005516 engineering process Methods 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 3
- 238000013519 translation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 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/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明属于机器人视觉三维测量技术领域,并公开了一种基于MEMS扫描振镜的线结构光三维测量方法。该方法包括下列步骤:(a)设定MEMS扫描振镜的扫描范围,光点之间的间隔角度;(b)采用二维棋盘标靶标定激光发射点A到每个光点的连线形成的光线方程;(c)MEMS扫描振镜扫描待测物体,建立图像上的点与光点之间的对应关系;(d)计算直线图像上的任意点P与相机光心B连线形成的直线PB与光线AO的交点,该交点坐标即为所需的光点O坐标,以此方式获得待测物体表面所有光点的坐标,即实现待测物体的三维测量。通过本发明,消除线结构光在测量混合反射表面时由于光条过曝而导致光条中心提取不准的影响提高三维测量精度。
The invention belongs to the technical field of robot vision three-dimensional measurement, and discloses a line structured light three-dimensional measurement method based on a MEMS scanning galvanometer. The method includes the following steps: (a) setting the scanning range of the MEMS scanning galvanometer and the interval angle between the light spots; (b) using a two-dimensional checkerboard target to define the connection between the laser emission point A and each light spot to form (c) The MEMS scanning galvanometer scans the object to be measured to establish the correspondence between the points on the image and the light points; (d) Calculate the line formed by connecting any point P on the straight line image and the camera optical center B The intersection of the straight line PB and the light AO, the coordinates of the intersection are the coordinates of the required light spot O. In this way, the coordinates of all light spots on the surface of the object to be measured are obtained, that is, the three-dimensional measurement of the object to be measured is realized. The present invention eliminates the influence of inaccurate extraction of the center of the light bar due to overexposure of the light bar when measuring the mixed reflective surface with linear structured light, and improves the three-dimensional measurement accuracy.
Description
技术领域technical field
本发明属于机器人视觉三维测量技术领域,更具体地,涉及一种基于MEMS扫描振镜的线结构光三维测量方法。The invention belongs to the technical field of three-dimensional measurement of robot vision, and more particularly relates to a three-dimensional measurement method of line structured light based on a MEMS scanning galvanometer.
背景技术Background technique
近年来随着工业技术的发展,对真实世界三维结构的测量需求也越来越广泛。其中在结构光方面主要发展出了点结构光技术,线结构光技术及面结构光技术。结构光测量获取被测物体表面的三维信息,一般都是基于三角法原理。线结构光测量方法获取被测目标信息一般通过三步:①通过标定确定线光平面与相机坐标系的位姿关系;②光条中心提取确定物体表面线光在相机成像面的投影点;③三角法计算三维点坐标。In recent years, with the development of industrial technology, the measurement requirements for real-world three-dimensional structures have become more and more extensive. Among them, in the aspect of structured light, point structured light technology, line structured light technology and surface structured light technology are mainly developed. Structured light measurement obtains three-dimensional information on the surface of the object to be measured, and is generally based on the principle of trigonometry. The line structured light measurement method generally uses three steps to obtain the measured target information: ① Determine the pose relationship between the line light plane and the camera coordinate system through calibration; ② The center of the light strip is extracted to determine the projection point of the object surface line light on the camera imaging surface; ③ Trigonometry calculates three-dimensional point coordinates.
利用线结构光可以准确的获得漫反射物体表面在相机坐标系下的三维点坐标。但是当物体表面表现为混合反射(兼有漫反射和镜面反射)表面特性时,线结构光由于光条中心提取误差较大而导致测量误差降低甚至不能得到有效的测量结果。The three-dimensional point coordinates of the surface of the diffuse reflection object in the camera coordinate system can be accurately obtained by using the line structured light. However, when the surface of the object exhibits mixed reflection (both diffuse reflection and specular reflection) surface characteristics, the linear structured light reduces the measurement error due to the large extraction error of the center of the light strip, and even cannot obtain effective measurement results.
光条中心提取误差较大的原因是由于线激光照射在混合反射表明时,存在镜面反射及互反射导致光条过曝。目前来说,线激光的非编码特性是导致线结构光测量方法在测量混合反射表面效果不佳的主要原因。The reason for the large error in the extraction of the center of the light strip is that the light strip is overexposed due to the presence of specular reflection and mutual reflection when the line laser is irradiated on the mixed reflection display. At present, the non-coding nature of line lasers is the main reason for the poor performance of line structured light measurement methods in measuring hybrid reflective surfaces.
发明内容SUMMARY OF THE INVENTION
针对现有技术的以上缺陷或改进需求,本发明提供了一种基于MEMS扫描振镜的线结构光三维测量方法,通过设定每个光点的亮度区分不同的光点,并采用二维棋盘靶标标定激光发射点和光点的光线方程确定光线方向,减小计算复杂度,同时消除提取光条中心的误差,提高测量准确度。In view of the above defects or improvement requirements of the prior art, the present invention provides a three-dimensional measurement method of linear structured light based on a MEMS scanning galvanometer. The light equation of the target calibration laser emission point and the light point determines the light direction, reduces the computational complexity, eliminates the error of extracting the center of the light bar, and improves the measurement accuracy.
为实现上述目的,按照本发明,提供了一种基于MEMS扫描振镜的线结构光三维测量方法,该方法包括下列步骤:In order to achieve the above object, according to the present invention, a three-dimensional measurement method of line structured light based on MEMS scanning galvanometer is provided, and the method comprises the following steps:
(a)设定MEMS扫描振镜的扫描范围,光点之间的间隔角度,将所述扫范围按照该间隔角度均分,并对均分后的光点进行编号,以此获得每个光点编号;(a) Set the scanning range of the MEMS scanning galvanometer and the interval angle between the light spots, divide the scanning range equally according to the interval angle, and number the divided light spots to obtain each light spot point number;
(b)将二维棋盘标靶放置MEMS扫描振镜的扫描域内,采用光刀平面标定方法对MEMS扫描振镜进行标定,以此获得MEMS扫描振镜上激光发射点A到每个光点的连线形成的光线方程;(b) Place the two-dimensional checkerboard target in the scanning area of the MEMS scanning galvanometer, and use the optical knife plane calibration method to calibrate the MEMS scanning galvanometer, so as to obtain the connection between the laser emission point A and each light spot on the MEMS scanning galvanometer The ray equation formed by the line;
(c)移除二维棋盘并将测物体放置在MEMS扫描振镜的扫描域内,设定每个光点的亮度与光点编号之间的关系式,根据该关系式对每个光点的亮度进行设定,MEMS扫描振镜按照设定的光点亮度、扫描范围和间隔角度在待测物体表面扫描,使得在待测物体表面形成一条亮度不一的直线,相机拍摄该直线获得直线图像,利用该直线图像建立图像上的点与光点之间的对应关系;(c) Remove the two-dimensional checkerboard and place the measuring object in the scanning field of the MEMS scanning galvanometer, set the relationship between the brightness of each light spot and the light spot number, and determine the The brightness is set, and the MEMS scanning galvanometer scans the surface of the object to be measured according to the set brightness, scanning range and interval angle, so that a straight line with different brightness is formed on the surface of the object to be measured, and the camera captures the straight line to obtain a straight line image , and use the straight line image to establish the correspondence between the point on the image and the light spot;
(d)对于步骤(c)中获得的直线图像上的任意点P,根据步骤(c)获得的直线图像上的点与光点之间的对应关系获得在待测物体表面与所述任意点P对应的光点O,在根据步骤(b)中获得的所有直线方程中找到O点所在的光线方程AO,计算P点与相机的光心B连线形成的直线PB与光线AO的交点,该交点坐标即为所需的光点O坐标,以此方式获得待测物体表面所有光点的坐标,即实现待测物体的三维测量。(d) For any point P on the straight line image obtained in step (c), obtain the surface of the object to be measured and the arbitrary point according to the correspondence between the point on the straight line image obtained in step (c) and the light spot For the light point O corresponding to P, find the light equation AO where the point O is located according to all the straight line equations obtained in step (b), and calculate the intersection point of the straight line PB formed by the connection between the point P and the optical center B of the camera and the light AO, The coordinates of the intersection point are the coordinates of the required light spot O. In this way, the coordinates of all light spots on the surface of the object to be measured are obtained, that is, the three-dimensional measurement of the object to be measured is realized.
进一步优选地,在步骤(b)中,所述采用光刀平面标定方法对MEMS扫描振镜进行标定,优选按照下列步骤进行:Further preferably, in step (b), the MEMS scanning galvanometer is calibrated by the optical knife plane calibration method, preferably according to the following steps:
(b1)相机拍摄二维棋盘靶标,利用拍摄的棋盘靶标图像获得二维棋盘靶标的平面在相机坐标系下的平面方程;(b1) The camera shoots the two-dimensional chessboard target, and uses the photographed chessboard target image to obtain the plane equation of the plane of the two-dimensional chessboard target in the camera coordinate system;
(b2)MEMS扫描振镜上的激光发射点A发出激光按照步骤(a)中设定的扫描范围和光点间隔角度在所述二维棋盘靶标表面扫描,相机拍摄扫描在二维棋盘靶标表面的任意光点Q的图像,以此获得在相机坐标系中该图像上任意光点的像素坐标Q’;(b2) The laser emission point A on the MEMS scanning galvanometer emits laser light to scan on the surface of the two-dimensional checkerboard target according to the scanning range and light spot interval angle set in step (a), and the camera shoots and scans the surface of the two-dimensional checkerboard target. An image of an arbitrary light spot Q, so as to obtain the pixel coordinate Q' of any light spot on the image in the camera coordinate system;
(b3)利用步骤(b2)中获得的像素坐标Q’与所述平面方程求交,以此获得在相机坐标系下所述任意光点Q在二维棋盘靶标中的坐标Q1;(b3) using the pixel coordinate Q' obtained in the step (b2) to intersect the plane equation, thereby obtaining the coordinate Q 1 of the arbitrary light spot Q in the two-dimensional chessboard target under the camera coordinate system;
(b4)改变二维棋盘的位置,重复步骤((b2)和(b3),以此获得在相机坐标系下所述任意光点Q在二维棋盘靶标中的坐标Q2,直线Q1Q2条即为激光发射点A与光点Q的连线形成的光线方程;以此方式获得激光发射点到每个光点的连线形成的光线方程。(b4) Change the position of the two-dimensional chessboard, and repeat steps ((b2) and (b3), so as to obtain the coordinate Q 2 of the arbitrary light point Q in the two-dimensional chessboard target in the camera coordinate system, and the straight line Q 1 Q 2 are the ray equations formed by the connection line between the laser emission point A and the light point Q; in this way, the ray equation formed by the connection line from the laser emission point to each light point is obtained.
进一步优选地,在步骤(b2)中,所述MEMS扫描振镜扫描二维棋盘靶标时,将每个光点的亮度设定为亮度最大值,则获得在相机坐标系中该图像上任意光点的像素坐标Q’是采用光条中心算法提取获得。Further preferably, in step (b2), when the MEMS scanning galvanometer scans the two-dimensional chessboard target, the brightness of each light spot is set as the maximum brightness value, then any light on the image in the camera coordinate system is obtained. The pixel coordinate Q' of the point is obtained by extracting the light bar center algorithm.
进一步优选地,在步骤(c)中,所述设定每个光点的亮度与照射角度之间的关系式,优选按照下列关系式进行:Further preferably, in step (c), the relationship between the setting of the brightness of each light spot and the irradiation angle is preferably performed according to the following relationship:
其中,n是相移,为整数,Tj是第j个周期,j是周期的数量,N是总周期数量,A是设定的亮度均值,B是亮度幅值,x是光点的编号,是第j个周期在相移n下的亮度。where n is the phase shift, which is an integer, T j is the jth cycle, j is the number of cycles, N is the total number of cycles, A is the set luminance mean, B is the luminance amplitude, and x is the number of the light spot , is the luminance of the jth period at phase shift n.
进一步优选地,在步骤(c)中,所述利用该直线图像建立图像上的点与光点之间的对应关系优选按照下列步骤:Further preferably, in step (c), the use of the straight line image to establish the correspondence between the point on the image and the light spot preferably follows the following steps:
(c1)设定相移n和周期j的取值,计算周期Tj对应的卷绕相位φj;(c1) set the values of phase shift n and period j, and calculate the winding phase φ j corresponding to the period T j ;
(c2)利用所有周期各自对应的卷绕相位求解反映直线图像上的点和光点之间关系的绝对相位φ,以此获得图像上的点与光点的对应关系。(c2) Solve the absolute phase φ that reflects the relationship between the point and the light spot on the straight line image by using the respective winding phases of all periods, so as to obtain the corresponding relationship between the point and the light spot on the image.
进一步优选地,在步骤(c1)中,当n=0,1,2,3,j=1,2,3时,Further preferably, in step (c1), when n=0, 1, 2, 3, j=1, 2, 3,
卷绕相位优选按照下列表达式进行:The winding phase is preferably carried out according to the following expression:
绝对相位按照下列表达式进行:Absolute phase is performed according to the following expression:
其中, in,
进一步优选地,在步骤(d)后,还需对光点O坐标进行验证,优选采用下列方法,Further preferably, after step (d), it is also necessary to verify the O coordinate of the light spot, preferably the following method is used:
(d1)将步骤(b)中获得MEMS扫描振镜上激光发射点到所有光点的连线形成的光线方程拟合为一个平面,即线光平面;(d1) Fitting the light equation formed by the connection between the laser emission point and all the light points on the MEMS scanning galvanometer obtained in step (b) into a plane, that is, the line light plane;
(d2)判断所述光点O的坐标是否在所述线光平面上,在该线光平面上,则该光点O坐标合格,否则,该光点O坐标不合格。(d2) Judging whether the coordinates of the light spot O are on the line light plane, on the line light plane, the light spot O coordinates are qualified, otherwise, the light spot O coordinates are unqualified.
总体而言,通过本发明所构思的以上技术方案与现有技术相比,能够取得下列有益效果。In general, compared with the prior art, the above technical solutions conceived by the present invention can achieve the following beneficial effects.
1、本发明通过设计基于MEMS扫描振镜的线结构光三维测量方法,MEMS扫描振镜和相机组成线结构光测量系统用于获得被测目标的三维点云信息,通过调节MEMS扫描振镜每个扫描方向上光点亮度实现对扫描方向的编码,对相机获取的光条图案进行解码可确定扫描方向对应性,从而可确定光条上每点的方向,因此可以消除由于光条过曝而导致光条中心提取不准的影响提高三维测量精度;1. The present invention designs a line structured light three-dimensional measurement method based on a MEMS scanning galvanometer. The MEMS scanning galvanometer and a camera form a line structured light measurement system to obtain the three-dimensional point cloud information of the measured target. The brightness of the light spots in each scanning direction realizes the encoding of the scanning direction, and the corresponding scanning direction can be determined by decoding the light bar pattern obtained by the camera, so that the direction of each point on the light bar can be determined, so the overexposure of the light bar can be eliminated. The influence of inaccurate extraction of the center of the light strip improves the accuracy of 3D measurement;
2、本申请中通过设定每个光点的亮度区分不同的光点,并采用二维棋盘靶标标定激光发射点和光点的光线方程确定光线方向,减小计算复杂度,同时消除提取光条中心的误差,提高测量准确度。2. In this application, different light spots are distinguished by setting the brightness of each light spot, and the two-dimensional checkerboard target is used to calibrate the light equation of the laser emission point and the light spot to determine the light direction, reduce the computational complexity, and eliminate the extraction of light bars. The error of the center improves the measurement accuracy.
附图说明Description of drawings
图1是按照本发明的优选实施例所构建的基于MEMS扫描振镜的线结构光三维测量方法的原理示意图。FIG. 1 is a schematic diagram of the principle of a three-dimensional measurement method of line structured light based on a MEMS scanning galvanometer constructed according to a preferred embodiment of the present invention.
在所有附图中,相同的附图标记用来表示相同的元件或结构,其中:Throughout the drawings, the same reference numbers are used to refer to the same elements or structures, wherein:
1-相机,2-MEMS扫描振镜,3-待测物体,4-线光平面,5-光线方向。1-Camera, 2-MEMS scanning galvanometer, 3-Object to be measured, 4-Linear light plane, 5-Light direction.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
一种基于MEMS扫描振镜的线结构光三维测量方法,包括如下步骤:A three-dimensional measurement method of line structured light based on MEMS scanning galvanometer, comprising the following steps:
步骤一:通过光刀平面标定方法确定激光发射点和光点形成的光线方程,以及所有光线方程形成的线光平面,具体包括如下步骤:Step 1: Determine the ray equation formed by the laser emission point and the light point, and the line light plane formed by all the ray equations by the light knife plane calibration method, which includes the following steps:
Step 1:将二维靶标放置在相机1的视场内,相机拍摄二维靶标的图像,通过PnP(pespective-n-point的简写)方法求解二维靶标在相机坐标系下的相机坐标与棋盘格所在坐标系之间的平移矩阵和旋转矩阵,旋转旋转的z轴分量是平面方程的法向量,平移矩阵的三维点坐标在棋盘格在相机坐标系中的平面上,点法式计算获得二维靶标的棋盘格平面在相机坐标系下的平面方程;Step 1: Place the two-dimensional target in the field of view of camera 1, the camera shoots an image of the two-dimensional target, and solves the camera coordinates and chessboard of the two-dimensional target in the camera coordinate system by the PnP (abbreviation of pespective-n-point) method The translation matrix and rotation matrix between the coordinate systems where the grid is located. The z-axis component of the rotation and rotation is the normal vector of the plane equation. The three-dimensional point coordinates of the translation matrix are on the plane of the checkerboard in the camera coordinate system. The plane equation of the checkerboard plane of the target in the camera coordinate system;
Step 2:保持Step 1中二维靶标的位姿,通过MEMS扫描振镜像二维靶标投射亮度编码线,所有扫描点的亮度均编码为最大亮度值,相机拍摄表面具有亮度编码线的二维靶标图案;Step 2: Keep the pose of the two-dimensional target in Step 1, project the brightness coding line on the two-dimensional target through the MEMS scanning vibrating mirror, the brightness of all scanning points are encoded as the maximum brightness value, and the camera shoots the two-dimensional target with the brightness coding line on the surface pattern;
Step 3:通过光条中心算法提取Step 2中相机中二维靶标图案的亮度编码线中心点坐标;Step 3: Extract the coordinates of the center point of the brightness coding line of the two-dimensional target pattern in the camera in Step 2 by the light bar center algorithm;
Step 4:中心点和相机光心的连线形成的直线与Step 1中获得的棋盘格平面在相机坐标系下的平面方程相交,该交点即在相机坐标系中在二维靶标棋盘上光点的坐标;Step 4: The straight line formed by the connection between the center point and the optical center of the camera intersects the plane equation of the checkerboard plane obtained in Step 1 in the camera coordinate system. The intersection point is the light spot on the two-dimensional target chessboard in the camera coordinate system. coordinate of;
Step 5:改变二维靶标的位置和角度,并重复Step1,Step2,Step3Step 5: Change the position and angle of the two-dimensional target, and repeat Step1, Step2, Step3
Step 6:对不同位置下的二维靶标上亮度编码线中心坐标进行平面拟合,激光发射点A与光点的连线形成的光线方程;以此方式获得激光发射点到每个光点的连线形成的光线方程M。Step 6: Perform plane fitting on the center coordinates of the brightness coding line on the two-dimensional target at different positions, and the ray equation formed by the connection between the laser emission point A and the light spot; The ray equation M formed by the connecting lines.
步骤二:MEMS扫描振镜为单点扫描,在扫描方向上可快速连续扫描,对每个扫描位置的光点亮度进行编码,亮度编码方法采用4步相移编码法(公式1),可在物体表面形成一条亮度编码线。MEMS扫描振镜2投射的亮度编码线照射在被测物体上,相机1拍摄被测物体表面3上的亮度编码线。Step 2: The MEMS scanning galvanometer is single-point scanning, which can scan rapidly and continuously in the scanning direction, and encode the brightness of the light spot at each scanning position. The brightness encoding method adopts a 4-step phase shift encoding method (formula 1), which can be The surface of the object forms a brightness-encoded line. The brightness code line projected by the MEMS scanning galvanometer 2 is irradiated on the measured object, and the camera 1 captures the brightness code line on the
其中,n是相移,为整数,Tj是第j个周期,j是周期的数量,A是设定的亮度均值,B是亮度幅值,x是光点的编号,是第j个周期在相移n下的亮度,本实施例中,用三个不同的周期对光点亮度进行编码,MEMS扫描振镜的扫描范围为60度,每隔0.025度扫描一个光点,则x的取值范围为1到2400;N取值为4,n是相移。Among them, n is the phase shift, which is an integer, T j is the jth period, j is the number of periods, A is the set brightness mean, B is the brightness amplitude, x is the number of the light spot, is the brightness of the jth cycle under phase shift n. In this embodiment, three different cycles are used to encode the brightness of the light spot. The scanning range of the MEMS scanning galvanometer is 60 degrees, and a light spot is scanned every 0.025 degrees. , the value of x ranges from 1 to 2400; the value of N is 4, and n is the phase shift.
然后,相机拍摄MEMS扫描振镜根据公式(2)投射的12幅亮度编码线,对每个编码周期Tj的四幅图像根据公式(3)求解得到卷绕相位。Then, the camera shoots 12 luminance coding lines projected by the MEMS scanning galvanometer according to formula (2), and solves the four images of each coding period T j according to formula (3) to obtain the winding phase.
其中,φj表示对应周期Tj的卷绕相位。Among them, φ j represents the winding phase corresponding to the period T j .
最终,根据φ1,φ2,φ3确定绝对相位φ,绝对相位反映了像素点和光点位置的对应关系。Finally, the absolute phase φ is determined according to φ 1 , φ 2 , and φ 3 , and the absolute phase reflects the correspondence between the pixel point and the light spot position.
步骤三:根据绝对相位φ确定的光点位置(光线方向)和相机像素对应性,通过三角法确定被测点三维坐标;Step 3: According to the light spot position (light direction) determined by the absolute phase φ and the camera pixel correspondence, determine the three-dimensional coordinates of the measured point by trigonometry;
Step 1:相机拍摄MEMS扫描振镜向被测物体表面投射的12幅亮度编码线图像,并通过多频外差法解码获得像素和光点位置(光线方向)对应性;Step 1: The camera shoots 12 brightness-encoded line images projected by the MEMS scanning galvanometer to the surface of the object to be measured, and decodes the pixel and the light spot position (light direction) correspondence through multi-frequency heterodyne decoding;
Step 2:相机像素点坐标和光心的连线表示为直线1,光点位置所在的光线方向表示为直线2,计算直线1和直线2的交点,当直线1和直线2不相交是则计算其公垂点。Step 2: The line connecting the camera pixel coordinates and the optical center is represented as line 1, and the direction of the light where the light spot is located is represented as line 2. Calculate the intersection of line 1 and line 2. When line 1 and line 2 do not intersect, calculate the Plumb point.
步骤四:错误点剔除,由于激光透射在待测物体表面投出来的光点比较大,很多个像素对应一个光点,使得P点有很多个,因此,会产生很多的不正确的点,而距离平面越近越正确。Step 4: Eliminate wrong points. Since the light spot projected by the laser transmission on the surface of the object to be measured is relatively large, many pixels correspond to one light spot, so that there are many P points. Therefore, many incorrect points will be generated, and The closer it is to the plane, the more correct it is.
Step 1:计算3中得到的三维点坐标和2中得到的平面方M的距离;Step 1: Calculate the distance between the three-dimensional point coordinates obtained in 3 and the plane square M obtained in 2;
Step 2:设定阈值T,当三维点坐标和平面M的距离大于T时则判断为错误点,当距离小于等于T时则判断为正确点。Step 2: Set the threshold value T. When the distance between the three-dimensional point coordinates and the plane M is greater than T, it is judged as an error point, and when the distance is less than or equal to T, it is judged as a correct point.
综上所述,本发明提供一种基于MEMS扫描振镜的线结构光三维测量方法,通过一维可编码MEMS扫描振镜和相机组成线结构光测量系统,通过对光条图案进行编码确定光条每点方向,从而消除由于光条过曝而导致光条中心提取不准的影响提高三维测量精度。In summary, the present invention provides a three-dimensional measurement method for linear structured light based on a MEMS scanning galvanometer. A linear structured light measurement system is formed by a one-dimensional coded MEMS scanning galvanometer and a camera, and the light bar pattern is encoded to determine the light. The direction of each point of the strip is eliminated, thereby eliminating the influence of inaccurate extraction of the center of the strip due to overexposure of the strip, and improving the accuracy of 3D measurement.
本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。Those skilled in the art can easily understand that the above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, etc., All should be included within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911048657.4A CN110702007B (en) | 2019-10-31 | 2019-10-31 | A three-dimensional measurement method of line structured light based on MEMS scanning galvanometer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911048657.4A CN110702007B (en) | 2019-10-31 | 2019-10-31 | A three-dimensional measurement method of line structured light based on MEMS scanning galvanometer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110702007A CN110702007A (en) | 2020-01-17 |
| CN110702007B true CN110702007B (en) | 2020-11-24 |
Family
ID=69202895
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911048657.4A Expired - Fee Related CN110702007B (en) | 2019-10-31 | 2019-10-31 | A three-dimensional measurement method of line structured light based on MEMS scanning galvanometer |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110702007B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111649669A (en) * | 2020-06-05 | 2020-09-11 | 苏州若柏视智能科技有限公司 | Non-calibration linear structured light vision sensor coordinate measuring method and system |
| CN116164830A (en) * | 2023-01-12 | 2023-05-26 | 苏州声学产业技术研究院有限公司 | A Method for Measuring the Vibration Mode of a Dynamic Rotating Body |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6753528B1 (en) * | 2002-04-18 | 2004-06-22 | Kla-Tencor Technologies Corporation | System for MEMS inspection and characterization |
| CN102884397B (en) * | 2010-05-07 | 2015-07-15 | 深圳泰山在线科技有限公司 | Structured-light measuring method and system |
| CN105674912A (en) * | 2016-01-26 | 2016-06-15 | 中国科学院上海光学精密机械研究所 | Dammann grating combined multi-light-knife colored 3D measuring device and method |
| CN106556356A (en) * | 2016-12-07 | 2017-04-05 | 西安知象光电科技有限公司 | A kind of multi-angle measuring three-dimensional profile system and measuring method |
| CN109186633A (en) * | 2018-08-30 | 2019-01-11 | 衡阳市衡山科学城科技创新研究院有限公司 | A kind of field calibration method and system of duplex measurement device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4639812B2 (en) * | 2005-01-19 | 2011-02-23 | 株式会社デンソー | Scanning device |
| CN105674911A (en) * | 2016-01-27 | 2016-06-15 | 淮安普瑞精仪科技有限公司 | Non-contact type micro-nano 3D measuring method and device |
| CN106767527B (en) * | 2016-12-07 | 2019-06-04 | 西安知象光电科技有限公司 | A kind of optics mixing detection method of three-D profile |
| CN107167093B (en) * | 2017-05-25 | 2019-09-20 | 西安知象光电科技有限公司 | A kind of the combined type measuring system and measurement method of laser line scanning and shadow Moire |
| CN108248634B (en) * | 2018-01-24 | 2019-05-21 | 西南交通大学 | Track switch and track full-sized abrasion vision measurer and its measurement method |
| CN109724540B (en) * | 2018-12-29 | 2020-06-12 | 中国科学院长春光学精密机械与物理研究所 | Two-dimensional MEMS scanning mirror rotation angle calibration system and calibration method |
| CN110360929B (en) * | 2019-08-29 | 2021-06-22 | 江苏集萃华科智能装备科技有限公司 | High-speed line scanning sensor and calibration method thereof |
-
2019
- 2019-10-31 CN CN201911048657.4A patent/CN110702007B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6753528B1 (en) * | 2002-04-18 | 2004-06-22 | Kla-Tencor Technologies Corporation | System for MEMS inspection and characterization |
| CN102884397B (en) * | 2010-05-07 | 2015-07-15 | 深圳泰山在线科技有限公司 | Structured-light measuring method and system |
| CN105674912A (en) * | 2016-01-26 | 2016-06-15 | 中国科学院上海光学精密机械研究所 | Dammann grating combined multi-light-knife colored 3D measuring device and method |
| CN106556356A (en) * | 2016-12-07 | 2017-04-05 | 西安知象光电科技有限公司 | A kind of multi-angle measuring three-dimensional profile system and measuring method |
| CN109186633A (en) * | 2018-08-30 | 2019-01-11 | 衡阳市衡山科学城科技创新研究院有限公司 | A kind of field calibration method and system of duplex measurement device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110702007A (en) | 2020-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113205593B (en) | A three-dimensional reconstruction method of highly reflective surface structured light field based on point cloud adaptive repair | |
| CN107607040B (en) | Three-dimensional scanning measurement device and method suitable for strong reflection surface | |
| KR102096806B1 (en) | 3D sensor system and 3D data acquisition method | |
| Huang et al. | A fast and flexible projector-camera calibration system | |
| CN113012277B (en) | A multi-camera reconstruction method based on DLP surface structured light | |
| KR102236297B1 (en) | Calibration device and method for calibrating a dental camera | |
| JP5132832B1 (en) | Measuring apparatus and information processing apparatus | |
| Song et al. | Use of LCD panel for calibrating structured-light-based range sensing system | |
| Huang et al. | A single-shot-per-pose camera-projector calibration system for imperfect planar targets | |
| CN113505626B (en) | Quick three-dimensional fingerprint acquisition method and system | |
| CN105306922B (en) | Acquisition methods and device of a kind of depth camera with reference to figure | |
| JP2014115109A (en) | Device and method for measuring distance | |
| CN112489109B (en) | Three-dimensional imaging system method and device and three-dimensional imaging system | |
| Herakleous et al. | 3dunderworld-sls: An open-source structured-light scanning system for rapid geometry acquisition | |
| CN107564051B (en) | A kind of depth information collection method and system | |
| CN110702007B (en) | A three-dimensional measurement method of line structured light based on MEMS scanning galvanometer | |
| Pistellato et al. | Adaptive albedo compensation for accurate phase-shift coding | |
| Draréni et al. | Geometric video projector auto-calibration | |
| Gu et al. | 3dunderworld-sls: An open-source structured-light scanning system for rapid geometry acquisition | |
| CN116608794B (en) | An anti-texture 3D structured light imaging method, system, device and storage medium | |
| Knyaz | Multi-media projector–single camera photogrammetric system for fast 3D reconstruction | |
| CN113865514B (en) | Calibration method of line structured light three-dimensional measurement system | |
| CN114993207A (en) | Three-dimensional reconstruction method based on binocular measurement system | |
| Liu et al. | Feature enhancement for a defocusing structured-light 3-D scanning system | |
| CN120259444B (en) | Method and system for marking structure light under three coordinates |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201124 |