A mixed reality system and a marker registration method based on mixed reality

By installing tracers on mixed reality equipment and markers, and using the positioning device to determine the spatial attitude relationship, a virtual calibration marker model is constructed for calibration, which solves the problem of position offset and reduced registration accuracy of the virtual model, and achieves a better High registration accuracy and larger operating range.

CN114366330BActive Publication Date: 2024-09-24BEIJING GREAT ROBOTICS TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210037644.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-13
Publication Date
2024-09-24
Estimated Expiration
2042-01-13

AI Technical Summary

Technical Problem

When existing mixed reality technology generates a virtual model, the rotation or movement of the device causes the position of the virtual model to shift, and the registration accuracy decreases when the device is far away from the marker, and differences in wearing postures affect the registration accuracy.

Method used

The tracer is fixed on the mixed reality equipment and markers, and the light emitted or reflected by the tracer is collected through the positioning device, the spatial attitude relationship between each tracer is determined, and a virtual calibration marker model is constructed for calibration to ensure the mixing The spatial attitude relationship between the real device and the tracer is accurate, and then the virtual model corresponding to the marker is displayed and registered in the actual environment image.

Benefits of technology

It improves the registration accuracy between the virtual model and the marker, increases the movable range of the operator, avoids visual deviations caused by wearing posture, and ensures the precise alignment of the virtual model and the marker.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114366330B
    Figure CN114366330B
Patent Text Reader

Abstract

The present specification discloses a mixed reality system and a mixed reality-based marker registration method, the mixed reality system comprising: a mixed reality device, a tracer, and a positioning device, wherein the tracer is fixed on the mixed reality device and the marker, and is used to emit or reflect light to the positioning device, the positioning device is used to collect the light emitted or reflected by the tracer, and determine the spatial posture relationship between the tracer set on the mixed reality device and the tracer set on the marker, the mixed reality device is used to display a virtual model corresponding to the marker in the collected actual environment image, and to align the virtual model with the marker in the actual environment image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of mixed reality technology, and in particular to a mixed reality system and a marker registration method based on mixed reality. Background Art

[0002] With the development of computer vision, graphics processing, display technology, input systems and cloud computing, mixed reality technology has been applied in many fields. Mixed reality is the result of integrating the physical world with the digital world. In a mixed reality environment, digital objects in the virtual space can coexist with physical entities in the real world and can interact with them through sound, sight and action. Superimposing virtual models with real objects is one of the common uses of mixed reality technology. There are a wide range of application cases in the industrial and medical fields. For example, during surgery, the internal structure of the patient's body is superimposed on the human body through a combination of virtual and real, assisting doctors in performing treatment.

[0003] At present, in the process of generating virtual models through mixed reality technology, it is usually necessary to combine inertial measurement units and depth cameras to realize the recognition of the environment and the perception of one's own posture, and actively track the image features through camera recognition, and then align the markers with the generated virtual models. However, as the mixed reality device itself rotates or moves, the position of the generated virtual model often shifts, and once the mixed reality device is far away from the marker, the generated virtual model will lose its alignment accuracy. In addition, every time the operator wears the mixed reality device, there will inevitably be more or less differences between the operator's eyes and the device, which will also affect the alignment accuracy of the generated virtual model and the marker.

[0004] Therefore, how to improve the registration accuracy between the virtual model generated by the mixed reality device and the real object and increase the registration range is an urgent problem to be solved. Summary of the invention

[0005] This specification provides a mixed reality system and a mixed reality-based marker registration method to partially solve the above-mentioned problems existing in the prior art.

[0006] This manual adopts the following technical solutions:

[0007] This specification provides a mixed reality system, including: a mixed reality device, a tracer, and a positioning device, wherein the tracer is fixed to the mixed reality device and a marker, and is used to emit or reflect light to the positioning device;

[0008] The positioning device is used to collect the light emitted or reflected by the tracer, and determine the spatial posture relationship between the tracer arranged on the mixed reality device and the tracer arranged on the marker as the first spatial posture relationship;

