A knowledge-guided surgical interaction method based on deep learning and augmented reality

Through the combination of deep learning and augmented reality technology, three-dimensional reconstruction and real-time display of key medical tissues are achieved, solving the problem of morphological data that cannot be displayed in traditional images, and improving the effect of knowledge guidance in surgical operations.

CN114943802BActive Publication Date: 2024-10-08SHENZHEN RES INST OF NANKAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210523100.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-13
Publication Date
2024-10-08
Estimated Expiration
2042-05-13

AI Technical Summary

Technical Problem

It is difficult to obtain morphological data of certain medical tissues in CT and MRI images with existing technology, resulting in the inability to effectively provide knowledge guidance during surgical operations, especially in operations such as cochlear implantation that require the facial nerve recess as an implanted electrode channel. middle.

Method used

Semantic segmentation is performed through deep learning algorithms (such as Vision Transformer), three-dimensional reconstruction is performed based on the internal and external parameters of the binocular camera, and registered into augmented reality glasses to achieve real-time display of key medical tissues.

Benefits of technology

It provides accurate semantic image display of key medical tissues, enhances knowledge guidance during surgery, makes up for the defects that cannot be displayed in traditional images, and improves the surgeon's judgment and operation ability during surgery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114943802B_ABST
    Figure CN114943802B_ABST
Patent Text Reader

Abstract

The present invention provides a knowledge-guided surgical interaction method based on deep learning and augmented reality, the method comprising the following steps: setting a binocular camera, completing the calibration operation on it, and using it to shoot artificial marks and related medical tissues in the real space; based on the deep learning algorithm, semantic segmentation is performed on the intraoperative images obtained by the binocular camera to obtain the prediction map of the related medical tissues; the prediction map corresponding to the left and right eyepieces of the binocular camera is reconstructed in three dimensions by the least squares method; the three-dimensional reconstructed model is imported into Unity, and based on the positional relationship between the artificial marks and the medical tissues in the real space, the position between the artificial marks and the virtual model is established in Unity, and after rendering operation, it is registered in the augmented reality space. The present invention realizes the purpose of knowledge-guided surgical operation by interactively combining the two major technologies of deep learning and augmented reality, and provides direct and effective help for surgeons in surgical operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer vision and virtual simulation, and in particular to a knowledge-guided surgical interaction method based on deep learning and augmented reality. Background Art

[0002] In recent years, knowledge-guided technology for surgical operations has become of vital importance. Surgical knowledge-guided technology provides doctors with reasonable preoperative advice through the combination of preoperative and intraoperative medical image registration, or maps preoperative data to real scenes through augmented reality technology, thereby providing real-time display of intraoperative knowledge.

[0003] At present, augmented reality technology has been widely used in the medical field, but because most preoperative data are in the form of CT and MRI, for some medical tissues without specific structures, such as the facial nerve recess as an important channel for implanting electrodes during cochlear implantation, its morphological data cannot be obtained on CT and MRI images. For such medical structures, we make full use of the image data obtained in real-time scenes during surgery, obtain the morphological data of such medical tissues through deep learning, reconstruct them in three dimensions, and register them in the augmented reality space, and then use augmented reality technology to achieve intraoperative knowledge guidance.

[0004] Therefore, a knowledge-guided surgical interaction method based on deep learning and augmented reality is proposed to provide users with accurate intraoperative knowledge guidance. By wearing augmented reality glasses, semantic images of related tissues can be observed to assist surgical operations. Summary of the invention

[0005] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a knowledge-guided surgical interaction method based on deep learning and augmented reality, aiming to combine deep learning with augmented reality technology to provide doctors with a knowledge-guided surgical interaction method.

[0006] The objective of the present invention is achieved through the following technical solutions:

[0007] A knowledge-guided surgical interaction method based on deep learning and augmented reality includes the following steps:

[0008] Step A: Use a calibrated binocular camera to capture real-time images of relevant medical tissues during surgery, use Label me annotation software for semantic annotation, and then use the Vision Transformer deep learning algorithm to perform semantic segmentation on the relevant medical tissues, and obtain the semantic segmentation result images under the left and right eyepieces respectively;

