[go: up one dir, main page]

CN103968829B - Three-dimensional fix method for tracing based on virtual signage thing and system - Google Patents

Three-dimensional fix method for tracing based on virtual signage thing and system Download PDF

Info

Publication number
CN103968829B
CN103968829B CN201410200222.8A CN201410200222A CN103968829B CN 103968829 B CN103968829 B CN 103968829B CN 201410200222 A CN201410200222 A CN 201410200222A CN 103968829 B CN103968829 B CN 103968829B
Authority
CN
China
Prior art keywords
thing
dimensional display
projection part
naked eye
virtual signage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410200222.8A
Other languages
Chinese (zh)
Other versions
CN103968829A (en
Inventor
廖洪恩
范真诚
王君臣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN201410200222.8A priority Critical patent/CN103968829B/en
Publication of CN103968829A publication Critical patent/CN103968829A/en
Application granted granted Critical
Publication of CN103968829B publication Critical patent/CN103968829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/10Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges for stereotaxic surgery, e.g. frame-based stereotaxis

Landscapes

  • Health & Medical Sciences (AREA)
  • Surgery (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Pathology (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明公开了基于虚拟标志物的三维空间定位追踪方法及系统,其中方法包括:选择一种裸眼三维显示装置,将投影部件固定在被定位追踪物的表面或者固定在定位器械上,其中,定位器械的末端追踪被定位追踪物;设计虚拟标志物以及其对应的裸眼三维显示图像源;对投影部件输入裸眼三维显示图像源,以在空间中显示出对应的虚拟标志物,其中,虚拟标志物与投影部件的相对位置始终保持不变;获取待摄场景的多视图视频,多视图视频中包括实际环境空间和虚拟标志物;根据多视图视频,处理得到被定位追踪物的定位信息和运动信息。本发明无需在空间中设置真实的标志物,仅需要在空间中显示出标志物的虚拟像,具有占空间小,操作灵活度大、定位精度高等优点。

The invention discloses a three-dimensional space positioning and tracking method and system based on virtual markers, wherein the method includes: selecting a naked-eye three-dimensional display device, and fixing the projection component on the surface of the tracked object or on a positioning device, wherein the positioning The end of the device tracks the tracked object; designing the virtual marker and its corresponding naked-eye three-dimensional display image source; inputting the naked-eye three-dimensional display image source to the projection component to display the corresponding virtual marker in space, wherein the virtual marker The relative position of the projected part remains unchanged; the multi-view video of the scene to be shot is obtained, and the multi-view video includes the actual environment space and virtual markers; according to the multi-view video, the positioning information and motion information of the tracked object are processed . The present invention does not need to set real landmarks in space, but only needs to display virtual images of landmarks in space, and has the advantages of small space occupation, high operational flexibility and high positioning accuracy.

Description

基于虚拟标志物的三维空间定位追踪方法及系统Three-dimensional space positioning and tracking method and system based on virtual markers

技术领域technical field

本发明涉及空间定位技术,具体涉及一种基于虚拟标志物的三维空间定位追踪方法及系统。The invention relates to space positioning technology, in particular to a virtual marker-based three-dimensional space positioning and tracking method and system.

背景技术Background technique

传统的空间定位技术主要是近红外光学定位和磁定位。以Northern Digital Inc(NDI)公司的产品POLARIS为例,其主要依据双目视觉原理,用两个贴有近红外滤光片的摄像机拍摄安装有标记反光小球的器械,获取成像图像,对图像进行处理得到器械的空间位置。环境光通过近红外滤光片后可以被抑制,因此图像上基本没有环境信息,仅能得到清晰的标记反光小球影像。电磁定位系统主要包括主机、发射器和接收器三个部分,以NDI的产品AURORA为例,发射器向空间发射磁场,接收器将所在位置的信号传递给主机,主机计算处理就能够得到接收器相对于发射器的位置和方向,从而实现器械的空间定位。这两种主要的空间定位技术产品都忽略了周围环境因素,只采集到标志点的位置信息。但是在某些情况下,除了获取器械的空间位之外,还希望能够获取手术中的环境信息。Traditional spatial positioning technologies are mainly near-infrared optical positioning and magnetic positioning. Taking POLARIS, a product of Northern Digital Inc (NDI), as an example, it mainly uses two cameras with near-infrared filters to shoot equipment equipped with marked reflective balls based on the principle of binocular vision, and obtains imaging images. The processing is performed to obtain the spatial position of the instrument. Ambient light can be suppressed after passing through the near-infrared filter, so there is basically no environmental information on the image, and only a clear image of the marked reflective ball can be obtained. The electromagnetic positioning system mainly includes three parts: the host, the transmitter and the receiver. Taking NDI’s product AURORA as an example, the transmitter emits a magnetic field into the space, and the receiver transmits the signal of the location to the host, and the host calculates and processes to get the receiver. Relative to the position and orientation of the emitter, the spatial positioning of the instrument is achieved. These two main spatial positioning technology products ignore the surrounding environmental factors and only collect the location information of the landmarks. But in some cases, in addition to obtaining the spatial position of the instrument, it is also hoped to obtain the environment information during the operation.

为获取术中环境信息和标志物空间位置,Claron Technology Inc等公司开发了一种新的光学定位系统,这种光学定位技术基于双目视觉原理,利用普通摄像机组拍摄安装有棋盘格状标记的器械所在场景,提取两幅棋盘格的角点用于器械的空间定位。这种技术相对于近红外光学定位技术能够获得除器械空间位置的环境信息,结合环境信息和器械空间位置信息后能够较好的辅助手术导航。In order to obtain the intraoperative environmental information and the spatial position of the markers, companies such as Claron Technology Inc. have developed a new optical positioning system. This optical positioning technology is based on the principle of binocular vision. In the scene where the equipment is located, the corner points of the two checkerboards are extracted for spatial positioning of the equipment. Compared with the near-infrared optical positioning technology, this technology can obtain the environmental information except the spatial position of the instrument, and can better assist surgical navigation after combining the environmental information and the spatial position information of the instrument.

目前的近红外光学定位和可见光光学定位等系统为检测出整个手术器械在空间的姿态变换,需要安装三个或三个以上能够保证空间自由度的标记反光小球或者棋盘格状标志物。因此,目前采用的定位装置在设计和安装时需要考虑保证标志物位置、自由度等,因而比较复杂,且空间体积都较大,会在一定程度上影响手术操作。尤其是在空间狭小的部位,难以使用较大的体积的定位器械。同时,有限的标志物用于定位精度会受限。In order to detect the posture transformation of the entire surgical instrument in the current near-infrared optical positioning and visible light optical positioning systems, it is necessary to install three or more marked reflective balls or checkerboard markers that can ensure the degree of freedom in space. Therefore, the positioning device currently used needs to consider ensuring the position and degree of freedom of the landmarks during design and installation, so it is relatively complicated and has a large space volume, which will affect the surgical operation to a certain extent. Especially in places where the space is narrow, it is difficult to use larger volume positioning instruments. At the same time, the limited markers used for localization accuracy will be limited.

发明内容Contents of the invention

本发明旨在至少在一定程度上解决上述技术问题之一或至少提供一种有用的商业选择。为此,本发明的目的在于提出一种具有所需空间度狭小、操作灵活度大的基于虚拟标志物的三维空间定位追踪方法及系统。The present invention aims at solving one of the above technical problems at least to a certain extent or at least providing a useful commercial choice. Therefore, the object of the present invention is to propose a virtual marker-based three-dimensional space positioning and tracking method and system with narrow required space and high operational flexibility.

为实现上述目的,根据本发明实施例的基于虚拟标志物的三维空间定位追踪方法,包括以下步骤:S1.选择一种裸眼三维显示装置,将所述裸眼三维显示装置中的投影部件固定在被定位追踪物的表面或者固定在定位器械上,其中,所述定位器械的末端追踪所述被定位追踪物;S2.设计虚拟标志物以及所述虚拟标志物对应的裸眼三维显示图像源;S3.对所述投影部件输入所述裸眼三维显示图像源,以在空间中显示出对应的虚拟标志物,其中,所述虚拟标志物与所述投影部件的相对位置始终保持不变;S4.获取待摄场景的多视图视频,所述多视图视频中包括实际环境空间和所述虚拟标志物;S5.根据所述多视图视频,处理得到所述被定位追踪物的定位信息和运动信息。In order to achieve the above object, the method for positioning and tracking in three-dimensional space based on virtual markers according to an embodiment of the present invention includes the following steps: S1. Select a naked-eye three-dimensional display device, and fix the projection component in the naked-eye three-dimensional display device on the Positioning the surface of the tracking object or fixing it on the positioning device, wherein the end of the positioning device tracks the positioned tracking object; S2. Designing a virtual marker and a naked-eye three-dimensional display image source corresponding to the virtual marker; S3. Inputting the naked-eye three-dimensional display image source to the projection component to display the corresponding virtual marker in space, wherein the relative position of the virtual marker and the projection component remains unchanged; S4. The multi-view video of the shooting scene, the multi-view video includes the actual environment space and the virtual marker; S5. According to the multi-view video, process and obtain the positioning information and motion information of the positioned tracking object.

根据上述实施例的基于虚拟标志物的三维空间定位追踪方法,相比现有技术中需要在实际空间中放置至少三个不全共线的标志物,该方法无需在空间中设置真实的标志物,而是仅需要借助裸眼三维显示装置中的投影部件在空间中显示出虚拟标志物。本发明的基于虚拟标志物的三维空间定位追踪方法具有占空间小,操作灵活度大、定位精度高等优点。According to the three-dimensional space positioning and tracking method based on virtual markers in the above embodiment, compared with the prior art that needs to place at least three markers that are not completely collinear in real space, this method does not need to set real markers in space, Instead, it is only necessary to display virtual markers in space by means of projection components in the naked-eye three-dimensional display device. The three-dimensional space positioning and tracking method based on virtual markers of the present invention has the advantages of small space occupation, high operational flexibility, and high positioning accuracy.

本发明实施例的基于虚拟标志物的三维空间定位追踪方法还可以具有如下技术特征:The three-dimensional space positioning and tracking method based on virtual markers in the embodiment of the present invention may also have the following technical features:

在本发明一个实施例中,所述步骤S2包括:S21.设计所述虚拟标志物的数目、形状、尺寸及所述虚拟标志物与所述投影部件的空间位置关系;S22.设计所述虚拟标志物对应的裸眼三维显示图像源,其中,设计所述裸眼三维显示图像源的算法与所述裸眼三维显示装置类型有关。In one embodiment of the present invention, the step S2 includes: S21. Designing the number, shape, and size of the virtual markers and the spatial positional relationship between the virtual markers and the projection component; S22. Designing the virtual The naked-eye three-dimensional display image source corresponding to the marker, wherein the algorithm for designing the naked-eye three-dimensional display image source is related to the type of the naked-eye three-dimensional display device.

在本发明一个实施例中,当被定位追踪物的表面允许固定投影部件时,所述投影部件的数目为一个,所述投影部件被固定在所述被定位追踪物的表面,所述虚拟标志物的数目为一个。In one embodiment of the present invention, when the surface of the positioned tracking object allows fixing a projection component, the number of the projection component is one, and the projection component is fixed on the surface of the positioned tracking object, and the virtual mark The number of objects is one.

在本发明一个实施例中,当被定位追踪物的表面不允许固定投影部件时,所述投影部件的数目为至少三个,至少三个所述投影部件被分别固定在同一个所述定位器械上,并且保证对应的至少三个所述虚拟标志物不全部共线。In one embodiment of the present invention, when the surface of the tracked object does not allow fixing the projection components, the number of the projection components is at least three, and the at least three projection components are respectively fixed on the same positioning device , and ensure that the corresponding at least three virtual markers are not all collinear.

在本发明一个实施例中,当裸眼三维显示装置为基于立体全像技术型时,所述投影部件为透镜阵列;当裸眼三维显示装置为基于光场技术型时,所述投影部件为透镜阵列;当裸眼三维显示装置为基于全息技术型时,所述投影部件为干涉装置。In one embodiment of the present invention, when the naked-eye three-dimensional display device is based on stereoscopic hologram technology, the projection component is a lens array; when the naked-eye three-dimensional display device is based on light field technology, the projection component is a lens array ; When the naked-eye three-dimensional display device is based on holographic technology, the projection component is an interference device.

在本发明一个实施例中,所述步骤S5包括:S51.提取所述虚拟标志物的特征点;S52.对某一时刻所述多视图视频的不同视图中的所述特征点进行匹配,得到匹配特征点对;S53.根据所述匹配特征点对进行三维空间重建,得到某一时刻的所述虚拟标志物的空间坐标值;S54.根据所述虚拟标志物与所述被定位追踪物的空间位置关系,得到某一时刻的所述被定位追踪物的空间坐标值;S55.通过比较不同时刻的所述被定位追踪物的空间坐标值,得到所述被定位追踪物的运动轨迹。In one embodiment of the present invention, the step S5 includes: S51. Extracting the feature points of the virtual marker; S52. Matching the feature points in different views of the multi-view video at a certain moment to obtain Match feature point pairs; S53. Perform three-dimensional space reconstruction according to the matching feature point pairs to obtain the spatial coordinate value of the virtual marker at a certain moment; S54. According to the relationship between the virtual marker and the positioned tracking object Spatial position relationship, obtain the spatial coordinate value of the positioned tracking object at a certain moment; S55. By comparing the spatial coordinate values of the positioned tracking object at different times, obtain the movement track of the positioned tracking object.

为实现上述目的,根据本发明实施例的基于虚拟标志物的三维空间定位追踪系统,包括以下部分:裸眼三维显示装置,所述裸眼三维显示装置中的投影部件固定在被定位追踪物的表面或者固定在定位器械上,其中,所述定位器械的末端追踪所述被定位追踪物;设计模块,所述设计模块与所述投影部件的输入端相连,用于设计虚拟标志物和所述虚拟标志物对应的裸眼三维显示图像源,其中,所述设计模块将所述裸眼三维显示图像源发送给所述投影部件以在实际环境空间中显示出所述虚拟标志物,所述虚拟标志物与所述投影部件的相对位置始终保持不变;多目视频采集模块,用于获取待摄场景的多视图视频,所述待摄场景中包括实际环境空间和所述虚拟标志物;分析处理模块,所述分析处理模块与所述多目视频采集模块相连,用于根据所述多视图视频,处理得到所述被定位追踪物的定位信息和运动信息。In order to achieve the above purpose, the three-dimensional space positioning and tracking system based on virtual markers according to the embodiment of the present invention includes the following parts: a naked-eye three-dimensional display device, and the projection component in the naked-eye three-dimensional display device is fixed on the surface of the tracked object or fixed on the positioning device, wherein the end of the positioning device tracks the positioned tracking object; a design module, which is connected to the input end of the projection component, and is used to design a virtual marker and the virtual marker A naked-eye three-dimensional display image source corresponding to an object, wherein the design module sends the naked-eye three-dimensional display image source to the projection component to display the virtual marker in the actual environment space, and the virtual marker and the The relative positions of the projection components remain unchanged; the multi-eye video acquisition module is used to obtain multi-view videos of the scene to be photographed, and the scene to be photographed includes the actual environment space and the virtual marker; the analysis and processing module, the The analysis and processing module is connected to the multi-view video acquisition module, and is used to process and obtain the positioning information and motion information of the positioned tracking object according to the multi-view video.

根据上述实施例的基于虚拟标志物的三维空间定位追踪系统,相比现有技术中需要在实际空间中放置至少三个不全共线的标志物,该系统无需在空间中设置真实的标志物,而是仅需要借助裸眼三维显示装置中的投影部件在空间中显示出虚拟标志物。本发明的基于虚拟标志物的三维空间定位追踪系统具有占空间小,操作灵活度大、定位精度高等优点。According to the three-dimensional space positioning and tracking system based on virtual markers in the above embodiment, compared with the prior art, at least three markers that are not completely collinear need to be placed in the actual space, the system does not need to set real markers in space, Instead, it is only necessary to display virtual markers in space by means of projection components in the naked-eye three-dimensional display device. The three-dimensional space positioning and tracking system based on virtual markers of the present invention has the advantages of small space occupation, high operational flexibility, and high positioning accuracy.

本发明实施例的基于虚拟标志物的三维空间定位追踪系统还可以具有如下技术特征:The three-dimensional space positioning and tracking system based on virtual markers in the embodiment of the present invention may also have the following technical features:

在本发明的一个实施例中,所述设计模块包括:第一设计模块,用于设计所述虚拟标志物的数目、形状、尺寸及所述虚拟标志物与所述投影部件的空间位置关系;第二设计模块,用于设计所述虚拟标志物对应的裸眼三维显示图像源,其中,设计所述裸眼三维显示图像源的算法与所述裸眼三维显示装置类型有关。In an embodiment of the present invention, the design module includes: a first design module, configured to design the number, shape, and size of the virtual markers and the spatial positional relationship between the virtual markers and the projection component; The second design module is configured to design a naked-eye three-dimensional display image source corresponding to the virtual marker, wherein the algorithm for designing the naked-eye three-dimensional display image source is related to the type of the naked-eye three-dimensional display device.

在本发明的一个实施例中,当被定位追踪物的表面允许固定投影部件时,所述投影部件的数目为一个,所述投影部件被固定在所述被定位追踪物的表面,所述虚拟标志物的数目为一个。In one embodiment of the present invention, when the surface of the positioned tracking object allows fixing the projection component, the number of the projection component is one, the projection component is fixed on the surface of the positioned tracking object, and the virtual The number of markers is one.

在本发明的一个实施例中,当被定位追踪物的表面不允许固定投影部件时,所述投影部件的数目为至少三个,至少三个所述投影部件被分别固定在同一个所述定位器械上,并且通过调节位置保证对应的至少三个所述虚拟标志物不全部共线。In one embodiment of the present invention, when the surface of the tracked object is not allowed to fix the projection components, the number of the projection components is at least three, and the at least three projection components are respectively fixed in the same position. on the instrument, and ensure that the corresponding at least three virtual markers are not all collinear by adjusting the position.

在本发明的一个实施例中,当裸眼三维显示装置为基于立体全像技术型时,所述投影部件为透镜阵列;当裸眼三维显示装置为基于光场技术型时,所述投影部件为透镜阵列;当裸眼三维显示装置为基于全息技术型时,所述投影部件为干涉装置。In one embodiment of the present invention, when the naked-eye three-dimensional display device is based on stereoscopic hologram technology, the projection component is a lens array; when the naked-eye three-dimensional display device is based on light field technology, the projection component is a lens array Array; when the naked-eye three-dimensional display device is based on holographic technology, the projection component is an interference device.

在本发明的一个实施例中,所述分析处理模块包括:特征点提取子模块,用于提取所述虚拟标志物中的特征点;特征点匹配子模块,所述特征点匹配子模块与所述特征点提取子模块相连,所述特征点匹配子模块用于对某一时刻所述多视图视频的不同视图中的所述特征点进行匹配,得到匹配特征点对;空间重建子模块,所述空间重建子模块与所述特征点匹配子模块相连,所述空间重建子模块用于根据所述匹配特征点对进行三维空间重建,得到某一时刻的所述虚拟标志物的空间坐标值;定位子模块,所述定位子模块与所述空间重建子模块相连,所述定位子模块用于根据所述虚拟标志物与所述被定位追踪物的空间位置关系,得到某一时刻的所述被定位追踪物的空间坐标值;追踪子模块,所述追踪子模块与所述定位子模块相连,所述追踪子模块用于通过比较不同时刻的所述被定位追踪物的空间坐标值,得到所述被定位追踪物的运动轨迹。In one embodiment of the present invention, the analysis and processing module includes: a feature point extraction submodule for extracting feature points in the virtual marker; a feature point matching submodule for matching the feature point matching submodule with the The feature point extraction submodule is connected, and the feature point matching submodule is used to match the feature points in different views of the multi-view video at a certain moment to obtain a matching feature point pair; the spatial reconstruction submodule, the The space reconstruction submodule is connected to the feature point matching submodule, and the space reconstruction submodule is used to perform three-dimensional space reconstruction according to the matching feature point pairs to obtain the space coordinate value of the virtual marker at a certain moment; a positioning sub-module, the positioning sub-module is connected to the spatial reconstruction sub-module, and the positioning sub-module is used to obtain the spatial position relationship between the virtual marker and the positioned tracking object at a certain moment The spatial coordinate value of the positioned tracking object; the tracking submodule, the tracking submodule is connected to the positioning submodule, and the tracking submodule is used to compare the spatial coordinate values of the positioned tracking object at different times to obtain The trajectory of the tracked object.

本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and comprehensible from the description of the embodiments in conjunction with the following drawings, wherein:

图1是本发明实施例的基于虚拟标志物的三维空间定位追踪方法流程图。FIG. 1 is a flowchart of a three-dimensional space positioning and tracking method based on virtual markers according to an embodiment of the present invention.

图2a和图2b是本发明实施例设计的不同形状的标志物的示例图。Figure 2a and Figure 2b are illustrations of markers of different shapes designed in the embodiment of the present invention.

图3是第一实施例的被定位追踪物的表面固定有投影部件的示意图。Fig. 3 is a schematic diagram of a projecting component fixed on the surface of the tracked object according to the first embodiment.

图4是第二实施例的被定位追踪物的表面不能固定有投影部件的示意图。Fig. 4 is a schematic diagram of a second embodiment where the surface of the tracked object cannot be fixed with projection components.

图5是本发明实施例的三维空间定位系统的结构框图。Fig. 5 is a structural block diagram of a three-dimensional spatial positioning system according to an embodiment of the present invention.

图6是本发明实施例的三维空间定位系统的示意图。Fig. 6 is a schematic diagram of a three-dimensional space positioning system according to an embodiment of the present invention.

具体实施方式detailed description

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " Orientation or position indicated by "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. The relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, therefore It should not be construed as a limitation of the present invention.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, terms such as "installation", "connection", "connection" and "fixation" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection , or integrally connected; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary, and it may be the internal communication of two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention according to specific situations.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.

如图1所示,本发明提出了一种基于虚拟标志物的三维空间定位追踪方法,可以包括以下步骤:As shown in Figure 1, the present invention proposes a three-dimensional space positioning and tracking method based on virtual markers, which may include the following steps:

步骤S1.选择一种裸眼三维显示装置,将所述裸眼三维显示装置中的投影部件固定在被定位追踪物的表面或者固定在定位器械上,其中,所述定位器械的末端追踪所述被定位追踪物。换言之,将定位器械的末端置于被追踪位置处,可用于追踪该位置。Step S1. Select a naked-eye three-dimensional display device, and fix the projection component in the naked-eye three-dimensional display device on the surface of the tracked object or on the positioning device, wherein the end of the positioning device tracks the positioned tracking object. In other words, placing the tip of the positioning instrument at the tracked location can be used to track that location.

裸眼三维显示装置是指基于光学成像原理、通过对投影部件输入裸眼三维显示图像源之后能够在空间中显示出被观察者裸眼看到具有三维立体感的像的装置。其中,该具有三维立体感的像与裸眼三维显示装置中的投影部件的相对位置关系保持不变。裸眼三维显示装置为本领域技术人员已知的技术,可以根据需要灵活选择。例如,当裸眼三维显示装置为基于立体全像技术型时,投影部件为透镜阵列。当裸眼三维显示装置为基于光场技术型时,投影部件为透镜阵列;当裸眼三维显示装置为基于全息技术型时,投影部件为干涉装置。需要说明的是,还可以选择本领域技术人员已知的其他的类型的裸眼三维显示装置,不改变本发明的原理。The naked-eye three-dimensional display device refers to a device that is based on the principle of optical imaging and can display in space the image that the observer sees with the naked eye and has a three-dimensional sense after inputting the naked-eye three-dimensional display image source to the projection component. Wherein, the relative positional relationship between the three-dimensional image and the projection component in the naked-eye three-dimensional display device remains unchanged. The naked-eye three-dimensional display device is a technology known to those skilled in the art, and can be flexibly selected according to needs. For example, when the naked-eye three-dimensional display device is based on stereoscopic hologram technology, the projection component is a lens array. When the naked-eye three-dimensional display device is based on light field technology, the projection component is a lens array; when the naked-eye three-dimensional display device is based on holographic technology, the projection component is an interference device. It should be noted that other types of naked-eye three-dimensional display devices known to those skilled in the art may also be selected without changing the principle of the present invention.

当被定位追踪物的表面允许固定投影部件时,可以直接投影部件被固定在所述被定位追踪物的表面。固定方式可以为粘接等形式,根据需要灵活选择。当被定位追踪物的表面不允许固定投影部件时,可以另外借助定位器械固定投影部件,将投影部件固定在定位器械上并且使定位器械的末端追踪被定位追踪物。需要说明的是,该定位器械应当是硬性的、在使用过程中不变形的器械,其形状不作限定,可以是定位探针等等。When the surface of the positioned tracking object allows the projection component to be fixed, the projection component may be directly fixed on the surface of the positioned tracking object. The fixing method can be in the form of bonding, etc., and can be flexibly selected according to needs. When the surface of the object to be tracked does not allow the projection component to be fixed, the projection component can be fixed by means of a positioning device, the projection component is fixed on the positioning device and the end of the positioning device is tracked to the target. It should be noted that the positioning instrument should be rigid and not deformed during use, and its shape is not limited, and it may be a positioning probe or the like.

S2.设计虚拟标志物以及所述虚拟标志物对应的裸眼三维显示图像源。S2. Design a virtual marker and a naked-eye three-dimensional display image source corresponding to the virtual marker.

具体地,步骤S2包括以下步骤:Specifically, step S2 includes the following steps:

S21.需要设计虚拟标志物的数目、形状、尺寸及虚拟标志物与投影部件的空间位置关系。虚拟标志物的形状可以灵活调整。例如图2a和图2b分别示出了平面棋盘形状、立方体棋盘型形状这两种虚拟标志物。它们的表面覆盖有棋盘纹理图案,棋盘纹理图案中包含有易于辨识的特征点。除此之外,还可以是球型形状的虚拟标志物。球型的虚拟标志物不必覆盖有图案,在后续的图像处理中可以提取球的轮廓——圆,进而计算得到圆心位置,将此圆心点作为特征点。虚拟标志物的尺寸大小根据应用场合空间大小来灵活调整。如果需要设计多个虚拟标志物,则它们的具体空间位置也可以根据应用场合的具体情况灵活调整,仅需要保证满足自由度测量的要求即可。需要强调的是,这些虚拟标志物具有一定的空间位置,因此带有三维的、立体的特征。即使该虚拟标志物本身是一个平面纹理图案或多个平面纹理图案组合,但由于我们对它赋予了一定空间位置,它也是带有三维特征的。虚拟标记物本身可以包括多个特征点,追踪多个特征点可以提高定位精度。S21. It is necessary to design the number, shape, and size of the virtual markers and the spatial position relationship between the virtual markers and the projection components. The shape of the virtual marker can be flexibly adjusted. For example, Fig. 2a and Fig. 2b respectively show two types of virtual markers, a planar checkerboard shape and a cubic checkerboard shape. Their surfaces are covered with a checkerboard texture pattern containing easily identifiable feature points. In addition, it may also be a spherical virtual marker. The spherical virtual marker does not need to be covered with a pattern. In the subsequent image processing, the outline of the ball—the circle—can be extracted, and then the position of the center of the circle can be calculated, and the center point of the circle can be used as a feature point. The size of the virtual marker can be flexibly adjusted according to the size of the application space. If multiple virtual markers need to be designed, their specific spatial positions can also be flexibly adjusted according to the specific conditions of the application, and it is only necessary to ensure that the requirements of the degree of freedom measurement are met. It should be emphasized that these virtual markers have a certain spatial position, so they have three-dimensional and three-dimensional features. Even if the virtual marker itself is a plane texture pattern or a combination of multiple plane texture patterns, it also has three-dimensional features because we have given it a certain spatial position. The virtual marker itself may include multiple feature points, and tracking multiple feature points can improve positioning accuracy.

S22.需要设计虚拟标志物对应的裸眼三维显示图像源。其中,设计裸眼三维显示图像源的算法与裸眼三维显示装置类型有关。例如,裸眼三维显示装置为基于立体全像技术型时,先编写电脑程序,利用体绘制或者面绘制的方法模拟三维空间物体中某一点发射的光线通过透镜阵列,处理得到裸眼三维显示图像源。S22. It is necessary to design a naked-eye three-dimensional display image source corresponding to the virtual marker. Wherein, the algorithm for designing the naked-eye 3D display image source is related to the type of the naked-eye 3D display device. For example, when the naked-eye three-dimensional display device is based on stereoscopic holographic technology, a computer program is written first, and the light emitted by a certain point in the three-dimensional space object is simulated through the lens array by volume rendering or surface rendering, and processed to obtain the naked-eye three-dimensional display image source.

在本发明一个实施例中,当被定位追踪物的表面允许固定投影部件时,投影部件的数目为一个,投影部件被固定在被定位追踪物的表面,虚拟标志物的数目为一个。In one embodiment of the present invention, when the surface of the tracked object allows fixing the projection component, the number of the projection component is one, the projection component is fixed on the surface of the tracked object, and the number of the virtual marker is one.

在本发明一个实施例中,当被定位追踪物的表面不允许固定投影部件时,投影部件的数目为至少三个,至少三个投影部件被分别固定在同一个定位器械上,并且保证对应的至少三个虚拟标志物不全部共线。具体地,可以在安装环节时通过调整各个投影部件的具体位置或者在设计环节时通过调整设计的内容,实现多个虚拟标志物不全部共线。In one embodiment of the present invention, when the surface of the tracked object does not allow fixing projection components, the number of projection components is at least three, and at least three projection components are respectively fixed on the same positioning device, and the corresponding At least three virtual markers are not all collinear. Specifically, the multiple virtual markers may not all be collinear by adjusting the specific positions of each projection component during the installation process or by adjusting the content of the design during the design process.

S3.对投影部件输入裸眼三维显示图像源,以在空间中显示出对应的虚拟标志物,虚拟标志物与投影部件的相对位置始终保持不变。S3. Input the naked-eye three-dimensional display image source to the projection component to display the corresponding virtual marker in space, and the relative position between the virtual marker and the projection component remains unchanged.

如图3所示,当被定位追踪物的表面允许固定投影部件时,空间中显示出唯一的一个虚拟标志物,该虚拟标记物与被定位追踪物完全同步运动。As shown in FIG. 3 , when the surface of the tracked object is allowed to fix the projection component, only one virtual marker is displayed in the space, and the virtual marker moves completely synchronously with the tracked object.

如图4所示,当被定位追踪物的表面不允许固定投影部件时,空间中显示出至少三个虚拟标志物。这些虚拟标志物的运动与被定位追踪物自身的运动有相关性但并非完全同步。As shown in FIG. 4 , when the surface of the tracked object is not allowed to fix the projection component, at least three virtual markers are displayed in the space. The movement of these virtual markers is related to but not completely synchronized with the movement of the tracked object itself.

S4.获取待摄场景的多视图视频,多视图视频中包括实际环境空间和虚拟标志物。其中,多视图的含义是指至少两路视图。S4. Obtain a multi-view video of the scene to be photographed, where the multi-view video includes actual environment space and virtual markers. Wherein, the meaning of multi-view refers to at least two views.

具体地,可以采用多目摄像机等设备获取待摄场景的多视图视频,待摄场景中包括实际环境空间和至少三个标志物的虚拟像。技术人员还可以灵活选择其他装置获取多视图视频,不改变本发明的原理。Specifically, equipment such as a multi-eye camera may be used to obtain multi-view videos of the scene to be shot, and the scene to be shot includes virtual images of the actual environment space and at least three landmarks. Technicians can also flexibly select other devices to acquire multi-view video, without changing the principle of the present invention.

S5.根据多视图视频,处理得到被定位追踪物的定位信息和运动信息。步骤S5具体包括以下步骤:S5. According to the multi-view video, process and obtain the positioning information and motion information of the tracked object. Step S5 specifically includes the following steps:

S51.提取虚拟标志物的特征点。S51. Extract feature points of the virtual marker.

例如以平面棋盘格形式的虚拟标志物为例,可以选用角点提取算法提取特征点。角点提取算法可以为Harris算子等方法。For example, taking a virtual marker in the form of a planar checkerboard as an example, a corner point extraction algorithm can be used to extract feature points. The corner extraction algorithm may be a method such as Harris operator.

S52.对某一时刻多视图视频的不同视图中的特征点进行匹配,得到匹配特征点对。此步骤为本领域技术人员的已知知识,本文不赘述。S52. Match feature points in different views of the multi-view video at a certain moment to obtain matching feature point pairs. This step is known to those skilled in the art, and will not be described in detail herein.

S53.根据匹配特征点对进行三维空间重建,得到某一时刻的虚拟标志物的空间坐标值。此步骤为本领域技术人员的已知知识,本文不赘述。S53. Perform three-dimensional space reconstruction according to the matching feature point pairs to obtain the space coordinate value of the virtual marker at a certain moment. This step is known to those skilled in the art, and will not be described in detail herein.

S54.根据虚拟标志物与被定位追踪物的空间位置关系,得到某一时刻的被定位追踪物的空间坐标值。S54. Obtain the spatial coordinate value of the positioned tracking object at a certain moment according to the spatial position relationship between the virtual marker and the positioned tracking object.

当被定位追踪物的表面允许固定投影部件时,可以根据唯一的虚拟标志物的坐标,结合虚拟标志物与投影部件的位置关系,推定出投影部件的坐标。而投影部件与被定位追踪物贴在一起,因此也就得到了被定位追踪物的坐标。When the surface of the tracked object allows the projection component to be fixed, the coordinates of the projection component can be estimated based on the coordinates of the unique virtual marker and in combination with the positional relationship between the virtual marker and the projection component. The projection component is attached to the tracked object, so the coordinates of the tracked object are obtained.

当被定位追踪物的表面不允许固定投影部件时,空间中显示出至少三个虚拟标志物。由于投影部件固定在定位器械上,也就是说投影部件与定位器械末端的距离已知且始终不变,从而虚拟标志物与定位器械的末端的距离是已知的并且始终不变的。所以在某一时刻已知至少三个不共线的虚拟标志物的坐标后,结合这些虚拟标志物到定位器械的末端的距离数据,可以得到定位器械的末端的坐标。而定位器械的末端追踪被定位追踪物,因此也就得到了被定位追踪物的坐标。At least three virtual markers are displayed in space when the surface of the tracked object does not allow for fixing the projection component. Since the projection component is fixed on the positioning instrument, that is to say, the distance between the projection component and the end of the positioning instrument is known and always constant, so the distance between the virtual marker and the end of the positioning instrument is known and always constant. Therefore, after the coordinates of at least three non-collinear virtual markers are known at a certain moment, the coordinates of the end of the positioning device can be obtained by combining the distance data from these virtual markers to the end of the positioning device. The end of the positioning device tracks the object to be positioned, so the coordinates of the object to be positioned are obtained.

S55.通过比较不同时刻的被定位追踪物的空间坐标值,得到被定位追踪物的运动轨迹。此步骤为本领域技术人员的已知知识,本文不赘述。S55. By comparing the spatial coordinate values of the tracked object at different times, the trajectory of the tracked object is obtained. This step is known to those skilled in the art, and will not be described in detail herein.

根据上述实施例的基于虚拟标志物的三维空间定位追踪方法,相比现有技术中需要在实际空间中放置至少三个不全共线的标志物,该方法无需在空间中设置真实的标志物,而是仅需要借助裸眼三维显示装置中的投影部件在空间中显示出虚拟标志物。本发明的基于虚拟标志物的三维空间定位追踪方法具有占空间小,操作灵活度大、定位精度高等优点。According to the three-dimensional space positioning and tracking method based on virtual markers in the above embodiment, compared with the prior art that needs to place at least three markers that are not completely collinear in real space, this method does not need to set real markers in space, Instead, it is only necessary to display virtual markers in space by means of projection components in the naked-eye three-dimensional display device. The three-dimensional space positioning and tracking method based on virtual markers of the present invention has the advantages of small space occupation, high operational flexibility, and high positioning accuracy.

图5是本发明实施例的三维空间定位系统的结构框图,图6是本发明实施例的三维空间定位系统的示意图。如图5和图6所示,本发明提出了一种基于虚拟标志物的三维空间定位追踪系统,可以包括以下步骤:裸眼三维显示装置100、设计模块200、多目视频采集模块300和分析处理模块400。其中:FIG. 5 is a structural block diagram of a three-dimensional space positioning system according to an embodiment of the present invention, and FIG. 6 is a schematic diagram of the three-dimensional space positioning system according to an embodiment of the present invention. As shown in Figures 5 and 6, the present invention proposes a three-dimensional space positioning and tracking system based on virtual markers, which may include the following steps: a naked-eye three-dimensional display device 100, a design module 200, a multi-eye video acquisition module 300, and analysis and processing Module 400. in:

裸眼三维显示装置100中的投影部件101固定在被定位追踪物的表面或者固定在定位器械上,其中,定位器械的末端追踪被定位追踪物。裸眼三维显示装置100的类型可以根据需要灵活选择。当裸眼三维显示装置100为基于立体全像技术型时,投影部件101为透镜阵列;当裸眼三维显示装置100为基于光场技术型时,投影部件101为透镜阵列;当裸眼三维显示装置100为基于全息技术型时,投影部件101为干涉装置。需要说明的是,还可以选择本领域技术人员已知的其他的类型的裸眼三维显示装置,不改变本发明的原理。The projection component 101 in the naked-eye three-dimensional display device 100 is fixed on the surface of the object to be tracked or fixed on a positioning instrument, wherein the end of the positioning instrument tracks the object to be tracked. The type of the naked-eye three-dimensional display device 100 can be flexibly selected according to needs. When the naked-eye three-dimensional display device 100 is based on stereoholographic technology, the projection component 101 is a lens array; when the naked-eye three-dimensional display device 100 is based on light field technology, the projection component 101 is a lens array; when the naked-eye three-dimensional display device 100 is In the case of a holographic-based type, the projection component 101 is an interference device. It should be noted that other types of naked-eye three-dimensional display devices known to those skilled in the art may also be selected without changing the principle of the present invention.

设计模块200用于设计虚拟标志物和虚拟标志物对应的裸眼三维显示图像源。设计模块200与裸眼三维显示装置100中的投影部件101的输入端相连。设计模块将裸眼三维显示图像源发送给投影部件101以在实际环境空间中显示出虚拟标志物。其中,虚拟标志物与投影部件101的相对位置始终保持不变。The design module 200 is used to design a virtual marker and a naked-eye three-dimensional display image source corresponding to the virtual marker. The design module 200 is connected to the input end of the projection component 101 in the naked-eye three-dimensional display device 100 . The design module sends the naked-eye three-dimensional display image source to the projection component 101 to display the virtual marker in the actual environment space. Wherein, the relative position between the virtual marker and the projection component 101 remains unchanged all the time.

在本发明的一个实施例中,设计模块200中具体包括:第一设计模块,用于设计虚拟标志物的数目、形状、尺寸及虚拟标志物与投影部件101的空间位置关系;以及第二设计模块,用于设计虚拟标志物对应的裸眼三维显示图像源,其中,设计裸眼三维显示图像源的算法与裸眼三维显示装置类型有关。In one embodiment of the present invention, the design module 200 specifically includes: a first design module, which is used to design the number, shape, size and spatial position relationship between the virtual markers and the projection component 101; and the second design module A module for designing a naked-eye three-dimensional display image source corresponding to the virtual marker, wherein the algorithm for designing the naked-eye three-dimensional display image source is related to the type of naked-eye three-dimensional display device.

在本发明的一个实施例中,当被定位追踪物的表面允许固定投影部件101时,投影部件101的数目为一个,投影部件101被固定在被定位追踪物的表面,虚拟标志物的数目为一个。In one embodiment of the present invention, when the surface of the tracked object to be positioned allows fixing the projection component 101, the number of the projection component 101 is one, the projection component 101 is fixed on the surface of the tracked object to be positioned, and the number of virtual markers is One.

在本发明的一个实施例中,当被定位追踪物的表面不允许固定投影部件101时,投影部件101的数目为至少三个,至少三个投影部件101被分别固定在同一个定位器械上,并且通过调节位置保证对应的至少三个虚拟标志物不全部共线。In one embodiment of the present invention, when the surface of the tracked object to be positioned does not allow fixing the projection components 101, the number of projection components 101 is at least three, and at least three projection components 101 are respectively fixed on the same positioning device, And by adjusting the positions, it is ensured that the corresponding at least three virtual markers are not all collinear.

多目视频采集模块300用于获取待摄场景的多视图视频,待摄场景中包括实际环境空间和虚拟标志物。其中,多目的含义是指至少两目。The multi-view video acquisition module 300 is used to acquire multi-view video of the scene to be photographed, which includes the actual environment space and virtual markers. Wherein, multi-purpose means at least two eyes.

分析处理模块400与多目视频采集模块300相连,用于根据多视图视频,处理得到被定位追踪物的定位信息和运动信息。The analysis and processing module 400 is connected to the multi-view video acquisition module 300, and is used to process and obtain the positioning information and motion information of the tracked object according to the multi-view video.

在本发明的一个实施例中,分析处理模块400具体包括:特征点提取子模块,用于提取虚拟标志物中的特征点;特征点匹配子模块,特征点匹配子模块与特征点提取子模块相连,特征点匹配子模块用于对某一时刻多视图视频的不同视图中的特征点进行匹配,得到匹配特征点对;空间重建子模块,空间重建子模块与特征点匹配子模块相连,空间重建子模块用于根据匹配特征点对进行三维空间重建,得到某一时刻的虚拟标志物的空间坐标值;定位子模块,定位子模块与空间重建子模块相连,定位子模块用于根据虚拟标志物与被定位追踪物的空间位置关系,得到某一时刻的被定位追踪物的空间坐标值;追踪子模块,追踪子模块与定位子模块相连,追踪子模块用于通过比较不同时刻的被定位追踪物的空间坐标值,得到被定位追踪物的运动轨迹。In one embodiment of the present invention, the analysis and processing module 400 specifically includes: a feature point extraction submodule for extracting feature points in virtual markers; a feature point matching submodule, a feature point matching submodule and a feature point extraction submodule Connected, the feature point matching sub-module is used to match the feature points in different views of the multi-view video at a certain moment to obtain matching feature point pairs; the space reconstruction sub-module, the space reconstruction sub-module is connected with the feature point matching sub-module, the space The reconstruction sub-module is used to reconstruct the three-dimensional space according to the matching feature point pairs to obtain the spatial coordinate value of the virtual marker at a certain moment; the positioning sub-module is connected to the spatial reconstruction sub-module, and the positioning sub-module is used to The spatial position relationship between the object and the tracked object is obtained, and the spatial coordinate value of the tracked object at a certain moment is obtained; the tracking sub-module is connected with the positioning sub-module, and the tracking sub-module is used to compare the positioning at different times The space coordinate value of the tracked object is used to obtain the trajectory of the tracked object.

根据上述实施例的基于虚拟标志物的三维空间定位追踪系统,相比现有技术中需要在实际空间中放置至少三个不全共线的标志物,该系统无需在空间中设置真实的标志物,而是仅需要借助裸眼三维显示装置中的投影部件在空间中显示出虚拟标志物。本发明的基于虚拟标志物的三维空间定位追踪系统具有占空间小,操作灵活度大、定位精度高等优点。According to the three-dimensional space positioning and tracking system based on virtual markers in the above embodiment, compared with the prior art, at least three markers that are not completely collinear need to be placed in the actual space, the system does not need to set real markers in space, Instead, it is only necessary to display virtual markers in space by means of projection components in the naked-eye three-dimensional display device. The three-dimensional space positioning and tracking system based on virtual markers of the present invention has the advantages of small space occupation, high operational flexibility, and high positioning accuracy.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在不脱离本发明的原理和宗旨的情况下在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be construed as limitations to the present invention. Variations, modifications, substitutions, and modifications to the above-described embodiments are possible within the scope of the present invention.

Claims (12)

1. a three-dimensional fix method for tracing based on virtual signage thing, it is characterised in that comprise the following steps:
S1. select a kind of naked eye three-dimensional display device, the projection part in described naked eye three-dimensional display device is fixed on and is positioned Follow the trail of the surface of thing or be fixed on locating apparatus, wherein, described in the end tracking of described locating apparatus, being positioned tracking thing;
S2. design virtual signage thing and described virtual signage thing corresponding naked eye three-dimensional display image source;
S3. described projection part is inputted described naked eye three-dimensional display image source, to demonstrate the virtual signage of correspondence in space Thing, wherein, described virtual signage thing remains constant with the relative position of described projection part;
S4. obtaining the multi-view video of scene to be taken the photograph, described multi-view video includes actual environment space and described virtual signage Thing;And
S5. according to described multi-view video, process and described in obtaining, be positioned location information and the movable information following the trail of thing.
2. three-dimensional fix method for tracing as claimed in claim 1, it is characterised in that described step S2 includes:
S21. the space of the number of described virtual signage thing, shape, size and described virtual signage thing and described projection part is designed Position relationship;And
S22. design the naked eye three-dimensional display image source that described virtual signage thing is corresponding, wherein, design described naked eye three-dimensional display figure The algorithm of image source is relevant with described naked eye three-dimensional display device type.
3. method as claimed in claim 2, it is characterised in that allow fixing projection part when being positioned the surface following the trail of thing Time, the number of described projection part is one, described projection part be fixed on described in be positioned follow the trail of thing surface, described void The number intending mark is one.
4. method as claimed in claim 2, it is characterised in that do not allow fixing Projection Division when being positioned the surface following the trail of thing During part, the number of described projection part is at least three, and projection part described at least three is separately fixed at same described fixed On the apparatus of position, and ensure the whole conllinear of virtual signage thing described in corresponding at least three.
5. the method for claim 1, it is characterised in that
When naked eye three-dimensional display device is based on 3 D full-figure technique type, described projection part is lens arra;
When naked eye three-dimensional display device be based on light field poly-talented time, described projection part is lens arra;
When naked eye three-dimensional display device is based on holographic technique type, described projection part is interference device.
6. the method for claim 1, it is characterised in that described step S5 includes:
S51. the characteristic point of described virtual signage thing is extracted;
S52. the described characteristic point in the different views of multi-view video described in a certain moment is mated, obtain matching characteristic point Right;
S53. according to described matching characteristic point to carrying out three dimensions reconstruction, the space of the described virtual signage thing in a certain moment is obtained Coordinate figure;
S54. according to described virtual signage thing and the described spatial relation being positioned tracking thing, the described quilt in a certain moment is obtained The spatial value of location tracking thing;And
S55. by being positioned the spatial value following the trail of thing described in comparing the most in the same time, obtain described in be positioned the fortune following the trail of thing Dynamic track.
7. a three-dimensional fix tracing system based on virtual signage thing, it is characterised in that include with lower part:
Naked eye three-dimensional display device, the projection part in described naked eye three-dimensional display device be fixed on be positioned follow the trail of thing surface or Person is fixed on locating apparatus, wherein, is positioned tracking thing described in the end tracking of described locating apparatus;
Design module, described design module is connected with the input of described projection part, is used for designing virtual signage thing and described void Intending the naked eye three-dimensional display image source that mark is corresponding, wherein, described naked eye three-dimensional display image source is sent by described design module To described projection part to demonstrate described virtual signage thing in actual environment space, described virtual signage thing and described Projection Division The relative position of part remains constant;
Many mesh video acquisition module, for obtaining the multi-view video of scene to be taken the photograph, described in scene to be taken the photograph include that actual environment is empty Between and described virtual signage thing;And
Analysis and processing module, described analysis and processing module is connected with described many mesh video acquisition module, for according to described multi views Video, processes and is positioned location information and the movable information following the trail of thing described in obtaining.
8. system as claimed in claim 7, it is characterised in that described design module includes:
First design module, for designing the number of described virtual signage thing, shape, size and described virtual signage thing with described The spatial relation of projection part;And
Second design module, for designing the naked eye three-dimensional display image source that described virtual signage thing is corresponding, wherein, design is described The algorithm of naked eye three-dimensional display image source is relevant with described naked eye three-dimensional display device type.
9. system as claimed in claim 8, it is characterised in that allow fixing projection part when being positioned the surface following the trail of thing Time, the number of described projection part is one, described projection part be fixed on described in be positioned follow the trail of thing surface, described void The number intending mark is one.
10. system as claimed in claim 8, it is characterised in that do not allow fixing Projection Division when being positioned the surface following the trail of thing During part, the number of described projection part is at least three, and projection part described at least three is separately fixed at same described fixed On the apparatus of position, and ensure the inwhole conllinear of virtual signage thing described in corresponding at least three by adjusting position.
11. systems as claimed in claim 7, it is characterised in that
When naked eye three-dimensional display device is based on 3 D full-figure technique type, described projection part is lens arra;
When naked eye three-dimensional display device be based on light field poly-talented time, described projection part is lens arra;
When naked eye three-dimensional display device is based on holographic technique type, described projection part is interference device.
12. systems as claimed in claim 7, it is characterised in that described analysis and processing module includes:
Feature point extraction submodule, for extracting the characteristic point in described virtual signage thing;
Feature Points Matching submodule, described Feature Points Matching submodule is connected with described feature point extraction submodule, described characteristic point Matched sub-block, for mating the described characteristic point in the different views of multi-view video described in a certain moment, is mated Feature point pairs;
Space reconstruction submodule, described space reconstruction submodule is connected with described Feature Points Matching submodule, described space reconstruction Module is used for according to described matching characteristic point carrying out three dimensions reconstruction, obtains the space of the described virtual signage thing in a certain moment Coordinate figure;
Locator module, described locator module is connected with described space reconstruction submodule, and described locator module is for according to institute State virtual signage thing and the described spatial relation being positioned tracking thing, obtain described in a certain moment, being positioned the sky following the trail of thing Between coordinate figure;And
Following the trail of submodule, described tracking submodule is connected with described locator module, and described tracking submodule is for by ratio less Be positioned described in the same time follow the trail of thing spatial value, obtain described in be positioned follow the trail of thing movement locus.
CN201410200222.8A 2014-05-13 2014-05-13 Three-dimensional fix method for tracing based on virtual signage thing and system Active CN103968829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410200222.8A CN103968829B (en) 2014-05-13 2014-05-13 Three-dimensional fix method for tracing based on virtual signage thing and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410200222.8A CN103968829B (en) 2014-05-13 2014-05-13 Three-dimensional fix method for tracing based on virtual signage thing and system

Publications (2)

Publication Number Publication Date
CN103968829A CN103968829A (en) 2014-08-06
CN103968829B true CN103968829B (en) 2016-12-07

Family

ID=51238622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410200222.8A Active CN103968829B (en) 2014-05-13 2014-05-13 Three-dimensional fix method for tracing based on virtual signage thing and system

Country Status (1)

Country Link
CN (1) CN103968829B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104280886A (en) * 2014-09-25 2015-01-14 清华大学 Microscopic system and microscopic method based on in-situ three-dimensional enhanced display
CN107595388B (en) * 2017-08-01 2020-02-18 华南理工大学 A near-infrared binocular vision stereo matching method based on reflective ball marking points
CN110097638B (en) * 2018-01-31 2023-04-28 深圳市掌网科技股份有限公司 Virtual object rendering method and device based on hybrid tracker
CN115068835B (en) * 2021-03-15 2024-03-08 湖南华创医疗科技有限公司 Positioning device for radiotherapy equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060021001A (en) * 2004-09-02 2006-03-07 (주)제니텀 엔터테인먼트 컴퓨팅 Marker-less Augmented Reality and Complex Reality Application System Using Object Recognition and Its Method
CN1771517A (en) * 2003-03-12 2006-05-10 西门子共同研究公司 System and method for performing a virtual endoscopy
CN201389080Y (en) * 2009-02-25 2010-01-27 清华大学 Universal Calibration Module for Surgical Navigation Instruments
CN102235869A (en) * 2010-04-12 2011-11-09 罗伯特·博世有限公司 Method and information system for marking a destination of a motor vehicle
WO2013171441A2 (en) * 2012-05-18 2013-11-21 King's College London Virtual fiducial markers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1771517A (en) * 2003-03-12 2006-05-10 西门子共同研究公司 System and method for performing a virtual endoscopy
KR20060021001A (en) * 2004-09-02 2006-03-07 (주)제니텀 엔터테인먼트 컴퓨팅 Marker-less Augmented Reality and Complex Reality Application System Using Object Recognition and Its Method
CN201389080Y (en) * 2009-02-25 2010-01-27 清华大学 Universal Calibration Module for Surgical Navigation Instruments
CN102235869A (en) * 2010-04-12 2011-11-09 罗伯特·博世有限公司 Method and information system for marking a destination of a motor vehicle
WO2013171441A2 (en) * 2012-05-18 2013-11-21 King's College London Virtual fiducial markers

Also Published As

Publication number Publication date
CN103968829A (en) 2014-08-06

Similar Documents

Publication Publication Date Title
US11354810B2 (en) Methods and systems for imaging a scene, such as a medical scene, and tracking objects within the scene
US11928838B2 (en) Calibration system and method to align a 3D virtual scene and a 3D real world for a stereoscopic head-mounted display
US9117269B2 (en) Method for recognizing objects in a set of images recorded by one or more cameras
Ren et al. Marker-based surgical instrument tracking using dual kinect sensors
CN104933718B (en) A physical coordinate positioning method based on binocular vision
US9547802B2 (en) System and method for image composition thereof
JP7218435B2 (en) CALIBRATION DEVICE, CALIBRATION CHART AND CALIBRATION METHOD
CN109238235B (en) Method for realizing rigid body pose parameter continuity measurement by monocular sequence image
CN113532329A (en) Calibration method using projection light spot as calibration point
US12243162B2 (en) Methods and systems for augmenting depth data from a depth sensor, such as with data from a multiview camera system
CN111445529B (en) Calibration equipment and method based on multi-laser ranging
US20110187827A1 (en) Method and apparatus for creating a stereoscopic image
CN111009030A (en) A multi-view high-resolution texture image and binocular 3D point cloud mapping method
CN103968829B (en) Three-dimensional fix method for tracing based on virtual signage thing and system
JP7204021B2 (en) Apparatus and method for obtaining a registration error map representing image sharpness level
KR20190063153A (en) System and method for simultaneous reconsttuction of initial 3d trajectory and velocity using single camera images
Pollok et al. A visual SLAM-based approach for calibration of distributed camera networks
JP2019219929A (en) Constant calibration system and method thereof
Jin et al. Stagear: Markerless mobile phone localization for ar in live events
Ahmadabadian Photogrammetric multi-view stereo and imaging network design
Goral Sparse 3D reconstruction on a mobile phone with stereo camera for close-range optical tracking
Zeller et al. Applying a Traditional Calibration Method to a Focused Plenoptic Camera
CN116385537A (en) Positioning method and device for augmented reality
de Faria et al. Use of Computer Vision and Motion Capture Technology to Determine Position of Soccer Robots
Nikolova Experimental studies on the acquisition of 3D information using 2D images captured by a moving digital still camera

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