[0009] The mixed reality device is used to determine the spatial posture relationship between the marker and the tracer set on the mixed reality device as the second spatial posture relationship based on the first spatial posture relationship and the spatial posture relationship between the tracer set on the marker and the marker; determine the spatial posture relationship between the mixed reality device and the marker as the third spatial posture relationship based on the second spatial posture relationship and the spatial posture relationship between the pre-calibrated tracer set on the mixed reality device and the mixed reality device; and based on the third spatial posture relationship, display a virtual model corresponding to the marker in the collected actual environment image, and align the virtual model with the marker in the actual environment image.

[0010] Optionally, the tracer is provided with a positioning light source mark, and all the positioning light source marks on the tracer are fixed in the same plane and are used to emit or reflect light to the positioning device.

[0011] Optionally, the positioning device is fixed at a specified position by a bracket, or

[0012] The mixed reality device and the marker are fixed at a designated position above the mixed reality device and the marker by means of hoisting.

[0013] Optionally, the positioning device is connected to the mixed reality device;

[0014] The positioning device is used to collect the light emitted or reflected by the positioning light source marker on each tracer, and each tracer includes a tracer set on the mixed reality device and a tracer set on the marker. According to the light emitted or reflected by the positioning light source marker on each tracer, the spatial posture relationship between the tracers is determined as the first spatial posture relationship, and the first spatial posture relationship is sent to the mixed reality device.

[0015] Optionally, the mixed reality system comprises: a calibration marker, wherein the calibration marker is provided with a designated feature point;

[0016] The mixed reality device calibrates the spatial posture relationship between the tracer on the mixed reality device and the mixed reality device by constructing a virtual calibration marker model having the same designated feature points as the calibration marker.

[0017] Optionally, the virtual calibration marker model is displayed in the collected actual environment image through the mixed reality device, and the spatial posture of the virtual calibration marker model is adjusted in the actual environment image so that the image of the specified feature point of the calibration marker in the actual environment image coincides with the image of the specified feature point contained in the virtual calibration marker model, thereby obtaining a calibrated virtual marker model;

[0018] According to the spatial posture of the calibrated virtual marker model in the mixed reality device, the spatial posture relationship between the tracer on the mixed reality device and the mixed reality device is calibrated.

[0019] Optionally, the mixed reality device controls the position and orientation of the virtual calibration marker model in the actual environment image through the recognized gesture action, so that the image of the specified feature point of the calibration marker in the actual environment image coincides with the image of the specified feature point contained in the virtual calibration marker model, or

[0020] Through the received voice information, the position and direction of the virtual calibration marker model in the actual environment image are controlled so that the image of the designated feature points of the calibration marker in the actual environment image coincides with the image of the designated feature points contained in the virtual calibration marker model.

[0021] Optionally, a tracer is provided on the calibration marker;

[0022] The positioning device determines the spatial posture relationship between the tracer on the calibration marker and the tracer on the mixed reality device, determines the spatial posture relationship between the calibration marker and the tracer on the mixed reality device based on the spatial posture relationship between the tracer on the calibration marker and the calibration marker, and the spatial posture relationship between the tracer on the calibration marker and the mixed reality device, and calibrates the spatial posture relationship between the tracer set on the mixed reality device and the mixed reality device based on the spatial posture relationship between the calibration marker and the tracer on the mixed reality device, and the spatial posture relationship between the calibration marker and the mixed reality device.

[0023] Optionally, the marker also includes: at least one of the patient's diseased part and surgical equipment.

[0024] This specification provides a mixed reality-based marker registration method, including:

[0025] The mixed reality system comprises: a mixed reality device, a tracer, and a positioning device, wherein the tracer is fixed to the mixed reality device and the marker and is used to emit or reflect light to the positioning device, and the method comprises:

[0026] According to the acquired first spatial posture relationship and the spatial posture relationship between the tracer disposed on the marker and the marker, determine the spatial posture relationship between the marker and the tracer disposed on the mixed reality device as the second spatial posture relationship, wherein the first spatial posture relationship is the spatial posture relationship between the tracer disposed on the mixed reality device and the tracer disposed on the marker determined by the positioning device based on the light emitted or reflected by the tracer;

[0027] Determine, according to the second spatial posture relationship and a pre-calibrated spatial posture relationship between a tracer disposed on the mixed reality device and the mixed reality device, a spatial posture relationship between the mixed reality device and the marker as a third spatial posture relationship;