[0009] Step B: Combined with the internal and external parameters of the binocular camera obtained during the calibration process, any point in space is imaged in the two cameras respectively to obtain the corresponding coordinates of the point in the two images. By establishing four linear equations with the world coordinates of the point as unknowns, the world coordinates of the point can be solved by the least squares method, and the three-dimensional reconstruction under binocular vision is completed using Matlab software;

[0010] Step C: Import the reconstructed 3D model into the real-time development platform Unity, use the rigid registration algorithm to make the relative positions between the artificial markers and the 3D model consistent with those in the real environment, register it into the augmented reality glasses Hololens2, and the corresponding tissues can be observed through the augmented reality glasses;

[0011] Furthermore, the step A comprises the following sub-steps:

[0012] A1: Place the binocular camera at a suitable position to ensure that the relevant medical tissue is within the field of view of the eyepiece, and take photos and samples. The obtained images are transmitted to the graphics workstation;

[0013] A2: Using the labeling software Labelme, we label the paired medical images obtained by the binocular camera for a certain medical tissue and obtain a label map containing the semantic information of the tissue.

[0014] A3: Divide the original image data into a test set and a training set. The training set contains the original image and the labeled image, and the test set only contains the original image. The ratio of the test set data to the training set data is 3:1. Build the Vision Transformer algorithm on the deep learning platform Tensorflow, adjust the algorithm parameters through pre-training, and select the optimal result image as the 3D modeling data based on the obtained prediction effect;

[0015] Furthermore, the step B includes the following sub-steps:

[0016] B1: Based on the camera internal and external parameters obtained by the previous calibration of the binocular camera, assume that a point P on a medical tissue has image points p1 and p2 on the two eyepieces C1 and C2, that is, it is known that p1 and p2 are corresponding points of the same point P in space, and the projection matrices of the left and right eyepieces of the binocular camera are M1 and M2, so:

[0017]

[0018]

[0019] Among them, (u1, v1, 1) and (u2, v2, 1) are the image homogeneous coordinates of points P1 and P2 in their respective images; (X, Y, Z, 1) is the homogeneous coordinate of point P in the world coordinate system; Mk The element in the ith row and jth column of ; Based on this formula, the value of (X, Y, Z) can be obtained. According to this principle, three-dimensional reconstruction can be realized by programming on Matlab to obtain the three-dimensional structure of the medical tissue;

[0020] B2: Register the obtained 3D model into Unity and perform rendering operations on it to make it appear better;

[0021] Furthermore, the detailed steps of step C are as follows:

[0022] According to the data transmission protocol between Unity and Hololens2, the three-dimensional reconstructed model can be registered from Unity to Hololens2. When artificial markers are recognized in the real environment, their virtual models can be displayed at the corresponding medical tissue locations.

[0023] Advantages and beneficial effects of the present invention

[0024] The present invention uses the semantic segmentation prediction map as the 3D reconstruction data, which can make up for the problem that some medical tissues cannot be displayed in traditional medical images such as CT and MRI, thereby affecting the judgment and operation of surgeons. In addition, the data source is obtained by real-time shooting during surgery, which is more valuable for reference.

[0025] At the same time, the present invention combines augmented reality technology with deep learning technology to provide surgeons with a surgical method that allows them to wear augmented reality glasses to achieve knowledge guidance during surgery. By combining virtual models with external reality, surgeons can see key medical tissues after semantic segmentation, providing surgeons with direct and effective knowledge guidance. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is the overall framework diagram of the present invention;

[0027] Figure 2 It is the overall framework effect diagram of the present invention;

[0028] Figure 3 This is a simulation experiment effect diagram. DETAILED DESCRIPTION

[0029] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and changes can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0030] Example

[0031] In order to solve the above problems, the present invention provides a knowledge-guided surgical interaction method based on deep learning and augmented reality, which includes the following steps:

[0032] Step A: Use a calibrated binocular camera to capture real-time images of relevant medical tissues during surgery, use Label me annotation software for semantic annotation, and then use the Pyramid Vision Transformer deep learning algorithm to perform semantic segmentation on the relevant medical tissues, and obtain the semantic segmentation result images under the left and right eyepieces respectively;

