A method and device for generating surgical reference plans based on laser

The patient treatment data is processed through the time loop neural network and combined with the ablation kinematic model to generate a more accurate surgical reference plan, which solves the problem of insufficient accuracy of laser surgery plans in the existing technology and improves the prediction ability of laser tissue ablation. , reducing incorrect cutting of healthy tissue.

CN118217006BActive Publication Date: 2024-09-17WUHAN CHANGJIANG LASER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410400406.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2024-09-17
Estimated Expiration
2044-04-03

AI Technical Summary

Technical Problem

Existing deep learning-based wound image classification methods have difficulty minimizing erroneous over-cutting of healthy tissue during pathological tissue resection and precise tissue resection, resulting in insufficient accuracy of laser surgical solutions.

Method used

The time-cyclic neural network is used to process patient treatment data, extract the characteristics of laser tissue ablation, and generate a more accurate surgical reference plan through the combination of the ablation kinematic model and the time-cyclic neural network.

Benefits of technology

Significantly improves the accuracy of laser surgery plans, enhances the ability to understand and predict changes in laser tissue ablation status by fusing temporal and spatial features, and reduces erroneous cutting of healthy tissue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118217006B
    Figure CN118217006B
Patent Text Reader

Abstract

The present invention proposes a method and device for generating a surgical reference plan based on laser, which relates to the technical field of laser-assisted treatment, collects patient treatment data, wherein the patient treatment data includes incident laser profile parameters and a patient tissue model; constructs an ablation kinematic model, inputs the incident laser profile parameters and the laser incident coordinates of the patient tissue model into the ablation kinematic model to obtain tissue ablation characteristics; inputs the tissue ablation characteristics into a time recurrent neural network, so that the time recurrent neural network outputs ablation treatment prediction results corresponding to the tissue ablation characteristics; generates a surgical reference plan using the ablation treatment prediction results as reference information. The present invention helps to improve the accuracy of the final determined laser surgery plan.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of laser-assisted treatment, and in particular to a method and device for generating a surgical reference plan based on laser. Background Art

[0002] Laser surgery is a precise and low-invasive treatment method that has been widely used in modern medicine. According to the individual characteristics and treatment needs of patients, laser surgery needs to take various factors into consideration to ensure the accuracy and effectiveness of treatment.

[0003] The Chinese patent with publication number CN116452855A discloses a wound image classification and laser-assisted treatment method based on deep learning, which belongs to the field of wound image classification and laser-assisted treatment. The wound image classification method based on deep learning disclosed in the present invention uses a multi-spectral camera to simultaneously collect visible light images and infrared images of the wound, fuses the visible light image and infrared image information of the wound, and then inputs the wound image into a detection classifier based on deep learning to complete positioning, classification and recognition. However, the above application cannot minimize the erroneous excessive cutting of healthy tissue during the process of pathological tissue resection and precise tissue resection. Therefore, it is very necessary to provide a method and device for generating a laser-based surgical reference plan to improve the accuracy of the final determined laser surgical plan. Summary of the invention

[0004] In view of this, the present invention proposes a method and device for generating a surgical reference plan based on laser. By using a time recurrent neural network to process these time-series patient treatment data, the corresponding features related to laser tissue ablation are extracted, thereby significantly improving the prediction ability and accuracy of the network model.

[0005] The present invention provides a method for generating a surgical reference plan based on laser, the method comprising:

[0006] Collecting patient treatment data, wherein the patient treatment data includes incident laser profile parameters and a patient tissue model, and the patient tissue model includes laser incident coordinates;

[0007] Constructing an ablation kinematics model, inputting the incident laser profile parameters and the laser incident coordinates of the patient tissue model into the ablation kinematics model, and obtaining tissue ablation characteristics after processing;

[0008] Inputting the tissue ablation feature into a time recurrent neural network to obtain an ablation treatment prediction result corresponding to the tissue ablation feature;

[0009] The ablation treatment prediction result is used as reference information, and a corresponding surgical reference plan is generated based on the reference information.

[0010] On the basis of the above technical solution, preferably, the expression of the ablation kinematics model is:

[0011]

[0012] in, A f represents the laser incident angle, C f represents the laser ablation center, b k The first k The simulated coordinates, n k The first k The simulated coordinates, d k ( x ) represents the incident angle A f Directional laser ablation of tissue volume removed.

[0013] On the basis of the above technical solution, preferably, the time recurrent neural network includes a bidirectional long short-term memory network and a convolutional long short-term memory network, the bidirectional long short-term memory network is used to record the tissue ablation features in each time step, and output forward transfer features and backward transfer features corresponding to the tissue ablation features, and the convolutional long short-term memory network is used to capture the spatiotemporal features in time series data, and output convolution features based on the tissue ablation features and the time series data.

[0014] More preferably, the inputting the tissue ablation feature into a time recurrent neural network to obtain the ablation treatment prediction result corresponding to the tissue ablation feature specifically includes:

[0015] Inputting the tissue ablation features corresponding to different time steps into the bidirectional long short-term memory network and the convolutional long short-term memory network in sequence respectively;