[0028] According to the third spatial posture relationship, a virtual model corresponding to the marker is displayed in the collected actual environment image, and the virtual model and the marker are aligned in the actual environment image.

[0029] Optionally, calibrating a spatial posture relationship between a tracer disposed on the mixed reality device and the mixed reality device specifically includes:

[0030] By constructing a virtual calibration marker model in the mixed reality device that has the same designated feature points as the calibration marker, the spatial posture relationship between the tracer on the mixed reality device and the mixed reality device is calibrated.

[0031] Optionally, calibrating the spatial posture relationship between the tracer on the mixed reality device and the mixed reality device by constructing a virtual calibration marker model having the same designated feature points as the calibration marker in the mixed reality device specifically includes:

[0032] By means of the mixed reality device, the virtual calibration marker model is displayed in the collected actual environment image;

[0033] In the actual environment image, adjusting the spatial posture of the virtual calibration marker model so that the image of the designated feature points of the calibration marker in the actual environment image coincides with the image of the designated feature points included in the virtual calibration marker model, thereby obtaining a calibrated virtual marker model;

[0034] According to the spatial posture of the calibrated virtual marker model in the mixed reality device, the spatial posture relationship between the tracer on the mixed reality device and the mixed reality device is calibrated.

[0035] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0036] In the mixed reality system provided in the present specification, the mixed reality device completes the calibration of the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device by constructing a virtual calibration marker model with the same feature points as the calibration marker, and displays the virtual model corresponding to the marker in the collected actual environment image based on the spatial posture relationship between the tracers obtained by the positioning device, and aligns the virtual model with the marker.

[0037] It can be seen from the above method that before displaying the virtual model corresponding to the marker in the collected actual environment image, the spatial posture relationship between the mixed reality device and the tracer on the mixed reality device will be calibrated in advance, thereby avoiding visual deviation caused by wearing posture. After calibration, the spatial posture relationship between each tracer is obtained by the positioning device, and the virtual model and the marker are aligned, which increases the movable range of the operator and further ensures the accuracy of the alignment. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0039] Figure 1 A schematic diagram of a mixed reality system provided in this manual;

[0040] Figure 2 A schematic diagram of a mixed reality system calibration method provided in this manual;

[0041] Figure 3 A flowchart of a mixed reality-based marker registration method provided in this specification. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0043] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0044] Figure 1 A mixed reality system diagram provided for this manual

[0045] This manual provides a surgical tracking device, such as Figure 1 As shown, it includes: a mixed reality device, a tracer, and a positioning device.

[0046] In the use scenario of mixed reality technology, the operator (i.e., the person using the mixed reality device) usually scans the object for which the virtual model needs to be generated, and then uses modeling methods such as polygon modeling, non-uniform rational B-splines (NURBS) modeling, subdivision surface technology, etc. according to the scanning results, and models the object through the specified modeling software, and then deploys the modeled virtual model to the mixed reality device (such as Hololens, Magic Leap and other mixed reality head-mounted display devices) through wireless or universal serial bus (USB) transmission. Of course, it is also possible to directly obtain the image of the marker through the mixed reality device as needed, and generate a virtual model identical to the marker. The real-time image of the surrounding environment is obtained through the image acquisition devices such as the camera and time of flight (TOF) depth sensor installed on the mixed reality device, and then the virtual model is integrated with the surrounding actual environment. The operator wears the mixed reality device and uses gesture input or voice control input to complete the interaction between the virtual model and the surrounding actual environment. Among them, the mixed reality devices mentioned in this specification include but are not limited to mixed reality glasses.

[0047] For example, in a scenario where a doctor performs a minimally invasive surgery on a patient using minimally invasive surgical equipment, the doctor cannot observe the patient's internal body condition, the diseased part, and the exact position of the surgical instrument in the wound in real time, and cannot perform precise surgical operations when facing some visual blind spots. Therefore, in order to provide a more accurate surgical reference, the patient's body and surgical instruments can be used as markers to observe the patient's body through methods such as intraoperative computed tomography (CT) scanning, three-dimensional (3D) C-arm X-ray scanning, etc. The doctor scans the patient's body and surgical instruments, and then models the internal structure of the patient's body according to the scanning results, and inputs the modeled virtual model into the mixed reality device. The doctor obtains the actual image of the patient's body in real time through the mixed reality device worn by the doctor, and aligns the virtual models of the patient's body internal structure and the surgical instruments in the wound with the actual environmental image of the patient's body through the mixed reality device, so that the virtual models of the patient's body internal structure and the surgical instruments in the wound are superimposed with the actual image of the patient's body, and then completes the surgical operation on the patient with reference to the virtual models of the patient's body internal structure and the surgical instruments in the wound.