[0033] Step B: Combined with the internal and external parameters of the binocular camera obtained during the calibration process, any point in space is imaged in the two cameras respectively to obtain the corresponding coordinates of the point in the two images. By establishing four linear equations with the world coordinates of the point as unknowns, the world coordinates of the point can be solved by the least squares method, and the three-dimensional reconstruction under binocular vision is completed using Matlab software;

[0034] Step C: Import the reconstructed 3D model into the real-time development platform Unity, use the rigid registration algorithm to make the relative positions between the artificial markers and the 3D model consistent with those in the real environment, register it into the augmented reality glasses Hololens2, and the corresponding tissues can be observed through the augmented reality glasses;

[0035] Furthermore, the step A comprises the following sub-steps:

[0036] A1: Place the binocular camera at a suitable position to ensure that the relevant medical tissue is within the field of view of the eyepiece, and take photos and samples. The obtained images are transmitted to the graphics workstation;

[0037] A2: Using the labeling software Labelme, we label the paired medical images obtained by the binocular camera for a certain medical tissue and obtain a label map containing the semantic information of the tissue.

[0038] A3: The original image data is divided into a test set and a training set. The training set contains the original image and the label image, and the test set is only the original image. The ratio of the test set data volume to the training set data volume is 3:1. The Pyramid Vision Transformer algorithm is built on the deep learning platform Tensorflow. The algorithm parameters are adjusted through pre-training. According to the obtained prediction effect, the optimal result image is selected as the 3D modeling data;

[0039] Furthermore, the step B includes the following sub-steps:

[0040] B1: Based on the camera internal and external parameters obtained by the previous binocular camera calibration, assume that a point P on a medical tissue has image points p1 and p2 on the two eyepieces C1 and C2. It is known that p1 and p2 are corresponding points of the same point P in space. The projection matrices of the left and right eyepieces of the eyepiece camera are M1 and M2, so:

[0041]

[0042] Specifically:

[0043]

[0044] Among them, (u1, v1, 1) and (u2, v2, 1) are the image homogeneous coordinates of points P1 and P2 in their respective images; (X, Y, Z, 1) is the homogeneous coordinate of point P in the world coordinate system; M k The element in the ith row and jth column of ; the value of (X, Y, Z) can be obtained from this formula, and based on this principle, three-dimensional reconstruction can be realized by programming on Matlab to obtain the three-dimensional structure of the medical tissue;

[0045] B2: Register the obtained 3D model into Unity and perform rendering operations on it to make it appear better;

[0046] Further, the step C is described in detail as follows:

[0047] According to the data transmission protocol between Unity and Hololens2, the three-dimensional reconstructed model can be registered from Unity to Hololens2. When artificial markers are recognized in the real environment, their virtual models can be displayed at the corresponding medical tissue locations.

[0048] The present invention establishes an artificially marked QR code and a rabbit model in real space, wherein the rabbit is used to simulate a medical tissue, and registers the three-dimensional reconstruction model corresponding to the rabbit into Hololens2. The experimental effect is as follows: Figure 3 shown.

[0049] In the description of the present invention, it is necessary to understand that the terms "coaxial", "bottom", "one end", "top", "middle", "the other end", "upper", "one side", "top", "inside", "front", "center", "both ends" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0050] In addition, the terms "first", "second", "third" and "fourth" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first", "second", "third" and "fourth" may explicitly or implicitly include at least one of such features.

[0051] In the present invention, unless otherwise clearly stipulated and limited, the terms such as "installation", "setting", "connection", "fixation" and "screw-on" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in the present invention according to the specific circumstances.

