Operation area characteristic data driven microwave power self-adjusting system and method
The microwave power self-adjusting system driven by surgical area characteristic data uses machine learning and blood vessel type recognition models to dynamically adjust microwave power, solving the problems of individual differences in microwave power adjustment and insufficient adaptability of tissue characteristics in traditional technology, and improving surgical efficiency. and security.
Patent Information
- Application Number
- CN202410776655.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-27
AI Technical Summary
It is difficult for traditional microwave ablation technology to dynamically adjust the microwave power according to individual differences and tissue characteristics of the surgical area during surgery, resulting in limited surgical efficiency and safety.
The microwave power self-adjusting system driven by the characteristic data of the surgical area is used to collect characteristic data such as blood flow, tissue temperature, tissue type, density and thickness, and train the machine learning model to predict the microwave output power, and combine it with the blood vessel type recognition model to dynamically adjust the microwave power.
It achieves precise adjustment of microwave power according to the physiological conditions and tissue structure of the surgical area, improves hemostatic efficiency and surgical safety, and reduces the risk of complications.
Smart Images

Figure CN118697456A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of microwave ablation, and in particular relates to a microwave power self-adjusting system and method driven by surgical area characteristic data. Background Art
[0002] At present, microwave ablation technology is widely used in the treatment of diseases such as tumors and heart diseases. The use of microwaves to stop bleeding has become an indispensable and important means in many surgeries. Traditional microwave power adjustment technology mainly includes two modes: manual adjustment and fixed power output. Manual adjustment requires the doctor to adjust the microwave power according to his own experience and feeling, which has problems such as strong subjectivity, instability, and easy errors. The fixed power output mode fixes the microwave power to a preset value, which cannot be dynamically adjusted according to the surgical situation and tissue characteristics, so its scope of application is limited.
[0003] For example, a Chinese patent with the authorization announcement number CN117297758B discloses a method, device and electronic device for determining microwave ablation parameters, including: obtaining cross-sectional dimension data of the area to be ablated; wherein the area to be ablated is an ellipsoid; the cross-sectional dimension data includes: the long diameter data and the short diameter data of the area to be ablated; according to the long diameter data and the above-mentioned short diameter data, the volume data of the area to be ablated is calculated; the cross-sectional dimension data and the volume data are input into a preset ablation prediction model, so as to output microwave ablation parameters matching the area to be ablated through the ablation prediction model; wherein the microwave ablation parameters include: microwave ablation power and microwave ablation time. This method can obtain the microwave ablation power and microwave ablation time matching the area to be ablated by inputting the dimension data of the area to be ablated into the ablation prediction model, thereby improving the ablation efficiency.
[0004] The above patent also has the following defects:
[0005] Due to individual differences during surgery, the blood flow, tissue temperature, tissue type, tissue density, tissue thickness, blood vessel type, etc. in the surgical area are also different. This information reflects the physiological condition, tissue structure and vascular distribution of the surgical area, which will affect microwave hemostasis during surgery and thus affect surgical efficiency, and needs to be improved. Summary of the invention
[0006] The purpose of the present invention is to provide a microwave power self-adjusting system and method driven by surgical area characteristic data, so as to solve the technical problems raised in the existing background technology.
[0007] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solution: a microwave power self-adjustment method driven by surgical area feature data, comprising:
[0008] Collecting characteristic data of the surgical area, wherein the characteristic data includes blood flow, tissue temperature, and a video of the surgical area;
[0009] Processing the collected feature data to extract a historical training data set of the surgical area, wherein the historical training data set includes comprehensive feature data and microwave output power;
[0010] Based on the historical training data set, a machine learning model for predicting microwave output power is trained, comprehensive feature data of the real-time surgical area is collected, and microwave output power is predicted based on the trained machine learning model;
[0011] Extracting and processing image information based on the video of the surgical area, and inputting the obtained processed image into the trained vascular type recognition model to obtain the vascular type;
[0012] The comprehensive characteristic data and blood vessel type are input into the pre-built microwave power curve adaptation model to obtain the power curve corresponding to the microwave hemostasis process.
[0013] Preferably, the comprehensive characteristic data includes blood flow, tissue temperature, tissue type, tissue density and thickness.
[0014] Preferably, the tissue types include adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue; the method for acquiring the tissue type includes: acquiring color features and texture features of the surgical area based on the surgical area video, and inputting the acquired color features and texture features into a pre-built tissue type recognition model to output the tissue type.
[0015] Preferably, the color feature is obtained as follows:
[0016] Each frame in the surgical area video is converted into RGB color space, and the hemostasis area is segmented to obtain the hemostasis area image. For each color channel R, G, B in the image, the histogram of each pixel color is calculated as follows:
[0017] First, count the number of pixels for each pixel color;
[0018] H(c)=∑ x,y 1[I(x, y) = c];
[0019] Where H(c) represents the number of pixels with color value c, I(x, y) represents the color value of the pixel at position (x, y) in image I, 1[I(x, y) = c] is an indicator function, when I(x, y) = c, the function value is 1, otherwise it is 0;
[0020] Then calculate the frequency of each pixel color:
[0021]
[0022] In the formula, H i represents the frequency of the i-th pixel color, H(c) represents the number of pixels with color value c, and W represents the total number of pixels in the hemostasis area.
[0023] Preferably, the texture features are obtained as follows:
[0024] Each frame in the surgical area video is converted into a grayscale image, and the image is normalized. For each pixel in the image, its LBP value is calculated as follows:
[0025] Select the radius (R) and number of neighborhood points (P) of the LBP operator. For example, the commonly used (P = 8, R = 1) means taking 8 points equally spaced as neighborhood points on a circle with a radius of 1;
[0026]
[0027] Where, LBP P,R (x c ,y c ) means that at the center pixel (x c ,y c ), where P represents the number of surrounding pixels, R represents the distance (radius) between the central pixel and its surrounding pixels, and s(g p -g c ) is a symbol function used to determine the surrounding pixel g p With the center pixel g c The gray value difference, if (g p -g c ) is greater than or equal to 0, then s(g p -g c ) is 1; otherwise, it is 0; g p Indicates the gray value of a surrounding pixel, g c Represents the gray value of the center pixel; 2 p is a weight factor, which is used to give different weights to the binarization results of each surrounding pixel in the summation process;
[0028] Construct LBP histogram:
[0029] Create a length of 2 P (Since each pixel has a P neighborhood, the possible LBP values are 2 P), which is used to record the frequency of each possible LBP value. Each pixel in the image is traversed, and one is added to the bin corresponding to the histogram according to its LBP value. After the statistics are completed, the value of each bin can be divided by the total number of pixels in the image to obtain the frequency of each LBP value in the image, thereby completing the normalization. The normalized LBP feature vector can be expressed as:
[0030]
[0031] In the formula, F LBP represents the feature vector, represents the frequency histogram of the LBP pattern, where h i Indicates the number of times the i-th LBP mode appears in the image, N represents the total number of pixels in the image, and P represents the number of sampling points in the LBP algorithm. It represents the relative frequency of the i-th LBP mode in the image, that is, the number of occurrences divided by the total number of pixels.
[0032] Preferably, the tissue type recognition model is trained as follows:
[0033] Collect m groups of color features and texture features in advance; set labels for each group of color features and texture features, the labels include adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue, convert the adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue into numerical labels respectively, for example, label the adipose tissue as 1, the muscle tissue as 2, the vascular tissue as 3, the nerve tissue as 4, and the bone tissue as 5, correspond the numerical labels to each group of color features and texture features one by one, form a group of training data, multiple groups of training data constitute a data set, divide the data set into a training set and a test set, use each group of color features and texture features in the training set as the input of a tissue type recognition model, use the labels corresponding to each group of color features and texture features in the training set as output, train the tissue type recognition model to obtain an initial tissue type recognition model, test the initial tissue type recognition model of the test set, and output the initial tissue type recognition model that meets the preset accuracy as the tissue type recognition model.
[0034] Preferably, the density and thickness of the tissue are obtained as follows:
[0035] Density of tissue:
[0036] Preprocess the acquired video images, including denoising, image enhancement, and edge detection, to improve image quality and the accuracy of extracting required information;
[0037] Segmenting tissue regions: using image segmentation algorithms to segment tissue regions in the surgical area from other regions (such as background or other objects), which can be achieved through threshold segmentation, edge detection, region growing and other methods. This step is a prior art and will not be described in detail here.
[0038] Calculate tissue density: For the segmented tissue area, its density can be calculated. The density can be calculated by the ratio of the number of pixels in the tissue area to the number of pixels in the total area in the image. The specific formula is as follows:
[0039]
[0040] In the formula, Zm represents the density of tissue, Qs represents the number of pixels in the tissue area, and Zs represents the number of pixels in the total area.
[0041] Tissue Thickness:
[0042] For the segmented tissue area, its thickness can be calculated. The thickness can be calculated by averaging the vertical distance of each pixel in the tissue area. The specific formula is as follows:
[0043]
[0044] Where Hd represents tissue thickness, ∑ s∈S d(s) represents the sum of the distances from each pixel in the tissue region to its nearest background pixel, and |S| represents the total number of pixels in the tissue region.
[0045] Preferably, the training method of the machine learning model for predicting microwave output power is as follows:
[0046] Convert the collected comprehensive feature data into a corresponding set of feature vectors;
[0047] Each group of feature vectors is used as the input of the machine learning model. The machine learning model takes the microwave output power corresponding to each group of comprehensive feature data as the output, takes the microwave output power actually corresponding to each group of comprehensive feature data as the prediction target, and takes minimizing the loss function value of the machine learning model as the training target; training is stopped when the loss function value of the machine learning model is less than or equal to the preset target loss value.
[0048] Preferably, the training method of the blood vessel type recognition model includes:
[0049] Before training the vascular type recognition model, K processed images are collected in advance, and the processed images are images extracted from the video of the surgical area; a label is set for each processed image, and the labels include arteries, veins, capillaries, lymphatic vessels and microvessels. The arteries are marked as 1, the veins are marked as 2, the capillaries are marked as 3, the lymphatic vessels are marked as 4, and the microvessels are marked as 5. The labels are matched one by one with the processed images to form a group of training data. Multiple groups of training data constitute a data set. The data set is divided into a training set and a test set. The processed images in the training set are used as the input of the vascular type recognition model, and the labels corresponding to the processed images in the training set are used as the output. The vascular type recognition model is trained to obtain an initial vascular type recognition model, which is tested using the initial vascular type recognition model of the test set, and the initial vascular type recognition model that meets the preset accuracy is output as the vascular type recognition model.
[0050] The microwave power self-adjusting system driven by the characteristic data of the surgical area is used to implement the microwave power self-adjusting method driven by the characteristic data of the surgical area, comprising:
[0051] A data acquisition module, used to acquire characteristic data of the surgical area, wherein the characteristic data includes blood flow, tissue temperature and a video of the surgical area;
[0052] A feature extraction module is used to process the collected feature data and extract a historical training data set of the surgical area;
[0053] A model training module is used to train a machine learning model for predicting microwave output power based on a historical training data set, collect comprehensive feature data of the real-time surgical area, and predict the microwave output power based on the trained machine learning model;
[0054] The blood vessel type recognition module is used to extract and process image information based on the video of the surgical area, and input the obtained processed image into the trained blood vessel type recognition model to obtain the blood vessel type;
[0055] The microwave power curve adaptation module is used to input the comprehensive characteristic data and blood vessel type into the pre-built microwave power curve adaptation model to obtain the power curve corresponding to the microwave hemostasis process.
[0056] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0057] 1. The present invention predicts microwave output power based on characteristic parameter information such as blood flow, tissue temperature, tissue type, tissue density and thickness, and can adjust microwave output power in combination with individual characteristics of the patient and surgical conditions; it can more accurately understand the physiological condition and tissue structure of the surgical area, thereby adjusting microwave output power to more effectively achieve hemostasis.
[0058] 2. The present invention identifies different blood vessel types and inputs the comprehensive characteristic data and blood vessel types into a pre-built microwave power curve adaptation model to obtain a power curve corresponding to the microwave hemostasis process. Prediction based on multiple factors can more accurately adjust the microwave power, and dynamically adjust according to different surgical scenarios and tissue conditions to improve surgical efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] 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.
[0060] Figure 1 A module diagram of Embodiment 1 of the present invention is shown;
[0061] Figure 2 A module diagram of Embodiment 2 of the present invention is shown;
[0062] Figure 3 A method flow chart of embodiment 3 of the present invention is shown. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in 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.
[0064] Example 1
[0065] The microwave power self-adjusting system driven by the characteristic data of the surgical area includes: a data acquisition module, a feature extraction module and a model training module. The modules are connected by wired / wireless means to realize data transmission; Figure 1 As shown,
[0066] A data acquisition module, used to acquire characteristic data of the surgical area, wherein the characteristic data includes blood flow, tissue temperature and a video of the surgical area;
[0067] Among them, blood flow and tissue temperature can be obtained in real time through the blood flow sensor and temperature sensor integrated at the front end of the microwave hemostat.
[0068] A feature extraction module is used to process the collected feature data and extract a historical training data set of the surgical area;
[0069] Wherein, the historical training data set includes comprehensive characteristic data and microwave output power;
[0070] Comprehensive characteristic data include blood flow, tissue temperature, tissue type, tissue density and thickness;
[0071] Among them, tissue types include adipose tissue, muscle tissue, vascular tissue, neural tissue, and bone tissue;
[0072] The method of obtaining the tissue type includes: obtaining the color features and texture features of the surgical area according to the surgical area video, and inputting the obtained color features and texture features into a pre-built tissue type recognition model to output the tissue type;
[0073] Furthermore, the color feature is obtained as follows:
[0074] Each frame in the surgical area video is converted into RGB color space, and the hemostasis area is segmented to obtain the hemostasis area image. For each color channel R, G, B in the image, the histogram of each pixel color is calculated as follows:
[0075] First, count the number of pixels for each pixel color;
[0076] H(c)=∑ x,y 1[I(x, y) = c];
[0077] Where H(c) represents the number of pixels with color value c, I(x, y) represents the color value of the pixel at position (x, y) in image I, 1[I(x, y) = c] is an indicator function, when I(x, y) = c, the function value is 1, otherwise it is 0;
[0078] Then calculate the frequency of each pixel color:
[0079]
[0080] In the formula, H i represents the frequency of the i-th pixel color, H(c) represents the number of pixels with color value c, and W represents the total number of pixels in the hemostatic area; the total number of pixels is obtained by multiplying the width of the image (i.e., the number of pixels in the horizontal direction) and the height of the image (i.e., the number of pixels in the vertical direction);
[0081] In order to eliminate the influence of image size, the histogram is normalized.
[0082] The texture features are obtained as follows:
[0083] Each frame in the surgical area video is converted into a grayscale image, and the image is normalized. For each pixel in the image, its LBP value is calculated as follows:
[0084] Select the radius (R) and number of neighborhood points (P) of the LBP operator. For example, the commonly used (P = 8, R = 1) means taking 8 points equally spaced as neighborhood points on a circle with a radius of 1;
[0085]
[0086] Where, LBP P,R (x c ,y c ) means that at the center pixel (x c ,y c ), where P represents the number of surrounding pixels, R represents the distance (radius) between the central pixel and its surrounding pixels, and s(g p -g c ) is a symbol function used to determine the surrounding pixel g p With the center pixel g c The gray value difference, if (g p -g c ) is greater than or equal to 0, then s(g p -g c ) is 1; otherwise, it is 0; g p Indicates the gray value of a surrounding pixel, g c Represents the gray value of the center pixel; 2 p is a weight factor, which is used to give different weights to the binarization results of each surrounding pixel in the summation process;
[0087] Construct LBP histogram:
[0088] Create a length of 2 P (Since each pixel has a P neighborhood, the possible LBP values are 2 P ), which is used to record the frequency of each possible LBP value. Each pixel in the image is traversed, and one is added to the bin corresponding to the histogram according to its LBP value. After the statistics are completed, the value of each bin can be divided by the total number of pixels in the image to obtain the frequency of each LBP value in the image, thereby completing the normalization. The normalized LBP feature vector can be expressed as:
[0089]
[0090] In the formula, F LBP represents the feature vector, represents the frequency histogram of the LBP pattern, where h i Indicates the number of times the i-th LBP mode appears in the image, N represents the total number of pixels in the image, and P represents the number of sampling points in the LBP algorithm. It represents the relative frequency of the i-th LBP mode in the image, that is, the number of occurrences divided by the total number of pixels.
[0091] Furthermore, the training method of the tissue type recognition model is as follows:
[0092] Collect m groups of color features and texture features in advance; set labels for each group of color features and texture features, the labels include adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue, convert the adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue into numerical labels respectively, for example, label the adipose tissue as 1, the muscle tissue as 2, the vascular tissue as 3, the nerve tissue as 4, and the bone tissue as 5, correspond the numerical labels to each group of color features and texture features one by one, form a group of training data, multiple groups of training data constitute a data set, divide the data set into a training set and a test set, use each group of color features and texture features in the training set as the input of a tissue type recognition model, use the labels corresponding to each group of color features and texture features in the training set as output, train the tissue type recognition model to obtain an initial tissue type recognition model, test the initial tissue type recognition model of the test set, and output the initial tissue type recognition model that meets the preset accuracy as the tissue type recognition model.
[0093] The tissue type recognition model is a support vector machine, a logistic regression model, or other suitable models, which are not specifically limited here.
[0094] Furthermore, the density of the tissue is obtained as follows:
[0095] Preprocess the acquired video images, including denoising, image enhancement, and edge detection, to improve image quality and the accuracy of extracting required information;
[0096] Segmenting tissue regions: using image segmentation algorithms to segment tissue regions in the surgical area from other regions (such as background or other objects), which can be achieved through threshold segmentation, edge detection, region growing and other methods. This step is a prior art and will not be described in detail here.
[0097] Calculate tissue density: For the segmented tissue area, its density can be calculated. The density can be calculated by the ratio of the number of pixels in the tissue area to the number of pixels in the total area in the image. The specific formula is as follows:
[0098]
[0099] In the formula, Zm represents the density of tissue, Qs represents the number of pixels in the tissue area, and Zs represents the number of pixels in the total area.
[0100] Tissue thickness is obtained as follows:
[0101] For the segmented tissue area, its thickness can be calculated. The thickness can be calculated by averaging the vertical distance of each pixel in the tissue area. The specific formula is as follows:
[0102]
[0103] Where Hd represents tissue thickness, ∑ s∈S d(s) represents the sum of the distances from each pixel in the tissue region to its nearest background pixel, and |S| represents the total number of pixels in the tissue region;
[0104] The distance from each pixel to the nearest background pixel is obtained by applying the distance transformation algorithm to the segmented tissue area to obtain a distance transformation image, and for each tissue area pixel, obtaining its grayscale value in the distance transformation image, which represents the distance from the pixel to the nearest background pixel.
[0105] A model training module is used to train a machine learning model for predicting microwave output power based on a historical training data set, collect comprehensive feature data of the real-time surgical area, and predict the microwave output power based on the trained machine learning model;
[0106] Specifically, the training method of the machine learning model for predicting microwave output power is as follows:
[0107] Convert the collected comprehensive feature data into a corresponding set of feature vectors;
[0108] Each group of feature vectors is used as the input of the machine learning model. The machine learning model takes the microwave output power corresponding to each group of comprehensive feature data as the output, takes the microwave output power actually corresponding to each group of comprehensive feature data as the prediction target, and takes minimizing the loss function value of the machine learning model as the training target; training is stopped when the loss function value of the machine learning model is less than or equal to the preset target loss value.
[0109] The machine learning model may be one of SVM regression, random forest regression or neural network regression models;
[0110] The machine learning model loss function value is the mean square error;
[0111] Mean square error is one of the commonly used loss functions. By transforming the loss function formula Minimization is used as the goal to train the model so that the machine learning model better fits the data, thereby improving the performance and accuracy of the model;
[0112] In the loss function, MSE is the loss function value of the machine learning model, x is the feature vector group number; m is the number of feature vector groups; yx is the microwave output power predicted by the xth feature vector group, is the microwave output power actually corresponding to the xth group of eigenvectors;
[0113] Other model parameters of the machine learning model, target loss value, optimization algorithm, training set test set validation set ratio, and loss function optimization are all achieved through actual engineering implementation and continuous experimental tuning.
[0114] This embodiment predicts microwave output power based on characteristic parameter information such as blood flow, tissue temperature, tissue type, tissue density and thickness. Since different patients have different tissue characteristics and conditions, their ability to absorb microwaves will also vary. By predicting microwave output power based on comprehensive information, the microwave output power can be adjusted in combination with the individual characteristics of the patient and the surgical situation. The physiological condition and tissue structure of the surgical area can be understood more accurately, so as to adjust the microwave output power to more effectively achieve the hemostatic effect. For example, in areas with high blood flow, the power can be appropriately increased to accelerate the hemostatic effect; while in areas with fragile tissue or low blood flow, the power can be reduced to avoid damaging surrounding tissues, thereby reducing the incidence of complications during surgery, thereby minimizing surgical risks and ensuring patient safety.
[0115] Example 2
[0116] In order to realize reasonable dynamic adjustment of power during microwave hemostasis and improve surgical efficiency, the present invention further includes: a blood vessel type recognition module and a microwave power curve adaptive module based on embodiment 1. Figure 2 As shown;
[0117] The blood vessel type recognition module is used to extract and process image information based on the video of the surgical area, and input the obtained processed image into the trained blood vessel type recognition model to obtain the blood vessel type;
[0118] Specifically, the training method of the blood vessel type recognition model includes:
[0119] Before training the vascular type recognition model, K processed images are collected in advance, and the processed images are images extracted from the video of the surgical area; a label is set for each processed image, and the labels include arteries, veins, capillaries, lymphatic vessels and microvessels. The arteries are marked as 1, the veins are marked as 2, the capillaries are marked as 3, the lymphatic vessels are marked as 4, and the microvessels are marked as 5. The labels are matched one by one with the processed images to form a group of training data. Multiple groups of training data constitute a data set. The data set is divided into a training set and a test set. The processed images in the training set are used as the input of the vascular type recognition model, and the labels corresponding to the processed images in the training set are used as the output. The vascular type recognition model is trained to obtain an initial vascular type recognition model, which is tested using the initial vascular type recognition model of the test set, and the initial vascular type recognition model that meets the preset accuracy is output as the vascular type recognition model.
[0120] The blood vessel type recognition model is a support vector machine, a logistic regression model, or other suitable models, which are not specifically limited here.
[0121] A microwave power curve adaptation module is used to input the comprehensive characteristic data and the blood vessel type into a pre-built microwave power curve adaptation model to obtain a power curve corresponding to the microwave hemostasis process;
[0122] The training method of the microwave power curve adaptation model includes:
[0123] Collecting a sample data set, the sample data set includes surgical area feature data and a microwave power set in a microwave hemostasis process corresponding to the surgical area feature data, wherein the surgical area feature data includes a blood vessel type and comprehensive feature data corresponding to the blood vessel type;
[0124] In the process of collecting sample data sets, multiple sets of surgical area feature data can be matched with a set of microwave power sets in the microwave hemostasis process, that is, when multiple sets of surgical area feature data use this set of microwave power sets in the microwave hemostasis process, the hemostasis efficiency is high and there is no damage to surrounding tissues;
[0125] Before training the microwave power curve adaptation model, numerical annotations are respectively performed on the arteries, veins, capillaries, lymphatic vessels, microvessels, and microwave power sets in the microwave hemostasis process; the characteristic data of the surgical area is used as the input of the microwave power curve adaptation model, and the numerical annotations of the microwave power set are used as the output of the microwave power curve adaptation model; the sample data is divided into a training set and a test set, the microwave power curve adaptation model is trained using the training set to obtain an initial microwave power curve adaptation model, and the initial microwave power curve adaptation model is tested using the test set to obtain a final microwave power curve adaptation model that meets the preset accuracy;
[0126] The microwave power curve adaptation model is a deep neural network model or other suitable model, which is not specifically limited here.
[0127] In this embodiment, by identifying different blood vessel types and inputting the comprehensive characteristic data and blood vessel types into a pre-built microwave power curve adaptation model, a power curve corresponding to the microwave hemostasis process is obtained. By combining multiple factors for prediction, the microwave power can be adjusted more accurately and dynamically adjusted according to different surgical scenarios and tissue conditions. By predicting the microwave power, the microwave power can be adjusted according to factors such as tissue type, density, thickness, and blood vessel type to maximize the hemostasis effect and improve surgical efficiency. According to the prediction results, the microwave equipment parameters can be adjusted in advance to reduce debugging time and improve the success rate of the operation.
[0128] Example 3
[0129] Reference Figure 3 As shown, the microwave power self-adjustment method driven by surgical area characteristic data includes:
[0130] Collecting characteristic data of the surgical area, wherein the characteristic data includes blood flow, tissue temperature, and a video of the surgical area;
[0131] Processing the collected feature data to extract a historical training data set of the surgical area, wherein the historical training data set includes comprehensive feature data and microwave output power;
[0132] Based on the historical training data set, a machine learning model for predicting microwave output power is trained, comprehensive feature data of the real-time surgical area is collected, and microwave output power is predicted based on the trained machine learning model;
[0133] Extracting and processing image information based on the video of the surgical area, and inputting the obtained processed image into the trained vascular type recognition model to obtain the vascular type;
[0134] The comprehensive characteristic data and blood vessel type are input into the pre-built microwave power curve adaptation model to obtain the power curve corresponding to the microwave hemostasis process.
[0135] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0136] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. Microwave power self-adjustment method driven by surgical area feature data, It is characterized in that include: Collecting characteristic data of the surgical area, wherein the characteristic data includes blood flow, tissue temperature, and a video of the surgical area; Processing the collected feature data to extract a historical training data set of the surgical area, wherein the historical training data set includes comprehensive feature data and microwave output power; Based on the historical training data set, a machine learning model for predicting microwave output power is trained, comprehensive feature data of the real-time surgical area is collected, and microwave output power is predicted based on the trained machine learning model; Extracting and processing image information based on the video of the surgical area, and inputting the obtained processed image into the trained vascular type recognition model to obtain the vascular type; The comprehensive characteristic data and blood vessel type are input into the pre-built microwave power curve adaptation model to obtain the power curve corresponding to the microwave hemostasis process.
2. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 1, It is characterized in that The comprehensive characteristic data include blood flow, tissue temperature, tissue type, tissue density and thickness.
3. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 2, It is characterized in that The tissue types include adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue; the method for obtaining the tissue type includes: obtaining the color features and texture features of the surgical area based on the surgical area video, and inputting the obtained color features and texture features into a pre-built tissue type recognition model to output the tissue type.
4. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 3, It is characterized in that The color feature is obtained as follows: Each frame in the surgical area video is converted into RGB color space, and the hemostasis area is segmented to obtain the hemostasis area image. For each color channel R, G, B in the image, the histogram of each pixel color is calculated as follows: First, count the number of pixels of each pixel color: H(c)=∑ x,y 1[I(x,y)=c]; Where H(c) represents the number of pixels with color value c, I(x, y) represents the color value of the pixel at position (x, y) in image I, 1[I(x, y) = c] is an indicator function, when I(x, y) = c, the function value is 1, otherwise it is 0; Then calculate the frequency of each pixel color: In the formula, H i represents the frequency of the i-th pixel color, H(c) represents the number of pixels with color value c, and W represents the total number of pixels in the hemostasis area.
5. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 3, It is characterized in that The texture features are obtained as follows: Each frame in the surgical area video is converted into a grayscale image, and the image is normalized. For each pixel in the image, its LBP value is calculated as follows: Select the radius R of the LBP operator and the number of neighborhood points P, and the calculation formula of the LBP value is as follows: Where, LBP P,R (x c ,y c ) means that at the center pixel (x c ,y c ), where P represents the number of surrounding pixels, R represents the distance between the central pixel and its surrounding pixels, s(g p -g c ) is a symbol function used to determine the surrounding pixel g p With the center pixel g c The gray value difference, if (g p -g c ) is greater than or equal to 0, then s(g p -g c ) is 1; otherwise, it is 0; g p Indicates the gray value of a surrounding pixel, g c Represents the gray value of the center pixel; 2 p is a weight factor, which is used to give different weights to the binarization results of each surrounding pixel in the summation process; Construct LBP histogram: Create a length of 2 P An array is used to record the frequency of each possible LBP value. Each pixel in the image is traversed, and one is added to the bin corresponding to the histogram according to its LBP value. After the statistics are completed, the value of each bin is divided by the total number of pixels in the image to obtain the frequency of each LBP value in the image, thereby completing the normalization. The normalized LBP feature vector can be expressed as: In the formula, F LBP represents the feature vector, represents the frequency histogram of the LBP pattern, where h i Indicates the number of times the i-th LBP mode appears in the image, N represents the total number of pixels in the image, and P represents the number of sampling points in the LBP algorithm. It represents the relative frequency of the i-th LBP mode in the image, that is, the number of occurrences divided by the total number of pixels.
6. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 5, It is characterized in that The training method of the tissue type recognition model is as follows: Collect m groups of color features and texture features in advance; A label is set for each group of color features and texture features, and the labels include adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue. The adipose tissue, muscle tissue, vascular tissue, nerve tissue and bone tissue are respectively converted into numerical labels, and the numerical labels are matched one by one with each group of color features and texture features to form a group of training data. Multiple groups of training data constitute a data set, and the data set is divided into a training set and a test set. Each group of color features and texture features in the training set is used as the input of a tissue type recognition model, and the label corresponding to each group of color features and texture features in the training set is used as the output. The tissue type recognition model is trained to obtain an initial tissue type recognition model, and the initial tissue type recognition model of the test set is used to test, and the initial tissue type recognition model that meets the preset accuracy is output as the tissue type recognition model.
7. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 6, It is characterized in that The density and thickness of the tissue are obtained as follows: Density of tissue: Preprocessing the acquired video images, including denoising, image enhancement and edge detection steps; Segment tissue area: Use image segmentation algorithm to segment tissue area in the surgical area from other areas, which is achieved through threshold segmentation, edge detection, and region growing methods; Calculate tissue density: For the segmented tissue area, calculate its density. The density is calculated by the ratio of the number of pixels in the tissue area to the number of pixels in the total area in the image. The specific formula is as follows: In the formula, Zm represents the density of tissue, Qs represents the number of pixels in the tissue area, and Zs represents the number of pixels in the total area; Tissue Thickness: For the segmented tissue area, calculate its thickness. The thickness is calculated by averaging the vertical distance of each pixel in the tissue area. The specific formula is as follows: Where Hd represents tissue thickness, ∑ s∈S d(s) represents the sum of the distances from each pixel in the tissue region to its nearest background pixel, and |S| represents the total number of pixels in the tissue region.
8. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 7, It is characterized in that The training method of the machine learning model for predicting microwave output power is as follows: Convert the collected comprehensive feature data into a corresponding set of feature vectors; Each set of feature vectors is used as the input of the machine learning model. The machine learning model uses the microwave output power corresponding to each set of comprehensive feature data as the output, uses the microwave output power actually corresponding to each set of comprehensive feature data as the prediction target, and uses minimizing the loss function value of the machine learning model as the training target; When the loss function value of the machine learning model is less than or equal to the preset target loss value, training stops.
9. The microwave power self-adjustment method driven by surgical area characteristic data as claimed in claim 8, It is characterized in that The training method of the blood vessel type recognition model includes: Before training the vascular type recognition model, K processed images are collected in advance, and the processed images are images extracted from the video of the surgical area; a label is set for each processed image, and the labels include arteries, veins, capillaries, lymphatic vessels and microvessels. The labels are matched one by one with the processed images to form a group of training data. Multiple groups of training data constitute a data set. The data set is divided into a training set and a test set. The processed images in the training set are used as the input of the vascular type recognition model, and the labels corresponding to the processed images in the training set are used as the output. The vascular type recognition model is trained to obtain an initial vascular type recognition model. The initial vascular type recognition model of the test set is used to test, and the initial vascular type recognition model that meets the preset accuracy is output as the vascular type recognition model.
10. A microwave power self-adjusting system driven by surgical area characteristic data, used to implement the microwave power self-adjusting method driven by surgical area characteristic data according to any one of claims 1 to 9, It is characterized in that include: A data acquisition module, used to acquire characteristic data of the surgical area, wherein the characteristic data includes blood flow, tissue temperature and a video of the surgical area; A feature extraction module is used to process the collected feature data and extract a historical training data set of the surgical area; A model training module is used to train a machine learning model for predicting microwave output power based on a historical training data set, collect comprehensive feature data of the real-time surgical area, and predict the microwave output power based on the trained machine learning model; The blood vessel type recognition module is used to extract and process image information based on the video of the surgical area, and input the obtained processed image into the trained blood vessel type recognition model to obtain the blood vessel type; The microwave power curve adaptation module is used to input the comprehensive characteristic data and blood vessel type into the pre-built microwave power curve adaptation model to obtain the power curve corresponding to the microwave hemostasis process.
Citation Information
Patent Citations
Energy delivery systems and uses thereof
CN101511295B
LBP (Local Binary Pattern) image and block encoding-based iris feature extracting method
CN102542243A
Microwave ablation equipment based on AI algorithm
CN117159132A
Ultrasonic image acquisition method and device, computer equipment and storage medium
CN117462164A
Storage positioning method and system based on RFID
CN118013988A
Cited By
Waveform superposition optimization method and system for energy surgical equipment
CN119360134A
A waveform superposition optimization method and system for energy surgical equipment
CN119360134B