[0048] When the operator's head moves and rotates, and the relative position and angle between the operator and the marker change rapidly, the inertial measurement unit (accelerometer, gyroscope and magnetometer) of the mixed reality device itself is not accurate enough to accurately calculate these changes. Therefore, inevitable errors will occur. These errors will cause the relative position of the generated virtual model and the marker to shift. In addition, once the operator is far away from the marker, the inertial measurement unit installed in the mixed reality device itself will have a relatively low registration accuracy for the virtual model and the marker in the actual environment image.

[0049] Therefore, in order to ensure the registration accuracy between the virtual model and the marker and improve the range of activities of the operator, tracers can be installed on the marker and the mixed reality device. The tracers are fixed to the mixed reality device and the marker through a fixing device. In order to accurately determine the spatial posture relationship between the tracer set on the mixed reality device and the tracer set on the marker, each tracer can be provided with at least three positioning light source marks, and each positioning light source mark is fixed in the same plane through a fixing device, and the relative position between each positioning light source mark remains fixed.

[0050] Specifically, the positioning light source marker can be an optical marker ball such as an infrared light emitting device, a light emitting diode (LED) or a passive reflective sphere. The position of each tracer is obtained through the positioning device, and the spatial posture relationship between the tracer set on the mixed reality device and the tracer set on the marker is measured, so as to determine the spatial posture relationship between the tracer set on the mixed reality device and the tracer set on the marker. As the first spatial posture relationship, the mixed reality device aligns the virtual model and the marker according to the first spatial posture relationship, so that in the image interface displayed by the mixed reality device to the operator, the image of the virtual model is accurately superimposed on the image of the marker. Since the tracer installed on the mixed reality device will move synchronously with the operator wearing the mixed reality device at this time, after the virtual model and the marker are aligned by the tracer, even if the relative position and angle between the operator and the marker changes rapidly during the operation, the spatial posture between the virtual model and the marker will not shift.

[0051] In this specification, the positioning device can be fixed to a designated position near the marker by a bracket. Of course, it can also be fixed to a designated position above the marker (such as fixed to the indoor ceiling) by hanging. The positioning device can be an infrared positioning device with high-precision optical positioning capability, which is used to receive the light emitted or reflected by the positioning light source mark on the tracer, so as to obtain the position of each tracer, and then measure the spatial posture relationship between each tracer. The positioning device can be connected to the mixed reality device by wired connection or wireless connection (such as Wi-Fi, Bluetooth), and send the determined spatial posture relationship between each tracer to the mixed reality device.

[0052] Since there will be random differences in the position and angle between the operator's eyes and the device each time the operator wears the mixed reality device, this will cause a deviation in the position between the virtual model and the marker observed by the operator through the mixed reality device. Therefore, after the operator wears the mixed reality device, the virtual model in the mixed reality device can be calibrated through the calibration marker. The operator scans the calibration marker through the mixed reality device to generate a virtual calibration marker model in the mixed reality device that is exactly the same as the calibration marker. Of course, modeling can also be performed through modeling software, and the virtual calibration marker model can be deployed to the mixed reality device, wherein the calibration marker is provided with designated feature points, which can be shapes and patterns that can be recognized by the operator's naked eyes, and the tracer is fixed to the calibration marker through a fixing device.

[0053] The operator can adjust the position and direction of the virtual calibration marker model in the mixed reality device through gesture input, so that the calibration marker observed in the mixed reality device coincides with the virtual calibration marker model, thereby completing the calibration of the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device.

[0054] Of course, the operator can also adjust the position and direction of the virtual calibration marker model in the mixed reality device through voice control input by voice control commands, so that the calibration marker observed in the mixed reality device coincides with the virtual calibration marker model, thereby completing the calibration of the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device.

