Lung Surgery Safety Margin Calculation Method Based on Watershed Analysis

Through the method based on basin analysis, the precise identification of the pulmonary vascular bifurcation points and the calculation of blood flow is solved, and the lack of safety boundary calculation of lung surgery in the prior art is achieved, safer and more accurate lung surgery planning is achieved, reducing surgical risks and improving patients' quality of life.

CN120107244BActive Publication Date: 2025-08-05GUANGDONG GENERAL HOSPITAL
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510577824.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2025-08-05
Estimated Expiration
2045-05-07

AI Technical Summary

Technical Problem

The prior art ignores the complexity and individual differences of the lung vascular network in the calculation of the safety boundary of lung surgery, cannot effectively identify the vascular bifurcation points, does not fully consider the impact of surgery on residual lung function, and fails to effectively integrate multi-source information, resulting in high surgical risks and incomplete planning.

Method used

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 are identified, blood flow is calculated and the bifurcation points are given weights, a pulmonary vascular connectivity graph model is established, a minimum cutting is calculated to obtain a safe boundary, and a visual representation is provided.

Benefits of technology

Accurate description and risk assessment of the pulmonary vascular network is achieved, the risk of accidental bleeding during surgery is reduced, the safety and accuracy of the surgery is improved, personalized planning schemes are provided, and the decision-making support of surgeons is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120107244B_ABST
    Figure CN120107244B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of medical image processing, and more specifically, to a method for calculating a safe boundary for lung surgery based on watershed analysis, comprising: generating a three-dimensional lung digital model based on lung CTA image data; extracting geometric information of lung blood vessels based on the three-dimensional lung digital model; determining the positions of key bifurcation points of the blood vessels using a watershed analysis method based on the geometric information of the lung blood vessels; segmenting the lung blood vessels into different tributaries based on the positions of the key bifurcation points; calculating the bleeding volume based on the different tributaries and assigning a weight to each bifurcation point; calculating the downstream tributary closest to the current bifurcation point based on the bifurcation point weight; establishing a lung blood vessel connectivity graph model based on the downstream tributaries; and obtaining the safe boundary required for segmenting the lung blood vessels by calculating the minimum cut based on the lung blood vessel connectivity graph model. By introducing the watershed analysis technology, the present method can more accurately describe and analyze the complex structure of the lung blood vessel network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and more particularly 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 technology relies primarily on traditional image segmentation and 3D reconstruction methods to determine safe margins for lung surgery. These methods typically use threshold segmentation, region growing, or image gradient-based edge detection algorithms to extract lung structures and tumor boundaries. A fixed safe distance is then set to determine the surgical resection range. While this approach has improved surgical accuracy to a certain extent, it still presents significant technical challenges.

[0004] First, traditional methods often overlook 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 fixed safety distances fails to fully account for these factors, potentially leading to unexpected bleeding or insufficient resection during surgery.

[0005] Second, existing technologies have limitations when dealing with branching pulmonary vascular structures. Most methods are unable to effectively identify and analyze vascular bifurcations, which are often areas of high surgical risk. Ignoring these critical structures can lead to incomplete surgical planning and increase surgical risk.

[0006] Furthermore, existing methods are insufficient in assessing the impact of surgery on lung function. Most techniques focus solely on complete tumor resection and fail to fully consider the impact of surgery on residual lung tissue function. This can lead to a decrease in the patient's quality of life after surgery.

[0007] Furthermore, existing technologies perform poorly in integrating multi-source information. They typically focus solely on imaging data while ignoring other important clinical information, such as the patient's physiological status and comorbidities, which limits the personalization and precision 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] To address these issues, this paper proposes a method for calculating the safe margin for lung surgery based on flow domain analysis. This method aims to address the shortcomings of existing technologies in handling complex vascular networks, assessing surgical risk, considering residual lung function, and integrating multi-source information, thereby providing more accurate, safe, and personalized lung surgery planning solutions.

[0010] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0011] The calculation method of the safety boundary of lung surgery based on watershed analysis includes:

[0012] The acquisition steps include:

[0013] Acquire lung computed tomography (CTA) imaging data;

[0014] Processing steps include:

[0015] generating a three-dimensional lung digital model based on the lung CTA image data;

[0016] Extracting pulmonary vascular geometric information based on the three-dimensional lung digital model;

[0017] 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;

[0018] dividing the pulmonary blood vessels into different tributaries according to the locations of the key bifurcation points;

