Method and system for planning optimal blood vessel puncture path based on infrared image
Three-dimensional reconstruction and segmentation of blood vessels is performed through binocular infrared structured light cameras and local adaptive signal enhancement algorithms. Combined with contour fitting and through-line segment scoring, the problem of optimal puncture path selection under complex vascular morphology is solved, and the success of puncture is improved rate and security.
Patent Information
- Application Number
- CN202410259804.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-11-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art is difficult to accurately identify and select the best vascular puncture path, resulting in unsuccessful puncture or complications, especially in the case of complex and variable vascular morphology.
The binocular infrared structured light camera and local adaptive signal enhancement algorithm were used for three-dimensional reconstruction and segmentation of blood vessels. The optimal puncture path and point were determined through contour fitting and through-line segment scoring.
Accurate three-dimensional reconstruction of multiple blood vessels and calculation of optimal puncture paths are achieved, which improves the success rate and safety of puncture and reduces the occurrence of complications.
Smart Images

Figure CN118873252A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical imaging technology, and in particular to a method and system for planning an optimal blood vessel puncture path based on infrared images. Background Art
[0002] The vascular infrared stereo imaging and puncture path planning system is designed to improve the success rate of vascular puncture, reduce complications, and provide doctors with accurate vascular positioning and puncture path guidance. The system includes vascular stereo imaging, puncture path planning and visualization modules. The following is a detailed description of its system and method: 1. System composition 1.1 Infrared Stereo Imaging Module Function: Use infrared technology to capture stereo images of blood vessels. Use an infrared camera group (possibly a binocular or multi-camera system) to capture blood vessel images at different angles to obtain the three-dimensional position and morphology information of the blood vessels. Technical details: Infrared light source is used to illuminate the target area, and the infrared camera captures the reflected light, using the absorption characteristics of infrared light and hemoglobin to distinguish blood vessels from surrounding tissues. 1.2 3D reconstruction and analysis module Function: Reconstruct the 3D model of blood vessels by receiving data from the infrared stereo imaging module and processing the images using a 3D reconstruction algorithm Technical details: Combining computer vision and image processing techniques, such as stereo matching and machine learning algorithms, for image fusion and 3D reconstruction 1.3 Puncture path planning module Function: Based on the 3D model of the blood vessel, automatically calculate the best puncture path, taking into account factors such as puncture angle, depth and avoiding key structures Technical details: Use optimization algorithms and simulation techniques, such as genetic algorithms, artificial intelligence or machine learning models, to plan the best path 1.4 Visualization and Interaction Module Function: Visually display the 3D model of the blood vessel and the recommended puncture path to the operator, and support the adjustment and confirmation of the final puncture plan Technical details: Develop a user-friendly graphical user interface (GUI) that supports 3D viewing, zooming, rotating, etc.
[0003] 2. Methods and Steps 2.1 Data Collection Apply infrared light to the target area and use an infrared camera to capture blood vessel images from different angles 2.2 Image Processing and 3D Reconstruction Perform pre-processing on captured images, such as denoising, enhancement, and filtering Reconstruct 3D models of blood vessels using binocular vision or deep learning methods 2.3 Puncture path planning Automatically calculate and optimize the puncture path based on the 3D model and clinical needs Consider puncture safety, efficiency and the need to avoid critical structures 2.4 Visualization and Operator Interaction Visualize the reconstructed vascular model and recommended puncture path in the GUI Allows the operator to adjust the path and simulate the puncture process in a virtual environment 2.5 Puncture execution According to the planned path, the puncture operation is performed automatically by guiding the operator or by the robot.
[0004] 3. Application prospects The system is suitable for medical occasions that require high-precision vascular positioning and puncture, such as intravenous injection, arterial blood sampling, vascular intervention surgery, etc. By providing accurate vascular stereoscopic imaging and puncture path planning, the system is expected to greatly improve the success rate of clinical puncture, reduce patient discomfort and complications, and improve the quality and efficiency of medical services.
[0005] Infrared can image the body and produce blood vessel images. The location of the blood vessels can be extracted and segmented based on the local adaptive enhancement method, and the three-dimensional location of the blood vessels can be reconstructed based on binocular structured light three-dimensional reconstruction. However, there are many blood vessels in the body, and if a blood vessel is randomly selected, it may not be the best blood vessel, resulting in inaccurate puncture or puncture. Therefore, a set of artificial intelligence algorithms is needed to select the best blood vessel and the best puncture location from all the identified blood vessels.
[0006] Obviously, this method of vascular imaging and path planning has at least the following problems: Blood vessels come in different shapes, some are straight, some are curved, some are deep, some are shallow, and some are thick. If you randomly select a blood vessel, it may not be the best one. If a blood vessel is selected based on only one criterion, other factors may lead to unsuccessful puncture. Therefore, it is necessary to comprehensively evaluate the best puncture blood vessel based on the straightness, depth, and thickness. There is no method for accurately locating the puncture point and puncture path for puncture planning among numerous blood vessels. Summary of the invention
[0007] In order to solve the above problems, the purpose of the present invention is to provide a method and system for optimal blood vessel puncture path planning based on infrared images.
[0008] Step 1: Use a binocular infrared structured light camera and an algorithm based on local adaptive signal enhancement to extract and calculate the three-dimensional positions of all blood vessels. Use the binocular structured light infrared camera to perform three-dimensional reconstruction of the human body surface to obtain a three-dimensional image of the human body contour. At the same time, a local adaptive enhancement method for blood vessels based on the infrared image is used to segment and extract the blood vessels, and three-dimensional reconstructed images and point cloud images of all blood vessels are obtained.
[0009] Step 2: Binarize the blood vessels and extract the connected domains of all blood vessels. These connected domains are the three-dimensional locations of the blood vessels, which are used for further evaluation and screening of the connected domains.
[0010] Step 3: perform contour fitting and extraction on all blood vessels, in which complex polygon contour extraction is performed, so as to obtain the precise contour of each blood vessel and a polygon contour fitting result that is highly similar to the contour.
[0011] Step 4: Based on each endpoint of the contour, find the longest through line segment that starts from the endpoint and passes through the blood vessel. For each endpoint of the contour of each blood vessel, a through line segment can be found.
[0012] Step 5: Score all penetrating line segments, including the length of the line segment, the gap between the line segment and the edge of the blood vessel, the depth of the line segment, and the thickness of the blood vessels in the area where the line segment penetrates.
[0013] Step 6: The penetration line segment with the highest comprehensive score is the optimal puncture path, and the optimal puncture point can be calculated from the optimal puncture path.
[0014] Compared with the prior art, the present invention has the following beneficial effects: 1. Able to reconstruct 3D vascular images and point cloud images of numerous blood vessels in the body 2. It can adaptively enhance the local area to extract the connected area with only blood vessels 3. It can fit the edge contour of blood vessels, and make them complete and clear 4. You can find the longest line segment through each blood vessel 5. Comparing multiple blood vessels can get the longest line segment through all blood vessels 6. The best penetration line segment is obtained through the length of the penetration line segment, changes in depth, thickness of blood vessels in the penetration area, and other indicators. This line segment is the best puncture path 7. The best puncture path can be calculated to get the best puncture point. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] 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.
[0016] Figure 1 The present invention is a schematic flow chart of the steps for implementing the method.
[0017] Figure 2 This is a schematic diagram of the arm blood vessel puncture path planning of the present invention.
[0018] Figure 3 This is a schematic diagram of binocular infrared structured light three-dimensional imaging of the present invention. Implementation
[0019] 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.
[0020] Referring to FIG. 1 , the present invention provides a method and system for optimal blood vessel puncture path planning based on infrared images, comprising: Step 1: Use a binocular infrared structured light camera and an algorithm based on local adaptive signal enhancement to extract and calculate the three-dimensional positions of all blood vessels. Use the binocular structured light infrared camera to perform three-dimensional reconstruction of the human body surface to obtain a three-dimensional image of the human body contour. At the same time, a local adaptive enhancement method for blood vessels based on the infrared image is used to segment and extract the blood vessels, and three-dimensional reconstructed images and point cloud images of all blood vessels are obtained.
[0021] The process of realizing 3D reconstruction of the human body surface and blood vessels using a binocular infrared structured light camera and segmenting and extracting blood vessels using an algorithm based on local adaptive signal enhancement involves a series of complex computer vision and image processing technologies. The following are the detailed steps of the process: A.1. 3D reconstruction preparation Equipment preparation: Configure a binocular infrared structured light camera system to ensure accurate calibration and synchronization between the two cameras Environmental settings: Adjust the infrared light source to suit different human body surfaces and environmental conditions.
[0022] A.2. Data Collection Human body surface scanning: Use a binocular infrared structured light camera to scan the target human body surface and capture infrared images containing structured light patterns. Vessel-specific scanning: At the same time, the characteristics of the infrared camera are used to perform high-precision scanning on specific areas of the blood vessels to capture vascular details.
[0023] A.3. 3D reconstruction of the human body surface Image preprocessing: perform preprocessing operations such as denoising and enhancement on the captured images Stereo matching: Using binocular vision principle, stereo matching is performed on pre-processed images to calculate the disparity map Depth calculation and reconstruction: Calculate depth information based on the disparity map and camera parameters, and reconstruct the three-dimensional model and point cloud image of the human body surface.
[0024] A.4. Local Adaptive Enhancement and Segmentation of Blood Vessels Local adaptive enhancement: For the captured infrared images of the blood vessel area, a local adaptive enhancement algorithm is applied to improve the contrast between the blood vessels and the surrounding tissues and highlight the characteristics of the blood vessels. Blood vessel segmentation: Based on the enhanced image, image segmentation techniques (such as threshold-based, region growing-based, or machine learning methods) are used to extract the blood vessel structure. 3D vascular reconstruction: Use vascular segmentation results and depth information to reconstruct the 3D model and point cloud image of the blood vessels.
[0025] A.5. Merge and rebuild results Integrated model: Integrate the 3D model of the human body surface with the 3D model of blood vessels to obtain a complete 3D representation of the human body surface and blood vessels Optimization and correction: Optimize and correct the integrated 3D model to ensure the accuracy and consistency of the model.
[0026] A.6. Visualization and Analysis 3D visualization: Use 3D visualization tools to display the reconstructed human body surface and blood vessel models, supporting multi-angle and multi-level viewing Data analysis: Quantitative analysis of the reconstructed three-dimensional model, including measurement of parameters such as blood vessel diameter, length, and distribution.
[0027] A.7. Application Clinical application: 3D reconstruction results can be used for medical diagnosis, surgical planning, design of individualized treatment plans, etc. Scientific research applications: Provide accurate human body surface and blood vessel model data for biomedical research.
[0028] Through the above process, high-precision three-dimensional reconstruction of the human body surface and blood vessels can be achieved, providing important auxiliary information for medical diagnosis and treatment.
[0029] Step 2: Binarize the blood vessels and extract the connected domains of all blood vessels. These connected domains are the three-dimensional locations of the blood vessels, which are used for further evaluation and screening of the connected domains.
[0030] Binarizing the vascular image and extracting the connected domains of all blood vessels is a key step to locate and evaluate the position of blood vessels in three-dimensional space. This process can be divided into the following steps: B.1. Vascular Image Binarization Purpose: To separate the vascular area from the non-vascular area through binarization processing, so as to facilitate the subsequent vascular extraction and analysis Methods: The enhanced vascular image is binarized by selecting an appropriate threshold value. This threshold value can be fixed or determined by an automated method (such as the Otsu method) to maximize the contrast between the blood vessels and the background.
[0031] B.2. Extracting connected domains Purpose: In a binary image, the blood vessel area is marked as the foreground, and the rest of the area is the background. The purpose of extracting connected domains is to identify and separate all independent blood vessel areas. Methods: A connected domain labeling algorithm in image processing, such as a two-pass scanning algorithm or a union-find algorithm, is used to assign a unique label to each independent vascular region.
[0032] B.3. Connected Domain Analysis Purpose: To analyze the characteristics of each connected domain, such as size, shape, and location, to evaluate and screen out vascular regions that meet specific conditions; Methods: The properties of each connected domain are calculated, including area (or volume), perimeter, centroid position, etc. Based on these properties, the qualified vascular connected domains can be screened out, for example, too small or too large connected domains are removed, and only the areas that may represent healthy or diseased blood vessels are retained.
[0033] B.4. Three-dimensional Positioning Purpose: To determine the exact location of each selected vascular connection domain in three-dimensional space Methods: The 3D coordinates of each vascular connected domain were reconstructed by combining the 2D position information and the corresponding depth information of the vascular image.
[0034] B.5. Further evaluation and screening Purpose: Based on the results of three-dimensional reconstruction, further evaluate the spatial distribution, direction, and relative position of blood vessels with other anatomical structures, and provide a basis for clinical diagnosis and treatment Methods: 3D image analysis tools and algorithms are used to analyze the 3D model of blood vessels in detail, screen out key vascular areas, and provide accurate navigation information for subsequent medical operations (such as puncture, surgical planning, etc.).
[0035] Through the above steps, the three-dimensional position information of the blood vessels can be effectively extracted from the two-dimensional blood vessel images, providing important basic data for further evaluation and clinical application of the blood vessels.
[0036] Step 3: Fit and extract the contours of all blood vessels, in which complex polygon contour extraction is performed to obtain the precise contour of each blood vessel and the polygon contour fitting result that is highly similar to the contour. .
[0037] Contour fitting and extraction of all blood vessels is a sophisticated image processing step aimed at accurately determining the boundaries and shapes of blood vessels. This process can be divided into the following key steps: C.1. Vessel contour extraction Purpose: To identify the edges or contours of blood vessels from binary images in order to further analyze the shape and size of blood vessels Method: Use edge detection algorithms (such as Canny edge detection) or contour finding algorithms (such as findContours method in OpenCV) to extract the contour of the blood vessel. These methods can identify edge pixels in the image and connect them into one or more continuous edge lines to represent the contour of the blood vessel.
[0038] C.2. Complex polygon contour extraction Purpose: In cases where blood vessel contours may present complex shapes, accurate extraction of their shapes is crucial for subsequent analysis Method: Use a polygon approximation algorithm, such as the Douglas-Peucker algorithm, to simplify continuous edge lines into polygons with fewer vertices while maintaining the overall shape of the contour. This method can reduce the amount of data while retaining important shape features.
[0039] C.3. Contour Fitting Purpose: To further analyze and process the contour lines to obtain smoother contours that accurately reflect the actual shape of the blood vessels Methods: Curve fitting methods, such as least squares fitting, Bezier curve or B-spline curve fitting, can be used to smooth and optimize the contour line. These methods can generate a smooth curve based on the contour points to better approximate the actual shape of the blood vessel.
[0040] C.4. Analysis of polygonal contour fitting results Purpose: To evaluate the accuracy and practicality of the fitting results and ensure that the obtained contours are highly similar to the actual shape of the blood vessels Methods: The accuracy of the fitting is evaluated by comparing the difference between the original contour and the fitted contour. Shape matching algorithms (such as Hu rectangle matching) can be used to quantify the similarity between the two to ensure that the fitting result can accurately reflect the shape of the blood vessel.
[0041] Through the above steps, the precise contour of each blood vessel and its highly similar polygonal contour fitting results can be obtained, which is of great significance for further analysis, diagnosis and treatment planning of blood vessels, and can provide more accurate and detailed vascular morphological information.
[0042] Step 4: Based on each endpoint of the contour, find the longest through line segment that starts from that endpoint and passes through the blood vessel. For each endpoint of the contour of each blood vessel, a through line segment can be found. .
[0043] Finding the longest through-line segment through a blood vessel based on each endpoint of the contour is a geometric problem that involves blood vessel contour analysis and optimal path finding. This process can be divided into the following steps: D.1. Endpoint Identification Purpose: First, we need to identify all endpoints of the blood vessel contour. These endpoints are the vertices of the blood vessel contour polygon and can be obtained through the contour extraction step. Methods: In the contour fitting and extraction steps, a polygonal representation of the vessel contour has been obtained. Each vertex is a potential endpoint.
[0044] D.2. Searching for Through Line Segments Purpose: For each endpoint on the contour, find the longest line segment starting from that point, passing through the entire blood vessel, and reaching the other side of the blood vessel method: Ray method: Send a ray from each endpoint and calculate the intersection with other edges of the blood vessel contour. For each endpoint, select a ray that passes through the blood vessel and intersects the contour at another point. Geometric analysis: A geometric algorithm is used to calculate the intersection points of a line segment from each endpoint with all other edges of the vessel contour to determine the longest through-line segment.
[0045] D.3. Calculation of the longest continuous line segment Purpose: To calculate the longest line segment from each endpoint and use it as a reference path for vascular puncture or treatment method: Distance calculation: For each endpoint, calculate the distance from it to other points on the contour and find the longest line segment Angle consideration: In order to ensure that the line segment actually passes through the blood vessel instead of along the edge of the contour, it is also necessary to consider the angle between the line segment and the centerline or axis of the blood vessel and select the longest line segment with the appropriate angle.
[0046] D.4. Optimization and screening Purpose: From all calculated longest segments, select the most suitable segment for puncture or treatment method: Penetration verification: Ensure that the selected line segment actually penetrates the entire blood vessel, not just the edge of the blood vessel Eliminate redundant line segments: If the through line segments generated by multiple endpoints are similar or overlap, only the best one is retained.
[0047] Through the above steps, the longest through-line segment can be found for each vascular contour endpoint, which has important clinical significance for accurate vascular puncture, vascular treatment planning, and minimizing surgical risks.
[0048] Step 5: Score all penetrating line segments, including the length of the line segment, the gap between the line segment and the edge of the blood vessel, the depth of the line segment, and the thickness of the blood vessels in the area where the line segment penetrates.
[0049] Scoring all the line segments that penetrate the blood vessels is a complex process that requires a combination of factors to determine which line segment is most suitable for puncture or treatment. Here is a possible scoring mechanism, including the length of the line segment, the gap between the line segment and the edge of the blood vessel, the depth of the line segment, and the thickness of the blood vessel in the area where the line segment penetrates. .
[0050] E.1. Segment length scoring Purpose: Longer lines may mean better penetration, but may also increase the difficulty of operation. Method: Set a scoring range for the length of the line segments, for example, the longest line segment has the highest score and the shortest line segment has the lowest score.
[0051] E.2. Scoring of the gap between the line segment and the edge of the blood vessel Purpose: A smaller gap between the line segment and the edge of the blood vessel means more precise penetration and less damage to surrounding tissues Method: Calculate the minimum gap between the line segment and the edge of the blood vessel. The smaller the gap, the higher the score.
[0052] E.3. Segment depth change scoring Purpose: To evaluate the depth change of the line segment during the puncture process. The line segment with high stability is easier to control. Method: Analyze the depth change of the line segment along the penetration path. The line segment with small change has a high score, and the line segment with large change has a low score.
[0053] E.4. Score of blood vessel thickness in the area where the line passes through Purpose: Line segments that pass through large blood vessels may be more suitable for certain treatments or blood collection Method: The score is calculated based on the average thickness of the blood vessel area that the line segment passes through. The line segment that passes through thick blood vessels has a high score.
[0054] Overall Rating Each scoring item can be weighted according to its importance in surgery or treatment, and finally the weighted scores of all scoring items are added together to obtain the total score of each line segment. The line segment with the highest total score is considered the best choice.
[0055] Implementation steps E.5 Data preparation: Obtain the length of each line segment, the gap with the edge of the blood vessel, the depth change, and the thickness of the blood vessels that pass through it.
[0056] E.6 Score calculation: Score each factor according to the above criteria and calculate the total score based on the pre-defined weights.
[0057] E.7 Optimization selection: Select the line segment with the highest comprehensive score as the recommended path for puncture or treatment.
[0058] This scoring mechanism can help doctors or automated systems make more accurate and safer decisions when performing vascular puncture or treatment.
[0059] Step 6: The penetration line segment with the highest comprehensive score is the optimal puncture path, and the optimal puncture point can be calculated from the optimal puncture path.
[0060] After selecting the best puncture path, determining the best puncture point is a key step in implementing precise medical operations. This process usually involves the following steps: F.1. Determine the optimal puncture path Based on the previous score: From all possible penetration segments, the segment with the highest comprehensive score is selected as the best puncture path. This path takes into account the length, the gap with the edge of the blood vessel, the depth change, and the thickness of the blood vessel.
[0061] F.2. Calculation of the optimal puncture point Path analysis: After determining the best puncture path, analyze all points along this path to determine the most suitable location for the puncture starting point. This point should be easily accessible while ensuring the safety and effectiveness of the puncture operation. Safety and accessibility considerations: Choose a point that is close to the skin surface for easy puncture and ensures that the puncture needle can safely and smoothly reach the target blood vessel without damaging surrounding important structures Vessel location and depth: Calculate the location and depth of the vessel at the optimal puncture point to guide the selection of puncture angle and depth.
[0062] F.3. Geometric parameters of the puncture point Angle calculation: Calculate the optimal puncture angle based on the direction and depth of the blood vessel to minimize uncertainty and potential complications during the puncture process Depth estimation: Estimate the distance from the skin to the target blood vessel to guide the depth of needle insertion and ensure that the needle can accurately reach the blood vessel without passing through it.
[0063] F.4. Use of assistive technologies Visualization technology: Use ultrasound or other imaging technology to observe the puncture process in real time to ensure the accuracy of puncture point selection and puncture operation Computer-aided design: Use software tools to calculate paths and points to improve the accuracy of selection.
[0064] Through these steps, the best puncture path and the best puncture point can be effectively determined, thereby improving the success rate and safety of medical operations. This process not only reduces harm to patients, but also improves the efficiency and accuracy of operations.
Claims
1. Method and system for optimal vascular puncture path planning based on infrared images, It is characterized in that include: Step 1: Use a binocular infrared structured light camera and an algorithm based on local adaptive signal enhancement to extract and calculate the three-dimensional positions of all blood vessels. Use a binocular structured light infrared camera to perform three-dimensional reconstruction of the human body surface and obtain a three-dimensional image of the human body contour. At the same time, use a local adaptive enhancement method based on the infrared image to segment and extract the blood vessels, and obtain three-dimensional reconstructed images and point cloud images of all blood vessels. Step 2: Binarize the blood vessels and extract the connected domains of all blood vessels. These connected domains are the three-dimensional positions of the blood vessels, which are used for further evaluation and screening of the connected domains. Step 3: Perform contour fitting and extraction on all blood vessels, in which complex polygon contour extraction is performed to obtain the precise contour of each blood vessel and a polygon contour fitting result that is highly similar to the contour. Step 4: Based on each endpoint of the contour, find the longest through line segment that starts from the endpoint and passes through the blood vessel. For each endpoint of the contour of each blood vessel, a through line segment can be found. Step 5: Score all the line segments that penetrate the line, including the length of the line segment, the gap between the line segment and the edge of the blood vessel, the depth of the line segment, and the thickness of the blood vessels in the area where the line segment penetrates. . Step 6: The penetration line segment with the highest comprehensive score is the optimal puncture path, and the optimal puncture point can be calculated from the optimal puncture path.
2. A binocular infrared structured light system as claimed in claim 1, It is characterized in that Based on the human body, the light source (850nm-940nm mixed light source), baseline length (within the range of 50mm-150mm), imaging camera (with 700nm-1100nm filter), imaging parameters (exposure time to ensure the contrast of vascular imaging) and other parameters are tested and optimized to obtain the three-dimensional reconstruction point cloud results of the blood vessels.
3. A local adaptive enhanced blood vessel extraction and segmentation method as described in claim 1, through which each blood vessel can be effectively extracted, and background noise will not be mistakenly identified as a blood vessel.
4. The blood vessel contour polygon fitting method as claimed in claim 1. The contour of the blood vessel may be irregular, with various burrs and deformities. Through the blood vessel contour polygon fitting method, the accurate approximate area of the blood vessel and the corresponding large number of candidate polygon vertex fitting results can be obtained for the vertex candidates of the subsequent puncture path planning.
5. The method for calculating the longest through-line segment of a blood vessel contour as claimed in claim 1. By traversing each vertex of the polygon obtained by fitting, the longest line segment of each vertex through the blood vessel is calculated, and the plurality of longest line segments are used as candidate path segments for puncture path planning.
6. The optimal puncture path screening method according to claim 1. All penetrating line segments are scored, including the length of the line segment, the gap between the line segment and the edge of the blood vessel, the depth change of the line segment, and the thickness of the blood vessel in the area where the line segment penetrates. The one with the highest comprehensive score is the optimal puncture path, and the midpoint of the optimal puncture path is the optimal puncture point.