[0055] Since the tracer can be fixed to the mixed reality device and the calibration marker respectively by a fixture of a specified length, the operator can obtain the spatial posture relationship between the mixed reality device and the tracer installed on the mixed reality device, and the spatial posture relationship between the calibration marker and the tracer installed on the calibration marker by measuring the length and angle of the fixture. Of course, the spatial posture relationship between the mixed reality device and the tracer installed on the mixed reality device, and the spatial posture relationship between the calibration marker and the tracer installed on the calibration marker can also be obtained by three-dimensional scanning.

[0056] Furthermore, because the virtual calibration marker model in the mixed reality device coincides with the calibration marker, the spatial posture relationship of the virtual calibration marker model in the mixed reality device can be considered to be the actual spatial posture relationship between the calibration marker and the mixed reality device. For ease of understanding, this specification provides a schematic diagram of the mixed reality system calibration method, such as Figure 2 shown.

[0057] Figure 2 A schematic diagram of a mixed reality system calibration method provided in this manual.

[0058] exist Figure 2 The calibration marker shown in the figure is a cube with designated feature points on six sides, wherein tracers are respectively provided on the mixed reality device and the calibration marker, and the positioning device is fixed at a designated position by a bracket, so as to obtain the light emitted or reflected by the positioning light source mark on the tracer, and generate a virtual calibration marker model in the actual environment image displayed in the image display interface of the mixed reality device. The operator can adjust the position and angle of the model of the virtual marker in the actual environment image so that it coincides with the calibration marker in the actual environment image, thereby completing the calibration.

[0059] Specifically, the mixed reality device calculates the spatial posture relationship between the tracer installed on the mixed reality device and the calibration marker based on the spatial posture relationship between the tracer installed on the calibration marker and the calibration marker obtained by measurement or scanning, the spatial posture relationship between the tracer installed on the mixed reality device and the mixed reality device, and the spatial posture relationship between the tracer installed on the mixed reality device and the tracer installed on the calibration marker obtained by a positioning device. Then, the spatial posture relationship between the tracer set on the mixed reality device and the mixed reality device can be calibrated based on the spatial posture relationship between the tracer installed on the mixed reality device and the calibration marker, and the spatial posture relationship between the calibration marker and the mixed reality device obtained by the mixed reality device after alignment.

[0060] When calibrating the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device, the mixed reality device can determine the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device by calculating the transformation matrix, thereby realizing the calibration of the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device.

[0061] The mixed reality device can construct a global three-dimensional coordinate system with itself as the center, and construct a local three-dimensional coordinate system in the above global three-dimensional coordinate system with the calibration marker, the tracer set on the mixed reality device, and the tracer set on the calibration marker as the center, and automatically calibrate the spatial posture relationship between the tracer installed on the mixed reality device and the mixed reality device by calculating the coordinate system transformation matrix. For example: The spatial posture relationship between the mixed reality device and the tracer installed on the mixed reality device can be expressed by the coordinate system transformation matrix as follows:

[0062]

[0063] in, is the coordinate system transformation matrix between the calibrated mixed reality device coordinate system m and the coordinate system p1 of the tracer installed on the mixed reality device (i.e., calibrating the spatial posture relationship between the mixed reality device and the tracer on the mixed reality device), is the coordinate transformation matrix between the coordinate system p1 of the tracer installed on the mixed reality device and the coordinate system c of the calibration marker, It is a coordinate system transformation matrix between the calibration marker coordinate system c and the mixed reality device coordinate system m determined according to the spatial posture relationship of the virtual calibration marker model in the mixed reality device.

[0064] After the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device is calibrated, the virtual model is displayed in the actual environment image through the mixed reality device, and the virtual model in the actual environment image is aligned with the marker. During the alignment process, the mixed reality device can determine the spatial posture relationship between the tracer set on the mixed reality device and the marker as the second spatial posture relationship based on the spatial posture relationship between the marker and the tracer fixed on the marker obtained by measurement or scanning, and the first spatial posture relationship between the tracer set on the mixed reality device and the tracer set on the marker.

[0065] Based on the second spatial posture relationship and the spatial posture relationship between the mixed reality device and the tracer pre-calibrated on the mixed reality device, the spatial posture relationship between the mixed reality device and the marker is determined as the third spatial posture relationship, and based on the third spatial posture relationship, a virtual model corresponding to the marker is displayed in the collected actual environment image, and the virtual model and the marker are aligned in the actual environment image.

