CN101901502B - A global optimal registration method for multi-view point cloud data in optical 3D measurement - Google Patents
A global optimal registration method for multi-view point cloud data in optical 3D measurement Download PDFInfo
- Publication number
- CN101901502B CN101901502B CN2010102553612A CN201010255361A CN101901502B CN 101901502 B CN101901502 B CN 101901502B CN 2010102553612 A CN2010102553612 A CN 2010102553612A CN 201010255361 A CN201010255361 A CN 201010255361A CN 101901502 B CN101901502 B CN 101901502B
- Authority
- CN
- China
- Prior art keywords
- data
- measured
- viewpoint
- coordinate transformation
- optimized
- 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
- 238000005259 measurement Methods 0.000 title claims abstract description 87
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000003287 optical effect Effects 0.000 title claims abstract description 18
- 230000009466 transformation Effects 0.000 claims abstract description 61
- 239000003550 marker Substances 0.000 claims abstract description 47
- 230000008569 process Effects 0.000 claims abstract description 17
- 239000011159 matrix material Substances 0.000 claims description 24
- 238000005457 optimization Methods 0.000 claims description 11
- 238000013519 translation Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 4
- 238000003384 imaging method Methods 0.000 claims description 3
- 238000000691 measurement method Methods 0.000 abstract description 5
- 238000012545 processing Methods 0.000 abstract description 3
- 230000005540 biological transmission Effects 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000001066 destructive effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
光学三维测量中多视点云数据的全局优化配准方法,属于数字图像处理技术领域,解决特征标记点测量法中对公共标记点的测量存在偏差的问题。数据配准过程为:将待配准数据向目标数据进行配准,获得配准结果数据,将配准结果数据作为下一次配准的目标数据;选择第i个视点作为待配准视点,该视点的待测物体的二维测量数据作为待配准数据,然后重复上述数据配准过程,直到所有视点都作为待转换视点完成数据配准为止;配准过程中利用光束平差法计算待优化的坐标变换向量。本发明实现了光学三维测量中多视点云数据的全局优化配准,适用于待测物体三维测量。
The invention relates to a global optimal registration method for multi-view point cloud data in optical three-dimensional measurement, which belongs to the technical field of digital image processing and solves the problem of deviation in the measurement of public marker points in the characteristic marker point measurement method. The data registration process is as follows: register the data to be registered to the target data, obtain the registration result data, and use the registration result data as the target data for the next registration; select the i-th viewpoint as the viewpoint to be registered, and the The two-dimensional measurement data of the object to be measured at the viewpoint is used as the data to be registered, and then the above data registration process is repeated until all viewpoints are used as the viewpoint to be converted to complete the data registration; during the registration process, the beam adjustment method is used to calculate the data to be optimized The coordinate transformation vector of . The invention realizes global optimal registration of multi-view point cloud data in optical three-dimensional measurement, and is suitable for three-dimensional measurement of objects to be measured.
Description
技术领域 technical field
本发明属于数字图像处理技术领域,具体涉及一种光学三维测量中多视点云数据的全局优化配准方法。The invention belongs to the technical field of digital image processing, and in particular relates to a global optimization registration method for multi-view point cloud data in optical three-dimensional measurement.
背景技术 Background technique
光学三维测量是信息光学研究的前沿技术,具有非接触、无破坏、数据获取速度快、操作简单等优势,因此,光学三维测量技术在机器视觉、自动加工、工业在线检测、产品质量控制、实物仿形、生物医学等领域得到广泛的应用。但是,受测量环境、被测物体和测量设备本身的限制,单次测量只能获得被测物体有限区域的数据,要得到被测物体轮廓的完整数据需要通过变换不同的测量角度进行多次测量,也称多视测量。由于每次测量角度的变化,导致得到的多视测量数据无法直接统一到一个坐标系下,将多个视点的测量数据统一到同一坐标系下这一过程称之为配准,目前,实现配准主要采用以下几种方法:Optical three-dimensional measurement is the cutting-edge technology of information optics research, which has the advantages of non-contact, non-destructive, fast data acquisition, and simple operation. Therefore, optical three-dimensional measurement technology is widely used in machine vision, automatic processing, industrial online inspection, product quality control, physical objects It has been widely used in profiling, biomedicine and other fields. However, due to the limitation of the measurement environment, the measured object and the measuring equipment itself, a single measurement can only obtain the data of a limited area of the measured object. To obtain the complete data of the measured object profile, it is necessary to perform multiple measurements by changing different measurement angles , also known as multi-look measurement. Due to the change of each measurement angle, the obtained multi-view measurement data cannot be directly unified into one coordinate system. The process of unifying the measurement data of multiple viewpoints into the same coordinate system is called registration. At present, the realization of registration The quasi-mainly adopts the following methods:
(1)、提取形状特征法:从测得的多视点云数据中提取相应的曲率或形状等特征,利用这些特征实现多视数据的配准。但这一过程运算量大、运算速度慢、运算精度低,而且,有些待测物体特征不明显,因此,采用这一方法对待测物体进行三维测量有很大的局限性,可靠性没有保证。(1) Shape feature extraction method: extract the corresponding features such as curvature or shape from the measured multi-view point cloud data, and use these features to realize the registration of multi-view data. However, this process has a large amount of calculation, slow calculation speed and low calculation accuracy, and some objects to be measured have no obvious characteristics. Therefore, the three-dimensional measurement of the object to be measured by this method has great limitations, and the reliability is not guaranteed.
(2)、辅助装置测量法:借助关节臂、运动平台等辅助装置检测被测物体与测量设备之间的相对运动,直接获得多视数据间的坐标变换关系。但是,辅助装置的使用不仅提高了整个测量系统的成本,而且增加了其复杂度。并且测量系统的工作范围受限制,无法对较大型被测物体进行三维测量。(2) Auxiliary device measurement method: the relative motion between the measured object and the measuring equipment is detected by means of auxiliary devices such as articulated arms and motion platforms, and the coordinate transformation relationship between multi-view data is directly obtained. However, the use of auxiliary devices not only increases the cost of the entire measurement system, but also increases its complexity. Moreover, the working range of the measurement system is limited, and it is impossible to perform three-dimensional measurement on larger objects to be measured.
(3)、特征标记点配准法:在被测物体表面做出特征标记点,为实现两组测量数据在同一坐标系下进行坐标统一,要保证至少三个公共特征标记点在两次测量中能够被识别出来。但是,受到观测角度的影响,多次测量同一公共标志点时,对公共标记点的识别存在一定的偏差,导致出现误差传递,使配准的结果具有累积误差。(3) Feature mark point registration method: make feature mark points on the surface of the measured object. In order to realize the coordinate unification of the two sets of measurement data in the same coordinate system, it is necessary to ensure that at least three common feature mark points are measured twice. can be identified. However, due to the influence of the observation angle, when the same public marker point is measured multiple times, there is a certain deviation in the recognition of the public marker point, which leads to error transmission and cumulative errors in the registration results.
发明内容 Contents of the invention
本发明的目的是为解决特征标记点测量法中对公共标记点的测量存在偏差的问题,提供了一种光学三维测量中多视点云数据的全局优化配准方法。The purpose of the present invention is to solve the problem of deviation in the measurement of common marker points in the characteristic marker point measurement method, and provide a global optimization registration method for multi-view point cloud data in optical three-dimensional measurement.
本发明是通过下述方案予以实现的,光学三维测量中多视点云数据的全局优化配准方法,所述方法基于一个包括有采集装置和计算机控制装置的硬件系统平台,待测物体上粘贴有标记点作为待测物体特征标记点,计算机控制装置控制采集装置分别从N个视点采集待测物体的测量数据信息,获得N组待测物体的二维测量数据,从中提取出N组待测物体特征标记点的二维测量数据,将其恢复为N组待测物体特征标记点的三维测量数据,其中,N为采集装置采集待测物体的视点数目,且N为大于1的整数;The present invention is realized through the following scheme, the global optimization registration method of multi-view point cloud data in optical three-dimensional measurement, the method is based on a hardware system platform including an acquisition device and a computer control device, and the object to be measured is pasted with The marked points are used as the characteristic mark points of the object to be measured, and the computer control device controls the acquisition device to collect the measurement data information of the object to be measured from N viewpoints, obtain the two-dimensional measurement data of N groups of objects to be measured, and extract N groups of objects to be measured from The two-dimensional measurement data of the characteristic marker points is restored to the three-dimensional measurement data of N groups of characteristic marker points of the object to be measured, wherein N is the number of viewpoints of the object to be measured collected by the acquisition device, and N is an integer greater than 1;
N个视点采集的待测物体特征标记点的三维测量数据进行配准的方法:The method for registering the three-dimensional measurement data of the feature marker points of the object to be measured collected by N viewpoints:
将第一个视点作为目标视点,第二个视点作为待转换视点,从目标视点的待测物体特征标记点的三维测量数据及待转换视点的待测物体特征标记点的三维测量数据中识别出M1个待测物体公共特征标记点,所述目标视点的待测物体公共特征标记点的三维测量数据作为目标数据,所述待转换视点的待测物体公共特征标记点的三维测量数据作为待配准数据;Taking the first viewpoint as the target viewpoint and the second viewpoint as the viewpoint to be converted, from the three-dimensional measurement data of the characteristic mark points of the object to be measured at the target viewpoint and the three-dimensional measurement data of the characteristic mark points of the object to be measured at the viewpoint to be converted to identify M 1 public feature mark points of the object to be measured, the three-dimensional measurement data of the public feature mark points of the object to be measured in the target viewpoint are used as target data, and the three-dimensional measurement data of the public feature mark points of the object to be measured in the viewpoint to be converted are used as the target data registration data;
进行数据配准的过程为:将待配准数据向目标数据进行配准,获得配准结果数据,将这个配准结果数据作为下一次配准的目标数据;The process of data registration is: register the data to be registered to the target data, obtain the registration result data, and use the registration result data as the target data for the next registration;
选择第i个视点作为待转换视点,从目标视点的待测物体特征标记点的三维测量数据及待转换视点的待测物体特征标记点的三维测量数据中识别出Mi个待测物体公共特征标记点,所述待转换视点的待测物体公共特征标记点的三维测量数据作为待配准数据,然后重复上述数据配准过程,直到所有视点都作为待转换视点完成数据配准为止,其中,i=3、4、……N,M1、Mi为大于2的整数;Select the i-th viewpoint as the viewpoint to be converted, identify M i common features of the object to be measured from the three-dimensional measurement data of the characteristic marker points of the object to be measured at the target viewpoint and the three-dimensional measurement data of the characteristic marker points of the object to be measured at the viewpoint to be converted Marking points, the three-dimensional measurement data of the common feature marker points of the object to be measured at the viewpoint to be converted is used as the data to be registered, and then the above data registration process is repeated until all viewpoints are used as the viewpoint to be converted to complete the data registration, wherein, i=3, 4, ... N, M 1 , M i are integers greater than 2;
所述的将待配准数据向目标数据进行配准的方法具体为:The method for registering the data to be registered to the target data is specifically as follows:
步骤一、根据待配准数据及目标数据,计算机控制装置计算出将Mi个公共特征标记点从待配准数据向目标数据进行配准时的旋转矩阵和平移向量,将所述的旋转矩阵以单位四元数的形式存储,且单位四元数的实数分量为正,单位四元数与平移向量构成坐标变换向量;Step 1. According to the data to be registered and the target data, the computer control device calculates the rotation matrix and translation vector when registering the M i public feature marker points from the data to be registered to the target data, and converts the rotation matrix to The unit quaternion is stored in the form of a unit quaternion, and the real number component of the unit quaternion is positive, and the unit quaternion and the translation vector form a coordinate transformation vector;
步骤二、根据待配准数据及目标数据,将Mi个公共特征标记点的待配准数据投影到目标视点所对应的平面上,获得Mi个投影图像公共特征标记点的二维坐标,令一个投影图像公共特征标记点的二维坐标为,该公共特征标记点在目标视点的二维测量数据的坐标为x,将步骤一中获得的坐标变换向量作为待优化的坐标变换向量p0;Step 2: According to the data to be registered and the target data, project the data to be registered of the M i public feature marker points onto the plane corresponding to the target viewpoint, and obtain the two-dimensional coordinates of the M i common feature marker points of the projected image, Let the two-dimensional coordinates of the common feature marker points of a projected image be , the coordinate of the public feature mark point in the two-dimensional measurement data of the target viewpoint is x, and the coordinate transformation vector obtained in step 1 is used as the coordinate transformation vector p 0 to be optimized;
步骤三、根据成像原则,投影图像公共特征标记点的二维坐标与待优化的坐标变换向量p0的关系表示为计算公共特征标记点在目标视点的二维测量数据的坐标为x与投影图像公共特征标记点的二维坐标为之间的偏差为其中,f(·)为投影函数;Step 3. According to the imaging principle, the two-dimensional coordinates of the public feature marker points of the projected image The relationship with the coordinate transformation vector p 0 to be optimized is expressed as Calculate the coordinates of the two-dimensional measurement data of the public feature marker point at the target viewpoint as x and the two-dimensional coordinates of the public feature marker point of the projection image as The deviation between Among them, f( ) is the projection function;
步骤四、判断步骤三中所述的偏差e是否在预先设定的允许偏差范围内,判断结果为是,执行步骤六,判断结果为否,执行步骤五;Step 4, judging whether the deviation e described in step 3 is within the preset allowable deviation range, if the judgment result is yes, perform step 6, if the judgment result is no, perform step 5;
步骤五、利用光束平差法计算待优化的坐标变换向量的变化量δp,修正待优化的坐标变换向量p0,修正后的待优化的坐标变换向量pk=p0+δp,并将所述的修正后的待优化的坐标变换向量pk定义为待优化的坐标变换向量p0,返回步骤三;Step 5: Use the beam adjustment method to calculate the variation δ p of the coordinate transformation vector to be optimized, correct the coordinate transformation vector p 0 to be optimized, the corrected coordinate transformation vector to be optimized p k =p 0 +δ p , and Define the corrected coordinate transformation vector p k to be optimized as the coordinate transformation vector p 0 to be optimized, and return to step 3;
步骤六、将待优化的坐标变换向量p0定义为优化后的坐标变换向量p,执行步骤七;Step 6, define the coordinate transformation vector p0 to be optimized as the optimized coordinate transformation vector p, and perform step 7;
步骤七、根据步骤六中获得的优化后的坐标变换向量p,将待配准数据进行配准,得到配准结果数据。Step 7. According to the optimized coordinate transformation vector p obtained in Step 6, register the data to be registered to obtain registration result data.
本发明中所述的识别出的M个公共特征标记点的个数至少为3,用以保证能够实现多组测量数据的坐标统一。The number of identified M common feature marker points in the present invention is at least 3, so as to ensure that coordinates of multiple sets of measurement data can be unified.
本发明步骤三中所述的单位四元数的实数分量为正,采用本发明所述的限定方式能够保证四元数表示的旋转矩阵与原旋转矩阵的一一对应的关系,原旋转矩阵表示法在运算过程中,旋转矩阵的三角函数存在多值性和奇异性,易导致迭代计算的次数增加,甚至会出现不收敛的情况。The real number component of the unit quaternion described in step 3 of the present invention is positive, and the restriction method described in the present invention can ensure the one-to-one relationship between the rotation matrix represented by the quaternion and the original rotation matrix, and the original rotation matrix represents In the operation process of the method, the trigonometric functions of the rotation matrix have multi-value and singularity, which will easily lead to an increase in the number of iterative calculations, and even non-convergence.
本发明所述的全局优化配准方法将特征标记点配准法与光束平差法进行结合,在每两组测量数据的配准过程中,均对公共标记点的测量偏差进行消除,使其在允许的范围内,进而达到减小在多视点测量数据的配准过程中,由于误差传递产生的累积误差。采用本发明所述的方法不增加系统的复杂度,仅在原有光学三维测量系统基础上利用三维特征标志点计算坐标变换的初始值,利用光束平差法精确的计算坐标变换向量和三维标志点坐标。本发明具有运算量小、可靠性高、测量范围不受限制、测量方法简单易于实现等优势。The global optimization registration method described in the present invention combines the feature mark point registration method with the beam adjustment method, and in the registration process of each two sets of measurement data, the measurement deviation of the common mark points is eliminated to make it Within the allowable range, the cumulative error caused by error transmission in the registration process of multi-view point measurement data can be reduced. Adopting the method described in the present invention does not increase the complexity of the system, only uses the three-dimensional feature mark points to calculate the initial value of the coordinate transformation on the basis of the original optical three-dimensional measurement system, and uses the beam adjustment method to accurately calculate the coordinate transformation vector and the three-dimensional mark points coordinate. The invention has the advantages of small calculation amount, high reliability, unrestricted measurement range, simple and easy-to-implement measurement method, and the like.
附图说明 Description of drawings
图1是具体实施方式一所述的将待配准数据向目标数据进行配准的方法的流程图;图2是具体实施方式四所述的利用光束平差法计算待优化的坐标变换向量的变化量δp的方法的流程图。Fig. 1 is a flow chart of the method for registering the data to be registered to the target data described in the first embodiment; Fig. 2 is the calculation of the coordinate transformation vector to be optimized by using the bundle adjustment method described in the fourth embodiment Flowchart of the method for varying δp .
具体实施方式 Detailed ways
具体实施方式一:下面结合图1具体说明本实施方式。光学三维测量中多视点云数据的全局优化配准方法,所述方法基于一个包括有采集装置和计算机控制装置的硬件系统平台,待测物体上粘贴有标记点作为待测物体特征标记点,计算机控制装置控制采集装置分别从N个视点采集待测物体的测量数据信息,获得N组待测物体的二维测量数据,从中提取出N组待测物体特征标记点的二维测量数据,将其恢复为N组待测物体特征标记点的三维测量数据,其中,N为采集装置采集待测物体的视点数目,且N为大于1的整数;Specific Embodiment 1: The present embodiment will be specifically described below with reference to FIG. 1 . A global optimization registration method for multi-view point cloud data in optical three-dimensional measurement, the method is based on a hardware system platform including an acquisition device and a computer control device, marking points are pasted on the object to be measured as characteristic mark points of the object to be measured, and the computer The control device controls the acquisition device to collect the measurement data information of the object to be measured from N viewpoints respectively, obtains two-dimensional measurement data of N groups of objects to be measured, extracts the two-dimensional measurement data of N groups of characteristic mark points of the object to be measured, and converts them to Restoring the three-dimensional measurement data of N groups of feature marker points of the object to be measured, wherein N is the number of viewpoints of the object to be measured collected by the acquisition device, and N is an integer greater than 1;
N个视点采集的待测物体特征标记点的三维测量数据进行配准的方法:The method for registering the three-dimensional measurement data of the feature marker points of the object to be measured collected by N viewpoints:
将第一个视点作为目标视点,第二个视点作为待转换视点,从目标视点的待测物体特征标记点的三维测量数据及待转换视点的待测物体特征标记点的三维测量数据中识别出M1个待测物体公共特征标记点,所述目标视点的待测物体公共特征标记点的三维测量数据作为目标数据,所述待转换视点的待测物体公共特征标记点的三维测量数据作为待配准数据;Taking the first viewpoint as the target viewpoint and the second viewpoint as the viewpoint to be converted, from the three-dimensional measurement data of the characteristic mark points of the object to be measured at the target viewpoint and the three-dimensional measurement data of the characteristic mark points of the object to be measured at the viewpoint to be converted to identify M 1 public feature mark points of the object to be measured, the three-dimensional measurement data of the public feature mark points of the object to be measured in the target viewpoint are used as target data, and the three-dimensional measurement data of the public feature mark points of the object to be measured in the viewpoint to be converted are used as the target data registration data;
进行数据配准的过程为:将待配准数据向目标数据进行配准,获得配准结果数据,将这个配准结果数据作为下一次配准的目标数据;The process of data registration is: register the data to be registered to the target data, obtain the registration result data, and use the registration result data as the target data for the next registration;
选择第i个视点作为待转换视点,从目标视点的待测物体特征标记点的三维测量数据及待转换视点的待测物体特征标记点的三维测量数据中识别出Mi个待测物体公共特征标记点,所述待转换视点的待测物体公共特征标记点的三维测量数据作为待配准数据,然后重复上述数据配准过程,直到所有视点都作为待转换视点完成数据配准为止,其中,i=3、4、……N,M1、Mi为大于2的整数;Select the i-th viewpoint as the viewpoint to be converted, and identify M i common features of the object to be measured from the three-dimensional measurement data of the characteristic marker points of the object to be measured at the target viewpoint and the three-dimensional measurement data of the characteristic marker points of the object to be measured at the viewpoint to be converted Marking points, the three-dimensional measurement data of the common feature marker points of the object to be measured at the viewpoint to be converted is used as the data to be registered, and then the above data registration process is repeated until all viewpoints are used as viewpoints to be converted to complete the data registration, wherein, i=3, 4, ... N, M 1 , M i are integers greater than 2;
所述的将待配准数据向目标数据进行配准的方法具体为:The method for registering the data to be registered to the target data is specifically as follows:
步骤一、根据待配准数据及目标数据,计算机控制装置计算出将Mi个公共特征标记点从待配准数据向目标数据进行配准时的旋转矩阵和平移向量,将所述的旋转矩阵以单位四元数的形式存储,且单位四元数的实数分量为正,单位四元数与平移向量构成坐标变换向量;Step 1. According to the data to be registered and the target data, the computer control device calculates the rotation matrix and translation vector when registering the M i public feature marker points from the data to be registered to the target data, and converts the rotation matrix to The unit quaternion is stored in the form of a unit quaternion, and the real number component of the unit quaternion is positive, and the unit quaternion and the translation vector form a coordinate transformation vector;
步骤二、根据待配准数据及目标数据,将Mi个公共特征标记点的待配准数据投影到目标视点所对应的平面上,获得Mi个投影图像公共特征标记点的二维坐标,令一个投影图像公共特征标记点的二维坐标为该公共特征标记点在目标视点的二维测量数据的坐标为x,将步骤一中获得的坐标变换向量作为待优化的坐标变换向量p0;Step 2: According to the data to be registered and the target data, project the data to be registered of the M i public feature marker points onto the plane corresponding to the target viewpoint, and obtain the two-dimensional coordinates of the M i common feature marker points of the projected image, Let the two-dimensional coordinates of the common feature marker points of a projected image be The coordinates of the two-dimensional measurement data of the public feature mark point at the target viewpoint are x, and the coordinate transformation vector obtained in step 1 is used as the coordinate transformation vector p 0 to be optimized;
步骤三、根据成像原则,投影图像公共特征标记点的二维坐标与待优化的坐标变换向量p0的关系表示为计算公共特征标记点在目标视点的二维测量数据的坐标为x与投影图像公共特征标记点的二维坐标为之间的偏差为其中,f(·)为投影函数;Step 3. According to the imaging principle, the two-dimensional coordinates of the public feature marker points of the projected image The relationship with the coordinate transformation vector p 0 to be optimized is expressed as Calculate the coordinates of the two-dimensional measurement data of the public feature marker point at the target viewpoint as x and the two-dimensional coordinates of the public feature marker point of the projection image as The deviation between Among them, f( ) is the projection function;
步骤四、判断步骤三中所述的偏差e是否在预先设定的允许偏差范围内,判断结果为是,执行步骤六,判断结果为否,执行步骤五;Step 4, judging whether the deviation e described in step 3 is within the preset allowable deviation range, if the judgment result is yes, perform step 6, if the judgment result is no, perform step 5;
步骤五、利用光束平差法计算待优化的坐标变换向量的变化量δp,修正待优化的坐标变换向量p0,修正后的待优化的坐标变换向量pk=p0+δp,并将所述的修正后的待优化的坐标变换向量pk定义为待优化的坐标变换向量p0,返回步骤三;Step 5: Use the beam adjustment method to calculate the variation δ p of the coordinate transformation vector to be optimized, correct the coordinate transformation vector p 0 to be optimized, the corrected coordinate transformation vector to be optimized p k =p 0 +δ p , and Define the corrected coordinate transformation vector p k to be optimized as the coordinate transformation vector p 0 to be optimized, and return to step 3;
步骤六、将待优化的坐标变换向量p0定义为优化后的坐标变换向量p,执行步骤七;Step 6, define the coordinate transformation vector p0 to be optimized as the optimized coordinate transformation vector p, and perform step 7;
步骤七、根据步骤六中获得的优化后的坐标变换向量p,将待配准数据进行配准,得到配准结果数据。Step 7. According to the optimized coordinate transformation vector p obtained in Step 6, register the data to be registered to obtain registration result data.
本实施方式中所述的识别出的M个公共特征标记点的个数至少为3,用以保证能够实现多组测量数据的坐标统一。The number of identified M common feature marker points in this embodiment is at least 3, so as to ensure that coordinates of multiple sets of measurement data can be unified.
本实施方式步骤一中所述的单位四元数的实数分量为正,采用本实施方式所述的限定方式能够保证四元数表示的旋转矩阵与原旋转矩阵的一一对应的关系,原旋转矩阵表示法在运算过程中,旋转矩阵的三角函数存在多值性和奇异性,易导致迭代计算的次数增加,甚至会出现不收敛的情况。The real number component of the unit quaternion described in step 1 of this embodiment is positive, and the limited method described in this embodiment can ensure the one-to-one correspondence between the rotation matrix represented by the quaternion and the original rotation matrix, and the original rotation In the operation process of matrix representation, the trigonometric function of the rotation matrix has multi-value and singularity, which will easily lead to an increase in the number of iterative calculations, and even non-convergence.
本实施方式所述的全局优化配准方法将特征标记点配准法与光束平差法进行结合,在每两组测量数据的配准过程中,均对公共标记点的测量偏差进行消除,使其在允许的范围内,进而达到减小在多视点测量数据的配准过程中,由于误差传递产生的累积误差。采用本实施方式所述的方法不增加系统的复杂度,仅在原有光学三维测量系统基础上利用三维特征标志点计算坐标变换的初始值,利用光束平差法精确的计算坐标变换向量和三维标志点坐标。本实施方式具有运算量小、可靠性高、测量范围不受限制、测量方法简单易于实现等优势。The global optimization registration method described in this embodiment combines the feature mark point registration method with the beam adjustment method. During the registration process of each two sets of measurement data, the measurement deviation of the common mark points is eliminated, so that It is within the allowable range, thereby reducing the cumulative error caused by error transmission during the registration process of multi-view point measurement data. The method described in this embodiment does not increase the complexity of the system, only uses the three-dimensional feature mark points to calculate the initial value of the coordinate transformation on the basis of the original optical three-dimensional measurement system, and uses the beam adjustment method to accurately calculate the coordinate transformation vector and the three-dimensional mark point coordinates. This implementation mode has the advantages of small calculation amount, high reliability, unlimited measurement range, simple and easy-to-implement measurement method, and the like.
具体实施方式二:本实施方式是对具体实施方式一所述的光学三维测量中多视点云数据的全局优化配准方法的进一步限定,所述的采集装置是CCD摄像头。Embodiment 2: This embodiment is a further limitation of the global optimization registration method for multi-view point cloud data in optical three-dimensional measurement described in Embodiment 1, and the acquisition device is a CCD camera.
具体实施方式三:本实施方式是对具体实施方式一所述的光学三维测量中多视点云数据的全局优化配准方法的进一步限定,步骤一中,所述的旋转矩阵是一个3×3的矩阵,所述的平移向量是一个3×1的向量,所述的单位四元数是一个4×1的向量,所述的由单位四元数与平移向量构成的坐标变换向量是一个7×1的向量。Specific embodiment three: this embodiment is a further limitation of the global optimal registration method for multi-view point cloud data in optical three-dimensional measurement described in specific embodiment one. In step one, the rotation matrix described is a 3×3 matrix, the translation vector is a 3×1 vector, the unit quaternion is a 4×1 vector, and the coordinate transformation vector composed of the unit quaternion and the translation vector is a 7× A vector of 1.
具体实施方式四:下面结合图2具体说明本实施方式。本实施方式是对具体实施方式一所述的光学三维测量中多视点云数据的全局优化配准方法的进一步限定,步骤五中,所述的利用光束平差法计算待优化的坐标变换向量的变化量δp的方法为:Specific Embodiment 4: The present embodiment will be specifically described below with reference to FIG. 2 . This embodiment is a further limitation of the global optimization registration method for multi-view point cloud data in the optical three-dimensional measurement described in the first specific embodiment. In step five, the calculation of the coordinate transformation vector to be optimized by using the beam adjustment method The method of changing δ p is:
步骤五一、在待优化的坐标变换向量p0处,对于待优化的坐标变换向量的变化量δp,将投影函数f(p0+δp)展开为一阶Taylor多项式:Step 51. At the coordinate transformation vector p 0 to be optimized, for the variation δ p of the coordinate transformation vector to be optimized, expand the projection function f(p 0 +δ p ) into a first-order Taylor polynomial:
f(p0+δp)≈f(p0)+Jδp f(p 0 +δ p )≈f(p 0 )+Jδ p
其中,J为雅可比矩阵所述的投影函数f(p0+δp),即为修正后的待优化的坐标变换向量pk在平面上的投影;Among them, J is the Jacobian matrix The projection function f(p 0 +δ p ) is the projection on the plane of the modified coordinate transformation vector p k to be optimized;
步骤五二、计算公共特征标记点的目标数据的二维坐标x与修正后的待优化的坐标变换向量pk在平面上的投影f(p0+δp)的差值,||x-f(p0+δp)||≈||x-f(p0)-Jδp||=||e-Jδp||Step 52: Calculate the difference between the two-dimensional coordinate x of the target data of the public feature marker point and the projection f(p 0 +δ p ) of the revised coordinate transformation vector p k to be optimized on the plane, ||xf( p 0 +δ p )||≈||xf(p 0 )-Jδ p ||=||e-Jδ p ||
步骤五三、为使得步骤五二中所述的||x-f(p0+δp)||最小,则令e-Jδp与J正交,即JT(e-Jδp)=0;Step 53. In order to minimize ||xf(p 0 +δ p )|| mentioned in step 52, set e-Jδ p to be orthogonal to J, that is, J T (e-Jδ p )=0;
步骤五四、整理步骤五三中的等式JT(e-Jδp)=0,获得形式如下:JTJδp=JTe;Step five and four, arrange the equation J T (e-Jδ p )=0 in step five and three, and obtain the following form: J T Jδ p =J T e;
步骤五五、将步骤五四中获得的整理后的等式转换为增强型方程,(JTJ+μI)δp=JTe,Step five and five, converting the sorted equation obtained in step five and four into an enhanced equation, (J T J+μI)δ p =J T e,
其中,I为单位阵,μ为单位阵系数,且μ>0;Among them, I is the unit matrix, μ is the unit matrix coefficient, and μ>0;
步骤五六、根据步骤七五中得到的增强型方程,待优化的坐标变换向量的变化量δp为δp=-(JTJ+μI)-1JTe。Steps five and six, according to the enhanced equation obtained in steps seven and five, the variation δ p of the coordinate transformation vector to be optimized is δ p =-(J T J+μI) -1 J T e.
采用本实施方式所述的利用光束平差法计算待优化的坐标变换向量的变化量δp的方法,具有计算量小、易于实现、可靠性高、无误差传递的优点。The method of calculating the variation δ p of the coordinate transformation vector to be optimized by using the beam adjustment method described in this embodiment has the advantages of small calculation amount, easy implementation, high reliability, and error-free transmission.
具体实施方式五:本实施方式是对具体实施方式四所述的光学三维测量中多视点云数据的全局优化配准方法的进一步补充说明,步骤五中,还包括以下步骤:Embodiment 5: This embodiment is a further supplementary description of the global optimization registration method for multi-view point cloud data in optical three-dimensional measurement described in Embodiment 4. In step 5, the following steps are also included:
记录利用光束平差法计算待优化的坐标变换向量的变化量δp的运算次数,当所述的运算次数超过预设值时,执行结束指令。Recording the number of operations for calculating the variation δ p of the coordinate transformation vector to be optimized by using the beam adjustment method, and executing the end instruction when the number of operations exceeds a preset value.
本实施方式中利用光束平差法计算待优化的坐标变换向量的变化量δp,当计算待优化的坐标变换向量的变化量δp的运算次数超过预设值时,跳出循环。In this embodiment, the beam adjustment method is used to calculate the variation δ p of the coordinate transformation vector to be optimized. When the number of calculations for calculating the variation δ p of the coordinate transformation vector to be optimized exceeds the preset value, the loop is jumped out.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010102553612A CN101901502B (en) | 2010-08-17 | 2010-08-17 | A global optimal registration method for multi-view point cloud data in optical 3D measurement |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010102553612A CN101901502B (en) | 2010-08-17 | 2010-08-17 | A global optimal registration method for multi-view point cloud data in optical 3D measurement |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101901502A CN101901502A (en) | 2010-12-01 |
| CN101901502B true CN101901502B (en) | 2012-05-02 |
Family
ID=43227008
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010102553612A Expired - Fee Related CN101901502B (en) | 2010-08-17 | 2010-08-17 | A global optimal registration method for multi-view point cloud data in optical 3D measurement |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101901502B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9189702B2 (en) * | 2012-12-31 | 2015-11-17 | Cognex Corporation | Imaging system for determining multi-view alignment |
| CN105180830B (en) * | 2015-09-28 | 2017-09-01 | 浙江大学 | A 3D point cloud automatic registration method and system suitable for ToF cameras |
| CN106683105B (en) * | 2016-12-02 | 2020-05-19 | 深圳市速腾聚创科技有限公司 | Image segmentation method and image segmentation device |
| CN106846467B (en) * | 2017-01-23 | 2020-05-05 | 阿依瓦(北京)技术有限公司 | Entity scene modeling method and system based on optimization of position of each camera |
| CN108253911B (en) * | 2018-01-29 | 2019-10-11 | 西南交通大学 | A Workpiece Pose Adjustment Method Based on Iterative Registration of Geometric Features of Measurement Points |
| CN109087339A (en) * | 2018-06-13 | 2018-12-25 | 武汉朗视软件有限公司 | A kind of laser scanning point and Image registration method |
| CN113486928B (en) * | 2021-06-16 | 2022-04-12 | 武汉大学 | Multi-view image alignment method based on rational polynomial model differentiable tensor expression |
| TWI803369B (en) * | 2022-06-24 | 2023-05-21 | 寶成工業股份有限公司 | Automatic Mold Spraying System |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008017999A1 (en) * | 2006-08-08 | 2008-02-14 | Koninklijke Philips Electronics N.V. | Registration of electroanatomical mapping points to corresponding image data |
| CN101645170B (en) * | 2009-09-03 | 2011-07-20 | 北京信息科技大学 | Precise registration method of multilook point cloud |
-
2010
- 2010-08-17 CN CN2010102553612A patent/CN101901502B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN101901502A (en) | 2010-12-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101901502B (en) | A global optimal registration method for multi-view point cloud data in optical 3D measurement | |
| CN107883870B (en) | Overall calibration method based on binocular vision system and laser tracker measuring system | |
| JP5393318B2 (en) | Position and orientation measurement method and apparatus | |
| CN102980528B (en) | Calibration method of pose position-free constraint line laser monocular vision three-dimensional measurement sensor parameters | |
| CN104596502B (en) | Object posture measuring method based on CAD model and monocular vision | |
| CN102252653B (en) | Position and attitude measurement method based on time of flight (TOF) scanning-free three-dimensional imaging | |
| JP6370038B2 (en) | Position and orientation measurement apparatus and method | |
| CN104864807B (en) | A kind of manipulator hand and eye calibrating method based on active binocular vision | |
| JP6324025B2 (en) | Information processing apparatus and information processing method | |
| JP5627325B2 (en) | Position / orientation measuring apparatus, position / orientation measuring method, and program | |
| CN109242912A (en) | Join scaling method, electronic equipment, storage medium outside acquisition device | |
| CN111220126A (en) | Space object pose measurement method based on point features and monocular camera | |
| JP6282098B2 (en) | Calibration apparatus and method | |
| CN106092057A (en) | A kind of helicopter rotor blade dynamic trajectory measuring method based on four item stereo visions | |
| CN105574812B (en) | Multi-angle three-dimensional data method for registering and device | |
| CN104697463B (en) | The blanking feature constraint scaling method and device of a kind of binocular vision sensor | |
| CN111105467B (en) | Image calibration method and device and electronic equipment | |
| JP2016170050A (en) | Position / orientation measuring apparatus, position / orientation measuring method, and computer program | |
| CN101900531A (en) | Measurement and calculation method and measurement system of binocular vision displacement measurement error | |
| CN104167001B (en) | Large-visual-field camera calibration method based on orthogonal compensation | |
| CN102881040A (en) | Three-dimensional reconstruction method for mobile photographing of digital camera | |
| CN104123726B (en) | Heavy forging measuring system scaling method based on vanishing point | |
| CN108180829A (en) | Method for measuring target space orientation with parallel line characteristics | |
| CN119169101A (en) | A camera calibration method for low-precision planar targets | |
| KR101340555B1 (en) | Apparatus and method for generating base view image |
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 | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120502 Termination date: 20120817 |