CN100444201C - Marker point matching method for point cloud stitching in 3D scanning system - Google Patents
Marker point matching method for point cloud stitching in 3D scanning system Download PDFInfo
- Publication number
- CN100444201C CN100444201C CNB2006100413211A CN200610041321A CN100444201C CN 100444201 C CN100444201 C CN 100444201C CN B2006100413211 A CNB2006100413211 A CN B2006100413211A CN 200610041321 A CN200610041321 A CN 200610041321A CN 100444201 C CN100444201 C CN 100444201C
- Authority
- CN
- China
- Prior art keywords
- point cloud
- layer
- successive scans
- data
- point
- 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
- 239000003550 marker Substances 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000012545 processing Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000005259 measurement Methods 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000007781 pre-processing Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
一种能够对点云拼接时标志点的进行快速匹配的方法:首先将逐次扫描开始的第一幅点云标志点集合按照空间坐标与距离值,动态划分层,形成层嵌套;其次设逐次扫描开始的第一幅点云为基准,对逐次扫描开始的第一幅点云与逐次扫描开始的第二幅点云进行标志点匹配时,在搜索识别前预先估计符合实际运动规律的数据区域,采取区域数据匹配的方法,匹配识别对准之后将处理结果数据加入相应的数据层,进行下一步的预测估计,同时动态的修正数据层,不断加以记忆和优化;寻找逐次扫描的第一幅点云与逐次扫描的第i幅点云的标志点匹配时,以此类推。
A method that can quickly match the landmark points during point cloud stitching: firstly, the first set of point cloud landmark points starting from the successive scans are dynamically divided into layers according to the spatial coordinates and distance values to form layer nesting; The first point cloud at the beginning of the scan is used as the reference, and when the first point cloud at the beginning of the successive scans is matched with the second point cloud at the beginning of the successive scans, the data area that conforms to the actual motion law is pre-estimated before the search and recognition , adopt the method of regional data matching, add the processing result data to the corresponding data layer after matching, recognition and alignment, and carry out the next step of prediction and estimation, and at the same time dynamically correct the data layer, and constantly memorize and optimize it; look for the first image scanned successively When the point cloud matches the marker points of the i-th point cloud scanned successively, and so on.
Description
技术领域 technical field
逆向工程技术(附图1)是利用3D数字化测量仪器对产品(物理模型或原型)进行数字化,采集模型三维坐标点后利用CAD软件建模,最后再制造出产品的先进制造技术,其一般包括四个基本环节:三维形体检测与转换(物理数据的获得)、数据预处理(点云处理、识别、多视拼接),CAD模型的建立(曲面重构)、CAM制件成型。本发明主要是涉及到在逆向工程的数据预处理过程中,对同一物体用三维扫描系统(附图2)获得的多视点云采用多视标签定位法进行拼接时的一种标志点匹配的方法。工程实际中,点云的测量数据一般用于物体的三维显示或其数字模型的三维重建中,故要求实际测量数据必须是坐标归一化和完整的。而在产品外形的测量过程中,通常不能在同一坐标系下将产品的几何数据一次测出,因而必须进行坐标归一化,这一过程称为测量数据的重定位,也就是三维数据拼接。在多视标签定位拼接算法中,通过找到标志点的正确匹配,才可以保证拼接的质量,本发明设计了一种基于空间数据动态分层的标志点正确匹配方法。Reverse engineering technology (attached Figure 1) is an advanced manufacturing technology that uses 3D digital measuring instruments to digitize products (physical models or prototypes), collects three-dimensional coordinate points of the model, uses CAD software to model, and finally manufactures products, which generally includes Four basic links: 3D shape detection and conversion (acquisition of physical data), data preprocessing (point cloud processing, recognition, multi-view splicing), CAD model establishment (surface reconstruction), and CAM part molding. The present invention mainly relates to a marker point matching method when splicing multi-view point clouds obtained by a three-dimensional scanning system (accompanying drawing 2) on the same object using a multi-view label positioning method in the data preprocessing process of reverse engineering . In engineering practice, point cloud measurement data is generally used in the three-dimensional display of objects or the three-dimensional reconstruction of digital models, so the actual measurement data must be coordinate normalized and complete. In the process of measuring the shape of the product, the geometric data of the product cannot be measured at one time in the same coordinate system, so the coordinates must be normalized. This process is called the relocation of the measured data, that is, the three-dimensional data splicing. In the multi-view label location mosaic algorithm, the quality of splicing can be guaranteed only by finding the correct matching of the marker points. The present invention designs a correct matching method of marker points based on the dynamic layering of spatial data.
背景技术 Background technique
多视图拼接方法是扩展三维测量范围的有效手段。根据测量头和被扫物体的相对运动方式与图像处理方法的不同,拼接方法有:相关拼接法,回转拼接法,条纹图像拼接法,多视标签定位拼接法等。本发明中采用多视标签定位点云拼接技术,特征标志点采用人为的先验设置保证得到完整的三维物体的拓扑结构,思路清晰,实际可行,实现方便,避免了形体拼接的诸多的复杂运算。特征标志点空间搜索识别是三维点云拼接过程中的关键问题,直接影响拼接的质量。The multi-view mosaic method is an effective means to expand the range of 3D measurement. According to the difference between the relative motion of the measuring head and the object to be scanned and the image processing method, the splicing methods include: correlation splicing method, rotary splicing method, fringe image splicing method, multi-view label positioning splicing method, etc. In the present invention, the multi-view tag positioning point cloud splicing technology is adopted, and the feature mark points are artificially set up to ensure the complete topological structure of the three-dimensional object. . Space search and recognition of feature marker points is a key issue in the process of 3D point cloud stitching, which directly affects the quality of stitching.
近年来,三维点云的拼接算法在国内外均取得了很大的进展,已发表了相当数量的文献,而特征标志点的正确匹配问题一直是其中的关键和难点问题。In recent years, the splicing algorithm of 3D point cloud has made great progress both at home and abroad, and a considerable amount of literature has been published, and the correct matching of feature marker points has always been the key and difficult problem.
将文献“A method for registration of 3-D shapes”(P.Besl,and D.McKay.PatternAnal.Mach.Intell.,14(2),239-256,1992.)中提出的ICP算法用于多视标签定位点云拼接即用迭代的方法最小化两个给定点云特征标志点集之间的距离,实现拼接的方法,需要建立点对点的映射关系,在实际应用中,在缺乏明确对应关系的的情况下寻找点集每个特征标志点对点的匹配关系比较困难,计算速度也很慢,不能真正解决实际应用问题。文献“Iterative closest geometric objects registration”(LiQingde,Griffiths J G.Computers and Mathematics with Applications,40,2000,Page(s):1171~1188.)中提出的ICL和ICT算法,直接对两个给定点云数据点集中的点进行连线和三角化处理,根据一定的准则近似找到两个视图中对应的线段或对应的三角片,建立一个目标方程求解。不过,这个方法无法准确定位,缺乏有效的寻找对应关系的准则,不能保证得到正确的匹配关系。The ICP algorithm proposed in the literature "A method for registration of 3-D shapes" (P.Besl, and D.McKay.PatternAnal.Mach.Intell., 14(2), 239-256, 1992.) is used for multiple Point cloud splicing based on label positioning is to use an iterative method to minimize the distance between two given point cloud feature mark point sets, and to realize the splicing method, it is necessary to establish a point-to-point mapping relationship. In practical applications, in the absence of a clear corresponding relationship It is difficult to find the point-to-point matching relationship of each feature mark in the point set, and the calculation speed is also very slow, which cannot really solve the practical application problem. The ICL and ICT algorithms proposed in the document "Iterative closest geometric objects registration" (LiQingde, Griffiths J G. Computers and Mathematics with Applications, 40, 2000, Page(s): 1171~1188.) directly perform two given point clouds The points in the data point set are connected and triangulated, and the corresponding line segments or corresponding triangles in the two views are approximately found according to certain criteria, and an objective equation is established to solve it. However, this method cannot accurately locate, lacks an effective criterion for finding a corresponding relationship, and cannot guarantee to obtain a correct matching relationship.
本发明中提出的基于空间数据动态分层的点云标志点的匹配方法,相比较推理的方法和基于视图识别搜索的方法,根据特征标志点集的三维几何拓扑关系,空间距离关系,通过寻优,有效的解决了在点云拼接时特征标志点群之间的搜索与匹配识别问题,不需要多次测量或者进行复杂的图形逻辑运算,提高了匹配速度和精度。The matching method of the point cloud marker points based on the dynamic layering of spatial data proposed in the present invention, the method of comparison and reasoning and the method based on view recognition and search, according to the three-dimensional geometric topological relationship and spatial distance relationship of the feature marker point set, through searching Excellent, effectively solves the problem of searching and matching recognition between feature mark point groups during point cloud splicing, does not require multiple measurements or complex graphic logic operations, and improves matching speed and accuracy.
发明内容 Contents of the invention
本发明提供一种能够对点云拼接时标志点的进行快速匹配的方法,本发明具有算法复杂度底的优点。The invention provides a method capable of quickly matching marker points during point cloud splicing, and the invention has the advantage of low algorithm complexity.
本发明采用如下技术方案:The present invention adopts following technical scheme:
一种三维扫描系统中点云拼接用标志点匹配方法A Marker Point Matching Method for Point Cloud Stitching in a 3D Scanning System
第一步:将逐次扫描开始的第一幅点云标志点集合按照空间坐标与距离值,动态划分空间数据集合{Mi}(i=0,1,...n),形成层层嵌套,划分准则为:设定中心层M0,其立方块边长设为L,以中心层数据为基准坐标系,然后,动态添加层,第二层立方体的边长为3L,第三层立方体的边长为5L,以此类推,第i层立方体的边长2i+1,形成层嵌套;Step 1: Dynamically divide the spatial data set {M i } (i=0, 1,...n) according to the spatial coordinates and distance values of the first point cloud marker point set at the beginning of successive scans to form a layer-by-layer embedding set, the division criterion is: set the center layer M 0 , set the side length of its cube to L, take the center layer data as the reference coordinate system, and then dynamically add layers, the side length of the second layer cube is 3L, and the third layer The side length of the cube is 5L, and so on, the side length of the i-th cube is 2i+1, forming layer nesting;
第二步:a)设逐次扫描开始的第一幅点云为基准,将当前数据层Ma指向逐次扫描的第一幅点云中与逐次扫描的第二幅点云重叠区所在数据层,在当前数据层Ma与其相邻的内外两层中寻找逐次扫描的第一幅点云与逐次扫描的第二幅点云的标志点匹配即可,匹配拼接成功后,将逐次扫描开始的第二幅点云的标志点数据加入到逐次扫描开始的第一幅点云相应的数据层,逐次扫描开始的第一幅点云数据层随之动态增加,范围扩大,当逐次扫描的第一幅点云与逐次扫描的第二幅点云在当前数据层Ma与其相邻的内外两层中无标志点匹配时,采用自动递归搜索的方法从逐次扫描的第一幅点云最外层开始由外向内的搜索直到找到与逐次扫描的第二幅点云有标志点匹配的数据区,同样,匹配拼接成功后,逐次扫描开始的第一幅点云标志点数据层也随之动态增加,范围扩大,The second step: a) set the first point cloud at the beginning of the successive scans as the benchmark, and point the current data layer Ma to the data layer where the overlapping area of the first point cloud of the successive scans and the second point cloud of the successive scans is located, In the current data layer M a and its adjacent inner and outer layers, it is enough to find the first point cloud of successive scans and the marker points of the second point cloud of successive scans to match. The marker point data of the second point cloud is added to the corresponding data layer of the first point cloud at the beginning of the successive scanning, and the data layer of the first point cloud at the beginning of the successive scanning increases dynamically accordingly, and the range expands. When the first point cloud of the successive scanning When the point cloud and the second point cloud of successive scans have no marker points in the current data layer M a and its adjacent inner and outer layers, an automatic recursive search method is used to start from the outermost layer of the first point cloud of successive scans Search from outside to inside until you find a data area that matches the marker points of the second piece of point cloud scanned successively. Similarly, after the matching is successful, the marker point data layer of the first piece of point cloud that starts from scan successively is also dynamically increased. expanded range,
b)寻找逐次扫描的第一幅点云与逐次扫描的第三幅点云的标志点匹配时,同样依照上述方法将当前数据层Ma指向逐次扫描的第一幅点云中与逐次扫描的第三幅点云重叠区所在数据层,在当前数据层Ma与其相邻的内外两层中寻找逐次扫描的第一幅点云与逐次扫描的第二幅点云的标志点匹配即可,匹配拼接成功后,将逐次扫描开始的第三幅点云的数据加入到逐次扫描开始的第一幅点云相应的数据层,逐次扫描开始的第一幅点云数据层随之动态增加,范围扩大,当逐次扫描的第一幅点云与逐次扫描的第三幅点云在当前数据层Ma与其相邻的内外两层中无标志点匹配时,采用自动递归搜索的方法从逐次扫描的第一幅点云最外层开始由外向内的搜索直到找到与逐次扫描的第三幅点云有标志点匹配的数据区,同样,匹配拼接成功后,逐次扫描开始的第一幅点云标志点数据层也随之动态增加,范围扩大。寻找逐次扫描的第一幅点云与逐次扫描的第i幅点云的标志点匹配时,以此类推;b) When looking for the first point cloud of successive scans to match the marker points of the third point cloud of successive scans, point the current data layer M a to the first point cloud of successive scans and the point cloud of successive scans according to the above method. The data layer where the third point cloud overlap area is located, it is enough to find the first point cloud of successive scans in the current data layer Ma and its adjacent inner and outer layers to match the marker points of the second point cloud of successive scans, After the matching and splicing is successful, the data of the third point cloud at the beginning of each scan is added to the corresponding data layer of the first point cloud at the beginning of each scan, and the data layer of the first point cloud at the beginning of each scan is dynamically increased accordingly. To expand, when the first point cloud of successive scans and the third point cloud of successive scans have no marker points in the current data layer M a and its adjacent inner and outer layers, the method of automatic recursive search is adopted from the successive scans The outermost layer of the first point cloud starts to search from outside to inside until it finds the data area that matches the marked points of the third point cloud scanned successively. The point data layer is also dynamically increased, and the scope is expanded. When looking for the first point cloud of successive scans to match the marker points of the i-th point cloud of successive scans, and so on;
上述标志点匹配方法为:The matching method of the above marker points is:
寻找逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层中和与其相拼接的点云中以任意三个标志点为顶点所构成的所有三角形,并记录这些三角形边长,面积,周长,在逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层的所有三角形中找到与其相拼接的点云的三角形中具有相同边长,面积,周长的三角形,这些三角形的顶点为相匹配标志点;Find all the triangles in the current data layer M a of the first point cloud scanned successively, its adjacent inner and outer layers, and the spliced point cloud with any three marker points as vertices, and record the side lengths of these triangles , area, perimeter, in all the triangles of the current data layer M a of the first point cloud scanned successively and its adjacent inner and outer layers, find the triangles of the spliced point cloud with the same side length, area, and perimeter The triangles, the vertices of these triangles are the matching marker points;
本发明主要用于对三维扫描系统中对多视点云进行拼接时特征标志点的匹配。该方法主要有以下优点:The present invention is mainly used for matching feature mark points when splicing multi-view cloud in a three-dimensional scanning system. This method mainly has the following advantages:
(1)本发明中采用多视标签定位点云拼接技术,标志点采用人为的先验设置保证得到完整的三维物体的拓扑结构,思路清晰,实际可行,实现方便,避免了形体拼接的诸多的复杂运算。(1) In the present invention, the multi-view label positioning point cloud splicing technology is adopted, and the mark points adopt artificial prior setting to ensure the complete topological structure of the three-dimensional object. Complicated operations.
(2)根据层次和动态划分的方法,对标志点数据进行中心开始预先分层,逐渐展开层次,按照空间的距离,依次动态划分,明确空间结构,对应整体拓扑关系,动态分层依据实际拼接运动规律,是一种合理的数据安排,不进行动态分层处理,不仅无法预估,而且为了识别,数据需要全部运算,计算过大,效率很低,易发生错误,甚至在三维物体比较大的情况下无法实现。(2) According to the method of hierarchy and dynamic division, the marker point data is pre-layered at the center, and the layers are gradually expanded. According to the spatial distance, the dynamic division is carried out in sequence, and the spatial structure is clarified, corresponding to the overall topological relationship. The dynamic layering is based on the actual splicing The law of motion is a reasonable data arrangement. Without dynamic layering processing, not only is it impossible to predict, but also for recognition, the data needs to be fully calculated. The calculation is too large, the efficiency is very low, and errors are prone to occur, even when the three-dimensional object is relatively large. case cannot be achieved.
(3)本发明中的基于空间数据动态分层的点云标志点的匹配方法,相比较推理的方法和基于视图识别搜索的方法,根据标志点集的三维几何拓扑关系,空间距离关系,通过寻优,有效的解决了在点云拼接时特征标志点群之间的搜索与匹配识别问题,不需要多次测量或者进行复杂的图形逻辑运算,提高了匹配速度和精度。(3) The matching method of point cloud marker points based on spatial data dynamic layering in the present invention, the method of comparative reasoning and the method based on view recognition search, according to the three-dimensional geometric topological relationship of the marker point set, the spatial distance relationship, through Optimizing effectively solves the problem of searching and matching recognition between feature mark point groups during point cloud splicing, without the need for multiple measurements or complex graphic logic operations, which improves the matching speed and accuracy.
(4)动态分层的数据结构的使用可以使识别、匹配、拼接等包括一些特殊算法变为可能,具有明显的计算效率,中心开始逐次动态分层的方法,可以随着物体的扫描过程逐渐展开,空间关系明确,操作方便,可以空间预先估计,优化了计算,层间的信息加以记录和实时修改,区域和数量根据实物的拼接动态增长,具有一定的智能化。(4) The use of the dynamic layered data structure can make recognition, matching, splicing, etc., including some special algorithms, possible, and has obvious computational efficiency. Unfolding, the spatial relationship is clear, the operation is convenient, the space can be estimated in advance, the calculation is optimized, the information between layers is recorded and modified in real time, the area and quantity dynamically grow according to the splicing of the physical objects, and it has a certain degree of intelligence.
(5)在搜索识别前预先估计符合实际运动规律的数据区域,采取区域数据匹配的方法,动态分层数据处理,匹配识别对准之后将处理结果数据加入相应的数据层,进行下一步的预测估计,同时动态的修正数据层,不断加以记忆和优化,减少了运算时间。(5) Pre-estimate the data area that conforms to the actual movement law before searching and identifying, adopt the method of area data matching, dynamically layer data processing, and add the processing result data to the corresponding data layer after matching, identification and alignment, and perform the next step of prediction Estimates, and at the same time dynamically correct the data layer, and continuously memorize and optimize it, reducing the calculation time.
(6)采用动态分层处理和预估处理,计算量大大减少,空间关系也比较明确,同时标志点数据实现方式采用线性链表,同时用数组存储必要的信息,具有明显的计算效率。(6) Using dynamic hierarchical processing and estimation processing, the amount of calculation is greatly reduced, and the spatial relationship is relatively clear. At the same time, the implementation method of the marker point data adopts a linear linked list, and at the same time, an array is used to store the necessary information, which has obvious computational efficiency.
附图说明 Description of drawings
图1是逆向工程流程图。Figure 1 is a flow chart of reverse engineering.
图2是光栅式三维扫描系统组成图。Figure 2 is a composition diagram of the raster type three-dimensional scanning system.
图3(a)是第一坐标系下汽车车门点云模型图。Figure 3(a) is a point cloud model diagram of the car door in the first coordinate system.
图3(b)是第二坐标系下汽车车门点云模型图。Figure 3(b) is a point cloud model diagram of the car door in the second coordinate system.
图3(c)是第三坐标系下汽车车门点云模型图。Figure 3(c) is a point cloud model diagram of the car door in the third coordinate system.
图3(d)是第四坐标系下汽车车门点云模型图。Figure 3(d) is a point cloud model diagram of the car door in the fourth coordinate system.
图4是数据结构链表框图。Fig. 4 is a block diagram of a data structure linked list.
图5是数据动态分层展开图。Figure 5 is a dynamic layered expansion diagram of data.
图6是设定当前层流程图。Fig. 6 is a flowchart of setting the current layer.
图7是动态分层拼接流程图。Fig. 7 is a flow chart of dynamic hierarchical splicing.
图8是汽车车门整体点云模型图。Figure 8 is a diagram of the overall point cloud model of the car door.
具体实施方式 Detailed ways
一种三维扫描系统中点云拼接用标志点匹配方法A Marker Point Matching Method for Point Cloud Stitching in a 3D Scanning System
第一步:将逐次扫描开始的第一幅点云标志点集合按照空间坐标与距离值,动态划分空间数据集合{Mi}(i=0,1,...n),形成层层嵌套,划分准则为:设定中心层M0,其立方块边长设为L,以中心层数据为基准坐标系,然后,动态添加层,第二层立方体的边长为3L,第三层立方体的边长为5L,以此类推,第i层立方体的边长2i+1,形成层嵌套;Step 1: Dynamically divide the spatial data set {M i } (i=0, 1,...n) according to the spatial coordinates and distance values of the first point cloud marker point set at the beginning of successive scans to form a layer-by-layer embedding set, the division criterion is: set the center layer M 0 , set the side length of its cube to L, take the center layer data as the reference coordinate system, and then dynamically add layers, the side length of the second layer cube is 3L, and the third layer The side length of the cube is 5L, and so on, the side length of the i-th cube is 2i+1, forming layer nesting;
第二步:a)设逐次扫描开始的第一幅点云为基准,将当前数据层Ma指向逐次扫描的第一幅点云中与逐次扫描的第二幅点云重叠区所在数据层,在当前数据层Ma与其相邻的内外两层中寻找逐次扫描的第一幅点云与逐次扫描的第二幅点云的标志点匹配即可,匹配拼接成功后,将逐次扫描开始的第二幅点云的标志点数据加入到逐次扫描开始的第一幅点云相应的数据层,逐次扫描开始的第一幅点云数据层随之动态增加,范围扩大,当逐次扫描的第一幅点云与逐次扫描的第二幅点云在当前数据层Ma与其相邻的内外两层中无标志点匹配时,采用自动递归搜索的方法从逐次扫描的第一幅点云最外层开始由外向内的搜索直到找到与逐次扫描的第二幅点云有标志点匹配的数据区,同样,匹配拼接成功后,逐次扫描开始的第一幅点云标志点数据层也随之动态增加,范围扩大,The second step: a) set the first point cloud at the beginning of the successive scans as the benchmark, and point the current data layer Ma to the data layer where the overlapping area of the first point cloud of the successive scans and the second point cloud of the successive scans is located, In the current data layer M a and its adjacent inner and outer layers, it is enough to find the first point cloud of successive scans and the marker points of the second point cloud of successive scans to match. The marker point data of the second point cloud is added to the corresponding data layer of the first point cloud at the beginning of the successive scanning, and the data layer of the first point cloud at the beginning of the successive scanning increases dynamically accordingly, and the range expands. When the first point cloud of the successive scanning When the point cloud and the second point cloud of successive scans have no marker points in the current data layer M a and its adjacent inner and outer layers, an automatic recursive search method is used to start from the outermost layer of the first point cloud of successive scans Search from outside to inside until you find a data area that matches the marker points of the second piece of point cloud scanned successively. Similarly, after the matching is successful, the marker point data layer of the first piece of point cloud that starts from scan successively is also dynamically increased. expanded range,
b)寻找逐次扫描的第一幅点云与逐次扫描的第三幅点云的标志点匹配时,同样依照上述方法将当前数据层Ma指向逐次扫描的第一幅点云中与逐次扫描的第三幅点云重叠区所在数据层,在当前数据层Ma与其相邻的内外两层中寻找逐次扫描的第一幅点云与逐次扫描的第二幅点云的标志点匹配即可,匹配拼接成功后,将逐次扫描开始的第三幅点云的数据加入到逐次扫描开始的第一幅点云相应的数据层,逐次扫描开始的第一幅点云数据层随之动态增加,范围扩大,当逐次扫描的第一幅点云与逐次扫描的第三幅点云在当前数据层Ma与其相邻的内外两层中无标志点匹配时,采用自动递归搜索的方法从逐次扫描的第一幅点云最外层开始由外向内的搜索直到找到与逐次扫描的第三幅点云有标志点匹配的数据区,同样,匹配拼接成功后,逐次扫描开始的第一幅点云标志点数据层也随之动态增加,范围扩大。寻找逐次扫描的第一幅点云与逐次扫描的第i幅点云的标志点匹配时,以此类推;b) When looking for the first point cloud of successive scans to match the marker points of the third point cloud of successive scans, point the current data layer M a to the first point cloud of successive scans and the point cloud of successive scans according to the above method. The data layer where the third point cloud overlap area is located, it is enough to find the first point cloud of successive scans in the current data layer Ma and its adjacent inner and outer layers to match the marker points of the second point cloud of successive scans, After the matching and splicing is successful, the data of the third point cloud at the beginning of each scan is added to the corresponding data layer of the first point cloud at the beginning of each scan, and the data layer of the first point cloud at the beginning of each scan is dynamically increased accordingly. To expand, when the first point cloud of successive scans and the third point cloud of successive scans have no marker points in the current data layer M a and its adjacent inner and outer layers, the method of automatic recursive search is adopted from the successive scans The outermost layer of the first point cloud starts to search from outside to inside until it finds the data area that matches the marked points of the third point cloud scanned successively. The point data layer is also dynamically increased, and the scope is expanded. When looking for the first point cloud of successive scans to match the marker points of the i-th point cloud of successive scans, and so on;
上述标志点匹配方法为:The matching method of the above marker points is:
寻找逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层中和与其相拼接的点云中以任意三个标志点为顶点所构成的所有三角形,并记录这些三角形边长,面积,周长,在逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层的所有三角形中找到与其相拼接的点云的三角形中具有相同边长,面积,周长的三角形,这些三角形的顶点为相匹配标志点;Find all the triangles in the current data layer M a of the first point cloud scanned successively, its adjacent inner and outer layers, and the spliced point cloud with any three marker points as vertices, and record the side lengths of these triangles , area, perimeter, in all the triangles of the current data layer M a of the first point cloud scanned successively and its adjacent inner and outer layers, find the triangles of the spliced point cloud with the same side length, area, and perimeter The triangles, the vertices of these triangles are the matching marker points;
在本实施例中,动态分层时,每层内的数据不包括其内部立方块数据。重叠区在逐次扫描的第一幅点云的某数据层内时,将当前数据层Ma指向该数据层,重叠区在逐次扫描的第一幅点云的两层数据区内时,根据计算重叠区域在每层所占空间区域的大小,确定所占区域比较大的数据层,将当前数据层Ma指向该层。In this embodiment, during dynamic layering, the data in each layer does not include its internal cube data. When the overlapping area is in a certain data layer of the first point cloud scanned successively, point the current data layer Ma to the data layer, and when the overlapping area is in the two-layer data area of the first point cloud scanned successively, according to the calculation The size of the space area occupied by the overlapping area in each layer determines the data layer with a relatively large area, and points the current data layer Ma to this layer.
下面参照附图,对本发明加以详细描述:Below with reference to accompanying drawing, the present invention is described in detail:
采用多视标签定位点云拼接技术,得到精确的特征标志点三维数据是三维点云拼接的前提。在物体表面贴特制的标志点,黑底白面高精度的圆,不反光,标志点的数量在三点及以上,不要出现多点共线的情况。根据三维物体的形状在曲率比较比较高的地方多贴点,以保证特征点区域完整表达物体的三维拓扑特征。由于拼接的特性决定了只有具有重叠区域才可以有效拼接,识别对准主要取决于重叠区标志点数据。扫描运动从扫描最初第一幅图开始,逐次重叠,拍摄,拼接,通过两两相拼,完成多幅点云拼接,是一个从局部逐渐向全局展开的过程,不可能脱离了局部直接展开,因此,根据运动特点,在获取三维空间的特征点数据后,根据三维刚体姿态一致与几何不变性,将特征标志点集合按照空间坐标与距离值,从内向外,根据一次扫描可能的最大区域,动态划分空间数据集合,形成层层嵌套,在拼接时保证得到正确的标志点匹配。Using multi-view tag positioning point cloud stitching technology to obtain accurate 3D data of feature marker points is the prerequisite for 3D point cloud stitching. Paste special mark points on the surface of the object, high-precision circles with black background and white surface, no reflection, the number of mark points should be three points or more, and the situation of multi-point collinearity should not appear. According to the shape of the three-dimensional object, paste more points in places with relatively high curvature to ensure that the feature point area fully expresses the three-dimensional topological characteristics of the object. Due to the characteristics of splicing, only overlapping areas can be effectively spliced, and the recognition alignment mainly depends on the marker point data in the overlapping areas. The scanning movement starts from scanning the first image, overlapping, shooting, splicing, and completing multiple point cloud splicing through two-phase splicing. It is a process that gradually expands from the local to the global. It is impossible to break away from the local and directly expand. Therefore, according to the characteristics of the movement, after obtaining the feature point data in the three-dimensional space, according to the consistency of the three-dimensional rigid body posture and geometric invariance, the set of feature marker points is set according to the spatial coordinates and distance values, from the inside to the outside, according to the largest possible area of a scan, Dynamically divide the spatial data set to form layer-by-layer nesting, and ensure correct marker point matching during splicing.
图3是汽车车门的在不同坐标系下的点云模型,由于不能一次得到车门的测量数据,通过四次测量得到全部的测量,对特征点数据采用动态分层数据结构,用链表存储与实现。特征点数据实现方式采用线性链表,同时为了实现算法,还增加了几组链表管理:预估链表,层链表等,见图4。Figure 3 is the point cloud model of the car door in different coordinate systems. Since the measurement data of the car door cannot be obtained at one time, all the measurements are obtained through four measurements. The feature point data adopts a dynamic hierarchical data structure and stores and implements it with a linked list. . The implementation method of feature point data adopts linear linked list. At the same time, in order to realize the algorithm, several sets of linked list management are added: estimated linked list, layer linked list, etc., see Figure 4.
本发明主要涉及以下三方面的内容:The present invention mainly relates to the following three aspects:
1)特征标志点数据动态分层1) Dynamic layering of feature marker point data
读入汽车车门两幅三维点云数据,设置开始的第一幅图为基准图,也称为目标图。以后的拼接运算均是同一到这幅图的坐标系下,将用于拼接的第一幅点云标志点集合按照空间坐标与距离值,动态划分空间数据集合{Mi}(i=0,1,...n),形成层层嵌套。划分准则为:设定中心层M0,其立方块边长设为L,以中心层数据为基准坐标系,然后,动态添加层,第二层立方体的边长为3L,第三层立方体的边长为5L,以此类推,第i层立方体的边长2i+1,形成层嵌套,,动态分层时,每层内的数据不包括其内部立方块数据。见图5。Read in the two 3D point cloud data of the car door, and set the first image as the reference image, also known as the target image. The subsequent splicing operations are all under the same coordinate system of this picture, and the first set of point cloud marker points used for splicing is dynamically divided according to the spatial coordinates and distance values. The spatial data set {M i } (i=0, 1,...n), forming layers of nesting. The division criteria are as follows: set the center layer M 0 , set the side length of its cube to L, take the center layer data as the reference coordinate system, and then add layers dynamically, the side length of the cube on the second layer is 3L, and the cube on the third layer The side length is 5L, and so on, the side length of the cube in the i-th layer is 2i+1, forming layer nesting. When dynamic layering, the data in each layer does not include its internal cube data. See Figure 5.
2)特征标志点预测估计和设定当前数据层2) Prediction and estimation of feature marker points and setting the current data layer
设逐次扫描开始的第一幅点云为基准,将当前数据层Ma指向逐次扫描的第一幅点云中与逐次扫描的第二幅点云重叠区所在数据层,那么当寻找逐次扫描的第一幅点云与逐次扫描的第二幅点云的标志点匹配时,只需在当前数据层Ma与其相邻的内外两层中寻找即可,寻找逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层中和与逐次扫描的第二幅点云中以任意三个标志点为顶点所构成的所有三角形,并记录这些三角形边长,面积,周长,在逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层的所有三角形中找到与其相拼接的点云的三角形中具有相同边长,面积,周长的三角形,这些三角形的顶点为相匹配标志点,匹配拼接成功后,将逐次扫描开始的第二幅点云的数据加入到逐次扫描开始的第一幅点云相应的数据层,逐次扫描开始的第一幅点云标志点数据层随之动态增加,范围扩大,称当前数据层Ma与其相邻的内外两层为预估区域,当逐次扫描的第一幅点云与逐次扫描的第二幅点云在此预估区域中无标志点匹配时,采用自动递归搜索的方法从逐次扫描的第一幅点云最外层开始由外向内的搜索直到找到与逐次扫描的第二幅点云有标志点匹配的数据区,同样,匹配成功后,逐次扫描开始的第一幅点云标志点数据层也随之动态增加,范围扩大。重叠区在逐次扫描的第一幅点云的某数据层内时,将当前数据层Ma指向该数据层,重叠区在逐次扫描的第一幅点云的两层数据区内时,根据计算重叠区域在每层所占空间区域的大小,确定所占区域比较大的数据层,将当前数据层Ma指向该层。见图6。Set the first point cloud at the beginning of the successive scans as the benchmark, point the current data layer Ma to the data layer where the first point cloud of the successive scans overlaps with the second point cloud of the successive scans, then when looking for the point cloud of the successive scans When the first point cloud matches the marker points of the second point cloud scanned successively, it is only necessary to search in the current data layer Ma and its adjacent inner and outer layers to find the first point cloud scanned successively. The data layer M a and its adjacent inner and outer layers neutralize all triangles formed with any three marker points in the second piece of point cloud scanned successively, and record the side lengths, areas, and perimeters of these triangles. The current data layer M a of the first point cloud scanned successively finds the triangles with the same side length, area and perimeter among all the triangles of the adjacent inner and outer layers, and the vertices of these triangles In order to match the marker points, after the matching and splicing is successful, add the data of the second point cloud at the beginning of each scan to the corresponding data layer of the first point cloud at the beginning of each scan, and the marker points of the first point cloud at the beginning of each scan The data layer is dynamically increased accordingly, and the scope is expanded. The current data layer Ma and its adjacent inner and outer layers are the estimated area. When there is no marker point matching in the area, the automatic recursive search method is used to search from the outermost layer of the first point cloud of the successive scans from the outside to the inner until the data area matching the marker points of the second point cloud of the successive scans is found , similarly, after the matching is successful, the first point cloud marker point data layer at the beginning of each scan is also dynamically increased, and the range is expanded. When the overlapping area is in a certain data layer of the first point cloud scanned successively, point the current data layer Ma to the data layer, and when the overlapping area is in the two-layer data area of the first point cloud scanned successively, according to the calculation The size of the space area occupied by the overlapping area in each layer determines the data layer with a relatively large area, and points the current data layer Ma to this layer. See Figure 6.
3)点云拼接用标志点匹配3) Mark point matching for point cloud stitching
经过标志点动态分层和预估的处理,每次两两匹配时,可以直接采取预估数据与待匹配标志点数据集进行标志点匹配,寻找逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层中和与其相拼接的点云中以任意三个标志点为顶点所构成的所有三角形,并记录这些三角形边长,面积,周长,在逐次扫描的第一幅点云当前数据层Ma与其相邻的内外两层的所有三角形中找到与其相拼接的点云的三角形中具有相同边长,面积,周长的三角形,这些三角形的顶点为相匹配标志点,没有标志点匹配时,转向递归搜索,进行标志点匹配。每次匹配之后,动态调整标志点当前数据层,再次预估数据准备下次匹配,整体流程图见图7,最后得到车门的整体点云模型,见图8。After the processing of dynamic layering and estimation of landmark points, each pairwise matching can directly take the estimated data and the dataset of landmark points to be matched for landmark matching, and find the current data layer M of the first point cloud scanned successively. a) All triangles in the adjacent inner and outer layers and in the spliced point cloud with any three marker points as vertices, and record the side length, area, and perimeter of these triangles, in the first frame of successive scans In all the triangles of the current data layer M a of the point cloud and its adjacent inner and outer layers, find the triangles with the same side length, area and perimeter in the triangles of the point cloud spliced with it, and the vertices of these triangles are matching marker points, When there is no landmark match, turn to recursive search to perform landmark matching. After each match, dynamically adjust the current data layer of the marker points, and estimate the data again to prepare for the next match. The overall flow chart is shown in Figure 7, and finally the overall point cloud model of the car door is obtained, as shown in Figure 8.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100413211A CN100444201C (en) | 2006-08-14 | 2006-08-14 | Marker point matching method for point cloud stitching in 3D scanning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100413211A CN100444201C (en) | 2006-08-14 | 2006-08-14 | Marker point matching method for point cloud stitching in 3D scanning system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1996387A CN1996387A (en) | 2007-07-11 |
CN100444201C true CN100444201C (en) | 2008-12-17 |
Family
ID=38251462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100413211A Expired - Fee Related CN100444201C (en) | 2006-08-14 | 2006-08-14 | Marker point matching method for point cloud stitching in 3D scanning system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100444201C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10319101B2 (en) | 2016-02-24 | 2019-06-11 | Quantum Spatial, Inc. | Systems and methods for deriving spatial attributes for imaged objects utilizing three-dimensional information |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102831101A (en) * | 2012-07-30 | 2012-12-19 | 河南工业职业技术学院 | Point cloud data splicing method based on automatic identification of plurality of mark points |
CN102968400B (en) * | 2012-10-18 | 2016-03-30 | 北京航空航天大学 | A kind of based on space line identification and the multi-view three-dimensional data registration method of mating |
CN104422396B (en) * | 2013-08-29 | 2018-07-06 | 鸿富锦精密工业(深圳)有限公司 | Assembling product gap three dimensional analysis system and method |
CN104217457B (en) * | 2014-08-19 | 2017-02-15 | 长春理工大学 | Public mark point automatic matching method based on dynamic layering |
CN104315974A (en) * | 2014-10-22 | 2015-01-28 | 合肥斯科尔智能科技有限公司 | Three dimension scan data processing method |
CN104596447A (en) * | 2015-01-26 | 2015-05-06 | 上海出入境检验检疫局机电产品检测技术中心 | Ornament surface area rapid detection method and system based on image analysis technique |
US10282614B2 (en) * | 2016-02-18 | 2019-05-07 | Microsoft Technology Licensing, Llc | Real-time detection of object scanability |
CN106780677B (en) * | 2016-12-15 | 2020-01-10 | 南京偶酷软件有限公司 | Method for simulating three-dimensional animation visual effect through lens motion background layering processing |
CN108732586A (en) * | 2018-05-31 | 2018-11-02 | 山东理工大学 | A kind of super large Three Dimensional Ground laser scanning original point cloud Spatial Rules method |
CN109489553B (en) * | 2018-12-27 | 2020-10-16 | 中国科学院长春光学精密机械与物理研究所 | A method, device, device and storage medium for generating a spatial marker point library |
CN109781029A (en) * | 2019-03-08 | 2019-05-21 | 苏州玻色智能科技有限公司 | A kind of product measurement three-dimensional data joining method |
CN112762899B (en) * | 2021-01-08 | 2023-03-24 | 中国南方电网有限责任公司超高压输电公司南宁监控中心 | Fusion method of laser point cloud and BIM model with video information in visual transformer substation |
CN113223078B (en) * | 2021-05-27 | 2024-04-16 | 深圳数马电子技术有限公司 | Mark point matching method, device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020057834A1 (en) * | 2000-11-12 | 2002-05-16 | Thomas Maier | Method of registering image information |
GB2389500A (en) * | 2002-04-20 | 2003-12-10 | Virtual Mirrors Ltd | Generating 3D body models from scanned data |
US20060177121A1 (en) * | 2005-02-10 | 2006-08-10 | Chaperon Thomas G | Methods and apparatus for image processing |
-
2006
- 2006-08-14 CN CNB2006100413211A patent/CN100444201C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020057834A1 (en) * | 2000-11-12 | 2002-05-16 | Thomas Maier | Method of registering image information |
GB2389500A (en) * | 2002-04-20 | 2003-12-10 | Virtual Mirrors Ltd | Generating 3D body models from scanned data |
US20060177121A1 (en) * | 2005-02-10 | 2006-08-10 | Chaperon Thomas G | Methods and apparatus for image processing |
Non-Patent Citations (2)
Title |
---|
基于最小二乘法的点云数据拼接研究. 沈海平,达飞鹏,雷家勇.中国图象图形学报,第10卷第9期. 2005 |
基于最小二乘法的点云数据拼接研究. 沈海平,达飞鹏,雷家勇.中国图象图形学报,第10卷第9期. 2005 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10319101B2 (en) | 2016-02-24 | 2019-06-11 | Quantum Spatial, Inc. | Systems and methods for deriving spatial attributes for imaged objects utilizing three-dimensional information |
Also Published As
Publication number | Publication date |
---|---|
CN1996387A (en) | 2007-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100444201C (en) | Marker point matching method for point cloud stitching in 3D scanning system | |
Zhang et al. | Reference pose generation for long-term visual localization via learned features and view synthesis | |
Xia et al. | Geometric primitives in LiDAR point clouds: A review | |
CN106709947B (en) | Three-dimensional human body rapid modeling system based on RGBD camera | |
CN109147038B (en) | 3D Pipeline Modeling Method Based on 3D Point Cloud Processing | |
CN113409410B (en) | Multi-feature fusion IGV positioning and mapping method based on 3D laser radar | |
Li et al. | A tutorial review on point cloud registrations: principle, classification, comparison, and technology challenges | |
CN109186608B (en) | A Relocalization-Oriented Sparse 3D Point Cloud Map Generation Method | |
WO2021119024A1 (en) | Interior photographic documentation of architectural and industrial environments using 360 panoramic videos | |
CN112233249B (en) | B spline surface fitting method and device based on dense point cloud | |
CN111696210A (en) | Point cloud reconstruction method and system based on three-dimensional point cloud data characteristic lightweight | |
CN102155923A (en) | Splicing measuring method and system based on three-dimensional target | |
WO2008123922A2 (en) | Method for reconstructing three-dimensional images from two-dimensional image data | |
CN113160381B (en) | Multi-view animal three-dimensional geometry and texture automatic reconstruction method and device | |
CN113192200B (en) | Method for constructing urban real scene three-dimensional model based on space-three parallel computing algorithm | |
Chen et al. | Surface modelling of range data by constrained triangulation | |
CN114332348A (en) | Three-dimensional reconstruction method for track integrating laser radar and image data | |
Gao et al. | Pose refinement with joint optimization of visual points and lines | |
Perbet et al. | Human body shape estimation using a multi-resolution manifold forest | |
CN108171790A (en) | A kind of Object reconstruction method based on dictionary learning | |
CN110288517A (en) | Skeleton Line Extraction Method Based on Projection Matching Group | |
CN114419155B (en) | Visual image construction method based on laser radar assistance | |
CN113592976B (en) | Map data processing method and device, household appliance and readable storage medium | |
Huang | Geometric feature extraction and model reconstruction from unorganized points for reverse engineering of mechanical objects with arbitrary topology | |
Guo et al. | Improved marching tetrahedra algorithm based on hierarchical signed distance field and multi-scale depth map fusion for 3D reconstruction |
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 | ||
ASS | Succession or assignment of patent right |
Owner name: SHENLING ELECTRIC MANUFACTURING CO., LTD., HAIAN Free format text: FORMER OWNER: SOWTHEAST UNIV. Effective date: 20131023 Owner name: SOWTHEAST UNIV. Effective date: 20131023 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 210096 NANJING, JIANGSU PROVINCE TO: 226600 NANTONG, JIANGSU PROVINCE |
|
TR01 | Transfer of patent right |
Effective date of registration: 20131023 Address after: 226600 Haian, Jiangsu province Haian Zhenhai Road, No. 88, South Road, No. Patentee after: Haian Shenling Electrical Appliance Manufacturing Co., Ltd. Patentee after: Southeast University Address before: 210096 Jiangsu city Nanjing Province four pailou No. 2 Patentee before: Southeast University |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081217 Termination date: 20180814 |
|
CF01 | Termination of patent right due to non-payment of annual fee |