[0016] The bidirectional long short-term memory network outputs forward transfer features and backward transfer features based on tissue ablation features, and the convolutional long short-term memory network outputs convolution features based on tissue ablation features;

[0017] Based on the feature fusion module, the forward transfer feature, the backward transfer feature and the convolution feature are subjected to feature fusion to obtain a predicted ablation feature corresponding to a time step;

[0018] The predicted ablation features are passed through a prediction module based on a fully connected layer, so that the prediction module outputs an ablation treatment prediction result corresponding to the predicted ablation features.

[0019] More preferably, the expression of the bidirectional long short-term memory network is:

[0020]

[0021]

[0022]

[0023]

[0024]

[0025] in, i t Indicates t The state value of the input gate in the time step, f t Indicates t The state value of the forget gate in time steps, c t represents the state value of the cell gate in the tth time step, o t Indicates t The state value of the output gate in time steps, represents the Hadamard product, σ ( ) represents the sigmoid function, b i represents the bias term of the input gate, W ic represents the network weight from the input layer to the cell layer, Indicates that in the t-1th time step, s The output function of the hidden layer in the hidden state is W ih represents the network weight from the input layer to the hidden layer, W ig Indicates t - the network weight of the state value of the input gate in 1 time step, Indicates t -1 time step, s The state value of the input gate under the hidden state, b f represents the bias term of the forget gate, W fo represents the network weight from the forgetting layer to the output layer, W hf represents the network weights from the hidden layer to the forgetting layer, W fg Indicates t-The network weight of the state value of the forget gate in 1 time step, tanh( ) represents the hyperbolic tangent function, b c represents the bias term of the cell gate, W hc represents the network weights from the hidden layer to the cell layer, W gc Indicates t - the network weight of the state value of the cell gate in 1 time step, b o represents the bias term of the output gate, W oc represents the network weight from the output layer to the cell layer, W oh represents the network weight from the output layer to the hidden layer, W og Indicates t - The network weights for the state values ​​of the output gates at 1 time step.

[0026] More preferably, the bidirectional long short-term memory network also includes the following expression:

[0027]

[0028]

[0029] in, a i represents the attention output function of the hidden layer, g i represents the evaluation score of the hidden layer output, B g represents the first learnable parameter, W ls represents the second learnable parameter, W hs represents the third learnable parameter, G t Represents the operation function of the second convolutional layer in the bidirectional long short-term memory network.

[0030] More preferably, the expression of the convolutional long short-term memory network is:

[0031]

[0032]

[0033]

[0034]

[0035] Among them, X represents the input data at different time steps, X t+n Represents the input data at the t+nth time point in the forecast period, n represents a constant, E t represents the operation function of the first convolutional layer in the bidirectional long short-term memory network, M 1 represents the first convolution kernel of the bidirectional long short-term memory network, G t represents the operation function of the second convolutional layer in the bidirectional long short-term memory network, M 2 represents the second convolution kernel of the bidirectional long short-term memory network, Y t Represents the convolutional features output by the bidirectional long short-term memory network.

[0036] In a second aspect of the present application, a laser-based surgical reference plan generation device is provided, the surgical reference plan generation device comprising a data acquisition module, a model building module, a data prediction module and a plan generation module, wherein:

[0037] The data acquisition module is used to acquire patient treatment data, wherein the patient treatment data includes incident laser profile parameters and a patient tissue model, and the patient tissue model includes laser incident coordinates;

[0038] The model building module is used to build an ablation kinematics model, input the incident laser profile parameters and the laser incident coordinates of the patient tissue model into the ablation kinematics model, and obtain tissue ablation characteristics after processing;

[0039] The data prediction module is used to input the tissue ablation feature into a time recurrent neural network to obtain an ablation treatment prediction result corresponding to the tissue ablation feature;

[0040] The plan generation module is used to use the ablation treatment prediction result as reference information and generate a corresponding surgical reference plan based on the reference information.

[0041] In a third aspect of the present application, an electronic device is provided, comprising a processor, a memory, a user interface and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory.

[0042] In a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of a method for generating a laser-based surgical reference plan.

[0043] The laser-based surgical reference plan generation method and device provided by the present invention have the following beneficial effects compared with the prior art:

[0044] (1) The patient treatment data contains a variety of information such as the patient tissue model reflecting the patient's tissue state and the laser output conditions. The acquisition of this data provides a basis for subsequent ablation treatment predictions. At the same time, the time recurrent neural network is used to process these time-series patient treatment data to extract the corresponding features of the laser tissue ablation fitting parameters. These features help to fully understand the changes in the volume, position and shape of the ablation craters caused by laser tissue ablation, so that the time recurrent neural network can fully and deeply understand the state changes of laser tissue ablation, effectively learn the inherent dependencies of the feature sequence, and provide richer feature representations, which greatly facilitates the subsequent ablation treatment predictions, thereby significantly improving the prediction ability and accuracy of the network model;