[0066] Correspondingly, in the process of aligning the virtual model and the marker in the actual environment picture displayed by the mixed reality device, the mixed reality device can also obtain the spatial posture relationship between the mixed reality device and the marker in real time by calculating the transformation matrix, thereby achieving accurate alignment of the virtual model and the marker observed in the mixed reality device.

[0067] Specifically, the mixed reality device can construct a global three-dimensional coordinate system with itself as the center, and at the same time, construct a local coordinate system in the global coordinate system centered on the mixed reality device with the marker and the tracer set on the marker as the center. The spatial posture relationship between the marker and the mixed reality device can be expressed by the coordinate system transformation matrix as follows:

[0068]

[0069] in, Represents the coordinate transformation matrix between the marker coordinate system o and the mixed reality device coordinate system m, is the coordinate transformation matrix between the marker coordinate system o and the tracer coordinate system p2 installed on the marker, is the coordinate transformation matrix between the tracer coordinate system p2 installed on the marker and the tracer coordinate system p1 installed on the mixed reality device, is the coordinate transformation matrix between the calibrated mixed reality device coordinate system m and the coordinate system p1 of the tracer installed on the mixed reality device.

[0070] Of course, the operator can also directly adjust the position and angle of the virtual model through gesture input or voice control input, so that the virtual model is accurately superimposed on the marker, thereby completing the calibration of the virtual model and the marker.

[0071] In practical applications, the mixed reality system provided in this specification can be applied to the field of major surgical operations. For example, when an operator performs surgery on a patient's diseased part using minimally invasive surgical equipment, tracers can be installed on the mixed reality device, the patient's body, and the minimally invasive surgical equipment, respectively. The mixed reality device displays the virtual model of the patient's internal body structure and surgical instruments in the actual environment image based on the light emitted or reflected by the positioning light source markers on each tracer, and aligns the virtual model of the patient's internal body structure and surgical instruments with the actual image of the patient's body in the displayed actual environment image, thereby providing the operator with an accurate surgical reference.

[0072] Of course, the mixed reality system provided in this specification can also be applied to other fields, such as mechanical fault inspection and repair, etc., and this specification does not make specific limitations on this.

[0073] In order to facilitate the understanding of the above-mentioned mixed reality system, this specification also provides a flowchart of a mixed reality-based marker registration method to illustrate the mixed reality-based marker registration method in major surgical operations of the above-mentioned mixed reality system, such as Figure 3 shown.

[0074] Figure 3 A flow chart of a mixed reality-based marker registration method provided in this specification includes the following steps:

[0075] S301: Calibrate a spatial posture relationship between a tracer set on the mixed reality device and the mixed reality device.

[0076] In order to facilitate the mixed reality device to quickly configure the marker and the virtual model corresponding to the marker during actual use, it is necessary to calibrate the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device in advance.

[0077] In the process of calibrating the spatial posture relationship, a calibration marker containing designated feature points may be provided, such as a cube with different numbers of feature points on six sides. The mixed reality device may display a virtual calibration marker model in the acquired actual environment image, and adjust the spatial posture of the virtual calibration marker model in the actual environment image so that the image of the designated feature points of the calibration marker in the actual environment image coincides with the image of the designated feature points contained in the virtual calibration marker model, thereby obtaining a calibrated virtual marker model.

[0078] The mixed reality device can calibrate the spatial posture relationship between the tracer set on the mixed reality device and the mixed reality device according to the spatial posture of the calibrated virtual marker model in the mixed reality device. In the subsequent process, the alignment process of the virtual model and the marker is completed through the spatial posture relationship between the tracer on the mixed reality device and the mixed reality device after the calibration.

[0079] S302: Scan the marker and generate a virtual model corresponding to the marker.

[0080] The marker is scanned by CT or C-type X-ray arm, and then a virtual model corresponding to the marker is built, and the modeled virtual model is input into the mixed reality device, wherein the marker mentioned here can be the diseased part of the patient or the surgical instrument on the minimally invasive surgical equipment, and correspondingly, the constructed virtual model is a virtual model of the diseased part or a virtual model of the surgical instrument.