[0019] Based on the different tributaries, the bleeding volume is calculated and a weight is assigned to each bifurcation point;

[0020] Calculate the downstream tributary closest to the current bifurcation point according to the bifurcation point weight;

[0021] establishing a pulmonary vascular connectivity graph model based on the downstream tributaries;

[0022] According to the pulmonary vascular connectivity graph model, a safety boundary required for segmenting the pulmonary vessels is obtained by calculating a minimum cut;

[0023] Output steps include:

[0024] A visual representation of the security boundary is generated.

[0025] Preferably, extracting the pulmonary blood vessel geometric information in the processing step specifically includes:

[0026] Meshing the three-dimensional lung digital model to obtain an initial cutting margin;

[0027] Based on the initial resection margin, the included blood vessels are extracted and a vessel tree is formed.

[0028] Preferably, the processing step of using a watershed analysis method to determine the location of a key bifurcation point of a blood vessel specifically includes:

[0029] Set a distance threshold;

[0030] Based on the distance threshold, determining a tributary bifurcation point greater than the threshold as a key bifurcation point;

[0031] The pulmonary vascular system is divided into different flow areas according to the key bifurcation points.

[0032] Preferably, the step of calculating the bleeding volume and assigning a weight to each bifurcation point specifically includes:

[0033] Divide the pulmonary vessels into n tributaries;

[0034] Calculate the blood flow through n tributary bifurcations;

[0035] According to the blood flow, the n branch bifurcation points are divided into a preset number of levels.

[0036] As a preferred feature, it is characterized in that:

[0037] The preset number is 10.

[0038] Preferably, the step of calculating the downstream tributary closest to the current bifurcation point in the processing step specifically includes:

[0039] 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;

[0040] Calculate the weight of the downstream branch point according to the formula d'=dp;

[0041] Based on Dijkstra's algorithm, the downstream branch with the smallest total weight from the bifurcation point is determined.

[0042] Preferably, the processing step further comprises:

[0043] Based on the safety margin, the bifurcation point weights are divided into several levels according to the severity of bleeding during surgery.

[0044] Preferably, the processing step further comprises:

[0045] Mark important anatomical structures in lung images and calculate the center distance of important anatomical structures;

[0046] The boundary point closest to the center is calculated in the lung image to obtain the cutting plane of the anatomical structure.

[0047] Preferably, the processing step further comprises:

[0048] Calculate the risk rating of the anatomical structure based on different attributes of the anatomical structure;

[0049] Mark the cutting planes of important anatomical structures.

[0050] Preferably, the processing step further comprises:

[0051] Based on organ function, calculate the organ's resection margin distance, residual volume, and healthy ratio to adjust the surgical safety margin;

[0052] The assessment scores of the cut surfaces of the anatomical structures were calculated based on the postoperative functional impact;

[0053] The evaluation scores of all key surgical boundaries were obtained and weighted averaged to obtain the final safety assessment result.

[0054] The method of the present invention has the following significant technical effects:

[0055] First, by incorporating watershed analysis technology, this method can more accurately describe and analyze the complex structure of the pulmonary vascular network. This innovative application allows surgical planning to fully consider the individual patient's vascular distribution characteristics, significantly reducing the risk of unexpected bleeding during surgery.

[0056] Secondly, the present invention achieves accurate identification and risk assessment of key vascular structures by calculating the weights and bleeding volumes of vascular bifurcations. This feature allows surgeons to better understand the vascular distribution in the surgical area and formulate safer resection strategies.

[0057] Furthermore, this method not only considers complete tumor resection when calculating the safety margin, but also ensures the patient's quality of life after surgery by assessing the volume and function of residual lung tissue. This comprehensive consideration makes surgical planning more humane and promotes the patient's long-term recovery.

[0058] Furthermore, the present invention integrates multiple information sources, including imaging data, anatomical structure information, and functional assessment results, to achieve more comprehensive and personalized surgical planning. This multi-dimensional analysis method greatly improves the scientific nature and reliability of surgical plans.

[0059] Finally, this method provides intuitive visualization results and quantitative risk assessment scores, providing strong support for surgeons' decision-making. This not only improves surgical precision but also facilitates doctor-patient communication, enhancing patients' understanding and confidence in treatment plans.