[0045] (2) The forward transfer features obtained by the bidirectional long short-term memory network contain information from the past moment to the present moment, while the backward transfer features contain information from the future moment to the present moment. The fusion of these two features can enable the time recurrent neural network to better understand the entire time series data and more accurately predict future ablation features. In addition, the forward transfer features, backward transfer features and convolution features are fused so that the time recurrent neural network considers not only temporal information but also spatial information, thereby more comprehensively understanding the spatiotemporal series data and obtaining a more representative and comprehensive feature representation to improve the accuracy of ablation therapy prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A schematic diagram of a flow chart of a method for generating a surgical reference plan based on laser provided by the present invention;

[0048] Figure 2 A geometric configuration relationship diagram of the laser and tissue model provided by the present invention;

[0049] Figure 3 A schematic diagram of the framework of the time recurrent neural network provided by the present invention;

[0050] Figure 4 A schematic diagram of the structure of a surgical reference plan generating device provided by the present invention;

[0051] Figure 5 This is a schematic structural diagram of an electronic device provided by the present invention.

[0052] Explanation of the accompanying drawings: 1. Surgical reference plan generating device; 11. Data acquisition module; 12. Model building module; 13. Data prediction module; 14. Plan generating module; 2. Electronic device; 21. Processor; 22. Communication bus; 23. User interface; 24. Network interface; 25. Memory. DETAILED DESCRIPTION

[0053] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] The present application embodiment discloses a method for generating a surgical reference plan based on laser, such as Figure 1 As shown, the method comprises steps S1 to S4.

[0055] Step S1, collecting patient treatment data, wherein the patient treatment data includes incident laser profile parameters and a patient tissue model, and the patient tissue model includes laser incident coordinates.

[0056] In this step, the incident laser profile parameters need to be recorded by the laser treatment device itself, by recording the intensity, wavelength, pulse duration and other parameters of the laser each time the patient is treated; to construct the patient tissue model, it is necessary to collect the patient's medical image data, and the patient can be scanned using a CT machine, MRI machine, etc. to obtain a three-dimensional digital image model of the patient's tissue to be treated. Since the characteristics of various tissues in the human body are generally different in medical images, for example, the grayscale values ​​of pixels corresponding to bone tissue, skin, muscle, etc. are generally different, the doctor can obtain the relative position relationship of the physiological tissues inside the human body and whether there are health problems by analyzing the information in the medical image. For example, if the scanning area is the elbow, the doctor can clearly see the relative position of the bone (such as the humerus) and the elbow from the medical image, and when inflammation is found, since the grayscale values ​​of the inflammatory lesion area on the medical image are different, the doctor can obtain information from it whether the human body has a lesion.

[0057] In one example, the size of the incision formed by laser ablation of tissue is closely related to the input energy, which is controlled by the laser scanning speed and laser power. The following formula is a characteristic related to the incident laser profile parameters:

[0058]

[0059]

[0060]

[0061] in, The coordinates are (x i ,y i ) The laser incident angle at the scanning point, represents the laser power, The characteristic that indicates the laser power is affected by the laser projection area, the scanning point (x i ,y i ) scanning speed v i is the scanning point (x i ,y i ) as the center of the circle and the neighborhood scanning distance is the radius and cycle scan time t i Sure. E i The input energy of the laser per unit length is called linear energy density, and its unit is J / mm.

[0062]

[0063] in, Represents the unit direction vector of the laser movement The angle between the x-axis and the coordinate system, e0 is x The unit direction vector of the axis, g ( ) represents the vector angle function.

[0064] Step S2, constructing an ablation kinematic model, inputting incident laser profile parameters and laser incident coordinates of the patient tissue model into the ablation kinematic model, and obtaining tissue ablation characteristics after processing.

[0065] In this step, the expression of the ablation kinematic model is:

[0066]

[0067] in, A f represents the laser incident angle, C f represents the laser ablation center, b k The first k The simulated coordinates, n kThe first k The simulated coordinates, d k ( x ) represents the incident angle A f Directional laser ablation of tissue volume removed.

[0068] In this embodiment, if Figure 2 The geometric configuration relationship diagram of the laser and tissue model is as follows: ,and ; The tissue surface after laser ablation can be defined as ,and It is understandable that each pair and A unique mapping relationship is formed.

[0069] Step S3, inputting the tissue ablation features into the time recurrent neural network to obtain ablation treatment prediction results corresponding to the tissue ablation features.

[0070] In this embodiment, the time recurrent neural network includes a bidirectional long short-term memory network and a convolutional long short-term memory network. The bidirectional long short-term memory network is used to record the tissue ablation features in each time step and output forward transfer features and backward transfer features corresponding to the tissue ablation features. The convolutional long short-term memory network is used to capture the spatiotemporal features in time series data and output convolution features based on the tissue ablation features and the time series data.

[0071] This step also includes steps S31 to S34.

[0072] Step S31, inputting the tissue ablation features corresponding to different time steps into the bidirectional long short-term memory network and the convolutional long short-term memory network in sequence.