[0081] S303: Determine a spatial posture relationship between a tracer disposed on the mixed reality device and a tracer disposed on the marker according to light emitted or reflected by each tracer collected by the positioning device, as a first spatial posture relationship.

[0082] The positioning device can determine the spatial posture relationship, i.e., the first spatial posture relationship, between the tracer set on the mixed reality device and the tracer set on the marker through the light emitted or emitted by the tracer set on the marker (i.e., the diseased part or the surgical instrument) and the tracer set on the mixed reality device, and then send the first spatial posture relationship to the mixed reality device through a wired connection or a wireless connection.

[0083] S304: Determine the spatial posture relationship between the marker and the tracer set on the mixed reality device as the second spatial posture relationship based on the acquired first spatial posture relationship and the spatial posture relationship between the marker and the tracer set on the marker.

[0084] By measuring the distance and angle between the marker and the tracer disposed on the marker, or scanning the marker and the tracer disposed on the marker, the spatial posture relationship between the tracer disposed on the marker and the marker is determined. Then, by determining the spatial posture relationship between the tracer disposed on the marker and the marker, and the first spatial posture relationship, the spatial posture relationship between the marker and the tracer disposed on the mixed reality device, i.e., the second spatial posture relationship, is determined.

[0085] S305: Determine the spatial posture relationship between the mixed reality device and the marker as the third spatial posture relationship based on the second spatial posture relationship and the spatial posture relationship between the mixed reality device and the tracer set on the mixed reality device in advance.

[0086] S306: Displaying a virtual model corresponding to the marker in the acquired actual environment image according to the third spatial posture relationship, and registering the virtual model with the marker in the actual environment image.

[0087] The mixed reality device determines the spatial posture relationship between the mixed reality device and the marker through the second spatial posture relationship and the spatial posture relationship between the tracer set on the mixed reality device after calibration and the mixed reality device, as the third spatial posture relationship, and then through the third spatial posture relationship, the image of the virtual model is aligned with the image of the marker in the actual environment image displayed to the operator.

[0088] It can be seen from the above method that after the operator wears the mixed reality device, he will first calibrate the mixed reality device and the tracer on the mixed reality device. The mixed reality device displays the virtual model corresponding to the marker in the actual environment image according to the spatial posture relationship between the tracer set on the marker collected by the positioning device and the tracer on the mixed reality device, and aligns the marker and the virtual model, which increases the operator's range of movement and ensures the alignment accuracy of the mixed reality device.

[0089] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0090] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0091] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0092] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0093] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0095] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0096] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0097] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0098] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0099] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0100] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0101] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0102] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various modifications and variations. Any repair, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A mixed reality system, characterized in that: The system comprises: a mixed reality device, a tracer, and a positioning device, wherein the tracer is fixed to the mixed reality device and the marker and is used to emit or reflect light to the positioning device; The positioning device is used to collect the light emitted or reflected by the tracer, and determine the spatial posture relationship between the tracer arranged on the mixed reality device and the tracer arranged on the marker as a first spatial posture relationship; The mixed reality device is used to determine the spatial posture relationship between the marker and the tracer provided on the mixed reality device as the second spatial posture relationship based on the first spatial posture relationship and the spatial posture relationship between the tracer provided on the marker and the marker, determine the spatial posture relationship between the mixed reality device and the marker as the third spatial posture relationship based on the second spatial posture relationship and the pre-calibrated spatial posture relationship between the tracer provided on the mixed reality device and the mixed reality device, and display a virtual model corresponding to the marker in the collected actual environment image based on the third spatial posture relationship, and align the virtual model with the marker in the actual environment image; The mixed reality system includes: a calibration marker, on which a designated feature point is provided; The mixed reality device controls the position and direction of the virtual calibration marker model in the actual environment image through the recognized gesture action, so that the image of the specified feature point of the calibration marker in the actual environment image coincides with the image of the specified feature point contained in the virtual calibration marker model, or controls the position and direction of the virtual calibration marker model in the actual environment image through the received voice information, so that the image of the specified feature point of the calibration marker in the actual environment image coincides with the image of the specified feature point contained in the virtual calibration marker model, thereby obtaining a calibrated virtual marker model; the positioning device determines the spatial posture relationship between the tracer set on the calibration marker and the tracer on the mixed reality device, and determines the spatial posture relationship between the tracer on the calibration marker and the tracer on the mixed reality device, and determines the spatial posture relationship between the tracer on the calibration marker and the tracer on the mixed reality device, thereby obtaining a calibrated virtual marker model. The spatial posture relationship between the calibration markers and the spatial posture relationship between the tracer on the calibration marker and the tracer on the mixed reality device are determined. According to the spatial posture relationship between the calibration marker and the tracer on the mixed reality device and the spatial posture relationship between the calibration marker and the mixed reality device, the spatial posture relationship between the tracer set on the mixed reality device and the mixed reality device is calibrated. The virtual calibration marker model is provided with the same designated feature points as the calibration marker, the virtual calibration marker model is constructed by the mixed reality device, and the virtual calibration marker model is displayed in the actual environment image collected by the mixed reality device.