[0060] In summary, this method, by innovatively combining flow analysis with traditional medical image processing methods, achieves a quantum leap in the calculation of safety margins for lung surgery. It not only overcomes many limitations of existing technologies but also achieves significant advances in accuracy, safety, and personalization, providing powerful technical support for improving the success rate of lung surgery and the quality of patient outcomes. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 The figure is an overall flow chart of the method of the present invention.

[0062] Figure 2 This is a flowchart of extracting pulmonary blood vessel geometric information according to the present invention.

[0063] Figure 3 The flowchart of the present invention is to determine the location of the key bifurcation point of the blood vessel.

[0064] Figure 4 This is a flow chart of calculating bleeding volume and bifurcation point weights according to the present invention.

[0065] Figure 5 This is a flow chart of calculating the safety boundary of the present invention. DETAILED DESCRIPTION

[0066] like Figure 1-5 As shown, the present invention provides a method for calculating the safe margin of lung surgery based on watershed analysis. This method innovatively applies watershed analysis technology to the analysis of the pulmonary vascular network, achieving accurate calculation and visualization of the safe margin of surgery.

[0067] First, the method of the present invention involves acquiring lung computed tomography (CTA) imaging data. These CTA images are preferably acquired using a 64- or 128-slice spiral CT scanner with a slice thickness of 0.5-1.0 mm to ensure high-resolution raw data. In one embodiment of the present invention, contrast-enhanced scanning techniques may be used to better visualize pulmonary vascular structures.

[0068] Next, the method generates a three-dimensional digital lung model based on the lung CTA image data. This step is typically accomplished using image segmentation and three-dimensional reconstruction techniques. Specifically, a region growing algorithm or a level set method can be used to extract the lung contours, followed by a Marching Cubes algorithm for three-dimensional reconstruction. In practice, the reconstruction resolution is typically set to 0.5 mm × 0.5 mm × 0.5 mm to balance computational efficiency and model accuracy.

[0069] Subsequently, the method of the present invention extracts the geometric information of the pulmonary vessels based on the three-dimensional lung digital model. This step is the basis for the subsequent flow domain analysis. Preferably, a Frangi filter can be used to enhance the vascular structure. The mathematical expression of this filter is as follows:

[0070] ,

[0071] 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 image's grayscale value.

[0072] Next, based on the geometric information of the pulmonary blood vessels, the method uses the 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 starting from the bifurcation of the aorta. In this invention, a distance function is defined

[0073] ,

[0074] 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.

[0075] Based on the locations of the key bifurcation points, this method segments the pulmonary vessels into different tributaries. This step effectively divides the vascular network into different watersheds. Each watershed is represented by a unique bifurcation point. In practice, a distance threshold, such as 5 mm, is usually set, and tributary bifurcation points greater than the threshold are designated as key bifurcation points. This threshold is selected based on the average branch spacing of the pulmonary vessels and can be fine-tuned based on the specific patient's condition.

[0076] 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:

[0077] ,

[0078] in, For traffic, is the vessel radius, is the pressure difference, is blood viscosity, is the vessel length. In practice, 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.

[0079] Based on 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:

[0080] ,

[0081] Based on the downstream tributaries, the method establishes a pulmonary vascular connectivity graph model. This model is actually a weighted undirected graph, where nodes represent bifurcation points, edges represent vascular segments, and edge weights can be set as the Euclidean distance between adjacent bifurcation points.

[0082] Finally, based on the pulmonary vascular connectivity graph model, the method calculates the minimum cut to obtain the safety boundary required for segmenting the pulmonary vessels. 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.

[0083] The output step of the method of the present invention includes generating a visual representation of the safety margin. This is typically 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, for example, red for high-risk areas, yellow for medium-risk areas, and green for low-risk areas.

[0084] The method of the present invention offers significant advantages over existing technologies. First, by introducing a watershed analysis method, the present invention can more accurately describe the topological structure of the pulmonary vascular network, thereby improving the accuracy of safety margin calculation. Second, the method considers the blood flow volume and bifurcation point weights of the blood vessels, making the calculation results more consistent with actual physiological conditions. Finally, the method provides a visual representation of the safety margin, which provides surgeons with intuitive and clear surgical guidance.

[0085] 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 using this method for surgical planning experienced an average 30% reduction in intraoperative blood loss, a 20% reduction in operative time, and a 25% reduction in the incidence of postoperative complications. These data fully demonstrate the effectiveness and practical value of the method.

[0086] 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 the geometric information of the lung blood vessels 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.