[0073] It should be explained that the LSTM network (Long Short-Term Memory Network) is a recurrent neural network that can learn long sequence data. It controls the flow of states through mechanisms such as forget gates and input gates, and can capture long-distance dependencies in time series data. The size and shape of the ablation pits in laser tissue ablation will be different at different degradation stages. By inputting the size and shape of the ablation pits at a specific stage into the LSTM network for training, the feature extraction and modeling of that stage can be obtained. Compared with simple fully connected networks, LSTM is more suitable for processing time series and can learn the inherent laws of time series state transition. Compared with convolutional networks, it is also more robust to changes in sequence length. Finally, the LSTM models of each stage are integrated, and the models of different stages can capture the time series characteristics under the corresponding state, improve the modeling ability of the entire degradation process, and enhance the prediction effect. In summary, using the LSTM network for stage modeling can obtain a deep learning expression of the dynamic degradation process, which is conducive to the prediction of the results of laser tissue ablation.

[0074] In this step, The tissue ablation features corresponding to the same time step are input into the bidirectional long short-term memory network and the convolutional long short-term memory network. The tissue ablation features can be obtained through the feature vector It indicates that, A f represents the laser incident angle, Indicated by the incident angle A f The volume of tissue removed by laser ablation, Indicates the distance from the laser-ablated tissue to the laser center.

[0075] Step S32, the bidirectional long short-term memory network outputs forward transfer features and backward transfer features based on the tissue ablation features, and the convolutional long short-term memory network outputs convolution features based on the tissue ablation features.

[0076] In this step, Figure 3 Schematic diagram of the framework of the time recurrent neural network.

[0077] The expression of the bidirectional long short-term memory network is:

[0078]

[0079]

[0080]

[0081]

[0082]

[0083] in,i t Indicates t The state value of the input gate in the time step, f t Indicates t The state value of the forget gate in time steps, c t represents the state value of the cell gate in the tth time step, o t Indicates t The state value of the output gate in time steps, represents the Hadamard product, σ ( ) represents the sigmoid function, b i represents the bias term of the input gate, W ic represents the network weight from the input layer to the cell layer, Indicates that in the t-1th time step, s The output function of the hidden layer in the hidden state is W ih represents the network weight from the input layer to the hidden layer, W ig Indicates t - the network weight of the state value of the input gate in 1 time step, Indicates t -1 time step, s The state value of the input gate under the hidden state, b f represents the bias term of the forget gate, W fo represents the network weight from the forgetting layer to the output layer, W hf represents the network weights from the hidden layer to the forgetting layer, W fg Indicates t -The network weight of the state value of the forget gate in 1 time step, tanh( ) represents the hyperbolic tangent function, b c represents the bias term of the cell gate, W hc represents the network weights from the hidden layer to the cell layer, W gc Indicates t - the network weight of the state value of the cell gate in 1 time step, b o represents the bias term of the output gate, W oc represents the network weight from the output layer to the cell layer, W ohrepresents the network weight from the output layer to the hidden layer, W og Indicates t - The network weights for the state values ​​of the output gates at 1 time step.

[0084]

[0085]

[0086] in, a i represents the attention output function of the hidden layer, g i represents the evaluation score of the hidden layer output, B g represents the first learnable parameter, W ls represents the second learnable parameter, W hs represents the third learnable parameter, G t Represents the operation function of the second convolutional layer in the bidirectional long short-term memory network.

[0087] The expression of convolutional long short-term memory network is:

[0088]

[0089]

[0090]

[0091]

[0092] Among them, X represents the input data at different time steps, X t+n Represents the input data at the t+nth time point in the forecast period, n represents a constant, E t Represents the operation function of the first convolutional layer in the bidirectional long short-term memory network, M 1 represents the first convolution kernel of the bidirectional long short-term memory network, G t Represents the operation function of the second convolutional layer in the bidirectional long short-term memory network, M 2 represents the second convolution kernel of the bidirectional long short-term memory network. Y t Represents the convolutional features output by a bidirectional long short-term memory network.

[0093] In one example, a symmetric Gaussian-based model can also be used to describe the relationship between laser energy and surface geometry. However, the symmetric Gaussian-based model has only two parameters and cannot be extended to more complex data fitting models. Another method is to use other nonlinear regression functions, such as polynomial functions and Gaussian mixture functions. However, nonlinear regression functions require some specific definitions, such as the order of polynomial functions. Therefore, this scheme can also use a single-layer perceptron (SLP) model with four parameters (a single hidden layer and an output layer contain two parameters, weights and biases) as the regression function for model fitting. That is, by constructing a single-layer perceptron (SLP) for and The mapping relationship is modeled.

[0094]

[0095] in, Indicates the independent variable With dependent variable The one-dimensional regression function between .

[0096] First, a reference plane is defined to describe the Gaussian beam profile as a point vector configuration , and the laser ablation center P c The laser origin P projected onto the laser incident surface o , we can get the laser origin P o The expression is:

[0097]

[0098]

[0099]

[0100] Where R represents an arbitrary fixed constant, B k Represents the first k The projection coordinates corresponding to the simulated coordinates are Further expressing the projection coordinates B k With laser origin P o The distance between Represents the L2 loss function - normal distribution.

[0101] One-dimensional regression function in ablation kinematics model Perform parameter estimation:

[0102]