2. The mixed reality system according to claim 1, wherein: The tracer is provided with a positioning light source mark, and all the positioning light source marks on the tracer are fixed in the same plane and are used to emit or reflect light to the positioning device.

3. The mixed reality system according to claim 1, wherein: The positioning device is fixed at a specified position by a bracket, or The mixed reality device and the marker are fixed at a designated position above the mixed reality device and the marker by means of hoisting.

4. The mixed reality system according to claim 3, wherein: The positioning device is connected to the mixed reality device; The positioning device is used to collect the light emitted or reflected by the positioning light source marker on each tracer, and each tracer includes a tracer set on the mixed reality device and a tracer set on the marker. According to the light emitted or reflected by the positioning light source marker on each tracer, the spatial posture relationship between the tracers is determined as the first spatial posture relationship, and the first spatial posture relationship is sent to the mixed reality device.

5. The mixed reality system according to any one of claims 1 to 4, characterized in that: The marker also includes: at least one of the patient's diseased part and surgical equipment.

6. A marker registration method based on mixed reality, characterized in that: The method is applied to a mixed reality system, the mixed reality system comprising: a mixed reality device, a tracer, a positioning device, and a calibration marker, the tracer is fixed to the mixed reality device and the marker, and is used to emit or reflect light to the positioning device, and the calibration marker is provided with a designated feature point, and the method comprises: According to the acquired first spatial posture relationship and the spatial posture relationship between the tracer disposed on the marker and the marker, determine the spatial posture relationship between the marker and the tracer disposed on the mixed reality device as the second spatial posture relationship, wherein the first spatial posture relationship is the spatial posture relationship between the tracer disposed on the mixed reality device and the tracer disposed on the marker determined by the positioning device based on the light emitted or reflected by the tracer; Determine, according to the second spatial posture relationship and a pre-calibrated spatial posture relationship between a tracer disposed on the mixed reality device and the mixed reality device, a spatial posture relationship between the mixed reality device and the marker as a third spatial posture relationship; According to the third spatial posture relationship, a virtual model corresponding to the marker is displayed in the collected actual environment image, and the virtual model and the marker are aligned in the actual environment image, wherein the position and direction of the virtual calibration marker model in the actual environment image are controlled by the recognized gesture action so that the image of the specified feature points of the calibration marker in the actual environment image coincides with the image of the specified feature points contained in the virtual calibration marker model, or the position and direction of the virtual calibration marker model in the actual environment image are controlled by the received voice information so that the image of the specified feature points of the calibration marker in the actual environment image coincides with the image of the specified feature points contained in the virtual calibration marker model, thereby obtaining a calibrated virtual marker model; the positioning device determines the alignment of the tracer set on the calibration marker with the mixed reality device According to the spatial posture relationship between the tracer on the calibration marker and the calibration marker, and the spatial posture relationship between the tracer on the calibration marker and the tracer on the mixed reality device, the spatial posture relationship between the calibration marker and the tracer on the mixed reality device is determined; according to the spatial posture relationship between the calibration marker and the tracer on the mixed reality device, and the spatial posture relationship between the calibration marker and the mixed reality device, the spatial posture relationship between the tracer set on the mixed reality device and the mixed reality device is calibrated; the virtual calibration marker model is provided with the same designated feature points as the calibration marker, the virtual calibration marker model is constructed by the mixed reality device, and the virtual calibration marker model is displayed in the actual environment image collected by the mixed reality device.