Intraoperative instrument-tissue interaction area reconstruction method and system
Through the combination of binocular endoscopy and deep learning network, the problem of low accuracy of the three-dimensional reconstruction model of the interaction area between instruments and tissues during surgery is solved, achieving precise matching and improving safety during the operation.
Patent Information
- Application Number
- CN202410614705.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-03
AI Technical Summary
The accuracy of the three-dimensional reconstruction model of the interaction area between instruments and tissues during surgery is not high, leading to deviations in image-guided surgery and posing potential safety risks for surgery.
Binocular endoscopes are used to collect binocular images, point cloud feature matching and spatial indexing are performed through SIFT feature extraction and kd-tree models, maximum likelihood estimates are calculated to build a three-dimensional point cloud model, and non-rigid matching is performed through deep learning networks. Accurate, achieving precise matching of surgical interaction behaviors.
Significantly improves the accuracy of 3D model construction, ensuring precise matching and safety during surgery.
Smart Images

Figure CN118587352A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical image processing, and in particular to a method and system for reconstructing an instrument-tissue interaction region during surgery. Background Art
[0002] Multi-feature matching of robotic surgical scenes under the joint guidance of medical images and surgical field images is a necessary condition for robot-assisted surgery to achieve intelligent decision-making and intervention.
[0003] During surgery, tissue clamping, pulling, and cutting are often accompanied by tissue deformation and displacement. Since the real-time feedback of intraoperative vital information is incomplete and inaccurate, the three-dimensional reconstruction model of preoperative medical images and the actual surgical scene are often mismatched, resulting in deviations in image-guided surgery and posing a safety hazard to surgery.
[0004] Therefore, how to improve the accuracy of the constructed three-dimensional reconstruction model has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0005] The present invention provides a method and system for reconstructing an intraoperative instrument-tissue interaction region, which are used to solve the technical problem that the accuracy of the existing three-dimensional reconstruction model of preoperative medical images is not high.
[0006] In order to solve the above technical problems, the technical solution proposed by the present invention is:
[0007] A point cloud-based intraoperative instrument-tissue interaction region reconstruction method, comprising:
[0008] A binocular laparoscope is used to collect a binocular image set of the surgical area inside the target tissue;
[0009] The SIFT feature extraction algorithm is used to extract the point cloud features of each binocular image in the binocular image set, and the point cloud feature distances between the binocular images are calculated, and the kd-tree model is used to perform spatial indexing on the point cloud of each binocular image;
[0010] The adjacent point clouds in the spatial index are traversed, and the maximum likelihood estimates of the adjacent point clouds are calculated. The coordinate transformation matrix between the adjacent point clouds is determined according to the maximum likelihood estimate, and a three-dimensional point cloud model of the surgical area inside the target tissue is constructed based on the coordinate transformation matrices of each adjacent point cloud in the spatial index.
[0011] Preferably, the point cloud feature distance between each binocular image is calculated, and the point cloud of each binocular image is spatially indexed using a kd-tree model, including:
[0012] The kd-tree model is used to calculate the distance between the point cloud features of two binocular images, and feature matching is performed to find images whose number of point cloud feature matches is greater than a preset value as successfully matched adjacent images.
[0013] Preferably, traversing the adjacent point clouds in the spatial index, calculating the maximum likelihood estimation values of the adjacent point clouds, and determining the coordinate transformation matrix between the adjacent point clouds according to the maximum likelihood estimation values, comprises the following steps:
[0014] Search the point clouds of adjacent frames from the spatial index for maximum likelihood estimation, add new pictures in a loop for new estimation, and obtain camera estimation parameters and scene geometry information.
[0015] Preferably, the method further comprises the following steps:
[0016] Acquire a surgical image and identify surgical interaction behaviors in the surgical image; extract surgical interaction behavior point cloud data from the surgical image based on the identified surgical interaction behavior coordinates;
[0017] The target tissue point cloud data and the surgical interaction behavior point cloud data are non-rigidly registered.
[0018] Preferably, non-rigid registration of the target tissue point cloud data with the surgical interaction behavior point cloud data comprises:
[0019] Construct a non-rigid registration model based on a deep learning network;
[0020] The target tissue point cloud data and the surgical interaction behavior point cloud data are input into the non-rigid registration model to obtain a registered image of the surgical interaction behavior point cloud data.
[0021] Preferably, the non-rigid registration model is a two-stage registration framework, including a feature extraction module, a machine learning network, an affine regression network and a thin plate spline regression network: the target tissue point cloud data and the surgical interaction behavior point cloud data are input into the non-rigid registration model to obtain a registered image of the surgical interaction behavior point cloud data, including the following steps:
[0022] A feature extraction module is used to extract a first point cloud feature map of the target tissue and the surgical interaction behavior from the target tissue point cloud data and the surgical interaction behavior point cloud data respectively;
[0023] Inputting the first point cloud feature map of the target tissue and the surgical interaction into the machine learning network to obtain the first point cloud matching feature of the target tissue and the surgical interaction;
[0024] Inputting the first point cloud matching feature into an affine regression network to obtain an affine transformation matrix of the target tissue and the surgical interaction behavior;
[0025] Using an affine transformation matrix to perform an affine transformation on the surgical interaction behavior point cloud data;
[0026] A feature extraction module is used to extract a second point cloud feature map of the surgical interaction behavior point cloud data after affine transformation;
[0027] Inputting the second point cloud feature map and the first point cloud feature map of the target tissue point cloud data into a machine learning network to obtain a second point cloud matching feature;
[0028] The second point cloud matching feature is input into the thin plate spline regression network to obtain a registered image of the surgical interaction behavior point cloud data.
[0029] Preferably, the feature extraction module includes a first feature extraction module and a second feature extraction module, and the machine learning network includes a first machine learning network and a second machine learning network, the first feature extraction module is used to extract a first point cloud feature map, and the first machine learning network is used to obtain a first point cloud matching feature; the second feature extraction module is used to extract a second point cloud feature map, and the second machine learning network is used to obtain a second point cloud matching feature.
[0030] A computer system comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the computer program.
[0031] The present invention has the following beneficial effects:
[0032] 1. The present invention uses a SIFT feature extraction algorithm to extract point cloud features of each binocular image in the binocular image set, calculates the point cloud feature distance between each binocular image, and uses a kd-tree model to perform spatial indexing on the point cloud of each binocular image; traverses adjacent point clouds in the spatial index, calculates the maximum likelihood estimate of adjacent point clouds, and determines the coordinate transformation matrix between adjacent point clouds based on the maximum likelihood estimate, and constructs a three-dimensional point cloud model of the surgical area inside the target tissue based on the coordinate transformation matrices of each adjacent point cloud in the spatial index, which can greatly improve the accuracy of three-dimensional model construction.
[0033] In addition to the above-described purposes, features and advantages, the present invention has other purposes, features and advantages. The present invention will be further described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0035] Figure 1 A simplified structural diagram of an interactive behavior recognition model provided by an embodiment of the present invention;
[0036] Figure 2 A simplified diagram of a surgical operation-target organ branch network structure provided by an embodiment of the present invention;
[0037] Figure 3 is a non-rigid registration flow chart provided by an embodiment of the present invention;
[0038] Figure 4 It is a structural diagram of a non-rigid registration model provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The embodiments of the present invention are described in detail below with reference to the accompanying drawings, but the present invention can be implemented in many different ways as defined and covered by the claims.
[0040] In this embodiment, a point cloud-based method for reconstructing the intraoperative instrument-tissue interaction area is provided. By calculating the depth information of each point on the inner surface of the pelvic surgical area through laparoscopic images, the three-dimensional structure inside the pelvis can be approximately characterized, and then locally aligned with the preoperative three-dimensional model. In order to more efficiently and accurately construct a three-dimensional model of the intraoperative laparoscopic field of view, this project intends to use a 3D laparoscope to collect images of the inside of the pelvis, and use the binocular vision mechanism of the 3D laparoscope to more accurately obtain the depth information of the surface of the organs in the field of view, and quickly construct a local three-dimensional model of the organs in the surgical area. Three-dimensional modeling based on 3D laparoscope includes the following main steps: 1) preprocessing; 2) binocular image features, point detection and matching; 3) calculation of depth point cloud and output of results.
[0041] The specific steps include:
[0042] A binocular laparoscope is used to collect a binocular image set of the surgical area inside the target tissue;
[0043] The SIFT feature extraction algorithm is used to extract the point cloud features of each binocular image in the binocular image set, and the point cloud feature distances between the binocular images are calculated, and the kd-tree model is used to perform spatial indexing on the point cloud of each binocular image;
[0044] The adjacent point clouds in the spatial index are traversed, and the maximum likelihood estimates of the adjacent point clouds are calculated. The coordinate transformation matrix between the adjacent point clouds is determined according to the maximum likelihood estimate, and a three-dimensional point cloud model of the surgical area inside the target tissue is constructed based on the coordinate transformation matrices of each adjacent point cloud in the spatial index.
[0045] Among them, the point cloud feature distance between each binocular image is calculated, and the kd-tree model is used to perform spatial indexing on the point cloud of each binocular image, including:
[0046] The kd-tree model is used to calculate the distance between the point cloud features of two binocular images, and feature matching is performed to find images whose number of point cloud feature matches is greater than a preset value as successfully matched adjacent images.
[0047] Specifically, traversing the adjacent point clouds in the spatial index, calculating the maximum likelihood estimation values of the adjacent point clouds, and determining the coordinate transformation matrix between the adjacent point clouds according to the maximum likelihood estimation values, includes the following steps:
[0048] Search the point clouds of adjacent frames from the spatial index for maximum likelihood estimation, add new pictures in a loop for new estimation, and obtain camera estimation parameters and scene geometry information.
[0049] In addition, in this embodiment, the following steps are also included:
[0050] Acquire a surgical image and identify surgical interaction behaviors in the surgical image; extract surgical interaction behavior point cloud data from the surgical image based on the identified surgical interaction behavior coordinates; and perform non-rigid registration of the target tissue point cloud data with the surgical interaction behavior point cloud data.
[0051] The step of obtaining a surgical image and identifying surgical interaction behaviors in the surgical image includes:
[0052] Obtaining surgical images, inputting the surgical images into an interactive behavior recognition model, and identifying surgical interactive behaviors in the surgical images;
[0053] Among them, Figure 1-2 As shown, the interactive behavior recognition model includes a backbone network, a surgical instrument branch network and a surgical operation-target organ branch network; the output segment of the backbone network is respectively connected to the input ends of the surgical instrument branch network and the surgical operation-target organ branch network, and the surgical instrument branch network includes a class activation mapping network, and the output end of the class activation mapping network of the surgical instrument branch network is connected to the input end of the surgical operation-target organ branch network.
[0054] The surgical instrument branch network includes a first convolutional neural network, a class activation mapping network and a global average pooling layer. The input end of the first convolutional neural network is connected to the input end of the backbone network, the output end of the first convolutional neural network is connected to the input end of the class activation mapping network, and the output end of the class activation mapping network is respectively connected to the input end of the global average pooling layer and the surgical operation-target organ branch network.
[0055] The surgical operation-target organ branch network includes: a surgical operation detection network, a target organ detection network, and a class activation mapping layer; the surgical operation detection network includes a second convolutional neural network, a first weakly supervised learning module, a third convolutional neural network, and a first fully connected layer connected in sequence; the target organ detection network includes a fourth convolutional neural network, a second weakly supervised learning module, a fifth convolutional neural network, and a second fully connected layer connected in sequence, and the first weakly supervised learning module, the class activation mapping layer, and the second weakly supervised learning module are connected in sequence.
[0056] The outputs of the surgical operation detection network, the target organ detection network, and the surgical instrument branch network are trained together in a multi-dimensional training space as data of different dimensions.
[0057] Among them, the backbone network is a ResNet-152 network, the specification of the first convolutional neural network is 3×3×128, the class activation mapping network is a convolutional neural network with a specification of 1×1×C1, where C1 is a set value, the specifications of the second convolutional neural network and the fourth convolutional neural network are both 3×3×64, and the specifications of the third convolutional neural network and the fifth convolutional neural network are 1×1×64.
[0058] In the present invention, construct Figure 1 In the multi-task deep learning model shown in the figure, related branch tasks share the layers and features of deep learning, thereby improving the recognition efficiency and accuracy of multi-label semantic segmentation. The model builds three branches of recognition tasks: surgical instruments (I), surgical actions (V), and target objects (T). The surgical instrument task branch constructs a two-layer convolutional network for instrument classification training. The original feature layer is compressed using global maximum pooling for training and learning of class activation mapping. The surgical action and target object branches are trained and classified using convolutional layers and a fully connected layer. All three branches use the same ResNet-18 network architecture for feature extraction.
[0059] Among them, the intraoperative non-rigid registration process is constructed, such as Figure 3 As shown in the figure, the key tissue location information in the image slice is highlighted through feature marking. The preprocessed IA and IB represent the interaction area point cloud and the single frame image of soft tissue reconstruction, respectively. The images IA and IB are input into the non-rigid registration deep learning framework, and the following is constructed: Figure 4 The deep learning-based two-stage registration framework shown in Figure 1 achieves global alignment of virtual and real images in the same frame through affine transformation, normalizes the interaction area point cloud feature map fA and soft tissue reconstruction feature map fB, and uses the output result as the initial transformation to achieve more accurate transformation and feature matching, thereby realizing non-rigid registration during surgery.
[0060] The non-rigid registration model is a two-stage registration framework, including a feature extraction module, a machine learning network, an affine regression network and a thin plate spline regression network: the target tissue point cloud data and the surgical interaction behavior point cloud data are input into the non-rigid registration model to obtain a registration image of the surgical interaction behavior point cloud data, including the following steps:
[0061] A feature extraction module is used to extract a first point cloud feature map of the target tissue and the surgical interaction behavior from the target tissue point cloud data and the surgical interaction behavior point cloud data respectively;
[0062] Inputting the first point cloud feature map of the target tissue and the surgical interaction into the machine learning network to obtain the first point cloud matching feature of the target tissue and the surgical interaction;
[0063] Inputting the first point cloud matching feature into an affine regression network to obtain an affine transformation matrix of the target tissue and the surgical interaction behavior;
[0064] Using an affine transformation matrix to perform an affine transformation on the surgical interaction behavior point cloud data;
[0065] A feature extraction module is used to extract a second point cloud feature map of the surgical interaction behavior point cloud data after affine transformation;
[0066] Inputting the second point cloud feature map and the first point cloud feature map of the target tissue point cloud data into a machine learning network to obtain a second point cloud matching feature;
[0067] The second point cloud matching feature is input into the thin plate spline regression network to obtain a registered image of the surgical interaction behavior point cloud data.
[0068] Specifically, the feature extraction module is a feature extraction fully convolutional neural network.
[0069] In summary, based on medical image-guided surgery, the present invention conducts in-depth research on surgical robot-tissue interaction, integrates deep reinforcement learning methods, performs spatial matching and interaction modeling between instruments and key anatomical structures, and realizes fine surgical operations within the correct anatomical level.
[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A point cloud-based intraoperative instrument-tissue interaction region reconstruction method, characterized in that: include: A binocular laparoscope is used to collect a binocular image set of the surgical area inside the target tissue; The SIFT feature extraction algorithm is used to extract the point cloud features of each binocular image in the binocular image set, and the point cloud feature distances between the binocular images are calculated, and the kd-tree model is used to perform spatial indexing on the point cloud of each binocular image; The adjacent point clouds in the spatial index are traversed, and the maximum likelihood estimates of the adjacent point clouds are calculated. The coordinate transformation matrix between the adjacent point clouds is determined according to the maximum likelihood estimate, and a three-dimensional point cloud model of the surgical area inside the target tissue is constructed based on the coordinate transformation matrices of each adjacent point cloud in the spatial index.
2. The point cloud-based intraoperative instrument-tissue interaction region reconstruction method according to claim 1, characterized in that: Calculate the point cloud feature distance between each binocular image, and use the kd-tree model to perform spatial indexing on the point cloud of each binocular image, including: The kd-tree model is used to calculate the distance between the point cloud features of two binocular images, and feature matching is performed to find images whose number of point cloud feature matches is greater than a preset value as successfully matched adjacent images.
3. The point cloud-based intraoperative instrument-tissue interaction region reconstruction method according to claim 1, characterized in that: Traversing the adjacent point clouds in the spatial index, calculating the maximum likelihood estimation values of the adjacent point clouds, and determining the coordinate transformation matrix between the adjacent point clouds according to the maximum likelihood estimation values, including the following steps: Search the point clouds of adjacent frames from the spatial index for maximum likelihood estimation, add new pictures in a loop for new estimation, and obtain camera estimation parameters and scene geometry information.
4. The point cloud-based intraoperative instrument-tissue interaction region reconstruction method according to claim 3, characterized in that: The following steps are also included: Acquire a surgical image and identify surgical interaction behaviors in the surgical image; extract surgical interaction behavior point cloud data from the surgical image based on the identified surgical interaction behavior coordinates; The target tissue point cloud data and the surgical interaction behavior point cloud data are non-rigidly registered.
5. The point cloud-based intraoperative instrument-tissue interaction region reconstruction method according to claim 7, characterized in that: The target tissue point cloud data and the surgical interaction behavior point cloud data are non-rigidly registered, including: Construct a non-rigid registration model based on a deep learning network; The target tissue point cloud data and the surgical interaction behavior point cloud data are input into the non-rigid registration model to obtain a registered image of the surgical interaction behavior point cloud data.
6. The intraoperative instrument-tissue interaction region reconstruction method according to claim 5, characterized in that: The non-rigid registration model is a two-stage registration framework, including a feature extraction module, a machine learning network, an affine regression network and a thin plate spline regression network: the target tissue point cloud data and the surgical interaction behavior point cloud data are input into the non-rigid registration model to obtain a registration image of the surgical interaction behavior point cloud data, including the following steps: A feature extraction module is used to extract a first point cloud feature map of the target tissue and the surgical interaction behavior from the target tissue point cloud data and the surgical interaction behavior point cloud data respectively; Inputting the first point cloud feature map of the target tissue and the surgical interaction into the machine learning network to obtain the first point cloud matching feature of the target tissue and the surgical interaction; Inputting the first point cloud matching feature into an affine regression network to obtain an affine transformation matrix of the target tissue and the surgical interaction behavior; Using an affine transformation matrix to perform an affine transformation on the surgical interaction behavior point cloud data; A feature extraction module is used to extract a second point cloud feature map of the surgical interaction behavior point cloud data after affine transformation; Inputting the second point cloud feature map and the first point cloud feature map of the target tissue point cloud data into a machine learning network to obtain a second point cloud matching feature; The second point cloud matching feature is input into the thin plate spline regression network to obtain a registered image of the surgical interaction behavior point cloud data.
7. The intraoperative instrument-tissue interaction region reconstruction method according to claim 6, characterized in that: The feature extraction module includes a first feature extraction module and a second feature extraction module, and the machine learning network includes a first machine learning network and a second machine learning network. The first feature extraction module is used to extract a first point cloud feature map, and the first machine learning network is used to obtain a first point cloud matching feature; the second feature extraction module is used to extract a second point cloud feature map, and the second machine learning network is used to obtain a second point cloud matching feature.
8. A computer system comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