[0103] in, Represents the mean square error loss function, as the dataset, and the training-validation ratio was set to 8:2. The best epoch was selected for the trained SLP model. The MATLAB fitnet built-in function was used to implement SLP, and the Levenberg-Marquardt optimization algorithm was used as the solver.

[0104] Establish a reverse motion model relative to the forward motion model in the ablation kinematics model:

[0105]

[0106]

[0107]

[0108] in, I k express, and The cost function corresponding to the coordinates, Represents the first k actual coordinates, and . The following definitions can exist: H1=[0, 0, -1, 0, 0, 0] and j1=α (the surface normal of the reference plane is [0, 0, -1], α is a fixed value), and the above matrix is ​​defined as an equality constraint so that the laser ablation center moves within a fixed planar region, and the equality constraint is described by a reference plane with a Z value of α in the XY plane. In practical applications, the laser scalpel can release energy at any position on the tissue surface. In addition, (H2, j2) and (H3, j3) represent inequality constraints on the upper and lower limits of the ablation center and the orientation vector, which is consistent with the actual situation, that is, the robotic laser end effector may be subject to geometric constraints during operation.

[0109] The user (i.e., surgeon) can select the target region of interest (ROI) during surgery and create surface targets such as tumor boundaries and tissue cutting ROIs based on intraoperative measurements from 3D sensors (such as OCT). The laser planner calculates the optimal laser injection configuration to create a simulated post-ablation tissue crater. This predicted crater can be used for surgical planning of laser surgery or to help surgeons evaluate the quality of the current single laser ablation. Since the laser planning problem is equivalent to minimizing the alignment offset between the predicted crater and the surface target, the optimization problem can be formulated as the least squares of the point-based error between the two surfaces:

[0110]

[0111]

[0112]

[0113] in, Represents the cost function corresponding to the laser incident angle and the laser ablation center.

[0114] Furthermore, to create a dataset with multiple post-ablation tissue pits, an existing robotic laser system (such as TumorCNC) can be used to create various laser directions and ablation centers on the model using a 10-watt CO2 laser. Each laser shot configuration can produce a unique surface pit, and this surface profile can be post-processed to obtain a fixed number of data tuples. . Data sets of tissue properties of three different models were collected, and each model had three different energy modes. The tissue properties were controlled by adjusting the mass proportion of agarose in the total volume of the ablated tissue model, and the mass proportion of agarose in the total volume of the ablated tissue model can be 0.5%, 1.5% and 2.5%, while maintaining the internal lipid proportion of 10% in the total volume of the ablated tissue model. Each ablated tissue model is associated with three different energy modes (e.g. 25 Joules; 56 Joules; 95 Joules). For each energy mode, six tissue pits were specified, and their unique laser incident directions were controlled by a dual-axis galvanometer. Therefore, each tissue pit can be regarded as a unique data point.

[0115] Step S33, based on the feature fusion module, the forward transfer feature, the backward transfer feature and the convolution feature are fused to obtain the predicted ablation feature corresponding to the time step.

[0116] The forward transfer features obtained by the bidirectional long short-term memory network contain information from the past moment to the current moment, while the backward transfer features contain information from the future moment to the current moment. The fusion of these two features can enable the time recurrent neural network to better understand the entire time series data and more accurately predict future ablation features. In addition, the forward transfer features, backward transfer features and convolution features are fused so that the time recurrent neural network not only considers temporal information but also spatial information, thereby more comprehensively understanding the spatiotemporal series data, obtaining a more representative and comprehensive feature representation, and improving the accuracy of prediction.

[0117] In one example, multi-model fusion can also be used to fuse forward transfer features, backward transfer features, and convolution features. Since different single models have their own advantages, fusion can take advantage of the strengths of each model to improve the stability and robustness of the prediction. Here, the LSTM models of each degradation stage can be weighted fused, and the weight coefficients can be set based on the verification performance of the model or set to the same weight. As new data arrives, online predictions can be performed continuously, and the weights of each model can be dynamically adjusted according to the prediction effect to achieve adaptive optimization. Compared with a single model, model fusion takes into account the features in different states, can more comprehensively characterize the entire degradation process, and the prediction results are more reliable, thereby improving the accuracy and robustness of the prediction, and is more suitable for complex sequence prediction problems.

[0118] Step S34, passing the predicted ablation features through a prediction module based on a fully connected layer, so that the prediction module outputs an ablation treatment prediction result corresponding to the predicted ablation features.

[0119] In this step, the collected patient treatment data is immediately analyzed. This process requires continuous feature extraction, pattern recognition and other steps to achieve real-time processing of new data. Feature extraction is repeated to ensure that the latest feature changes of patient tissue ablation can be accurately captured. The current state of the patient's tissue and its response to treatment can be reflected through continuously updated feature representation. In addition, by clustering and pattern recognition of features, the ablation characteristics of different stages can be identified, so that the treatment process can be dynamically adjusted and optimized. The prediction model can also be continuously updated and optimized through feedback of prediction results to achieve incremental learning and self-improvement of the model.

[0120] Step S4: using the ablation treatment prediction result as reference information, and generating a corresponding surgical reference plan based on the reference information.

