CN115451862A - Three-dimensional scanning method and three-dimensional scanning system - Google Patents
Three-dimensional scanning method and three-dimensional scanning system Download PDFInfo
- Publication number
- CN115451862A CN115451862A CN202210991704.4A CN202210991704A CN115451862A CN 115451862 A CN115451862 A CN 115451862A CN 202210991704 A CN202210991704 A CN 202210991704A CN 115451862 A CN115451862 A CN 115451862A
- Authority
- CN
- China
- Prior art keywords
- tracking
- scanning
- tracking device
- range
- dimensional
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 239000003550 marker Substances 0.000 claims description 110
- 230000008569 process Effects 0.000 claims description 24
- 230000008859 change Effects 0.000 claims description 20
- 230000009466 transformation Effects 0.000 claims description 18
- 238000012360 testing method Methods 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000005259 measurement Methods 0.000 claims 1
- 230000000007 visual effect Effects 0.000 abstract 3
- 238000010586 diagram Methods 0.000 description 12
- 238000004364 calculation method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001360 synchronised effect 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/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/2433—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures for measuring outlines by shadow casting
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域technical field
本申请涉及三维扫描领域,特别是涉及三维扫描方法和三维扫描系统。The present application relates to the field of three-dimensional scanning, in particular to a three-dimensional scanning method and a three-dimensional scanning system.
背景技术Background technique
在基于跟踪式三维扫描仪对物体进行扫描的过程中,往往通过将跟踪头设置于固定支架上对扫描头的位姿进行跟踪,并利用扫描头在该跟踪头的视野范围内移动至不同区域对物体进行扫描来完成物体的三维重建,由于扫描过程中跟踪头的位置固定,因此这种扫描方式受限于跟踪头在该固定位置下的跟踪范围。In the process of scanning objects based on a tracking 3D scanner, the pose of the scanning head is often tracked by setting the tracking head on a fixed bracket, and the scanning head is used to move to different areas within the field of view of the tracking head The object is scanned to complete the three-dimensional reconstruction of the object. Since the position of the tracking head is fixed during the scanning process, this scanning method is limited by the tracking range of the tracking head at the fixed position.
针对相关技术中跟踪装置的工作范围受限于自身固定的跟踪范围的问题,目前还没有提出有效的解决方案。Aiming at the problem in the related art that the working range of the tracking device is limited by its own fixed tracking range, no effective solution has been proposed so far.
发明内容Contents of the invention
在本实施例中提供了一种三维扫描方法和三维扫描系统,以解决相关技术中跟踪装置的工作范围受限于自身固定的跟踪范围的问题。In this embodiment, a three-dimensional scanning method and a three-dimensional scanning system are provided to solve the problem in the related art that the working range of the tracking device is limited by its own fixed tracking range.
第一个方面,在本实施例中提供了一种三维扫描方法,用于三维扫描系统,所述三维扫描系统包括扫描装置和跟踪装置,其中,所述跟踪装置可在保持原位置不变的情况下,改变所述跟踪装置的跟踪视角;所述三维扫描方法包括:In the first aspect, this embodiment provides a three-dimensional scanning method for a three-dimensional scanning system, the three-dimensional scanning system includes a scanning device and a tracking device, wherein the tracking device can keep the original position unchanged In some cases, change the tracking angle of view of the tracking device; the three-dimensional scanning method includes:
在所述扫描装置对被测对象进行扫描的过程中,判断所述扫描装置是否位于所述跟踪装置的预设的最佳跟踪范围外;In the process of scanning the object under test by the scanning device, judging whether the scanning device is outside the preset optimal tracking range of the tracking device;
在所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围外时,改变所述跟踪装置的跟踪视角,以使所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围内,并获取所述跟踪装置的跟踪结果;When the scanning device is outside the preset optimal tracking range of the tracking device, changing the tracking angle of view of the tracking device so that the scanning device is located within the preset optimal tracking range of the tracking device , and obtain the tracking result of the tracking device;
根据所述扫描装置位于所述跟踪装置不同跟踪视角下的所述跟踪装置对所述扫描装置的跟踪结果,所述扫描装置的扫描结果,以及所述跟踪装置相对预设的参考坐标系的跟踪位姿,完成对所述被测对象的三维重建。According to the tracking results of the scanning device by the tracking device under different tracking angles of view of the tracking device, the scanning results of the scanning device, and the tracking of the tracking device relative to a preset reference coordinate system pose to complete the three-dimensional reconstruction of the measured object.
在其中的一些实施例中,所述在所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围外时,改变所述跟踪装置的跟踪视角,以使所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围内,并获取所述跟踪装置的跟踪结果,包括:In some of the embodiments, when the scanning device is outside the preset optimal tracking range of the tracking device, the tracking angle of view of the tracking device is changed so that the scanning device is located in the tracking range. within the preset optimal tracking range of the device, and obtain the tracking results of the tracking device, including:
在所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围外时,按照预设幅度调整所述跟踪装置的跟踪视角,直至所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围内,停止对所述跟踪视角的调整。When the scanning device is outside the preset optimal tracking range of the tracking device, adjust the tracking angle of view of the tracking device according to a preset range until the scanning device is located at the preset optimal tracking range of the tracking device. Within the tracking range, stop adjusting the tracking angle of view.
在其中的一些实施例中,所述在所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围外时,改变所述跟踪装置的跟踪视角,以使所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围内,并获取所述跟踪装置的跟踪结果,还包括:In some of the embodiments, when the scanning device is outside the preset optimal tracking range of the tracking device, the tracking angle of view of the tracking device is changed so that the scanning device is located in the tracking range. within the preset optimal tracking range of the device, and obtain the tracking result of the tracking device, further comprising:
在所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围外时,根据所述扫描装置的扫描位置,计算所述扫描装置在所述跟踪装置的预设的最佳跟踪范围内的投影信息;When the scanning device is outside the preset optimal tracking range of the tracking device, calculating the position of the scanning device within the preset optimal tracking range of the tracking device according to the scanning position of the scanning device projection information;
基于预设的投影转换关系将所述投影信息转换为所述跟踪装置的视角调整参数;Converting the projection information into viewing angle adjustment parameters of the tracking device based on a preset projection conversion relationship;
基于所述视角调整参数调整所述跟踪装置的跟踪视角,以使所述扫描装置位于所述跟踪装置的预设的最佳跟踪范围内。The tracking viewing angle of the tracking device is adjusted based on the viewing angle adjustment parameter, so that the scanning device is located within a preset optimal tracking range of the tracking device.
在其中的一些实施例中,所述根据所述扫描装置的扫描位置,计算所述扫描装置在所述跟踪装置的预设的最佳跟踪范围内的投影信息,包括:In some of the embodiments, the calculation of the projection information of the scanning device within the preset optimal tracking range of the tracking device according to the scanning position of the scanning device includes:
根据所述扫描装置的扫描位置,计算所述扫描装置在所述跟踪装置的预设的最佳跟踪范围映射的三维坐标系下各坐标轴上的投影角度;According to the scanning position of the scanning device, calculate the projection angle of the scanning device on each coordinate axis under the three-dimensional coordinate system mapped by the preset optimal tracking range of the tracking device;
将所述扫描装置在所述最佳跟踪范围映射的坐标系下各坐标轴上的投影角度,确定为所述投影信息。The projection angles of the scanning device on each coordinate axis in the coordinate system mapped by the optimal tracking range are determined as the projection information.
在其中的一些实施例中,在根据所述扫描装置位于所述跟踪装置不同跟踪视角下的所述跟踪装置对所述扫描装置的跟踪结果,所述扫描装置的扫描结果,以及所述跟踪装置相对预设的参考坐标系的跟踪位姿,完成对所述被测对象的三维重建之前,所述三维扫描方法还包括:In some of these embodiments, according to the tracking results of the scanning device by the tracking device under different tracking angles of view of the tracking device, the scanning results of the scanning device, and the tracking device Relative to the tracking pose of the preset reference coordinate system, before completing the three-dimensional reconstruction of the measured object, the three-dimensional scanning method further includes:
根据所述跟踪装置预先标定的视角变换关系,计算所述跟踪装置在不同跟踪视角下,相对所述预设的参考坐标系的跟踪位姿;其中所述视角变换关系由所述跟踪装置预先调整至不同跟踪视角下对预设的标定件进行跟踪得到。According to the viewing angle transformation relationship pre-calibrated by the tracking device, calculate the tracking pose of the tracking device relative to the preset reference coordinate system under different tracking viewing angles; wherein the viewing angle transformation relationship is pre-adjusted by the tracking device It is obtained by tracking the preset calibration pieces under different tracking angles of view.
在其中的一些实施例中,所述预设的参考坐标系为预先建立的标记点库的原点坐标系;在根据所述扫描装置位于所述跟踪装置不同跟踪视角下的所述跟踪装置对所述扫描装置的跟踪结果,所述扫描装置的扫描结果,以及所述跟踪装置相对预设的参考坐标系的跟踪位姿,完成对所述被测对象的三维重建之前,所述三维扫描方法还包括:In some of these embodiments, the preset reference coordinate system is the origin coordinate system of the pre-established marker point library; when the scanning device is located at different tracking angles of view of the tracking device for the tracking device The tracking result of the scanning device, the scanning result of the scanning device, and the tracking pose of the tracking device relative to a preset reference coordinate system, before completing the three-dimensional reconstruction of the measured object, the three-dimensional scanning method also include:
获取所述跟踪装置在所述不同跟踪视角下识别得到的局部标记点;Acquiring local marker points identified by the tracking device under the different tracking viewing angles;
将所述局部标记点与所述标记点库进行匹配,在所述局部标记点与所述标记点库匹配成功的情况下,基于所述局部标记点和所述标记点库,得到所述跟踪装置在不同跟踪视角下相对所述标记点库的原点坐标系的跟踪位姿。Match the local markers with the marker library, and if the local markers are successfully matched with the marker library, obtain the tracking based on the local markers and the marker library The tracking pose of the device relative to the origin coordinate system of the marker point library under different tracking viewing angles.
在其中的一些实施例中,所述预设的参考坐标系为基于所述跟踪装置获取的标记点实时更新的标记点库原点坐标系,在根据所述扫描装置位于所述跟踪装置不同跟踪视角下的所述跟踪装置对所述扫描装置的跟踪结果,所述扫描装置的扫描结果,以及所述跟踪装置相对预设的参考坐标系的跟踪位姿,完成对所述被测对象的三维重建之前,所述三维扫描方法还包括:In some of these embodiments, the preset reference coordinate system is a marker point library origin coordinate system updated in real time based on the marker points acquired by the tracking device. The tracking result of the scanning device by the tracking device, the scanning result of the scanning device, and the tracking pose of the tracking device relative to the preset reference coordinate system are used to complete the three-dimensional reconstruction of the measured object Before, the three-dimensional scanning method also includes:
获取所述跟踪装置在所述不同跟踪视角下识别得到的局部标记点;Acquiring local marker points identified by the tracking device under the different tracking viewing angles;
在所述标记点库中存在标记点数据的情况下,将所述局部标记点与所述标记点库进行匹配,在所述局部标记点与所述标记点库匹配成功的情况下,基于所述局部标记点和所述标记点库,得到所述跟踪装置在不同跟踪视角下相对所述标记点库的原点坐标系的跟踪位姿,并基于所述局部标记点更新所述标记点库;If there is marker data in the marker library, match the local markers with the marker library, and if the local markers are successfully matched with the marker library, based on the The local marker point and the marker point library, obtain the tracking pose of the tracking device relative to the origin coordinate system of the marker point library under different tracking angles of view, and update the marker point library based on the local marker points;
在所述标记点库中的标记点数据为空的情况下,基于所述局部标记点建立标记点库。When the marker data in the marker library is empty, the marker library is established based on the local markers.
在其中的一些实施例中,所述跟踪装置固定设置于转动平台,所述跟踪装置由所述转动平台带动发生转动以改变所述跟踪装置的跟踪视角。In some of the embodiments, the tracking device is fixedly arranged on the rotating platform, and the tracking device is rotated by the rotating platform to change the tracking angle of view of the tracking device.
第二个方面,在本实施例中提供了一种三维扫描系统,所述三维扫描系统包括扫描装置、跟踪装置、以及控制装置,其中,所述跟踪装置可在保持原位置不变的情况下,改变所述跟踪装置的跟踪视角;In the second aspect, this embodiment provides a three-dimensional scanning system, the three-dimensional scanning system includes a scanning device, a tracking device, and a control device, wherein the tracking device can keep the original position unchanged , changing the tracking angle of view of the tracking device;
所述扫描装置用于对被测对象进行扫描得到扫描结果,并将所述扫描结果发送至所述控制装置;The scanning device is used to scan the measured object to obtain a scanning result, and send the scanning result to the control device;
所述跟踪装置用于对所述扫描装置进行跟踪得到跟踪结果;The tracking device is used to track the scanning device to obtain a tracking result;
所述控制装置用于执行上述第一个方面所述的三维扫描方法。The control device is used to implement the three-dimensional scanning method described in the first aspect above.
在其中的一些实施例中,所述三维扫描系统还包括转动平台和导轨;其中:所述跟踪装置固定设置于转动平台上;所述转动平台设置于所述导轨上;In some of the embodiments, the three-dimensional scanning system further includes a rotating platform and a guide rail; wherein: the tracking device is fixedly arranged on the rotating platform; the rotating platform is arranged on the guide rail;
所述转动平台用于带动所述跟踪装置发生转动,并沿所述导轨带动所述跟踪装置移动。The rotating platform is used to drive the tracking device to rotate and drive the tracking device to move along the guide rail.
与相关技术相比,在本实施例中提供的三维扫描方法和三维扫描系统,在扫描装置对被测对象进行扫描的过程中,判断扫描装置是否位于跟踪装置的预设的最佳跟踪范围;在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围,并获取跟踪装置的跟踪结果;根据扫描装置位于跟踪装置不同跟踪视角下,跟踪装置对扫描装置的跟踪结果,扫描装置的扫描结果,以及跟踪装置相对预设的参考坐标系的跟踪位姿,完成对被测对象的三维重建。其通过调整跟踪装置的跟踪视角,扩大了跟踪装置对扫描装置进行跟踪时的工作范围,从而解决了目前三维扫描中跟踪装置的工作范围受自身跟踪范围限制的问题。Compared with related technologies, the three-dimensional scanning method and three-dimensional scanning system provided in this embodiment judge whether the scanning device is located in the preset optimal tracking range of the tracking device during the process of scanning the measured object by the scanning device; When the scanning device is outside the preset optimal tracking range of the tracking device, change the tracking angle of view of the tracking device so that the scanning device is located in the preset optimal tracking range of the tracking device, and obtain the tracking result of the tracking device; according to the scanning The device is located under different tracking angles of view of the tracking device, the tracking results of the tracking device to the scanning device, the scanning results of the scanning device, and the tracking pose of the tracking device relative to the preset reference coordinate system complete the three-dimensional reconstruction of the measured object. By adjusting the tracking angle of view of the tracking device, the working range of the tracking device when tracking the scanning device is expanded, thereby solving the problem that the working range of the tracking device is limited by its own tracking range in the current three-dimensional scanning.
本申请的一个或多个实施例的细节在以下附图和描述中提出,以使本申请的其他特征、目的和优点更加简明易懂。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below, so as to make other features, objects, and advantages of the application more comprehensible.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The schematic embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation to the application. In the attached picture:
图1是本实施例提供的三维扫描方法的应用场景图一;FIG. 1 is an application scene diagram 1 of the three-dimensional scanning method provided in this embodiment;
图2是本实施例提供的三维扫描方法的应用场景图二;Fig. 2 is the application scene diagram 2 of the three-dimensional scanning method provided by this embodiment;
图3是本实施例的三维扫描方法的流程图;Fig. 3 is a flow chart of the three-dimensional scanning method of the present embodiment;
图4是本实施例的跟踪装置与转台的组合示意图;Fig. 4 is a schematic diagram of the combination of the tracking device and the turntable in this embodiment;
图5是本实施例提供的跟踪装置的最佳跟踪范围示意图;FIG. 5 is a schematic diagram of the optimal tracking range of the tracking device provided in this embodiment;
图6是本实施例的跟踪装置调整跟踪范围示意图;Fig. 6 is a schematic diagram of adjusting the tracking range of the tracking device in this embodiment;
图7是优选实施例一的三维扫描方法的流程图;Fig. 7 is a flow chart of the three-dimensional scanning method of the preferred embodiment 1;
图8是优选实施例二的三维扫描方法的流程图;Fig. 8 is a flow chart of the three-dimensional scanning method of the preferred embodiment 2;
图9是优选实施例三的三维扫描方法的流程图;Fig. 9 is a flow chart of the three-dimensional scanning method of the third preferred embodiment;
图10是本实施例提供的三维扫描系统的结构示意图。Fig. 10 is a schematic structural diagram of the three-dimensional scanning system provided in this embodiment.
具体实施方式detailed description
为更清楚地理解本申请的目的、技术方案和优点,下面结合附图和实施例,对本申请进行了描述和说明。In order to understand the purpose, technical solution and advantages of the present application more clearly, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
除另作定义外,本申请所涉及的技术术语或者科学术语应具有本申请所属技术领域具备一般技能的人所理解的一般含义。在本申请中的“一”、“一个”、“一种”、“该”、“这些”等类似的词并不表示数量上的限制,它们可以是单数或者复数。在本申请中所涉及的术语“包括”、“包含”、“具有”及其任何变体,其目的是涵盖不排他的包含;例如,包含一系列步骤或模块(单元)的过程、方法和系统、产品或设备并未限定于列出的步骤或模块(单元),而可包括未列出的步骤或模块(单元),或者可包括这些过程、方法、产品或设备固有的其他步骤或模块(单元)。在本申请中所涉及的“连接”、“相连”、“耦接”等类似的词语并不限定于物理的或机械连接,而可以包括电气连接,无论是直接连接还是间接连接。在本申请中所涉及的“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。通常情况下,字符“/”表示前后关联的对象是一种“或”的关系。在本申请中所涉及的术语“第一”、“第二”、“第三”等,只是对相似对象进行区分,并不代表针对对象的特定排序。Unless otherwise defined, the technical terms or scientific terms involved in the application shall have the general meanings understood by those skilled in the technical field to which the application belongs. In this application, words like "a", "an", "an", "the", "these" and the like do not denote quantitative limitations, and they may be singular or plural. The terms "comprising", "comprising", "having" and any variants thereof referred to in this application are intended to cover non-exclusive inclusion; for example, processes, methods and The system, product or device is not limited to the steps or modules (units) listed, but may include steps or modules (units) not listed, or may include other steps or modules inherent to the process, method, product or device (unit). The terms "connected", "connected", "coupled" and the like referred to in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Plurality" referred to in this application means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships. For example, "A and/or B" may indicate: A exists alone, A and B exist simultaneously, and B exists independently. Usually, the character "/" indicates that the objects associated before and after are in an "or" relationship. The terms "first", "second", "third" and the like involved in this application are only for distinguishing similar objects, and do not represent a specific ordering of objects.
图1为本实施例提供的三维扫描方法的应用场景图一。如图1所示,该三维扫描系统包含扫描装置101和跟踪装置102。其中,扫描装置101用于对被测对象103进行扫描,跟踪装置102用于对扫描装置101进行跟踪,且跟踪装置102可在保持原位置不变的情况下,改变跟踪装置102的跟踪视角。其中,在扫描装置101对被测对象103进行扫描的过程中,判断扫描装置101是否位于跟踪装置102的预设的最佳跟踪范围。在扫描装置101位于跟踪装置102的预设的最佳跟踪范围外时,改变跟踪装置102的跟踪视角,以使扫描装置101位于跟踪装置102的预设的最佳跟踪范围,并获取跟踪装置102的跟踪结果。根据扫描装置101位于跟踪装置102不同跟踪视角下,跟踪装置102对扫描装置101的跟踪结果,扫描装置101的扫描结果,以及跟踪装置102相对预设的参考坐标系的跟踪位姿,完成对被测对象103的三维重建。FIG. 1 is the first application scene diagram of the three-dimensional scanning method provided in this embodiment. As shown in FIG. 1 , the three-dimensional scanning system includes a
图2是本实施例提供的三维扫描方法的应用场景图二。如图2所示,该三维扫描系统包含扫描装置201和跟踪装置202。其中,扫描装置201用于对被测对象203进行扫描,跟踪装置202用于对扫描装置201进行跟踪,且跟踪装置202可在保持原位置不变的情况下,改变跟踪装置202的跟踪视角。在扫描装置201对被测对象203进行扫描的过程中,跟踪装置202可以通过调整跟踪视角,以使扫描装置201位于其最佳的跟踪范围内,从而对扫描装置201进行跟踪,以完成被测对象203的三维重建。其中,如图2所示,在该应用场景中,被测对象203的表面还可以粘贴有若干标记点,图中以黑点表示,还可以基于被测对象203表面的标记点完成跟踪装置202的位姿标定。FIG. 2 is the second application scene diagram of the three-dimensional scanning method provided in this embodiment. As shown in FIG. 2 , the three-dimensional scanning system includes a
在本实施例中提供了一种三维扫描方法,用于三维扫描系统,该三维扫描系统包括扫描装置和跟踪装置,其中,跟踪装置可在保持原位置不变的情况下,改变跟踪装置的跟踪视角。图3是本实施例的三维扫描方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a three-dimensional scanning method is provided, which is used in a three-dimensional scanning system. The three-dimensional scanning system includes a scanning device and a tracking device, wherein the tracking device can change the tracking position of the tracking device while keeping the original position unchanged. perspective. Fig. 3 is a flow chart of the three-dimensional scanning method of the present embodiment, as shown in Fig. 3, the process includes the following steps:
步骤S310,在扫描装置对被测对象进行扫描的过程中,判断扫描装置是否位于跟踪装置的预设的最佳跟踪范围外。Step S310, during the process of the scanning device scanning the measured object, it is judged whether the scanning device is outside the preset optimal tracking range of the tracking device.
其中,可以将跟踪装置安装于任意一种可以通过驱动实现转动的机械旋转装置上,以实现该跟踪装置的跟踪视角的改变。例如,可以通过伺服电机、转盘、或转台等旋转装置带动该跟踪装置发生转动,从而改变其跟踪视角。优选地,可以将跟踪装置固定于转台上,基于该转台的转动调整跟踪装置的跟踪视角。图4为本实施例的跟踪装置与转台的组合示意图。如图4所示,转台402包括底座和法兰,该跟踪装置401固定安装于转台402的法兰上。转台402的底座和法兰之间通过一个或多个驱动轴进行连接,通过控制驱动轴的运动,带动法兰相对底座发生转动,进而带动跟踪装置401发生转动。需要说明的是,跟踪装置在保持原位置不变的情况下,改变跟踪视角,指的是在改变跟踪装置的跟踪视角的过程中,安装跟踪装置的支架或底座的位置并未发生变化。Wherein, the tracking device can be installed on any mechanical rotating device that can be rotated by driving, so as to realize the change of the tracking angle of view of the tracking device. For example, the tracking device can be driven to rotate by a rotating device such as a servo motor, a turntable, or a turntable, so as to change its tracking angle of view. Preferably, the tracking device can be fixed on the turntable, and the tracking angle of view of the tracking device can be adjusted based on the rotation of the turntable. FIG. 4 is a schematic diagram of the combination of the tracking device and the turntable in this embodiment. As shown in FIG. 4 , the
在三维扫描过程中,跟踪装置用于对扫描装置进行跟踪,因此为了实现跟踪装置对扫描装置的实时跟踪,需要确保在扫描装置对被测对象进行扫描的过程中,该扫描装置处于跟踪装置的跟踪范围内。其中,可以通过判断跟踪装置是否能够在其跟踪范围内观测到扫描装置上设置的定位符,来确定扫描装置是否位于跟踪装置的跟踪范围内。优选地,为了提高跟踪装置对扫描装置的跟踪精度,可以判断扫描装置是否处于跟踪装置预设的最佳跟踪范围内,该预设的最佳跟踪范围基于跟踪装置的成像精度最高的跟踪范围预先确定,且该预设的最佳跟踪范围是小于跟踪装置的整体的跟踪范围的。由此可知,当扫描装置处于跟踪装置的跟踪范围的边缘时,意味着扫描装置位于跟踪装置最佳跟踪范围之外。During the three-dimensional scanning process, the tracking device is used to track the scanning device. Therefore, in order to realize the real-time tracking of the scanning device by the tracking device, it is necessary to ensure that the scanning device is in the tracking device during the process of the scanning device scanning the measured object. within the tracking range. Wherein, whether the scanning device is located within the tracking range of the tracking device can be determined by judging whether the tracking device can observe the locator set on the scanning device within its tracking range. Preferably, in order to improve the tracking accuracy of the scanning device by the tracking device, it can be determined whether the scanning device is within the optimal tracking range preset by the tracking device, and the preset optimal tracking range is based on the tracking range with the highest imaging accuracy of the tracking device. determined, and the preset optimal tracking range is smaller than the overall tracking range of the tracking device. It can be seen that when the scanning device is at the edge of the tracking range of the tracking device, it means that the scanning device is outside the optimal tracking range of the tracking device.
步骤S320,在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内,并获取跟踪装置的跟踪结果。Step S320, when the scanning device is outside the preset optimal tracking range of the tracking device, change the tracking angle of view of the tracking device so that the scanning device is located within the preset optimal tracking range of the tracking device, and obtain the tracking information of the tracking device result.
其中,在调整跟踪装置的跟踪视角后,该跟踪装置在其跟踪范围内所观测到的信息将随之发生改变。在确定扫描装置位于跟踪装置的预设的最佳跟踪范围外的情况下,具体可以通过调整跟踪装置的转动幅度,以改变其跟踪视角,进而使扫描装置重新位于跟踪装置的预设的最佳跟踪范围内。例如,在确定扫描装置位于跟踪装置的跟踪范围的边缘区域时,此时对扫描装置的跟踪结果的精度较低,因此需要对跟踪装置的跟踪视角进行调整,以使扫描装置重新位于跟踪装置的最佳跟踪范围。对跟踪装置的跟踪视角的调整,既可以以自动调整的方式来实现,也可以以手动调整的方式来实现。Wherein, after the tracking angle of view of the tracking device is adjusted, the information observed by the tracking device within its tracking range will change accordingly. When it is determined that the scanning device is located outside the preset optimal tracking range of the tracking device, the tracking angle can be changed by adjusting the rotation range of the tracking device, so that the scanning device can be relocated to the preset optimal tracking range of the tracking device. within the tracking range. For example, when it is determined that the scanning device is located in the edge area of the tracking range of the tracking device, the accuracy of the tracking result of the scanning device is low at this time, so it is necessary to adjust the tracking angle of view of the tracking device so that the scanning device is repositioned at the edge of the tracking device. Best tracking range. The adjustment of the tracking angle of view of the tracking device can be realized by automatic adjustment or manual adjustment.
例如,可以结合跟踪装置所搭载的旋转装置预先标定的运动学求解模型,通过设置该旋转装置各部件的运动学参数,从而实现旋转装置的转动,进而改变跟踪装置的跟踪视角。又例如,可以基于跟踪装置在其跟踪范围内采集的图像信息,不断手动调整该跟踪装置的跟踪视角,直至扫描装置位于跟踪装置的预设的最佳跟踪范围内,停止对跟踪视角的调整。另外还需要说明的是,在对跟踪装置的跟踪视角进行调整时,既可以在调整之前先进行与调整跟踪视角相应的视角调整参数的计算,基于该视角调整参数完成跟踪装置的跟踪视角的自动调整,从而使得扫描装置在跟踪装置的一次跟踪视角调整下即可以位于跟踪装置的预设的最佳跟踪范围内。同样地,也可以是按照预设的调整幅度逐次对跟踪视角进行调整,直至扫描装置位于跟踪装置的预设的最佳跟踪范围内后停止跟踪视角的调整。综上,对跟踪视角的调整方式,可以依据实际应用场景的需求进行适应性设定,本实施例在此不作具体限定。For example, in combination with the pre-calibrated kinematics solution model of the rotating device mounted on the tracking device, the kinematic parameters of each component of the rotating device can be set to realize the rotation of the rotating device, thereby changing the tracking angle of view of the tracking device. For another example, based on the image information collected by the tracking device within its tracking range, the tracking angle of view of the tracking device may be continuously manually adjusted until the scanning device is within the preset optimal tracking range of the tracking device, and the adjustment of the tracking angle of view is stopped. In addition, it should be noted that when adjusting the tracking angle of view of the tracking device, the calculation of the angle of view adjustment parameter corresponding to the adjustment of the tracking angle of view can be performed before the adjustment, and the automatic tracking of the tracking angle of view of the tracking device can be completed based on the angle of view adjustment parameter. Adjustment, so that the scanning device can be located within the preset optimal tracking range of the tracking device under one tracking viewing angle adjustment of the tracking device. Similarly, the tracking angle of view can also be adjusted successively according to the preset adjustment range until the scanning device is within the preset optimal tracking range of the tracking device and then the adjustment of the tracking angle of view is stopped. To sum up, the way of adjusting the tracking angle of view can be adaptively set according to the requirements of the actual application scenario, which is not specifically limited in this embodiment.
另外地,在扫描装置位于跟踪装置的预设的最佳跟踪范围的情况下,通过跟踪装置对扫描装置的位姿进行跟踪,得到跟踪结果。具体地,跟踪装置可以通过对扫描装置上的定位符进行跟踪,得到其在跟踪装置坐标系下的位置信息,进而计算得到扫描装置在跟踪装置的坐标系下的位姿。其中,该定位符与扫描装置刚性连接,二者之间的位置关系固定不变。In addition, when the scanning device is located in the preset optimal tracking range of the tracking device, the tracking device tracks the pose of the scanning device to obtain a tracking result. Specifically, the tracking device can track the locator on the scanning device to obtain its position information in the coordinate system of the tracking device, and then calculate the pose of the scanning device in the coordinate system of the tracking device. Wherein, the locator is rigidly connected with the scanning device, and the positional relationship between the two is fixed.
在相关技术中,跟踪装置设置于固定支架上对扫描头的位姿进行跟踪,因此扫描装置在扫描过程中需要在跟踪装置固定的跟踪范围内进行扫描。因此目前的跟踪式三维扫描仪的工作范围受限于跟踪装置固定的跟踪范围。本实施例通过调整跟踪装置的跟踪视角,使扫描装置位于跟踪装置的预设的最佳跟踪范围内,从而解除了跟踪装置固定的跟踪范围对其跟踪工作的限制,进而扩大了跟踪装置的工作范围。In the related art, the tracking device is arranged on a fixed bracket to track the pose of the scanning head, so the scanning device needs to scan within the fixed tracking range of the tracking device during the scanning process. Therefore, the working range of the current tracking three-dimensional scanner is limited by the fixed tracking range of the tracking device. In this embodiment, by adjusting the tracking angle of view of the tracking device, the scanning device is located within the preset optimal tracking range of the tracking device, thereby releasing the restriction of the tracking device's tracking work by the fixed tracking range of the tracking device, and further expanding the work of the tracking device scope.
步骤S330,根据扫描装置位于跟踪装置不同跟踪视角下的跟踪装置对扫描装置的跟踪结果,扫描装置的扫描结果,以及跟踪装置相对预设的参考坐标系的跟踪位姿,完成对被测对象的三维重建。Step S330, according to the tracking results of the scanning device by the tracking device located at different tracking angles of view of the tracking device, the scanning results of the scanning device, and the tracking pose of the tracking device relative to the preset reference coordinate system, complete the tracking of the measured object Three-dimensional reconstruction.
其中,该预设的参考坐标系可以为在该扫描场景下位置固定不动的参考物的坐标系。例如,上述包含法兰和底座的转台。转台的底座固定安装于预设的工作位置处。在需要调整跟踪装置的视角时,仅通过控制法兰转动,而保持底座固定不动。因此,可以将该底座的坐标系作为参考坐标系。另外,该预设的参考坐标系还可以为预先基于全局摄影测量技术确定的三维扫描系统的全局坐标系。例如通过全局摄影测量设备预先对三维扫描系统的整个扫描场景下所粘贴的所有标记点进行拍摄,从而建立的全局的标记点库。该标记点库的原点坐标系则为上述参考坐标系。Wherein, the preset reference coordinate system may be a coordinate system of a fixed reference object in the scanning scene. For example, the turntable described above that includes a flange and a base. The base of the turntable is fixedly installed at the preset working position. When the viewing angle of the tracking device needs to be adjusted, only the flange is controlled to rotate, while the base is kept fixed. Therefore, the coordinate system of the base can be used as a reference coordinate system. In addition, the preset reference coordinate system may also be the global coordinate system of the three-dimensional scanning system determined in advance based on the global photogrammetry technology. For example, the global photogrammetry equipment pre-photographs all the marker points pasted in the entire scanning scene of the 3D scanning system, so as to establish a global marker point library. The origin coordinate system of the marker point library is the above-mentioned reference coordinate system.
在三维扫描过程中,扫描装置对被测对象进行扫描得到被测对象的点云数据,跟踪装置对扫描装置进行跟踪得到扫描装置相对跟踪装置的位姿,由此,可以将扫描装置获取的点云数据转换到跟踪装置的坐标系下。由于在调整跟踪装置的跟踪视角时,跟踪装置相对三维扫描系统中参考坐标系的跟踪位姿也会发生改变,也即,跟踪装置在不同跟踪视角下所对应的跟踪位姿是不同的。因此,还需要对不同跟踪位姿下跟踪装置的坐标系进行统一,从而完成被测对象的三维重建。During the three-dimensional scanning process, the scanning device scans the measured object to obtain the point cloud data of the measured object, and the tracking device tracks the scanning device to obtain the pose of the scanning device relative to the tracking device. The cloud data is transformed into the coordinate system of the tracking device. When adjusting the tracking angle of view of the tracking device, the tracking pose of the tracking device relative to the reference coordinate system in the three-dimensional scanning system will also change, that is, the corresponding tracking poses of the tracking device under different tracking angles of view are different. Therefore, it is also necessary to unify the coordinate system of the tracking device under different tracking poses, so as to complete the three-dimensional reconstruction of the measured object.
示例性地,设扫描装置在某个位姿下对被测对象进行扫描,所获取的扫描装置坐标系下的点云数据中的一个点为p。此时,扫描装置位于跟踪装置的跟踪范围内,扫描装置相对跟踪装置的位姿为T1。跟踪装置此时相对参考坐标系的跟踪位姿为T2。将该扫描装置坐标系下的点p转换到参考坐标系下得到点p’。则该点p’与点p之间的转换过程如下式所示:Exemplarily, it is assumed that the scanning device scans the measured object in a certain pose, and a point in the obtained point cloud data in the coordinate system of the scanning device is p. At this time, the scanning device is located within the tracking range of the tracking device, and the pose of the scanning device relative to the tracking device is T1. The tracking pose of the tracking device relative to the reference coordinate system at this time is T2. Convert the point p in the coordinate system of the scanning device to the reference coordinate system to obtain point p'. Then the conversion process between the point p' and point p is shown as follows:
p’=T2*T1*p (1)p'=T2*T1*p (1)
上述步骤S310至步骤S330,在扫描装置对被测对象进行扫描的过程中,判断扫描装置是否位于跟踪装置的预设的最佳跟踪范围外;在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内,并获取跟踪装置的跟踪结果;根据扫描装置位于跟踪装置不同跟踪视角下的跟踪装置对扫描装置的跟踪结果,扫描装置的扫描结果,以及跟踪装置相对预设的参考坐标系的跟踪位姿,完成对被测对象的三维重建。其通过调整跟踪装置的跟踪视角,扩大了跟踪装置对扫描装置进行跟踪时的工作范围,从而解决了目前三维扫描中跟踪装置的工作范围受自身跟踪范围限制的问题。The above step S310 to step S330, in the process of scanning the measured object by the scanning device, judge whether the scanning device is outside the preset optimal tracking range of the tracking device; When it is outside the range, change the tracking angle of view of the tracking device so that the scanning device is within the preset optimal tracking range of the tracking device, and obtain the tracking results of the tracking device; The tracking result of the scanning device, the scanning result of the scanning device, and the tracking pose of the tracking device relative to the preset reference coordinate system complete the three-dimensional reconstruction of the measured object. By adjusting the tracking angle of view of the tracking device, the working range of the tracking device when tracking the scanning device is expanded, thereby solving the problem that the working range of the tracking device is limited by its own tracking range in the current three-dimensional scanning.
进一步地,在一个实施例中,基于上述步骤S320,在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内,并获取跟踪装置的跟踪结果,具体可以包括以下步骤:Further, in one embodiment, based on the above step S320, when the scanning device is outside the preset optimal tracking range of the tracking device, the tracking angle of view of the tracking device is changed so that the scanning device is located at the preset maximum tracking range of the tracking device. within the optimal tracking range, and obtain the tracking results of the tracking device, which may specifically include the following steps:
步骤S321,在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,按照预设幅度调整跟踪装置的跟踪视角,直至扫描装置位于跟踪装置的预设的最佳跟踪范围内,停止对跟踪视角的调整。Step S321, when the scanning device is outside the preset optimal tracking range of the tracking device, adjust the tracking angle of view of the tracking device according to the preset range until the scanning device is within the preset optimal tracking range of the tracking device, and stop tracking Adjustment of viewing angle.
具体地,可以预先设置一个幅度,在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,控制跟踪装置所搭载的旋转装置逐步随该幅度改变相应的运动学参数,以使跟踪装置不断发生转动,进而不断地改变跟踪视角,直至扫描装置位于跟踪装置的预设的最佳跟踪范围内,停止对跟踪装置的跟踪视角的调整。又或者,可以基于预设的幅度,不断地手动对跟踪装置的跟踪视角进行调整,直至扫描装置位于跟踪装置的最佳跟踪范围内。Specifically, a range can be preset, and when the scanning device is outside the preset optimal tracking range of the tracking device, the rotating device mounted on the tracking device is controlled to gradually change the corresponding kinematic parameters according to the range, so that the tracking device can continuously Rotation occurs, and then the tracking angle of view is continuously changed until the scanning device is within the preset optimal tracking range of the tracking device, and the adjustment of the tracking angle of view of the tracking device is stopped. Alternatively, based on a preset range, the tracking angle of view of the tracking device may be continuously adjusted manually until the scanning device is within the optimal tracking range of the tracking device.
之后,在通过调整跟踪视角,使扫描装置位于跟踪装置的最佳跟踪范围的情况下,获取跟踪装置对扫描装置的跟踪结果。在本实施例中通过基于预设幅度对跟踪装置的跟踪视角调整,能够实现对跟踪装置的工作范围的动态调整,进而扩大跟踪装置的工作范围。Afterwards, when the scanning device is located in the optimal tracking range of the tracking device by adjusting the tracking angle of view, the tracking result of the scanning device by the tracking device is obtained. In this embodiment, by adjusting the tracking viewing angle of the tracking device based on the preset range, dynamic adjustment of the working range of the tracking device can be realized, thereby expanding the working range of the tracking device.
另外地,在一个实施例中,基于上述步骤S320,在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内,并获取跟踪装置的跟踪结果,还可以包括以下步骤:Additionally, in one embodiment, based on the above step S320, when the scanning device is outside the preset optimal tracking range of the tracking device, the tracking angle of view of the tracking device is changed so that the scanning device is located at the preset maximum tracking range of the tracking device. within the optimal tracking range, and obtain the tracking result of the tracking device, the following steps may also be included:
步骤S322,在扫描装置位于跟踪装置的预设的最佳跟踪范围外时,根据扫描装置的扫描位置,计算扫描装置在跟踪装置的预设的最佳跟踪范围内的投影信息。Step S322, when the scanning device is outside the preset optimal tracking range of the tracking device, calculate projection information of the scanning device within the preset optimal tracking range of the tracking device according to the scanning position of the scanning device.
具体地,该投影信息具体可以为基于跟踪装置的成像原理,对扫描装置的扫描位置在最佳跟踪范围内进行投影,映射得到的投影信息。例如,该投影信息可以为扫描装置的位置投影到跟踪装置的原点坐标系的各坐标轴的旋转角度。Specifically, the projection information may be the projection information obtained by projecting the scanning position of the scanning device within the optimal tracking range based on the imaging principle of the tracking device, and mapping. For example, the projection information may be the rotation angle of each coordinate axis projected from the position of the scanning device to the origin coordinate system of the tracking device.
步骤S323,基于预设的投影转换关系将投影信息转换为跟踪装置的视角调整参数。In step S323, the projection information is converted into viewing angle adjustment parameters of the tracking device based on a preset projection transformation relationship.
其中,该预设的投影转换关系具体可以基于旋转装置的结构形式来确定。例如,在得到上述投影信息后,可以基于转台的结构形式,将投影信息转换为转台各驱动轴需要转动的角度,该各驱动轴需要转动的角度即为上述视角调整参数。进一步地,在扫描装置位于跟踪装置跟踪范围的中心时,跟踪装置对其的跟踪精度最佳。因此还可以在扫描装置的位置偏离上述跟踪范围的中心时,基于上述投影信息,以及旋转装置的结构形式,计算得到上述视角调整参数,以对跟踪装置的跟踪视角进行调整。Wherein, the preset projection transformation relationship may be specifically determined based on the structural form of the rotating device. For example, after the above projection information is obtained, based on the structure of the turntable, the projection information can be converted into angles that each drive shaft of the turntable needs to rotate, and the angle that each drive shaft needs to rotate is the above-mentioned viewing angle adjustment parameter. Further, when the scanning device is located at the center of the tracking range of the tracking device, the tracking accuracy of the tracking device is the best. Therefore, when the position of the scanning device deviates from the center of the tracking range, based on the projection information and the structure of the rotating device, the viewing angle adjustment parameter can be calculated to adjust the tracking viewing angle of the tracking device.
步骤S324,基于视角调整参数调整跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内。Step S324, adjusting the tracking viewing angle of the tracking device based on the viewing angle adjustment parameter, so that the scanning device is located within a preset optimal tracking range of the tracking device.
上述步骤S322至步骤S324,在扫描装置位于跟踪装置的最佳跟踪范围外时,根据扫描装置的扫描位置,计算扫描装置在跟踪装置的最佳跟踪范围内的投影信息;基于预设的投影转换关系将投影信息转换为跟踪装置的视角调整参数;基于视角调整参数调整跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的最佳跟踪范围。其基于扫描装置的位置,对跟踪装置的视角调整参数的确定,从而能够实现对跟踪装置的跟踪视角的精确调整,进而能够提高对跟踪装置的跟踪视角的调整精度,另外,通过对跟踪视角进行调整,以使扫描装置位于跟踪装置的最佳跟踪范围,还可以提高跟踪装置对扫描装置的跟踪精度。From the above steps S322 to S324, when the scanning device is outside the optimal tracking range of the tracking device, the projection information of the scanning device within the optimal tracking range of the tracking device is calculated according to the scanning position of the scanning device; based on the preset projection conversion The relationship converts the projection information into the viewing angle adjustment parameters of the tracking device; adjusts the tracking viewing angle of the tracking device based on the viewing angle adjustment parameters, so that the scanning device is located in the best tracking range of the tracking device. It determines the viewing angle adjustment parameters of the tracking device based on the position of the scanning device, so that the precise adjustment of the tracking viewing angle of the tracking device can be realized, and the adjustment accuracy of the tracking viewing angle of the tracking device can be improved. In addition, by adjusting the tracking viewing angle Adjusting so that the scanning device is located in the best tracking range of the tracking device can also improve the tracking accuracy of the tracking device to the scanning device.
进一步地,在一个实施例中,基于上述步骤S322,根据扫描装置的扫描位置,计算扫描装置在跟踪装置的预设的最佳跟踪范围内的投影信息,具体可以包括:根据扫描装置的扫描位置,计算扫描装置在跟踪装置的预设的最佳跟踪范围映射的三维坐标系下各坐标轴上的投影角度;将扫描装置在最佳跟踪范围映射的坐标系下各坐标轴上的投影角度,确定为投影信息。Further, in one embodiment, based on the above step S322, according to the scanning position of the scanning device, calculating the projection information of the scanning device within the preset optimal tracking range of the tracking device may specifically include: according to the scanning position of the scanning device , calculate the projection angle of the scanning device on each coordinate axis under the three-dimensional coordinate system mapped by the preset optimal tracking range of the tracking device; the projection angle of the scanning device on each coordinate axis under the coordinate system mapped by the optimal tracking range, Determined as projection information.
上述跟踪范围映射的坐标系,具体可以为跟踪装置的原点坐标系。图5为本实施例提供的跟踪装置的最佳跟踪范围示意图。如图5所示,跟踪装置的最佳跟踪范围可以简化为一个梯形台,其中,oxyz为跟踪装置的原点坐标系,该梯形台关于xoz平面和yoz平面对称。方向oz即为跟踪装置的最佳跟踪范围的中心方向。图6为本实施例的跟踪装置调整跟踪范围示意图,其中,扫描装置的原点坐标系位于点c,该点c在最佳跟踪范围内的投影信息,具体可以为点c在oxyz坐标系下投影到x轴的旋转角度α,投影到y轴的旋转角度β。进一步地,扫描装置位于跟踪装置的跟踪范围的中心时,跟踪装置的跟踪精度最佳。因此,结合图6,在点c并非处于跟踪范围的中心方向时,即可计算扫描装置的位置投影到跟踪装置的原点坐标系的各坐标轴的旋转角度。The coordinate system of the above-mentioned tracking range mapping may specifically be the origin coordinate system of the tracking device. FIG. 5 is a schematic diagram of an optimal tracking range of the tracking device provided in this embodiment. As shown in FIG. 5 , the optimal tracking range of the tracking device can be simplified as a trapezoidal platform, where oxyz is the origin coordinate system of the tracking device, and the trapezoidal platform is symmetrical about the xoz plane and the yoz plane. The direction oz is the center direction of the best tracking range of the tracking device. Fig. 6 is a schematic diagram of adjusting the tracking range of the tracking device in this embodiment, wherein the origin coordinate system of the scanning device is located at point c, and the projection information of point c within the optimal tracking range can specifically be the projection of point c in the oxyz coordinate system The angle of rotation α to the x-axis, the angle of rotation β to project on the y-axis. Further, when the scanning device is located at the center of the tracking range of the tracking device, the tracking accuracy of the tracking device is the best. Therefore, referring to FIG. 6 , when the point c is not in the central direction of the tracking range, the rotation angle of each coordinate axis projected from the position of the scanning device to the origin coordinate system of the tracking device can be calculated.
由图6可知,在扫描装置的位置偏离跟踪范围的中心时,可以计算上述旋转角度α和旋转角度β,基于该旋转角度α和旋转角度β,得到视角调整参数,进而实现对跟踪装置的跟踪视角的调整,从而使扫描装置位于跟踪范围的中心,以得到最佳的跟踪精度。示例性地,对于单轴转台而言,可以通过调整视角调整参数,使点c与图6中坐标系原点o的连线oc,与xoz面重合,从而使扫描装置位于跟踪范围的中心方向。对于多轴转台而言,可以通过设置视角调整参数,使点c与坐标系原点o的连线oc,与方向oz重合。It can be seen from Fig. 6 that when the position of the scanning device deviates from the center of the tracking range, the above-mentioned rotation angle α and rotation angle β can be calculated, and based on the rotation angle α and rotation angle β, the viewing angle adjustment parameters can be obtained, and then the tracking of the tracking device can be realized Adjust the viewing angle so that the scanning device is located in the center of the tracking range to obtain the best tracking accuracy. Exemplarily, for a single-axis turntable, by adjusting the angle of view adjustment parameter, the line oc connecting the point c and the origin o of the coordinate system in FIG. 6 coincides with the xoz plane, so that the scanning device is located in the center direction of the tracking range. For a multi-axis turntable, the viewing angle adjustment parameters can be set so that the line oc connecting the point c and the origin o of the coordinate system coincides with the direction oz.
另外地,在一个实施例中,基于上述步骤S330,在根据扫描装置位于跟踪装置不同跟踪视角下的跟踪装置对扫描装置的跟踪结果,扫描装置的扫描结果,以及跟踪装置相对预设的参考坐标系的跟踪位姿,完成对被测对象的三维重建之前,上述三维扫描方法还可以包括以下步骤:In addition, in one embodiment, based on the above step S330, according to the tracking results of the scanning device by the tracking device at different tracking angles of view of the scanning device, the scanning results of the scanning device, and the relative preset reference coordinates of the tracking device Before completing the three-dimensional reconstruction of the measured object, the above-mentioned three-dimensional scanning method may also include the following steps:
步骤S340,根据跟踪装置预先标定的视角变换关系,计算跟踪装置在不同跟踪视角下,相对预设的参考坐标系的跟踪位姿;其中视角变换关系由跟踪装置预先调整至不同跟踪视角下对预设的标定件进行跟踪得到。Step S340, according to the viewing angle transformation relationship pre-calibrated by the tracking device, calculate the tracking pose of the tracking device relative to the preset reference coordinate system under different tracking viewing angles; The set calibration parts are tracked and obtained.
具体地,该预先标定的视角变换关系为调整跟踪装置的跟踪视角时,跟踪装置的原点坐标系与参考坐标系之间的位姿转换关系。例如,该视角变换关系可以由预先建立的旋转装置的运动学模型,以及跟踪装置与旋转装置之间的预先标定的位姿转换关系来确定。以转台为例,可以根据转台的DH(Denavit–Hartenberg)参数,建立转台的运动学求解模型。其中,DH参数是用四个参数表达两对关节连杆之间位置角度关系的机械臂数学模型和坐标系确定系统。也即,可以通过转台各驱动轴的转动角度,求出转台法兰的坐标系相对于转台底座的坐标系的位姿。另外,可以基于标定板,预先对跟踪装置的原点坐标系与法兰的中心坐标系之间的位姿转换关系进行标定。Specifically, the pre-calibrated viewing angle transformation relationship is a pose transformation relationship between the origin coordinate system of the tracking device and the reference coordinate system when the tracking viewing angle of the tracking device is adjusted. For example, the perspective transformation relationship may be determined by a pre-established kinematics model of the rotating device and a pre-calibrated pose transformation relationship between the tracking device and the rotating device. Taking the turntable as an example, the kinematic solution model of the turntable can be established according to the DH (Denavit–Hartenberg) parameters of the turntable. Among them, the DH parameter is a mathematical model of the mechanical arm and a coordinate system determination system that expresses the position angle relationship between two pairs of joint links with four parameters. That is to say, the pose of the coordinate system of the turntable flange relative to the coordinate system of the turntable base can be obtained through the rotation angles of each drive shaft of the turntable. In addition, the pose transformation relationship between the origin coordinate system of the tracking device and the center coordinate system of the flange can be calibrated in advance based on the calibration plate.
示例性地,将转台固定于工作位置之后,将标定板固定在跟踪装置的视野范围内,计算此时标定板的原点坐标系相对于跟踪头的原点坐标系的位姿TMtoT1。接下来,再根据此时转台各驱动轴的角度,计算得到转台的法兰的中心坐标系相对于转台的底座坐标系的位姿TP1,设跟踪装置的原点坐标系和法兰的中心坐标系关系为TTtoF。,标定板相对于转台的底座坐标系的位姿为TM,最终得到方程如下式:Exemplarily, after the turntable is fixed at the working position, the calibration board is fixed within the field of view of the tracking device, and the pose T MtoT 1 of the origin coordinate system of the calibration board relative to the origin coordinate system of the tracking head is calculated at this time. Next, according to the angles of the drive shafts of the turntable at this time, calculate the pose T P 1 of the center coordinate system of the flange of the turntable relative to the base coordinate system of the turntable, and set the origin coordinate system of the tracking device and the center of the flange The coordinate system relationship is T TtoF . , the pose of the calibration plate relative to the base coordinate system of the turntable is T M , and finally the equation is as follows:
TP1*TTtoF*TMtoT1=TM (2)T P 1*T TtoF *T MtoT 1=T M (2)
通过转动转台各驱动轴的角度,改变跟踪装置的位姿,并且每次改变跟踪装置的位姿,都需令标定板位于跟踪装置的视野范围内,同理得到方程如下式:By rotating the angle of each drive shaft of the turntable, the pose of the tracking device is changed, and every time the pose of the tracking device is changed, the calibration plate needs to be located within the field of view of the tracking device. Similarly, the equation is obtained as follows:
TP2*TTtoF*TMtoT2=TM (3)T P 2*T TtoF *T MtoT 2=T M (3)
其中,TP2为转动后的法兰中心坐标系相对于底座坐标系的位姿。TMtoT2为标定板的原点坐标系相对转动后的跟踪装置的原点坐标系的位姿。因标定板和转台均固定,标定板相对转台的底座坐标系的位姿TM不变,且跟踪装置的原点坐标系与法兰中心坐标系之间的位姿转换关系TTtoF不变。Among them, T P 2 is the pose of the rotated flange center coordinate system relative to the base coordinate system. T MtoT 2 is the pose of the origin coordinate system of the calibration board relative to the origin coordinate system of the tracking device after rotation. Since both the calibration plate and the turntable are fixed, the pose T M of the calibration plate relative to the base coordinate system of the turntable remains unchanged, and the pose transformation relationship T TtoF between the origin coordinate system of the tracking device and the flange center coordinate system remains unchanged.
最终可以得到下式:Finally, the following formula can be obtained:
TP1*TTtoF*TMtoT1=TP2*TTtoF*TMtoT2 (4)T P 1*T TtoF *T MtoT 1=T P 2*T TtoF *T MtoT 2 (4)
其中,方程中仅跟踪装置的原点坐标系和法兰的中心坐标系之间的位姿转换关系TTtoF为未知量。之后再通过多次转动跟踪装置,以获得更多方程组,联立方程求得TTtoF。在求得跟踪装置的原点坐标系和法兰的中心坐标系之间的位姿转换关系之后,根据跟踪装置的原点坐标系和法兰的中心坐标系之间的位姿转换关系,以及法兰的中心坐标系相对底座坐标系的位姿,可以得到上述视角变换关系。Among them, only the pose transformation relationship T TtoF between the origin coordinate system of the tracking device and the center coordinate system of the flange in the equation is an unknown quantity. Then rotate the tracking device several times to obtain more equations, and obtain T TtoF through simultaneous equations. After obtaining the pose transformation relationship between the origin coordinate system of the tracking device and the center coordinate system of the flange, according to the pose transformation relationship between the origin coordinate system of the tracking device and the center coordinate system of the flange, and the flange The pose of the center coordinate system relative to the base coordinate system can obtain the above viewing angle transformation relationship.
另外地,在一个实施例中,基于上述步骤S330,预设的参考坐标系为预先建立的标记点库的原点坐标系;在根据扫描装置位于跟踪装置不同跟踪视角下的跟踪装置对扫描装置的跟踪结果,扫描装置的扫描结果,以及跟踪装置相对预设的参考坐标系的跟踪位姿,完成对被测对象的三维重建之前,具体还可以包括:Additionally, in one embodiment, based on the above step S330, the preset reference coordinate system is the origin coordinate system of the pre-established marker point library; The tracking result, the scanning result of the scanning device, and the tracking pose of the tracking device relative to the preset reference coordinate system, before completing the three-dimensional reconstruction of the measured object, may specifically include:
步骤S351,获取跟踪装置在不同跟踪视角下识别得到的局部标记点。Step S351, acquiring local marker points recognized by the tracking device under different tracking viewing angles.
其中,该标记点库可以通过预先在被测对象及其周围区域粘贴标记点,并通过全局摄影测量设备对所有标记点进行拍摄得到。该标记点库的原点坐标系为参考坐标系。在标记点库建立完成后,在扫描装置对被测对象进行扫描的过程中,基于跟踪装置在不同跟踪视角对扫描装置进行跟踪时,对该标记点库中的标记点的同步识别,获得跟踪装置的原点坐标系下的局部标记点。Wherein, the marker point library can be obtained by pasting marker points on the measured object and its surrounding area in advance, and photographing all marker points through the global photogrammetry equipment. The origin coordinate system of this marker library is the reference coordinate system. After the marker point library is established, in the process of the scanning device scanning the measured object, based on the tracking device tracking the scanning device at different tracking angles of view, the synchronous recognition of the marker points in the marker point library is used to obtain tracking A local marker point in the device's origin coordinate system.
步骤S352,将局部标记点与标记点库进行匹配,在局部标记点与标记点库匹配成功的情况下,基于局部标记点和标记点库,得到跟踪装置在不同跟踪视角下相对标记点库的原点坐标系的跟踪位姿。Step S352, matching the local markers with the marker library, and if the local markers are successfully matched with the marker library, based on the local markers and the marker library, the tracking device relative to the marker library under different tracking angles of view is obtained. The tracking pose of the origin coordinate system.
其中,通过将不同跟踪视角下的局部标记点与标记点库进行比对,能够计算得到跟踪装置在不同跟踪视角下相对标记点库的原点坐标系的跟踪位姿。本实施例基于预先建立的标记点库的原点坐标系作为参考坐标系。在扫描过程中,通过跟踪装置在不同跟踪视角下跟踪扫描装置的同时,识别其跟踪范围内的标记点库的部分标记点,进而求得不同跟踪视角下跟踪装置相对预设的参考坐标系的跟踪位姿。本实施例计算跟踪位姿的方法,能够提升跟踪位姿计算的便捷性和效率。Wherein, by comparing the local marker points under different tracking viewing angles with the marker point library, the tracking pose of the tracking device relative to the origin coordinate system of the marker point library under different tracking angles of view can be calculated. This embodiment is based on the origin coordinate system of the pre-established marker point library as the reference coordinate system. During the scanning process, while the tracking device tracks the scanning device under different tracking angles of view, it recognizes part of the marker points in the marker point library within its tracking range, and then obtains the position of the tracking device relative to the preset reference coordinate system under different tracking angles of view. Track pose. The method for calculating the tracking pose in this embodiment can improve the convenience and efficiency of tracking pose calculation.
另外地,在一个实施例中,基于上述步骤S330,预设的参考坐标系为基于跟踪装置获取的标记点实时更新的标记点库原点坐标系,在根据扫描装置位于跟踪装置不同跟踪视角下的跟踪装置对扫描装置的跟踪结果,扫描装置的扫描结果,以及跟踪装置相对预设的参考坐标系的跟踪位姿,完成对被测对象的三维重建之前,上述三维扫描方法还可以包括以下步骤:In addition, in one embodiment, based on the above step S330, the preset reference coordinate system is the coordinate system of the origin of the marker library updated in real time based on the marker points acquired by the tracking device. The tracking result of the tracking device on the scanning device, the scanning result of the scanning device, and the tracking pose of the tracking device relative to the preset reference coordinate system, before completing the three-dimensional reconstruction of the measured object, the above three-dimensional scanning method may also include the following steps:
步骤S361,获取跟踪装置在不同跟踪视角下识别得到的局部标记点。Step S361, acquiring local marker points recognized by the tracking device under different tracking viewing angles.
同样地,该局部标记点为扫描过程中,通过跟踪装置在不同跟踪视角下跟踪扫描装置的同时,识别得到的其跟踪范围内的标记点库的部分标记点。其中,该标记点库可以由跟踪装置所识别得到的部分标记点来更新得到。例如,在跟踪装置对其跟踪范围内的标记点进行识别之前,标记点库的标记点为空,获取跟踪装置在第一个跟踪视角下识别得到的局部标记点,基于该第一个跟踪视角下的局部标记点建立标记点库。之后,还可以基于后续跟踪视角下的局部标记点更新标记点库。Likewise, the local marker points are part of the marker point library within the tracking range identified by the tracking device while tracking the scanning device under different tracking angles of view during the scanning process. Wherein, the marker library can be obtained by updating some marker points identified by the tracking device. For example, before the tracking device recognizes the marker points within its tracking range, the marker points in the marker library are empty, and the local marker points identified by the tracking device at the first tracking angle of view are obtained, based on the first tracking angle of view Create a marker library for the local markers below. Afterwards, the marker library can also be updated based on the local markers from the follow-up tracking perspective.
步骤S362,在标记点库中存在标记点数据的情况下,将局部标记点与标记点库进行匹配,在局部标记点与标记点库匹配成功的情况下,基于局部标记点和标记点库,得到跟踪装置在不同跟踪视角下相对标记点库的原点坐标系的跟踪位姿,并基于局部标记点更新标记点库。Step S362, in the case where the marker data exists in the marker library, match the local markers with the marker library, and if the local markers are successfully matched with the marker library, based on the local markers and the marker library, The tracking poses of the tracking device relative to the origin coordinate system of the marker library under different tracking viewing angles are obtained, and the marker library is updated based on the local marker points.
其中,将跟踪装置在后续跟踪视角下识别得到的局部标记点与该已存在的标记点库进行匹配。若匹配成功,则基于局部标记点和标记点库计算跟踪装置相对标记点库的原点坐标系的位姿,此时,将识别得到的局部标记点中未被包含在标记点库的标记点,更新至标记点库。Wherein, the local marker points recognized by the tracking device in the follow-up tracking perspective are matched with the existing marker point library. If the matching is successful, the pose of the tracking device relative to the origin coordinate system of the marker library is calculated based on the local markers and the marker library. At this time, the markers that are not included in the marker library in the local markers obtained will be identified, Update to the marker library.
步骤S363,在标记点库中的标记点数据为空的情况下,基于局部标记点建立标记点库。Step S363, when the marker data in the marker library is empty, create a marker library based on the local markers.
上述步骤S361至步骤S363,基于跟踪装置在对扫描装置跟踪的过程中,在不同跟踪视角下获取的标记点,实现了对标记点库的实时更新,从而提升了计算跟踪装置的跟踪位姿的效率。The above steps S361 to S363, based on the marker points acquired by the tracking device under different tracking viewing angles during the tracking of the scanning device, real-time update of the marker point library is realized, thereby improving the efficiency of calculating the tracking pose of the tracking device. efficiency.
另外地,在一个实施例中,跟踪装置固定设置于转动平台,跟踪装置由转动平台带动发生转动以改变跟踪装置的跟踪视角。其中,可以理解地,该转动平台可以为上述实施例中的转台。In addition, in one embodiment, the tracking device is fixedly arranged on the rotating platform, and the tracking device is rotated by the rotating platform to change the tracking angle of view of the tracking device. Wherein, understandably, the rotating platform may be the turntable in the above-mentioned embodiments.
下面通过优选实施例对本实施例进行描述和说明。The present embodiment is described and illustrated through preferred embodiments below.
图7是优选实施例一的三维扫描方法的流程图。如图7所示,该三维扫描方法包括如下步骤:Fig. 7 is a flow chart of the three-dimensional scanning method of the preferred embodiment 1. As shown in Figure 7, the three-dimensional scanning method includes the following steps:
步骤S701,基于转台的DH参数,建立转台的运动学求解模型;Step S701, based on the DH parameters of the turntable, establishing a kinematic solution model of the turntable;
步骤S702,通过手眼标定,得到标定跟踪装置的原点坐标系与法兰的中心坐标系之间的位姿转换关系;Step S702, obtain the pose transformation relationship between the origin coordinate system of the calibration tracking device and the center coordinate system of the flange through hand-eye calibration;
步骤S703,在扫描装置对被测对象进行扫描的过程中,判断扫描装置是否位于跟踪装置的预设的最佳跟踪范围内,若是,则执行步骤S705;否则,执行步骤S704;Step S703, in the process of scanning the object under test by the scanning device, judge whether the scanning device is within the preset optimal tracking range of the tracking device, if so, execute step S705; otherwise, execute step S704;
步骤S704,通过调整转台各驱动轴的转动角度,控制转台的法兰转动,进而带动固定于法兰上的跟踪装置发生转动,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内;Step S704, by adjusting the rotation angle of each drive shaft of the turntable, controlling the rotation of the flange of the turntable, and then driving the tracking device fixed on the flange to rotate, changing the tracking angle of view of the tracking device, so that the scanning device is located at the preset position of the tracking device within the optimal tracking range;
步骤S705,在扫描装置获取被测对象的点云数据的同时,跟踪装置对扫描装置上设置的定位符进行识别,实时计算出扫描装置相对跟踪装置的位姿;Step S705, while the scanning device acquires the point cloud data of the measured object, the tracking device recognizes the locators set on the scanning device, and calculates the pose of the scanning device relative to the tracking device in real time;
步骤S706,基于步骤S701和步骤S702的求解结果,以及扫描装置相对跟踪装置的位姿,将扫描装置获取的点云数据实时地转换到转台的底座坐标系下,完成被测物体的三维重建。Step S706, based on the solution results of steps S701 and S702, and the pose of the scanning device relative to the tracking device, the point cloud data acquired by the scanning device is converted into the base coordinate system of the turntable in real time to complete the three-dimensional reconstruction of the measured object.
图8是优选实施例二的三维扫描方法的流程图。如图8所示,该三维扫描方法包括如下步骤:Fig. 8 is a flow chart of the three-dimensional scanning method in the second preferred embodiment. As shown in Figure 8, the three-dimensional scanning method includes the following steps:
步骤S801,基于全局摄影测量设备对扫描场景下所有标记点进行拍摄,建立标记点库的原点坐标系;Step S801, based on the global photogrammetry equipment, photographing all the marked points in the scanning scene, and establishing the origin coordinate system of the marked point library;
步骤S802,在扫描装置对被测对象进行扫描的过程中,判断扫描装置是否位于跟踪装置的预设的最佳跟踪范围内,若是,则执行步骤S804;否则,执行步骤S803;Step S802, in the process of scanning the object under test by the scanning device, determine whether the scanning device is within the preset optimal tracking range of the tracking device, if so, perform step S804; otherwise, perform step S803;
步骤S803,通过调整转台各驱动轴的转动角度,控制转台的法兰转动,进而带动固定于法兰上的跟踪装置发生转动,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内;Step S803, by adjusting the rotation angle of each drive shaft of the turntable, controlling the rotation of the flange of the turntable, and then driving the tracking device fixed on the flange to rotate, changing the tracking angle of view of the tracking device, so that the scanning device is located at the preset position of the tracking device within the optimal tracking range;
步骤S804,在扫描装置获取被测对象的点云数据的同时,跟踪装置对扫描装置上设置的定位符进行识别,实时计算出扫描装置相对跟踪装置的位姿;Step S804, while the scanning device acquires the point cloud data of the measured object, the tracking device recognizes the locators set on the scanning device, and calculates the pose of the scanning device relative to the tracking device in real time;
步骤S805,在跟踪装置对扫描装置的定位符进行识别的同时,获取跟踪装置识别得到的标记点库的局部标记点;Step S805, while the tracking device recognizes the locator of the scanning device, acquire the local marker points of the marker library identified by the tracking device;
步骤S806,将局部标记点与标记点库进行匹配,得到跟踪装置相对标记点库的原点坐标系的位姿;Step S806, matching the local markers with the marker library to obtain the pose of the tracking device relative to the origin coordinate system of the marker library;
步骤S807,基于步骤S806的求解结果,以及扫描装置相对跟踪装置的位姿,将扫描装置获取的点云数据实时地转换到标记点库的原点坐标系下,完成被测物体的三维重建。In step S807, based on the solution result of step S806 and the pose of the scanning device relative to the tracking device, the point cloud data acquired by the scanning device is converted into the origin coordinate system of the marker point library in real time to complete the three-dimensional reconstruction of the measured object.
图9是优选实施例三的三维扫描方法的流程图。如图9所示,该三维扫描方法包括如下步骤:Fig. 9 is a flow chart of the three-dimensional scanning method of the third preferred embodiment. As shown in Figure 9, the three-dimensional scanning method includes the following steps:
步骤S901,在扫描装置对被测对象进行扫描的过程中,判断扫描装置是否位于跟踪装置的预设的最佳跟踪范围内,若是,则执行步骤S903;否则,执行步骤S902;Step S901, in the process of scanning the object under test by the scanning device, judge whether the scanning device is within the preset optimal tracking range of the tracking device, if so, execute step S903; otherwise, execute step S902;
步骤S902,通过调整转台各驱动轴的转动角度,控制转台的法兰转动,进而带动固定于法兰上的跟踪装置发生转动,改变跟踪装置的跟踪视角,以使扫描装置位于跟踪装置的预设的最佳跟踪范围内;Step S902, by adjusting the rotation angle of each drive shaft of the turntable, controlling the rotation of the flange of the turntable, and then driving the tracking device fixed on the flange to rotate, changing the tracking angle of view of the tracking device, so that the scanning device is located at the preset position of the tracking device within the optimal tracking range;
步骤S903,在扫描装置获取被测对象的点云数据的同时,跟踪装置对扫描装置上设置的定位符进行识别,实时计算出扫描装置相对跟踪装置的位姿;Step S903, while the scanning device acquires the point cloud data of the measured object, the tracking device recognizes the locators set on the scanning device, and calculates the pose of the scanning device relative to the tracking device in real time;
步骤S904,在跟踪装置对扫描装置的定位符进行识别的同时,获取跟踪装置在其跟踪范围内识别得到的扫描场景下粘贴的局部标记点;Step S904, while the tracking device recognizes the locator of the scanning device, acquire the local marker points pasted in the scanning scene identified by the tracking device within its tracking range;
步骤S905,判断标记点库是否为空,若是,则执行步骤S906,否则,执行步骤S907;Step S905, judging whether the marker library is empty, if so, execute step S906, otherwise, execute step S907;
步骤S906,根据此时的局部标记点建立标记点库;Step S906, establishing a marker library according to the local markers at this time;
步骤S907,将局部标记点与标记点库进行匹配,若匹配成功,则计算得到跟踪装置相对标记点库的原点坐标系的位姿,并将局部标记点中未被标记点库包含的标记点更新至标记点库中;Step S907, match the local markers with the marker library, if the matching is successful, calculate the pose of the tracking device relative to the origin coordinate system of the marker library, and compare the local markers that are not included in the marker library Update to the marker library;
步骤S908,基于步骤S907的求解结果,以及扫描装置相对跟踪装置的位姿,将扫描装置获取的点云数据实时地转换到标记点库的原点坐标系下,完成被测物体的三维重建。Step S908, based on the solution result of step S907 and the pose of the scanning device relative to the tracking device, the point cloud data acquired by the scanning device is converted into the origin coordinate system of the marker point library in real time to complete the three-dimensional reconstruction of the measured object.
此外,在一个实施例中,还提供了一种三维扫描系统100。图10为本实施例提供的三维扫描系统100的结构示意图。如图10所示,三维扫描系统100,包括扫描装置12、跟踪装置14、以及控制装置16,其中,跟踪装置14可在保持原位置不变的情况下,改变跟踪装置14的跟踪视角;扫描装置12用于对被测对象进行扫描得到扫描结果,并将扫描结果发送至控制装置16;跟踪装置14用于对扫描装置12进行跟踪得到跟踪结果;控制装置16用于执行上述任一实施例提供的三维扫描方法。In addition, in one embodiment, a three-
上述三维扫描系统100,其通过调整跟踪装置的跟踪视角,扩大了跟踪装置对扫描装置进行跟踪时的工作范围,从而解决了目前三维扫描中跟踪装置的工作范围受自身跟踪范围限制的问题。The above three-
进一步地,在一个实施例中,三维扫描系统100还包括转动平台和导轨;其中:跟踪装置固定设置于转动平台上;转动平台设置于导轨上;转动平台用于带动跟踪装置发生转动,并沿导轨带动跟踪装置移动。具体地,上述转动平台可以为上述实施例中的转台。通过将转动平台设置于导轨上,还可以在改变跟踪装置的跟踪视角的同时,控制跟踪装置相对被测物体的发生位移,进而可以进一步扩大跟踪装置的工作范围。Further, in one embodiment, the three-
应该明白的是,这里描述的具体实施例只是用来解释这个应用,而不是用来对它进行限定。根据本申请提供的实施例,本领域普通技术人员在不进行创造性劳动的情况下得到的所有其它实施例,均属本申请保护范围。It should be understood that the specific embodiments described here are only used to illustrate the application, not to limit it. According to the embodiments provided in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.
显然,附图只是本申请的一些例子或实施例,对本领域的普通技术人员来说,也可以根据这些附图将本申请适用于其他类似情况,但无需付出创造性劳动。另外,可以理解的是,尽管在此开发过程中所做的工作可能是复杂和漫长的,但是,对于本领域的普通技术人员来说,根据本申请披露的技术内容进行的某些设计、制造或生产等更改仅是常规的技术手段,不应被视为本申请公开的内容不足。Apparently, the drawings are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar situations according to these drawings, but no creative work is required. In addition, it can be understood that although the work done in this development process may be complicated and lengthy, for those of ordinary skill in the art, certain designs, manufactures based on the technical content disclosed in this application Or production and other changes are only conventional technical means, and should not be regarded as insufficient in the content disclosed in this application.
“实施例”一词在本申请中指的是结合实施例描述的具体特征、结构或特性可以包括在本申请的至少一个实施例中。该短语出现在说明书中的各个位置并不一定意味着相同的实施例,也不意味着与其它实施例相互排斥而具有独立性或可供选择。本领域的普通技术人员能够清楚或隐含地理解的是,本申请中描述的实施例在没有冲突的情况下,可以与其它实施例结合。The term "an embodiment" in this application means that a specific feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply mutual exclusion or independence or alternatives to other embodiments. Those of ordinary skill in the art can clearly or implicitly understand that the embodiments described in this application can be combined with other embodiments without conflict.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对专利保护范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the protection scope of the patent. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be determined by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210991704.4A CN115451862A (en) | 2022-08-16 | 2022-08-16 | Three-dimensional scanning method and three-dimensional scanning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210991704.4A CN115451862A (en) | 2022-08-16 | 2022-08-16 | Three-dimensional scanning method and three-dimensional scanning system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115451862A true CN115451862A (en) | 2022-12-09 |
Family
ID=84299335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210991704.4A Pending CN115451862A (en) | 2022-08-16 | 2022-08-16 | Three-dimensional scanning method and three-dimensional scanning system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115451862A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116136396A (en) * | 2023-04-17 | 2023-05-19 | 思看科技(杭州)股份有限公司 | Three-dimensional scanning method based on tracking scanning system and tracking scanning system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112964196A (en) * | 2021-02-05 | 2021-06-15 | 杭州思锐迪科技有限公司 | Three-dimensional scanning method, system, electronic device and computer equipment |
CN113074659A (en) * | 2021-03-24 | 2021-07-06 | 杭州思看科技有限公司 | Three-dimensional scanning method, device, system, electronic device and storage medium |
CN113432561A (en) * | 2021-08-02 | 2021-09-24 | 杭州思看科技有限公司 | Data processing method and three-dimensional scanning system |
CN113670202A (en) * | 2021-08-25 | 2021-11-19 | 杭州思看科技有限公司 | Three-dimensional scanning system and three-dimensional scanning method |
-
2022
- 2022-08-16 CN CN202210991704.4A patent/CN115451862A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112964196A (en) * | 2021-02-05 | 2021-06-15 | 杭州思锐迪科技有限公司 | Three-dimensional scanning method, system, electronic device and computer equipment |
CN113074659A (en) * | 2021-03-24 | 2021-07-06 | 杭州思看科技有限公司 | Three-dimensional scanning method, device, system, electronic device and storage medium |
CN113432561A (en) * | 2021-08-02 | 2021-09-24 | 杭州思看科技有限公司 | Data processing method and three-dimensional scanning system |
CN113670202A (en) * | 2021-08-25 | 2021-11-19 | 杭州思看科技有限公司 | Three-dimensional scanning system and three-dimensional scanning method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116136396A (en) * | 2023-04-17 | 2023-05-19 | 思看科技(杭州)股份有限公司 | Three-dimensional scanning method based on tracking scanning system and tracking scanning system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4167954B2 (en) | Robot and robot moving method | |
US8223208B2 (en) | Device and method for calibrating an imaging device for generating three dimensional surface models of moving objects | |
WO2012053521A1 (en) | Optical information processing device, optical information processing method, optical information processing system, and optical information processing program | |
EP2631740A2 (en) | System for reproducing virtual objects | |
CN101504275A (en) | Hand-hold line laser three-dimensional measuring system based on spacing wireless location | |
CN110449783B (en) | Robot welding device and method for acquiring welding seam track | |
CN113124883B (en) | Off-line punctuation method based on 3D panoramic camera | |
JP4734552B2 (en) | Method and apparatus for measuring three-dimensional shape of road surface | |
CN112257536B (en) | Space and object three-dimensional information acquisition and matching equipment and method | |
CN104976968A (en) | Three-dimensional geometrical measurement method and three-dimensional geometrical measurement system based on LED tag tracking | |
JP2007120993A (en) | Object shape measuring device | |
JP2010060556A (en) | System and method for measuring curved member | |
CN115451862A (en) | Three-dimensional scanning method and three-dimensional scanning system | |
JP2008014882A (en) | 3D measuring device | |
JP4809134B2 (en) | Image processing apparatus and processing method thereof | |
CN102788573A (en) | Line structure light positioning projection image acquisition device | |
CN115682981A (en) | Three-dimensional scanning method, device and system applied to microgravity environment | |
CN111551126B (en) | Irregular pipeline inner wall mobile measurement robot and three-dimensional reconstruction method and system | |
JP2020190411A (en) | Imaging device, image processing device, image processing method, calibration method of imaging device, robot device, manufacturing method of articles using robot device, control program and recording medium | |
CN109406525A (en) | The detection system and its detection method of the apparent disease of bridge | |
CN109822575B (en) | A robot system and method for mobile processing using projected feature images | |
CN112304250B (en) | Three-dimensional matching equipment and method between moving objects | |
CN112257535B (en) | Three-dimensional matching equipment and method for avoiding object | |
WO2022078437A1 (en) | Three-dimensional processing apparatus and method between moving objects | |
CN108042173B (en) | Drilled tunnel positioning system |
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 |