[0052] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A knowledge-guided surgical interaction method based on deep learning and augmented reality, characterized in that: The method comprises the following steps: Step A: Use a calibrated binocular camera to capture real-time images of relevant medical tissues during surgery, use Label me annotation software for semantic annotation, and then use the Vision Transformer deep learning algorithm to perform semantic segmentation on the relevant medical tissues, and obtain the semantic segmentation result images under the left and right eyepieces respectively; Step B: Combined with the internal and external parameters of the binocular camera obtained during the calibration process, any point in space is imaged in the two cameras respectively to obtain the corresponding coordinates of the point in the two images. By establishing four linear equations with the world coordinates of the point as unknowns, the world coordinates of the point can be solved by the least squares method, and the three-dimensional reconstruction under binocular vision is completed using Matlab software; Step C: Import the reconstructed 3D model into the real-time development platform Unity, use the rigid registration algorithm to make the relative positions between the artificial markers and the 3D model consistent with those in the real environment, register it into the augmented reality glasses Hololens2, and the corresponding tissues can be observed through the augmented reality glasses; Furthermore, the step A comprises the following sub-steps: A1: Place the binocular camera at a suitable position to ensure that the relevant medical tissue is within the field of view of the eyepiece, and take photos and samples. The obtained images are transmitted to the graphics workstation; A2: Using the labeling software Labelme, we label the paired medical images obtained by the binocular camera for a certain medical tissue and obtain a label map containing the semantic information of the tissue. A3: Divide the original image data into a test set and a training set. The training set contains the original image and the labeled image, and the test set only contains the original image. The ratio of the test set data to the training set data is 3:

1. Build the VisionTransformer algorithm on the deep learning platform Tensorflow, adjust the algorithm parameters through pre-training, and select the optimal result image as the 3D modeling data based on the obtained prediction effect; Furthermore, the step B includes the following sub-steps: B1: Based on the camera internal and external parameters obtained by the previous calibration of the binocular camera, assume that a point P on a medical tissue has image points p1 and p2 on the two eyepieces C1 and C2, that is, it is known that p1 and p2 are corresponding points of the same point P in space, and the projection matrices of the left and right eyepieces of the binocular camera are M1 and M2, so: Among them, (u1, v1, 1) and (u2, v2, 1) are the image homogeneous coordinates of points P1 and P2 in their respective images; (X, Y, Z, 1) is the homogeneous coordinate of point P in the world coordinate system; M k The element in the ith row and jth column of ; Based on this formula, the value of (X, Y, Z) can be calculated. According to this principle, three-dimensional reconstruction can be realized by programming on Matlab to obtain the three-dimensional structure of the medical tissue; B2: Register the obtained 3D model into Unity and perform rendering operations on it to make it appear better; Furthermore, the detailed steps of step C are as follows: According to the data transmission protocol between Unity and Hololens2, the three-dimensional reconstructed model can be registered from Unity to Hololens2. When artificial markers are recognized in the real environment, their virtual models can be displayed at the corresponding medical tissue locations.

2. The knowledge-guided surgical interaction method based on deep learning and augmented reality according to claim 1, characterized in that: The binocular camera is placed at a suitable position to take photos and samples in a manner that ensures that the relevant medical tissue is within the field of view of the eyepiece, and the obtained images are transmitted to the graphics workstation; Through the labeling software Labelme, for a certain medical tissue, pairs of medical images obtained by the binocular camera are labeled respectively to obtain label maps containing the semantic information of the tissue; the original image data is divided into a test set and a training set, where the training set contains the original image and the label map, and the test set is only the original image. The ratio of the test set data volume to the training set data volume is 3:

1. The Pyramid Vision Transformer semantic segmentation algorithm is built on the deep learning platform Tensorflow. The algorithm parameters are adjusted through pre-training, and the optimal result map is selected as the 3D modeling data according to the obtained prediction effect.

3. The knowledge-guided surgical interaction method based on deep learning and augmented reality according to claim 1, characterized in that: The camera internal and external parameters and distortion matrix obtained from the previous binocular camera calibration are used to perform three-dimensional reconstruction under binocular vision according to the least squares method. The three-dimensional reconstruction is implemented by programming on Matlab to obtain the three-dimensional structure of the relevant medical tissue; the obtained three-dimensional model is registered in Unity and rendered to achieve better display effects.

4. The knowledge-guided surgical interaction method based on deep learning and augmented reality according to claim 1, characterized in that: Based on the coordinate position relationship between a medical tissue and artificial markers in reality, a corresponding virtual artificial marker and medical tissue 3D reconstruction model is established in Unity through a rigid registration algorithm. The model is registered in the augmented reality glasses Hololens2 to achieve real-time observation of the medical tissue during surgery and achieve the purpose of intraoperative knowledge guidance.