[0121] In this step, the surgical reference plan includes reference information, including the predicted shape and size of the tissue pit formed by ablation, the center position of laser ablation and the laser output power. The doctor can obtain the above information when reading the surgical reference plan.

[0122] When determining a surgical plan, the doctor may directly use the reference information contained in the above surgical reference plan as the information in the determined surgical plan, or may adjust the reference information based on the above reference information according to his own surgical experience to determine the surgical plan.

[0123] In addition, when generating a surgical reference plan, in addition to the shape and size of the tissue pits formed by the predicted ablation, the center position of the laser ablation, and the laser output power determined above as reference information, the overlapping volume ratio of the predicted tissue ablation pits and the actual tissue ablation pits in the three-dimensional model of the object's tissue to be treated and the over-cutting value can also be used as a reference.

[0124] In summary, with the help of the above-mentioned technical scheme of the present invention, the patient treatment data obtained by the present invention contains a variety of information such as the ablation pits and laser output conditions finally formed by laser tissue ablation, such as the shape and size of the tissue pits formed by ablation, the center position of laser ablation, and various parameters such as laser output power. The acquisition of these data provides a basis for subsequent ablation treatment prediction. At the same time, the bidirectional long short-term memory network and the convolutional long short-term memory network in the time recurrent neural network model are used to process these time series data respectively, so as to extract the forward transfer features, backward transfer features and convolution features of the laser tissue ablation fitting parameters. These features help to fully understand the volume change, position change and shape change of the ablation pits of laser tissue ablation. By integrating a variety of data processing and feature extraction technologies, the state changes of the ablation pits formed after laser tissue ablation can be fully and deeply understood, and the possible ablation treatment prediction results can be predicted. The intrinsic dependency of the feature sequence can be effectively learned, and richer feature representations can be provided, which greatly facilitates the subsequent ablation treatment prediction, thereby significantly improving the prediction ability and accuracy of the network model.

[0125] Based on the above method, the present application embodiment discloses a laser-based surgical reference plan generation device, referring to Figure 4 The surgical reference scheme generating device 1 comprises a data acquisition module 11, a model building module 12, a data prediction module 13 and a scheme generating module 14, wherein:

[0126] The data acquisition module 11 is used to acquire patient treatment data, wherein the patient treatment data includes incident laser profile parameters and a patient tissue model, wherein the patient tissue model includes laser incident coordinates;

[0127] The model building module 12 is used to build an ablation kinematics model, input the incident laser profile parameters and the laser incident coordinates of the patient tissue model into the ablation kinematics model, and obtain the tissue ablation characteristics after processing;

[0128] The data prediction module 13 is used to input the tissue ablation characteristics into the time recurrent neural network to obtain the ablation treatment prediction results corresponding to the tissue ablation characteristics;

[0129] The plan generation module 14 is used to use the ablation treatment prediction result as reference information and generate a corresponding surgical reference plan based on the reference information.

[0130] In one example, the ablation kinematic model is expressed as:

[0131]

[0132] in, A f represents the laser incident angle, C f represents the laser ablation center, b k The first k The simulated coordinates, n k The first k The simulated coordinates, d k ( x ) represents the incident angle A f Directional laser ablation of tissue volume removed.

[0133] In one example, a temporal recurrent neural network includes a bidirectional long short-term memory network and a convolutional long short-term memory network. The bidirectional long short-term memory network is used to record tissue ablation features in each time step and output forward transfer features and backward transfer features corresponding to the tissue ablation features. The convolutional long short-term memory network is used to capture spatiotemporal features in time series data and is based on the convolutional features of the tissue ablation features and the time series data.

[0134] In one example, the tissue ablation feature is input into a time recurrent neural network to obtain a prediction result of ablation therapy corresponding to the tissue ablation feature, specifically including:

[0135] The tissue ablation features corresponding to different time steps are sequentially input into the bidirectional long short-term memory network and the convolutional long short-term memory network;

[0136] The bidirectional long short-term memory network outputs forward transfer features and backward transfer features based on the tissue ablation features, and the convolutional long short-term memory network outputs convolution features based on the tissue ablation features;

[0137] Based on the feature fusion module, the forward transfer features, the backward transfer features and the convolution features are fused to obtain the predicted ablation features corresponding to the time step;

[0138] The predicted ablation features are passed through a prediction module based on a fully connected layer, so that the prediction module outputs an ablation treatment prediction result corresponding to the predicted ablation features.

[0139] In an example, the expression of a bidirectional long short-term memory network is:

[0140]

[0141]

[0142]

[0143]

[0144]