[0087] Meshing is a key preprocessing step that discretizes the continuous three-dimensional space into a finite number of grid cells. Preferably, the method uses adaptive meshing technology, using 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, while 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.

[0088] 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 lung fissure, manually marked areas, or the boundary formed by expansion according to a given cutting margin radius. In practical applications, the selection of the initial cutting margin has a significant impact on the subsequent blood vessel extraction and safety boundary calculation. Preferably, the initial cutting margin can be determined by combining the doctor's experience and the results of the automatic algorithm to ensure its accuracy and reliability.

[0089] Based on the initial resection margin, the method further extracts the included blood vessels and forms a vascular tree. This step is usually achieved using vessel enhancement and segmentation techniques. In one embodiment of the present invention, a multi-scale Hessian filter can be used to enhance the vascular structure. The response function of this filter can be expressed as:

[0090] ,

[0091] 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.

[0092] After vessel enhancement, this method uses the region growing algorithm to segment the 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.

[0093] Forming a vascular tree is the last step in 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 .

[0094] 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 the individual differences of the 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.

[0095] Next, based on the distance threshold, branch bifurcations with a distance greater than the threshold are identified as key bifurcations. This step effectively simplifies the vascular network, preserving the primary branching structure. In practice, a breadth-first search (BFS) algorithm can be used to traverse the vascular network, calculating the distance from each bifurcation to its nearest downstream bifurcation. The BFS algorithm has a time complexity of O(V + E), where V is the number of vertices and E is the number of edges. This ensures the algorithm's efficiency when dealing with complex vascular networks.

[0096] Finally, based on the key bifurcation points, 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:

[0097] ,

[0098] in, represents the result of watershed transformation, is the input image, is the minimum area, is the geodesic distance transform, This improved algorithm can effectively avoid the problem of over-segmentation and improve the accuracy of watershed division.

[0099] 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 through The blood flow at the bifurcation point of each tributary is calculated based on the Hagen-Poiseuille equation:

[0100] ,

[0101] in, For traffic, is the vessel radius, is the pressure difference, is blood viscosity, is the vessel length. In practical applications, due to the difficulty of directly measuring pressure differentials and blood viscosity, these parameters are often assumed to be constant throughout the pulmonary vascular network. Therefore, blood flow is primarily determined by vessel radius and length.

[0102] According to the blood flow, the present 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 and 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.

[0103] This grading method provides an important reference for subsequent safety margin calculations. For example, high-grade bifurcations (e.g., grades 9-10) often represent important branches of major vessels and require special attention during surgical planning; whereas low-grade bifurcations (e.g., grades 1-2) may represent smaller vascular branches that may be safely resected in certain situations.

[0104] Through this refined method for calculating and grading bleeding volume, the present invention can more accurately reflect the physiological characteristics of the pulmonary vascular network, laying a solid foundation for the precise calculation of safety margins. In a further embodiment of the present invention, based on this safety margin, the method categorizes bifurcation point weights into several levels according to the severity of intraoperative bleeding. The introduction of this step further refines the accuracy of risk assessment and provides surgeons with more precise surgical guidance.

[0105] Preferably, bifurcation point weights can be divided into five 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: vessel diameter and estimated bleeding volume. For example, the following division criteria can be used:

[0106] 1. Very low risk: blood vessel diameter <1mm, estimated bleeding volume <10ml;

[0107] 2. Low risk: 1mm≤vessel diameter<2mm, 10ml≤estimated bleeding volume<50ml;

[0108] 3. Medium risk: 2mm≤vascular diameter<4mm, 50ml≤estimated bleeding volume<100ml;

[0109] 4. High risk: 4mm≤vascular diameter<6mm, 100ml≤estimated bleeding volume<200ml;

[0110] 5. Extremely high risk: blood vessel diameter ≥6mm, estimated bleeding volume ≥200ml.

[0111] This classification method takes into account the combined effects of vessel size and potential bleeding volume, providing a more comprehensive reflection of surgical risk. It is important to note that the above thresholds may need to be fine-tuned based on individual patient circumstances. For example, for patients with abnormal coagulation function, the risk level threshold may need to be lowered.

[0112] The method also marks important anatomical structures in the lung images and calculates the center distance of these structures. This step allows the method to consider not only vascular factors but also other important anatomical structures, thus providing a more comprehensive surgical planning.

[0113] In one embodiment of the present invention, important anatomical structures may include, but are not limited to, interlobar fissures, bronchi, and lymph nodes. These structures can be labeled automatically using a deep learning model or manually 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:

[0114] ,

[0115] in, is the total number of pixels, is the true label, For the prediction results.

[0116] 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 Fast Marching method, and its mathematical model can be expressed as:

[0117] ,

[0118] in, is the shortest time to reach point x, This method can better reflect the actual spatial relationship of anatomical structures.

[0119] 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 can be 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. The key gradient calculation can be expressed as:

[0120] ,

[0121] ,

[0122] Where G is the gradient amplitude, is the gradient direction.

[0123] 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:

[0124] 1. Importance of the structure: For example, the main bronchi are at higher risk than the small alveoli.

[0125] 2. Distance from the tumor: The closer to the tumor, the higher the risk level.

[0126] 3. Repairability of the structure: Once damaged, some structures are difficult to repair and their risk level should be increased accordingly.

[0127] Risk rating can be calculated by weighted summation, and the mathematical expression is:

[0128] ,

[0129] Among them, R is the risk rating, I is the structural importance score, D is the distance score, and P is the repairability score. , , The weight coefficient can be selected based on expert experience or optimized through machine learning methods.

[0130] Based on the risk rating, the present method labels the cutting surfaces of important anatomical structures. This step provides intuitive visual guidance for surgeons. Preferably, different colors can be used to mark cutting surfaces of different risk levels, for example:

[0131] Green: low-risk area;

[0132] Yellow: medium risk area;

[0133] Orange: high-risk area;

[0134] Red: extremely high risk area;

[0135] This intuitive color-coding scheme helps surgeons quickly identify critical areas.

[0136] Finally, the method of the present invention calculates the organ's resection margin distance, residual volume, and healthy ratio based on organ function, thereby adjusting the surgical safety margin. This step considers the impact of surgery on organ function, making surgical planning more comprehensive and humane.

[0137] The resection 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 resection 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 resection margin distance can be set to 3-4 cm.

[0138] Residual volume refers to the volume of lung tissue remaining after surgery. It can be calculated using the following formula:

[0139] ,

[0140] in, is the residual volume, is the total lung lobe volume, is the tumor volume, is the incisal margin volume.

[0141] The healthy ratio is defined as the ratio of the residual healthy tissue volume to the original healthy tissue volume:

[0142] ,

[0143] Preferably, the healthy ratio should be no less than 70% to ensure basic preservation of lung function after surgery.

[0144] 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 using the following formula:

[0145] ,

[0146] 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.

[0147] Finally, this method obtains the evaluation scores of all critical surgical boundaries and performs a 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:

[0148] ,

[0149] Among them, F is the final safety assessment result, is the evaluation score of the i-th critical boundary, is the corresponding weight.

[0150] 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.

[0151] The above description is only a preferred specific embodiment of the present invention; however, the protection scope of the present invention is not limited thereto; any person familiar with the art who makes equivalent replacements or changes based on the scheme and improved concepts of the present invention within the scope disclosed by the present invention shall be covered by the protection scope of the present invention.

Claims

1. A lung surgery safety margin calculation method based on flow domain analysis, characterized by: 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; Calculate the downstream tributary closest to the current bifurcation point according to the bifurcation point weight; establishing a pulmonary vascular connectivity graph model based on the downstream tributaries; According to the pulmonary vascular connectivity graph model, a safety boundary required for segmenting the pulmonary vessels is obtained by calculating a minimum cut; Output steps include: A visual representation of the security 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 a tributary bifurcation point greater than the threshold as a key bifurcation point; The pulmonary vascular system is divided into different flow areas according to the key bifurcation points.

4. The method according to claim 1, wherein The processing steps of calculating the bleeding volume and assigning a weight to each bifurcation point specifically include: Divide the pulmonary vessels into n tributaries; Calculate the blood flow through n tributary bifurcations; According to the blood flow, the n branch bifurcation points are divided into a preset number of levels according to weights.

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 bifurcation point is d', and the shortest path distance from the current bifurcation point to the downstream bifurcation point is p; Calculate the weight of the downstream branch point according to the formula d'=dp; Based on Dijkstra's algorithm, the downstream branch with the smallest total weight from the bifurcation point is determined.

7. The method according to claim 1, characterized in that The processing steps further 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 further 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 further include: Calculate the risk rating of the anatomical structure based on different attributes of the anatomical structure; Mark the cutting planes of important anatomical structures.

10. The method according to claim 1, characterized in that The processing steps further 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 assessment 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