Pulmonary operation safety boundary calculation method based on drainage basin analysis
By applying basin analysis technology in lung surgery to calculate the safety boundaries of lung surgery, the problem of neglecting the complexity and individual differences in the existing technology is solved, and more accurate and personalized surgical planning is achieved, which improves the safety and success rate of the surgery.
Patent Information
- Application Number
- CN202510577824.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2045-05-07
AI Technical Summary
The prior art has several shortcomings in the calculation of safety boundaries of lung surgery, including ignoring the complexity and individual differences of the lung vascular network, localizing the treatment of vascular branch structure, inadequate consideration of the impact of surgery on lung function, insufficient ability to integrate multi-source information, and poor risk assessment and visualization presentation.
Using a basin analysis method, a three-dimensional lung digital model is generated by obtaining lung CTA image data, vascular geometric information is extracted, key bifurcation points of blood vessels are determined, blood flow and bifurcation points are calculated, vascular connectivity graph model is established, safety boundaries are calculated through minimum cutting, and visual representation is provided.
This method can more accurately describe and analyze the pulmonary vascular network, reduce the risk of accidental bleeding during surgery, provide safer and personalized surgical planning, improve the accuracy and success rate of surgery, and enhance the patient's postoperative quality of life.
Smart Images

Figure CN120107244A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical image processing, and more specifically, to a method for calculating a lung surgery safety boundary based on flow domain analysis. Background Art
[0002] With the continuous development of medical imaging technology and computer-aided diagnosis, the accuracy and safety of lung surgery have been significantly improved. However, the existing technology still has many shortcomings in calculating the safety margin of lung surgery.
[0003] Currently, the closest existing technologies mainly rely on traditional image segmentation and 3D reconstruction methods to determine the safe boundary of lung surgery. These methods usually use threshold segmentation, region growing or edge detection algorithms based on image gradients to extract lung structures and tumor boundaries. Then, the surgical resection range is determined by setting a fixed safety distance. Although this method improves the accuracy of surgery to a certain extent, there are still some significant technical problems.
[0004] First, traditional methods often ignore the complexity and individual differences of the pulmonary vascular network. The distribution of the pulmonary vascular system is highly complex and individual-specific, and relying solely on a fixed safety distance cannot fully take these factors into account, which may lead to unexpected bleeding or insufficient resection during surgery.
[0005] Second, existing technologies have limitations when dealing with branching structures of pulmonary vessels. Most methods cannot effectively identify and analyze the bifurcation points of blood vessels, which are often areas with higher surgical risks. Ignoring these critical structures may lead to imperfect surgical planning and increase surgical risks.
[0006] Furthermore, existing methods are insufficient in assessing the effects of surgery on lung function. Most techniques focus only on complete tumor resection, without fully considering the effects of surgery on the function of residual lung tissue. This may lead to a decline in the quality of life of patients after surgery.
[0007] In addition, existing technologies are poor at integrating multi-source information. They usually only focus on imaging data and ignore other important clinical information, such as the patient's physiological status, comorbidities, etc., which limits the personalization and accuracy of surgical planning.
[0008] Finally, existing methods need to be improved in terms of risk assessment and visualization. Most technologies cannot provide intuitive and quantitative risk assessment results, which poses a challenge to surgeons' decision-making. Summary of the invention
[0009] In response to the above problems, the present invention proposes a lung surgery safety boundary calculation method based on watershed analysis. This method aims to solve the shortcomings of existing technologies in dealing with complex vascular networks, assessing surgical risks, considering residual lung function, and integrating multi-source information, thereby providing a more accurate, safe, and personalized lung surgery planning solution.
[0010] In order to solve the above technical problems, the present invention adopts the following technical solutions: The calculation method of the safety boundary of lung surgery based on watershed analysis includes: The acquisition steps include: Acquire lung computed tomography (CTA) imaging data; Processing steps include: Generating a three-dimensional lung digital model based on the lung CTA image data; Extracting pulmonary vascular geometric information based on the three-dimensional lung digital model; Based on the geometric information of the pulmonary blood vessels, a watershed analysis method is used to determine the locations of key bifurcation points of the blood vessels; dividing the pulmonary blood vessels into different tributaries according to the locations of the key bifurcation points; Based on the different tributaries, the bleeding volume is calculated and a weight is assigned to each bifurcation point; According to the bifurcation point weight, calculating the downstream tributary closest to the current bifurcation point; Based on the downstream tributaries, establishing a pulmonary vascular connectivity graph model; According to the pulmonary vascular connectivity graph model, a safety boundary required for segmenting the pulmonary blood vessels is obtained by calculating a minimum cut; Output steps include: A visual representation of the safety boundary is generated.
[0011] Preferably, extracting the pulmonary blood vessel geometry information in the processing step specifically includes: Meshing the three-dimensional lung digital model to obtain an initial cutting margin; Based on the initial resection margin, the included blood vessels are extracted and a vessel tree is formed.
[0012] Preferably, the processing step of using a watershed analysis method to determine the position of a key bifurcation point of a blood vessel specifically includes: Set a distance threshold; Based on the distance threshold, determining the branch bifurcation point greater than the threshold as a key bifurcation point; The pulmonary vascular system is divided into different watersheds according to the key bifurcation points.
[0013] Preferably, the step of calculating the bleeding volume and assigning a weight to each bifurcation point in the processing step specifically includes: Divide the pulmonary vessels into n tributaries; Calculate the blood flow through n branch bifurcations; According to the blood flow, the n branching points are divided into a preset number of levels.
[0014] As a preferred feature, it is characterized in that: The preset number is 10.
[0015] Preferably, the step of calculating the downstream tributary closest to the current bifurcation point in the processing step specifically includes: Assume that the weight of the current bifurcation point is d, the weight of the downstream branch point is d', and the shortest path distance is p; Calculate the weight of the downstream branch point according to the formula d'=dp; Based on Dijkstra's algorithm, determine the downstream branch with the smallest total weight from the bifurcation point.
[0016] Preferably, the processing step further comprises: Based on the safety margin, the bifurcation point weights are divided into several levels according to the severity of bleeding during surgery.
[0017] Preferably, the processing step further comprises: Mark important anatomical structures in lung images and calculate the center distance of important anatomical structures; The boundary point closest to the center is calculated in the lung image to obtain the cutting plane of the anatomical structure.
[0018] Preferably, the processing step further comprises: Calculate the risk rating of the anatomical structure based on different attributes of the anatomical structure; The cutting planes of important anatomical structures are marked.
[0019] Preferably, the processing step further comprises: Based on organ function, calculate the organ's resection margin distance, residual volume, and healthy ratio to adjust the surgical safety margin; The assessment scores of the cut surfaces of the anatomical structures were calculated based on the postoperative functional impact; The evaluation scores of all key surgical boundaries were obtained and weighted averaged to obtain the final safety evaluation result.
[0020] The method of the present invention has the following significant technical effects: First, by introducing watershed analysis technology, this method can more accurately describe and analyze the complex structure of the pulmonary vascular network. This innovative application enables surgical planning to fully consider the individual vascular distribution characteristics of the patient, greatly reducing the risk of unexpected bleeding during surgery.
[0021] Secondly, the present invention achieves accurate identification and risk assessment of key vascular structures by calculating the weight and bleeding volume of vascular bifurcation points. This feature enables surgeons to better understand the distribution of blood vessels in the surgical area and thus formulate safer resection strategies.
[0022] Furthermore, when calculating the safety margin, this method not only takes into account the complete removal of the tumor, but also ensures the quality of life of the patient after surgery by evaluating the volume and function of the residual lung tissue. This comprehensive consideration makes surgical planning more humane and is conducive to the long-term recovery of patients.
[0023] In addition, the present invention achieves a more comprehensive and personalized surgical planning by integrating multiple information sources, including imaging data, anatomical structure information, and functional assessment results. This multi-dimensional analysis method greatly improves the scientificity and reliability of surgical plans.
[0024] Finally, this method provides intuitive visualization results and quantitative risk assessment scores, which provides strong support for surgeons' decision-making. This not only improves the accuracy of surgery, but also facilitates doctor-patient communication and enhances patients' understanding and confidence in treatment plans.
[0025] In general, the method of the present invention has achieved a qualitative leap in the calculation of the safety boundary of lung surgery by innovatively combining watershed analysis technology with traditional medical image processing methods. It not only overcomes many limitations of existing technologies, but also makes significant progress in accuracy, safety and personalization, providing strong technical support for improving the success rate of lung surgery and the quality of patient prognosis. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 The figure is an overall flow chart of the method of the present invention.
[0027] Figure 2 This is a flow chart of extracting pulmonary blood vessel geometry information according to the present invention.
[0028] Figure 3 The present invention is a flow chart for determining the location of a key bifurcation point of a blood vessel.
[0029] Figure 4 The flowchart of the present invention is to calculate the bleeding volume and bifurcation point weight.
[0030] Figure 5 The flowchart of calculating the safety boundary of the present invention is shown in FIG. DETAILED DESCRIPTION
[0031] like Figure 1-5As shown, the present invention provides a lung surgery safety boundary calculation method based on watershed analysis. The method innovatively applies watershed analysis technology to the analysis of the pulmonary vascular network, thereby achieving accurate calculation and visual presentation of the surgical safety boundary.
[0032] First, the method of the present invention includes obtaining lung computed tomography (CTA) image data. Preferably, these CTA image data are usually collected by a 64-row or 128-row spiral CT scanner with a scanning layer thickness of 0.5-1.0 mm to ensure that high-resolution raw data is obtained. In one embodiment of the present invention, contrast agent enhanced scanning technology can be used to better display the pulmonary vascular structure.
[0033] Next, the method generates a three-dimensional digital lung model based on the lung CTA image data. This step is usually implemented using image segmentation and three-dimensional reconstruction technology. Specifically, the lung contour can be extracted using a region growing algorithm or a level set method, and then a Marching Cubes algorithm is applied for three-dimensional reconstruction. In practical applications, the resolution of the reconstruction is usually set to 0.5 mm × 0.5 mm × 0.5 mm to balance computational efficiency and model accuracy.
[0034] Subsequently, the method of the present invention extracts the geometric information of the pulmonary blood vessels according to the three-dimensional lung digital model. This step is the basis for the subsequent flow field analysis. Preferably, a Frangi filter can be used to enhance the vascular structure, and the mathematical expression of the filter is as follows: , in, is the eigenvalue of the Hessian matrix, is the ratio calculated from the eigenvalues, is a control parameter. In one embodiment of the present invention, Set to half the grayscale value of the image.
[0035] Next, based on the geometric information of the pulmonary blood vessels, the method uses a watershed analysis method to determine the key bifurcation points of the blood vessels. The core idea of the watershed analysis method is to regard the vascular network as a "water flow" system, and calculate the distance from all tributaries to the downstream by simulating the flow of water from the bifurcation of the aorta. In the present invention, a distance function is defined
[0036] , in, and is a point in the vascular network, For the entire vascular network, for and The geodesic distance between For point By calculating this distance function, the key bifurcation points in the vascular network can be identified.
[0037] According to the position of the critical bifurcation point, the method divides the pulmonary blood vessels into different tributaries. This step actually divides the vascular network into different watersheds. Each watershed is represented by a unique bifurcation point. In practice, a distance threshold is usually set, such as 5 mm, and the tributary bifurcation points greater than the threshold are regarded as critical bifurcation points. The selection of this threshold is based on the average branch spacing of the pulmonary blood vessels and can be fine-tuned according to the specific patient's condition.
[0038] Based on the different tributaries, the method calculates the bleeding volume and assigns a weight to each bifurcation point. The calculation of bleeding volume is usually based on Poiseuille's law: , in, For flow, is the vessel radius, is the pressure difference, is blood viscosity, is the vessel length. In practical applications, it can be assumed that the pressure difference and blood viscosity are constant throughout the pulmonary vascular network, so the flow rate is mainly determined by the vessel radius and length.
[0039] According to the bifurcation point weight, this method calculates the downstream tributary closest to the current bifurcation point. This step is usually implemented using the Dijkstra algorithm. Assume that the weight of the current bifurcation point is , the weight of the downstream branch point is , the shortest path distance is , then the weight calculation formula of the downstream branch point is: , Based on the downstream tributaries, the method establishes a pulmonary vascular connectivity graph model. This model is actually a weighted undirected graph, in which nodes represent bifurcation points, edges represent vascular segments, and the weights of edges can be set as the Euclidean distances between adjacent bifurcation points.
[0040] Finally, according to the pulmonary vascular connectivity graph model, the method obtains the safety boundary required for segmenting the pulmonary vessels by calculating the minimum cut. The minimum cut problem can be solved by the Ford-Fulkerson algorithm or the Boykov-Kolmogorov algorithm. In one embodiment of the present invention, the Boykov-Kolmogorov algorithm is used, and its time complexity is ,in is the number of edges, is the number of nodes, is the capacity of the minimum cut.
[0041] The output step of the method of the present invention includes generating a visual representation of the safety margin. This is usually achieved by mapping the calculated safety margin onto a three-dimensional lung model. Preferably, different colors can be used to mark areas of different risk levels, such as red for high-risk areas, yellow for medium-risk areas, and green for low-risk areas.
[0042] The method of the present invention has significant advantages over the prior art. First, by introducing the watershed analysis method, the present invention can more accurately describe the topological structure of the pulmonary vascular network, thereby improving the accuracy of the safety margin calculation. Second, the method takes into account the blood flow and bifurcation point weights of the blood vessels, which makes the calculation results more consistent with the actual physiological situation. Finally, the method provides a visual representation of the safety margin, which provides surgeons with intuitive and clear surgical guidance.
[0043] In practical applications, this method can significantly improve the safety and accuracy of lung surgery. For example, in a clinical trial involving 100 patients, the group of patients who used this method for surgical planning had an average reduction of 30% in intraoperative bleeding, 20% in surgical time, and 25% in postoperative complication rate. These data fully demonstrate the effectiveness and practical value of the method of the present invention.
[0044] It should be noted that although this method is mainly aimed at lung surgery, its core idea and algorithm framework can also be extended to other surgical operations that require precise vascular analysis, such as liver surgery or brain surgery. This reflects the wide applicability and potential clinical value of the method of the present invention. Next, the method of the present invention further refines the specific implementation of extracting pulmonary vascular geometric information in the processing step. In a preferred embodiment of the present invention, this step includes meshing the three-dimensional lung digital model to obtain an initial cutting edge, and then based on the initial cutting edge, extracting the included blood vessels and forming a vascular tree.
[0045] Meshing is a key preprocessing step that discretizes the continuous three-dimensional space into finite grid cells. Preferably, the method uses adaptive meshing technology to use finer grids in areas with dense blood vessels and relatively coarse grids in other areas. This strategy can effectively reduce computational complexity while ensuring accuracy. Specifically, the size of the grid can be dynamically adjusted according to the local blood vessel diameter. For example, for small blood vessels with a diameter of less than 2 mm, the grid size can be set to 0.2 mm × 0.2 mm × 0.2 mm, and for major blood vessels with a diameter greater than 5 mm, the grid size can be set to 0.5 mm × 0.5 mm × 0.5 mm.
[0046] Obtaining the initial cutting margin is an important step after meshing. In the method of the present invention, the initial cutting margin can be obtained in a variety of ways, including but not limited to the pulmonary fissure, the manually marked area, or the boundary formed by expansion according to the given cutting margin radius. In practical applications, the selection of the initial cutting margin has an important influence on the subsequent blood vessel extraction and safety boundary calculation. Preferably, the initial cutting margin can be determined in combination with the doctor's experience and the results of the automatic algorithm to ensure its accuracy and reliability.
[0047] Based on the initial cutting edge, the method further extracts the included blood vessels and forms a blood vessel tree. This step is usually implemented using blood vessel enhancement and segmentation techniques. In one embodiment of the present invention, a multi-scale Hessian filter can be used to enhance the blood vessel structure. The response function of the filter can be expressed as: , in, is the eigenvalue of the Hessian matrix .parameter Used to control the sensitivity of the filter, usually is half of the image grayscale value.
[0048] After blood vessel enhancement, this method uses the region growing algorithm to segment blood vessels. The seed points for region growing can be automatically selected by the threshold method or manually specified by the doctor. It is usually based on pixel intensity and spatial continuity. For example, the growth threshold can be set to 1.5 times the average grayscale value of the enhanced image.
[0049] Forming a vascular tree is the last step of vascular extraction. The method of the present invention uses a minimum spanning tree algorithm to construct a vascular tree structure. Specifically, the Prim algorithm can be used, and its time complexity is ,in is the number of edges, is the number of vertices. In practical applications, in order to improve efficiency, Fibonacci heaps can be used to implement Prim's algorithm, reducing the time complexity to .
[0050] The method of the present invention further refines the specific steps when using the watershed analysis method to determine the location of the key bifurcation points of the blood vessels. First, a distance threshold is set. The selection of this threshold is crucial for the identification of key bifurcation points. In a preferred embodiment of the present invention, the distance threshold is usually set between 5mm and 10mm. This range is selected based on the average branch spacing of the human pulmonary blood vessels. It should be noted that the specific value of the threshold may need to be fine-tuned according to individual differences in patients. For example, for patients with smaller body size, the threshold can be set in a smaller range, such as 5mm-7mm; and for patients with larger body size, the threshold can be set in a larger range, such as 8mm-10mm.
[0051] Next, based on the distance threshold, the tributary bifurcation points that are greater than the threshold are determined as key bifurcation points. This step actually simplifies the vascular network and retains the main branching structure. In practical applications, the breadth-first search (BFS) algorithm can be used to traverse the vascular network and calculate the distance from each bifurcation point to its nearest downstream bifurcation point. The time complexity of the BFS algorithm is O(V+E), where V is the number of vertices and E is the number of edges, which ensures the efficiency of the algorithm when processing complex vascular networks.
[0052] Finally, according to the key bifurcation point, the pulmonary vascular system is divided into different watersheds. The concept of watershed here originates from geography and is innovatively applied to vascular network analysis in the present invention. Each watershed is represented by a unique key bifurcation point, which is usually located at the lowest point of the watershed (i.e., the most downstream). The division of the watershed can be achieved using the classic watershed algorithm. In one embodiment of the present invention, an improved immersion simulation watershed algorithm is used, and its mathematical model can be expressed as: , in, represents the result of watershed transformation, is the input image, is the minimum area, is the geodesic distance transform, is the number of minimum value areas. This improved algorithm can effectively avoid the problem of over-segmentation and improve the accuracy of watershed division.
[0053] The method of the present invention further refines the specific steps when calculating the bleeding volume and assigning weights to each bifurcation point. First, the pulmonary blood vessels are segmented into Here are the tributaries. The value is usually determined by the complexity of the vascular network. In practical applications, It may range from tens to hundreds. For example, for a typical human lung, The value may be between 100 and 200. Next, calculate the flow The blood flow at the bifurcation point of each tributary is calculated based on the Hagen-Poiseuille equation: , in, For flow, is the vessel radius, is the pressure difference, is blood viscosity, is the vessel length. In practical applications, due to the difficulty in directly measuring pressure difference and blood viscosity, it is usually assumed that these parameters are constant throughout the pulmonary vascular network. Therefore, blood flow is mainly determined by the vessel radius and length.
[0054] According to the blood flow, the method divides the n tributary bifurcation points into a preset number of levels. In a preferred embodiment of the present invention, the preset number is 10. The selection of this value is based on medical practice experience, which can better balance the precision and practicality of the classification. The specific grading method can adopt equal-interval grading or equal-frequency grading. For example, if equal-interval grading is adopted, the range of blood flow can be evenly divided into 10 intervals; if equal-frequency grading is adopted, it can be ensured that each level contains approximately the same number of bifurcation points.
[0055] This grading method provides an important reference for the subsequent safety margin calculation. For example, high-grade (such as 9-10) bifurcation points usually represent important branches of major blood vessels and require special attention during surgical planning; while low-grade (such as 1-2) bifurcation points may represent some smaller blood vessel branches, which may be safely removed in some cases.
[0056] Through this refined method of calculating and grading the amount of bleeding, the present invention can more accurately reflect the physiological characteristics of the pulmonary vascular network, laying a solid foundation for the accurate calculation of the safety margin. In a further embodiment of the present invention, based on the safety margin, the method divides the bifurcation point weights into several levels according to the severity of bleeding during surgery. The introduction of this step further refines the accuracy of risk assessment and provides surgeons with more accurate surgical guidance.
[0057] Preferably, the bifurcation point weight can be divided into 5 levels, corresponding to very low risk, low risk, medium risk, high risk and very high risk. The basis for the division is mainly based on two factors: blood vessel diameter and estimated bleeding volume. For example, the following division criteria can be used: 1. Very low risk: blood vessel diameter <1mm, estimated bleeding volume <10ml; 2. Low risk: 1mm≤vessel diameter<2mm, 10ml≤estimated bleeding volume<50ml; 3. Moderate risk: 2mm≤vessel diameter<4mm, 50ml≤estimated bleeding volume<100ml; 4. High risk: 4mm≤vascular diameter<6mm, 100ml≤estimated bleeding volume<200ml; 5. Extremely high risk: blood vessel diameter ≥ 6 mm, estimated bleeding volume ≥ 200 ml.
[0058] This classification method takes into account the combined effects of blood vessel size and potential bleeding volume, and can more comprehensively reflect the surgical risk. It should be noted that the above thresholds may need to be fine-tuned according to the specific patient's situation. For example, for patients with abnormal coagulation function, the risk level threshold may need to be lowered.
[0059] The method of the present invention also marks important anatomical structures in the lung image and calculates the center distance of the important anatomical structures. The introduction of this step allows the method to take not only vascular factors but also other important anatomical structures into consideration, thereby providing a more comprehensive surgical planning.
[0060] In one embodiment of the present invention, important anatomical structures may include but are not limited to: interlobar fissures, bronchi, lymph nodes, etc. The marking of these structures can be automatically completed by a deep learning model, or manually annotated by experienced radiologists. For example, a segmentation network such as U-Net can be used to automatically identify and segment these structures. The loss function of U-Net can be expressed as: , in, is the total number of pixels, is the true label, For the prediction results.
[0061] The center distance of important anatomical structures is usually calculated using Euclidean distance or geodesic distance. Preferably, the geodesic distance can be calculated using the FastMarching method, and its mathematical model can be expressed as: , in, is the shortest time to reach point x, is the velocity field. This method can better reflect the actual spatial relationship of the anatomical structure.
[0062] Next, this method calculates the boundary point closest to the center in the lung image to obtain the cutting surface of the anatomical structure. This step provides specific operational guidance for surgery. In practical applications, edge detection algorithms (such as the Canny algorithm) can be used to identify boundary points, and then the boundary point closest to the center is found through nearest neighbor search. The mathematical model of the Canny algorithm includes steps such as Gaussian filtering, gradient calculation, non-maximum suppression, and dual threshold detection, among which the key gradient calculation can be expressed as: , , Where G is the gradient amplitude, is the gradient direction.
[0063] The method of the present invention further calculates the risk rating of the anatomical structure based on the different attributes of the anatomical structure. This step makes the risk assessment more comprehensive and accurate. In a preferred embodiment of the present invention, the risk rating can take into account the following factors: 1. Importance of the structure: For example, the main bronchi are at a higher risk than the tiny alveoli.
[0064] 2. Distance from the tumor: The closer to the tumor, the higher the risk level.
[0065] 3. Repairability of the structure: Once damaged, some structures are difficult to repair and their risk level should be increased accordingly.
[0066] Risk rating can be calculated by weighted summation, and the mathematical expression is: , Among them, R is the risk rating, I is the structural importance score, D is the distance score, and P is the repairability score. , , is the corresponding weight coefficient. The weight coefficient can be selected based on expert experience or optimized through machine learning methods.
[0067] Based on the risk rating, the method marks the cutting surfaces of important anatomical structures. This step provides intuitive visual guidance for surgeons. Preferably, different colors can be used to mark the cutting surfaces of different risk levels, for example: Green: low risk area; Yellow: medium risk area; Orange: high-risk area; Red: extremely high risk area; This intuitive color-coding scheme helps surgeons quickly identify critical areas.
[0068] Finally, the method of the present invention calculates the resection margin distance, residual volume and healthy ratio of the organ based on the organ function, thereby adjusting the surgical safety margin. This step takes into account the impact of surgery on organ function, making surgical planning more comprehensive and humane.
[0069] The cutting margin distance generally refers to the shortest distance from the edge of the tumor to the resection boundary. In one embodiment of the present invention, the cutting margin distance can be set to 1.5-2 times the tumor diameter. For example, for a tumor with a diameter of 2 cm, the cutting margin distance can be set to 3-4 cm.
[0070] Residual volume refers to the volume of lung tissue remaining after surgery. It can be calculated using the following formula: , in, is the residual volume, is the total volume of the lung lobe, is the tumor volume, is the cutting edge volume.
[0071] The healthy ratio is defined as the ratio of the residual healthy tissue volume to the original healthy tissue volume: , Preferably, the healthy ratio should be no less than 70% to ensure basic preservation of lung function after surgery.
[0072] Based on the postoperative functional impact, this method calculates the evaluation score of the cut surface of the anatomical structure. This step further refines the accuracy of surgical planning. The evaluation score can be calculated by the following formula: , Among them, S is the assessment score, R is the risk rating, H is the health ratio, and D is the standardized value of the cutting edge distance. , , is the weight coefficient.
[0073] Finally, this method obtains the evaluation scores of all key surgical boundaries and performs weighted average to obtain the final safety assessment result. This provides surgeons with a comprehensive and quantitative surgical risk assessment. The weighted average calculation formula is: , Among them, F is the final safety assessment result, is the evaluation score of the i-th critical boundary, is the corresponding weight.
[0074] Through this series of meticulous calculations and evaluations, the method of the present invention provides comprehensive and accurate safety margin calculation results for lung surgery, greatly improving the safety and success rate of the surgery.
[0075] The above description is only a preferred specific implementation manner of the present invention; however, the protection scope of the present invention is not limited thereto; any person familiar with the art who, within the scope disclosed by the present invention, makes equivalent replacements or changes based on the scheme and improved concepts of the present invention shall be covered within the protection scope of the present invention.
Claims
1. A lung surgery safety boundary calculation method based on watershed analysis, characterized in that: include: The acquisition steps include: Acquire lung computed tomography (CTA) imaging data; Processing steps include: Generating a three-dimensional lung digital model based on the lung CTA image data; Extracting pulmonary vascular geometric information based on the three-dimensional lung digital model; Based on the geometric information of the pulmonary blood vessels, a watershed analysis method is used to determine the locations of key bifurcation points of the blood vessels; dividing the pulmonary blood vessels into different tributaries according to the locations of the key bifurcation points; Based on the different tributaries, the bleeding volume is calculated and a weight is assigned to each bifurcation point; According to the bifurcation point weight, calculating the downstream tributary closest to the current bifurcation point; Based on the downstream tributaries, establishing a pulmonary vascular connectivity graph model; According to the pulmonary vascular connectivity graph model, a safety boundary required for segmenting the pulmonary blood vessels is obtained by calculating a minimum cut; Output steps include: A visual representation of the safety boundary is generated.
2. The method according to claim 1, characterized in that The processing step of extracting the geometric information of the pulmonary blood vessels specifically includes: Meshing the three-dimensional lung digital model to obtain an initial cutting margin; Based on the initial resection margin, the included blood vessels are extracted and a vessel tree is formed.
3. The method according to claim 1, characterized in that The processing step of using the watershed analysis method to determine the key bifurcation point position of the blood vessel specifically includes: Set a distance threshold; Based on the distance threshold, determining the branch bifurcation point greater than the threshold as a key bifurcation point; The pulmonary vascular system is divided into different watersheds according to the key bifurcation points.
4. The method according to claim 1, characterized in that: The processing step of calculating the bleeding volume and assigning a weight to each bifurcation point specifically includes: Divide the pulmonary vessels into n tributaries; Calculate the blood flow through n branch bifurcations; According to the blood flow, the n branching points are divided into a preset number of levels.
5. The method according to claim 4, characterized in that: The preset number is 10.
6. The method according to claim 1, characterized in that The processing step of calculating the downstream tributary closest to the current bifurcation point specifically includes: Assume that the weight of the current bifurcation point is d, the weight of the downstream branch point is d', and the shortest path distance is p; Calculate the weight of the downstream branch point according to the formula d'=dp; Based on Dijkstra's algorithm, determine the downstream branch with the smallest total weight from the bifurcation point.
7. The method according to claim 1, characterized in that The processing steps also include: Based on the safety margin, the bifurcation point weights are divided into several levels according to the severity of bleeding during surgery.
8. The method according to claim 1, characterized in that The processing steps also include: Mark important anatomical structures in lung images and calculate the center distance of important anatomical structures; The boundary point closest to the center is calculated in the lung image to obtain the cutting plane of the anatomical structure.
9. The method according to claim 8, characterized in that The processing steps also include: Calculate the risk rating of the anatomical structure based on different attributes of the anatomical structure; The cutting planes of important anatomical structures are marked.
10. The method according to claim 1, characterized in that The processing steps also include: Based on organ function, calculate the organ's resection margin distance, residual volume, and healthy ratio to adjust the surgical safety margin; The assessment scores of the cut surfaces of the anatomical structures were calculated based on the postoperative functional impact; The evaluation scores of all key surgical boundaries were obtained and weighted averaged to obtain the final safety evaluation result.
Citation Information
Patent Citations
Resection area determination method, system and device, equipment and medium
CN118351115A
Apparatus and method for robust non-local means filtering of tomographic images
US20170098317A1