[0145] in, i t Indicates t The state value of the input gate in the time step, f t Indicates t The state value of the forget gate in time steps, c t represents the state value of the cell gate in the tth time step, o t Indicates t The state value of the output gate in time steps, represents the Hadamard product, σ ( ) represents the sigmoid function, b i represents the bias term of the input gate, W ic represents the network weight from the input layer to the cell layer, Indicates that in the t-1th time step, s The output function of the hidden layer in the hidden state is W ih represents the network weight from the input layer to the hidden layer, W ig Indicates t - the network weight of the state value of the input gate in 1 time step, Indicates t -1 time step, s The state value of the input gate under the hidden state, b f represents the bias term of the forget gate, W fo represents the network weight from the forgetting layer to the output layer, W hf represents the network weights from the hidden layer to the forgetting layer, W fg Indicates t -The network weight of the state value of the forget gate in 1 time step, tanh( ) represents the hyperbolic tangent function, b c represents the bias term of the cell gate, Whc represents the network weights from the hidden layer to the cell layer, W gc Indicates t - the network weight of the state value of the cell gate in 1 time step, b o represents the bias term of the output gate, W oc represents the network weight from the output layer to the cell layer, W oh represents the network weight from the output layer to the hidden layer, W og Indicates t - The network weights for the state values ​​of the output gates at 1 time step.

[0146] In one example, the bidirectional long short-term memory network also includes the following expression:

[0147]

[0148]

[0149] in, a i represents the attention output function of the hidden layer, g i represents the evaluation score of the hidden layer output, B g represents the first learnable parameter, W ls represents the second learnable parameter, W hs represents the third learnable parameter, G t Represents the operation function of the second convolutional layer in the bidirectional long short-term memory network.

[0150] In one example, the expression for a convolutional long short-term memory network is:

[0151]

[0152]

[0153]

[0154]

[0155] Among them, X represents the input data at different time steps, X t+n Represents the input data at the t+nth time point in the forecast period, n represents a constant, E tRepresents the operation function of the first convolutional layer in the bidirectional long short-term memory network, M 1 represents the first convolution kernel of the bidirectional long short-term memory network, G t Represents the operation function of the second convolutional layer in the bidirectional long short-term memory network, M 2 represents the second convolution kernel of the bidirectional long short-term memory network. Y t Represents the convolutional features output by a bidirectional long short-term memory network.

[0156] See also Figure 5 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 2 may include: at least one processor 21 , at least one network interface 24 , a user interface 23 , a memory 25 , and at least one communication bus 22 .

[0157] The communication bus 22 is used to realize the connection and communication between these components.

[0158] The user interface 23 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 23 may also include a standard wired interface and a wireless interface.

[0159] The network interface 24 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0160] Among them, the processor 21 may include one or more processing cores. The processor 21 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 25, and calling data stored in the memory 25. Optionally, the processor 21 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 21 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 21, and it can be implemented separately through a chip.

[0161] The memory 25 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 25 includes a non-transitory computer-readable storage medium. The memory 25 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 25 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 25 may optionally be at least one storage device located away from the aforementioned processor 21. As Figure 5 As shown, the memory 25 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program based on a single-purpose high-speed forging hammer tracking method.

[0162] exist Figure 5In the electronic device 2 shown, the user interface 23 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 21 can be used to call the application based on the single-purpose high-speed forging hammer tracking method stored in the memory 25. When executed by one or more processors, the electronic device executes one or more methods in the above-mentioned embodiments.

[0163] A computer-readable storage medium stores instructions, which, when executed by one or more processors, enable the computer to execute one or more methods in the above-mentioned embodiments.

[0164] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0165] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0166] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0167] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0168] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0169] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0170] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating a surgical reference plan based on laser, characterized in that: The method comprises: Collecting patient treatment data, wherein the patient treatment data includes incident laser profile parameters and a patient tissue model, and the patient tissue model includes laser incident coordinates; Constructing an ablation kinematics model, inputting the incident laser profile parameters and the laser incident coordinates of the patient tissue model into the ablation kinematics model, and obtaining tissue ablation characteristics after processing; The expression of the ablation kinematic model is: ; in, A f represents the laser incident angle, C f represents the laser ablation center, b k The tissue model before laser ablation k The simulated coordinates, n k The first k The simulated coordinates, d k ( x ) represents the incident angle A f Directional laser ablation of tissue volume removed; Inputting the tissue ablation feature into a time recurrent neural network to obtain an ablation treatment prediction result corresponding to the tissue ablation feature; The time recurrent neural network includes a bidirectional long short-term memory network and a convolutional long short-term memory network. The bidirectional long short-term memory network is used to record the tissue ablation features in each time step and output forward transfer features and backward transfer features corresponding to the tissue ablation features. The convolutional long short-term memory network is used to capture the spatiotemporal features in the time series data and output convolutional features based on the tissue ablation features and the time series data. The step of inputting the tissue ablation feature into a time recurrent neural network to obtain a prediction result of ablation therapy corresponding to the tissue ablation feature specifically includes: Inputting the tissue ablation features corresponding to different time steps into the bidirectional long short-term memory network and the convolutional long short-term memory network in sequence respectively; The bidirectional long short-term memory network outputs forward transfer features and backward transfer features based on tissue ablation features, and the convolutional long short-term memory network outputs convolution features based on tissue ablation features; Based on the feature fusion module, the forward transfer feature, the backward transfer feature and the convolution feature are subjected to feature fusion to obtain a predicted ablation feature corresponding to a time step; Passing the predicted ablation feature through a prediction module based on a fully connected layer, so that the prediction module outputs an ablation treatment prediction result corresponding to the predicted ablation feature; The ablation treatment prediction result is used as reference information, and a corresponding surgical reference plan is generated based on the reference information.

2. The method according to claim 1, characterized in that The expression of the bidirectional long short-term memory network is: ; ; ; ; ; in, i t Indicates t The state value of the input gate in the time step, f t Indicates t The state value of the forget gate in time steps, c t represents the state value of the cell gate in the tth time step, o t Indicates t The state value of the output gate in time steps, represents the Hadamard product, σ ( ) represents the sigmoid function, b i represents the bias term of the input gate, W ic represents the network weight from the input layer to the cell layer, Indicates that in the t-1th time step, s The output function of the hidden layer in the hidden state is W ih represents the network weight from the input layer to the hidden layer, W ig Indicates t - the network weight of the state value of the input gate in 1 time step, Indicates t -1 time step, s The state value of the input gate under the hidden state, b f represents the bias term of the forget gate, W fo represents the network weight from the forgetting layer to the output layer, W hf represents the network weights from the hidden layer to the forgetting layer, W fg Indicates t -The network weight of the state value of the forget gate in 1 time step, tanh( ) represents the hyperbolic tangent function, b c represents the bias term of the cell gate, W hc represents the network weights from the hidden layer to the cell layer, W gc Indicates t - the network weight of the state value of the cell gate in 1 time step, b o represents the bias term of the output gate, W oc represents the network weight from the output layer to the cell layer, W oh represents the network weight from the output layer to the hidden layer, W og Indicates t - The network weights for the state values ​​of the output gates at 1 time step.

3. The method according to claim 2, characterized in that The bidirectional long short-term memory network also includes the following expression: ; ; in, a i represents the attention output function of the hidden layer, g i represents the evaluation score of the hidden layer output, B g represents the first learnable parameter, W ls represents the second learnable parameter, W hs represents the third learnable parameter, G t Represents the operation function of the second convolutional layer in the bidirectional long short-term memory network.

4. The method according to claim 3, characterized in that The expression of the convolutional long short-term memory network is: ; ; ; ; Among them, X represents the input data at different time steps, X t+n Represents the input data at the t+nth time point in the forecast period, n represents a constant, E t represents the operation function of the first convolutional layer in the bidirectional long short-term memory network, M 1 represents the first convolution kernel of the bidirectional long short-term memory network, G t represents the operation function of the second convolutional layer in the bidirectional long short-term memory network, M 2 represents the second convolution kernel of the bidirectional long short-term memory network, Y t Represents the convolutional features output by the bidirectional long short-term memory network.

5. A laser-based surgical reference plan generation device, characterized in that: The surgical reference plan generating device (1) comprises a data acquisition module (11), a model building module (12), a data prediction module (13) and a plan generating module (14), wherein: The data acquisition module (11) is used to acquire patient treatment data, wherein the patient treatment data includes incident laser profile parameters and a patient tissue model, and the patient tissue model includes laser incident coordinates; The model building module (12) is used to build an ablation kinematic model, input the incident laser profile parameters and the laser incident coordinates of the patient tissue model into the ablation kinematic model, and obtain tissue ablation characteristics after processing; The expression of the ablation kinematic model is: ; in, A f represents the laser incident angle, C f represents the laser ablation center, b k The first k The simulated coordinates, n k The first k The simulated coordinates, d k ( x ) represents the incident angle A f Direction: The volume of tissue removed by laser ablation; The data prediction module (13) is used to input the tissue ablation feature into a time recurrent neural network to obtain an ablation treatment prediction result corresponding to the tissue ablation feature; The time recurrent neural network includes a bidirectional long short-term memory network and a convolutional long short-term memory network. The bidirectional long short-term memory network is used to record the tissue ablation features in each time step and output forward transfer features and backward transfer features corresponding to the tissue ablation features. The convolutional long short-term memory network is used to capture the spatiotemporal features in the time series data and output convolutional features based on the tissue ablation features and the time series data. The step of inputting the tissue ablation feature into a time recurrent neural network to obtain a prediction result of ablation therapy corresponding to the tissue ablation feature specifically includes: Inputting the tissue ablation features corresponding to different time steps into the bidirectional long short-term memory network and the convolutional long short-term memory network in sequence respectively; The bidirectional long short-term memory network outputs forward transfer features and backward transfer features based on tissue ablation features, and the convolutional long short-term memory network outputs convolution features based on tissue ablation features; Based on the feature fusion module, the forward transfer feature, the backward transfer feature and the convolution feature are subjected to feature fusion to obtain a predicted ablation feature corresponding to a time step; Passing the predicted ablation feature through a prediction module based on a fully connected layer, so that the prediction module outputs an ablation treatment prediction result corresponding to the predicted ablation feature; The plan generation module (14) is used to use the ablation treatment prediction result as reference information and generate a corresponding surgical reference plan based on the reference information.

6. An electronic device, characterized in that: The electronic device (2) comprises a processor (21), a memory (25), a user interface (23) and a network interface (24), wherein the memory (25) is used to store instructions, the user interface (23) and the network interface (24) are used to communicate with other devices, and the processor (21) is used to execute the instructions stored in the memory (25) so that the electronic device (2) executes the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.