A blood vessel image segmentation method and device

Through multi-scale filtering and threshold segmentation combined with morphological processing, the center line is extended and optimized, and the region growing algorithm is used to solve the problem of low blood vessel image segmentation accuracy and achieve accurate identification and segmentation of blood vessel models.

CN115375719BActive Publication Date: 2024-08-27SINOVATION (BEIJING) MEDICAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210992487.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2024-08-27
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

The accuracy of blood vessel image segmentation in the existing technology is not high, especially in the blood vessel boundary area, and it is difficult to determine the segmentation threshold.

Method used

Use multi-scale filtering to enhance medical images, obtain enhanced blood vessel images and predict blood vessel directions, combine threshold segmentation and morphological processing to obtain preliminary blood vessel models and center lines, and optimize the center line by predicting blood vessel direction extension, and finally use the region growing algorithm Obtain the optimized blood vessel model.

Benefits of technology

It improves the precision and accuracy of blood vessel image segmentation, especially the segmentation effect of end blood vessels, provides a large number of accurate seed points, and achieves comprehensive and accurate blood vessel model recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115375719B
    Figure CN115375719B
Patent Text Reader

Abstract

The present invention provides a method and device for segmenting a blood vessel image. The method includes: using multi-scale filtering to enhance the medical image to be processed, obtaining an enhanced blood vessel image and the predicted blood vessel direction at each pixel in the enhanced blood vessel image; performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and its preliminary centerline; extending the preliminary centerline using the predicted blood vessel direction at each pixel in the enhanced blood vessel image to obtain an optimized centerline; and using the optimized centerline as the basis in the enhanced blood vessel image to obtain an optimized blood vessel model using a regional growing algorithm. The present invention enhances blood vessels of different diameters, extracts and optimizes the blood vessel centerline, and each point on the optimized centerline belongs to a blood vessel point. A large number of accurate seed points are provided by optimizing the centerline, and a comprehensive and accurate blood vessel model is obtained by the regional growing method.
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 in particular to a blood vessel image segmentation method and device. Background Art

[0002] Vascular diseases, especially cardiovascular and cerebrovascular diseases, have become one of the major diseases that threaten human life safety. During surgical operations, good three-dimensional vascular visualization is very important for the successful implementation of related operations. For example, during tumor resection and laser ablation operations, it is necessary to have a clear understanding of the vascular distribution, vascular structure, direction, and radius around the lesion.

[0003] For the segmentation of vascular images, the existing technology usually segments the medical images based on the threshold to obtain the vascular points. However, the segmentation threshold is difficult to determine, and the segmentation accuracy of the blood vessels (especially the vascular boundary area) is often not high. Therefore, a technical solution is needed to quickly and accurately segment the blood vessels from the medical images. Summary of the invention

[0004] The present invention provides a blood vessel image segmentation method and device, which are used to solve the defect of low blood vessel image segmentation accuracy in the prior art.

[0005] The present invention provides a blood vessel image segmentation method, comprising:

[0006] Performing enhancement processing on the medical image to be processed by using multi-scale filtering to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image;

[0007] Performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and a preliminary centerline thereof;

[0008] Extending the preliminary center line using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain an optimized center line;

[0009] In the enhanced blood vessel image, based on the optimized center line, an optimized blood vessel model is obtained by using a region growing algorithm.

[0010] A blood vessel image segmentation method provided by the present invention is characterized in that the method uses multi-scale filtering to enhance the medical image to be processed to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image, including:

[0011] Using filters of multiple scales to filter the medical image to be processed respectively, to obtain filtering results of each pixel point in the medical image to be processed by the filter of each scale and to predict the direction of blood vessels;

[0012] For each pixel of the medical image to be processed, determining the maximum response value among the filtering results of multiple scales of the pixel as the final filtering result of the pixel, and taking the predicted blood vessel direction corresponding to the maximum response value as the final predicted blood vessel direction at the pixel;

[0013] The enhanced blood vessel image is generated according to the final filtering results of all pixels of the image to be processed.

[0014] According to a blood vessel image segmentation method provided by the present invention, the enhanced blood vessel image is subjected to threshold segmentation and morphological processing to obtain a preliminary blood vessel model and a preliminary centerline thereof, including:

[0015] Based on a first intensity threshold, binarizing the enhanced blood vessel image to obtain a binarized image;

[0016] Performing connected domain analysis and screening on the binary image to obtain the preliminary blood vessel model;

[0017] The preliminary blood vessel model is processed based on morphology to extract the preliminary centerline.

[0018] According to a blood vessel image segmentation method provided by the present invention, the first intensity threshold is set according to a first preset ratio based on the maximum intensity value of the pixel points of the enhanced blood vessel image.

[0019] According to a blood vessel image segmentation method provided by the present invention, the connected domain analysis and screening of the binary image to obtain the preliminary blood vessel model includes:

[0020] The connected domains in the binary image are extracted, and are screened according to a preset volume threshold, and the connected domains with a volume smaller than the preset volume threshold are eliminated from all connected domains to obtain a preliminary blood vessel model.

[0021] According to a blood vessel image segmentation method provided by the present invention, the preliminary blood vessel model is processed based on morphology to extract the preliminary center line, including:

[0022] The preliminary blood vessel model is processed using a distance transform and / or a corrosion algorithm to obtain the preliminary centerline.

[0023] According to a blood vessel image segmentation method provided by the present invention, the method of extending the preliminary center line using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain the optimized center line includes:

[0024] determining each end point of the preliminary center line;

[0025] For each of the endpoints, perform the following operations:

[0026] Determine a corresponding first extension point according to the predicted blood vessel direction of the first end point; wherein the first end point is any one of the end points;

[0027] Determine whether a preset extension condition is satisfied between the first end point and the first extension point;

[0028] When the preset extension condition is met, the first extension point is added to the preliminary center line to obtain an updated center line, and the next extension is performed with the first extension point as a new end point until the final end point of the current branch is determined;

[0029] When the final end points of the branches where the end points are located have been determined, the corresponding updated center line is used as the optimized center line.

[0030] According to a blood vessel image segmentation method provided by the present invention, the preset extension condition includes:

[0031] The angle between the predicted blood vessel direction of the first end point and the predicted blood vessel direction of the first extension point is less than a preset angle threshold;

[0032] And / or, a ratio of the intensity of the first end point in the enhanced blood vessel image to the intensity of the first extension point in the enhanced blood vessel image is greater than a second preset ratio.

[0033] According to a blood vessel image segmentation method provided by the present invention, the optimized blood vessel model is obtained by using a region growing algorithm based on the optimized center line in the enhanced blood vessel image, comprising:

[0034] Taking the optimized center line as the initial blood vessel set, determining a corresponding adjacent point set;

[0035] For each pixel in the adjacent point set, determine the points belonging to the initial blood vessel set among all the neighboring points of the pixel and calculate the average intensity value, and if the ratio of the intensity value of the pixel to the average intensity value is greater than a third preset ratio, delete the pixel from the adjacent point set and add it to the initial blood vessel set;

[0036] The above process is iteratively performed until no new pixel points are added to the initial blood vessel set, and the optimized blood vessel model is determined according to the updated initial blood vessel set.

[0037] A blood vessel image segmentation method provided by the present invention further includes:

[0038] Preprocessing the original brain image to obtain the medical image to be processed;

[0039] Wherein, the preprocessing includes one or more of the following:

[0040] Noise reduction, offset field correction, grayscale normalization.

[0041] The present invention also provides a blood vessel image segmentation device, comprising:

[0042] A blood vessel enhancement module, used for performing enhancement processing on the medical image to be processed by using multi-scale filtering to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image;

[0043] A centerline extraction module, used for performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and a preliminary centerline thereof;

[0044] A centerline optimization module, configured to extend the preliminary centerline using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain an optimized centerline;

[0045] The blood vessel optimization module is used to obtain an optimized blood vessel model in the enhanced blood vessel image based on the optimized center line using a region growing algorithm.

[0046] According to a blood vessel image segmentation device provided by the present invention, the blood vessel enhancement module comprises:

[0047] A filtering unit, used to filter the medical image to be processed using filters of multiple scales, respectively, to obtain filtering results of each pixel point in the medical image to be processed by the filter of each scale and to predict the direction of blood vessels;

[0048] a determination unit, configured to determine, for each pixel of the medical image to be processed, a maximum response value among the filtering results of multiple scales of the pixel as a final filtering result of the pixel, and to use the predicted blood vessel direction corresponding to the maximum response value as the final predicted blood vessel direction at the pixel;

[0049] The summarizing unit generates the enhanced blood vessel image according to the final filtering results of all the pixels of the image to be processed.

[0050] According to a blood vessel image segmentation device provided by the present invention, the centerline extraction module comprises:

[0051] A binarization unit, configured to perform binarization processing on the enhanced blood vessel image based on a first intensity threshold to obtain a binarized image;

[0052] A connected domain unit, used for performing connected domain analysis and screening on the binary image to obtain the preliminary blood vessel model;

[0053] The extraction unit is used to process the preliminary blood vessel model based on morphology to extract the preliminary center line.

[0054] According to a blood vessel image segmentation device provided by the present invention, the first intensity threshold is set according to a first preset ratio based on the maximum intensity value of the pixel points of the enhanced blood vessel image.

[0055] According to a vascular image segmentation device provided by the present invention, the connected domain unit is further used to extract the connected domains in the binary image, and screen them according to a preset volume threshold, and eliminate the connected domains whose volumes are smaller than the preset volume threshold in all connected domains to obtain a preliminary vascular model.

[0056] According to the blood vessel image segmentation device provided by the present invention, the extraction unit is further used to process the preliminary blood vessel model using distance transformation and / or corrosion algorithm to obtain the preliminary center line.

[0057] According to a blood vessel image segmentation device provided by the present invention, the centerline optimization module comprises:

[0058] A terminal unit, used to determine each end point of the preliminary center line;

[0059] The extension unit is used to perform the following operation for each of the end points:

[0060] Determine a corresponding first extension point according to the predicted blood vessel direction of the first end point; wherein the first end point is any one of the end points;

[0061] Determine whether a preset extension condition is satisfied between the first end point and the first extension point;

[0062] When the preset extension condition is met, the first extension point is added to the preliminary center line to obtain an updated center line, and the next extension is performed with the first extension point as a new end point until the final end point of the current branch is determined;

[0063] The updating unit is used to use the corresponding updated center line as the optimized center line when the final end points of the branches where the end points are located have been determined.

[0064] According to a blood vessel image segmentation device provided by the present invention, the preset extension condition includes:

[0065] The angle between the predicted blood vessel direction of the first end point and the predicted blood vessel direction of the first extension point is less than a preset angle threshold;

[0066] And / or, a ratio of the intensity of the first end point in the enhanced blood vessel image to the intensity of the first extension point in the enhanced blood vessel image is greater than a second preset ratio.

[0067] According to a blood vessel image segmentation device provided by the present invention, the blood vessel optimization module comprises:

[0068] An adjacent point unit, used to determine a corresponding adjacent point set with the optimized center line as an initial blood vessel set;

[0069] a blood vessel point growth unit, configured to determine, for each pixel point in the adjacent point set, points belonging to the initial blood vessel set among all neighboring points of the pixel point and calculate an average intensity value, and to delete the pixel point from the adjacent point set and add the pixel point to the initial blood vessel set when a ratio of the intensity value of the pixel point to the average intensity value is greater than a third preset ratio;

[0070] The iteration unit is used to iteratively execute the above process until no new pixel points are added to the initial blood vessel set, and determine the optimized blood vessel model according to the updated initial blood vessel set.

[0071] A blood vessel image segmentation device according to the present invention further includes:

[0072] A preprocessing module, used for preprocessing the original brain image to obtain the medical image to be processed;

[0073] Wherein, the preprocessing includes one or more of the following:

[0074] Noise reduction, offset field correction, grayscale normalization.

[0075] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, all or part of the steps of any of the above-mentioned blood vessel image segmentation methods are implemented.

[0076] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, all or part of the steps of any of the above-mentioned blood vessel image segmentation methods are implemented.

[0077] The present invention also provides a computer program product, which includes computer executable instructions, and when the instructions are executed, they are used to implement all or part of the steps of any of the above-mentioned blood vessel image segmentation methods.

[0078] The present invention provides a blood vessel image segmentation method and device, which enhances blood vessels of different diameters in a medical image to be processed through multi-scale filtering, so that the blood vessel features are more obvious, and the predicted blood vessel direction at each pixel point is obtained, and the preliminary center line of the blood vessel is extracted through threshold segmentation and morphological processing, and the blood vessel center line is extended in combination with the predicted blood vessel direction at each pixel point to obtain an optimized center line, and the optimized center line indicates more comprehensive blood vessel direction information (especially the direction information of the terminal blood vessel), and each point on the optimized center line is a blood vessel point and can be used as a seed point of the blood vessel region; compared with the manual selection of a limited number of seed points in the prior art, this embodiment is based on the points on the optimized center line, provides a large number of accurate seed points, and then combines the region growing method to identify and expand the blood vessel region, and obtains a comprehensive and accurate blood vessel model. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are 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.

[0080] Figure 1 It is a schematic diagram of a blood vessel image segmentation method provided by the present invention;

[0081] Figure 2 It is a structural schematic diagram of a blood vessel image segmentation device provided by the present invention;

[0082] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0083] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0084] Combine the following Figure 1-Figure 3 A blood vessel image segmentation method and device of the present invention are described.

[0085] Figure 1 Schematic diagram of a blood vessel image segmentation method provided by the present invention. Figure 1 As shown, the method includes:

[0086] S11. Performing enhancement processing on the medical image to be processed by using a multi-scale filter to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image.

[0087] Specifically, the medical image to be processed is a medical image containing vascular structure. The medical image type may be an enhanced T1 image, a time-of-flight magnetic resonance imaging (TOF-MRA) image, a phase contrast magnetic resonance imaging (PC-MRA) image, etc. The images may be of brain blood vessels, heart / lung blood vessels, neck blood vessels, fundus blood vessels, etc.

[0088] The present invention can reconstruct a two-dimensional or three-dimensional model of a blood vessel, and the following is only an explanation of the reconstruction of a three-dimensional model. In order to facilitate the segmentation of blood vessel pixels for blood vessel model reconstruction, the medical image to be processed can be processed by a filter (for example, a Gaussian filter) to enhance the tubular structure features therein and suppress other structural features and noise. Since filters with different scale factors (variance of the filter) can detect and enhance blood vessels of different thicknesses, and the scale of structures such as blood vessels in the image data cannot be estimated during the image processing process, filtering processing can be performed by filters of multiple scales. Then, for each pixel (two-dimensional pixel or three-dimensional pixel, collectively referred to as a pixel in this article), the maximum response value in the filtering results of multiple scale filters is taken as the filtering (enhancement) result of the pixel, and the enhanced blood vessel image (i.e., multi-scale filtering) is obtained by combining the filtering results of multiple scales. Through multi-scale filtering, the blood vessel structures of different thicknesses in the medical image can all be enhanced.

[0089] In addition, multi-scale filtering is used to output the direction with the smallest curvature change at each pixel, and this direction is used as the predicted blood vessel direction at the pixel. Since it is not known which pixels are blood vessel points and which are non-blood vessel points during image processing, the predicted blood vessel direction is output for all pixels. The predicted blood vessel direction here is a hypothetical direction. If a pixel is a pixel in a blood vessel, then the image intensity change of the pixel along the direction of the blood vessel is the smallest, and the direction with the smallest curvature change is the predicted blood vessel direction at the pixel.

[0090] S12, performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and a preliminary centerline thereof.

[0091] Specifically, the pixel points in the vascular area and the pixel points in other tissues involve a different image intensity range. On the basis of enhancing the vascular image, the vascular pixels can be initially segmented through threshold range filtering to obtain a preliminary vascular model, and then its preliminary center line can be determined through morphological processing (corrosion and other processing).

[0092] For image segmentation based on threshold, the segmentation threshold is difficult to determine accurately. Accordingly, the preliminary vascular model determined by threshold segmentation has certain errors. For this solution, although the preliminary centerline determined on the basis of the preliminary vascular model is not necessarily the strict vascular centerline, the points on the preliminary centerline are all vascular pixels, which can be used as a basis (as a seed point) to determine the accurate vascular region through the region growing method.

[0093] S13, using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image, extending the preliminary center line to obtain an optimized center line.

[0094] During the blood vessel segmentation process, the segmentation accuracy of the terminal blood vessels directly affects the blood vessel segmentation effect. The centerline directly determined by morphology has certain errors, especially for blood vessels with smaller terminal diameters. In this regard, the predicted blood vessel direction of each pixel obtained during the multi-scale filtering process is used to further extend and optimize the initial centerline to obtain the optimized centerline, which more accurately captures the direction of the terminal blood vessels.

[0095] S14. In the enhanced blood vessel image, based on the optimized center line, a region growing algorithm is used to obtain an optimized blood vessel model.

[0096] Specifically, the optimized center line is used as the "initial blood vessel", and each point on the optimized center line is a blood vessel pixel point. The regional growing algorithm is used to expand the blood vessel area based on the "initial blood vessel", and the pixel points that meet the preset growth conditions with the blood vessel pixel points in the optimized center line are added to the blood vessel area. The above blood vessel area growth process is iteratively executed until the blood vessel area no longer increases, and the optimized blood vessel model is obtained.

[0097] In this embodiment, blood vessels of different diameters in the medical image to be processed are enhanced by multi-scale filtering, so that the blood vessel features are more obvious, and the predicted blood vessel direction at each pixel point is obtained; the preliminary center line of the blood vessel is extracted by threshold segmentation and morphological processing, and the blood vessel center line is extended in combination with the predicted blood vessel direction at each pixel point to obtain the optimized center line, which indicates more comprehensive blood vessel direction information (especially the direction information of the terminal blood vessel), and each point on the optimized center line belongs to a blood vessel pixel point and can be used as a seed point of the blood vessel region; compared with the manual selection of a limited number of seed points in the prior art, this embodiment provides a large number of accurate seed points based on the points on the optimized center line, and then combines the region growing method to identify and expand the blood vessel region, and obtains a comprehensive and accurate blood vessel model.

[0098] Based on the above embodiments, in one embodiment, the method of performing enhancement processing on the medical image to be processed by using multi-scale filtering to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image includes:

[0099] Using filters of multiple scales to filter the medical image to be processed respectively, to obtain filtering results of each pixel point in the medical image to be processed by the filter of each scale and to predict the direction of blood vessels;

[0100] For each pixel of the medical image to be processed, determining the maximum response value among the filtering results of multiple scales of the pixel as the final filtering result of the pixel, and taking the predicted blood vessel direction corresponding to the maximum response value as the final predicted blood vessel direction at the pixel;

[0101] The enhanced blood vessel image is generated according to the final filtering results of all pixels of the image to be processed.

[0102] Specifically, in human vision, objects are presented in different ways at different scales of observation. For computers, it is meaningful that they cannot predict the structure of objects at a certain scale, so it is necessary to represent structures at all scales. Specifically, filters of multiple scales (preferably Gaussian filters, the variance parameter of the Gaussian filter is the corresponding "scale") are used to filter the medical images to be processed, detect and enhance the tubular structures in the medical images, and obtain the filtering enhancement results of each scale filter for each pixel in the medical image to be processed. When detecting tubular structures, each scale filter can also output the predicted blood vessel direction at each pixel in the medical image to be processed. The predicted blood vessel direction is the direction with the smallest change in intensity between a certain pixel and its surrounding pixels (i.e., the smallest curvature). Specifically, it can be obtained based on the Hessian matrix. The Hessian matrix is ​​a square matrix formed by assembling a second-order partial derivative operation on a multivariate function. In three-dimensional blood vessel segmentation, it is expressed as the following 3×3 square matrix:

[0103]

[0104] Wherein, f represents the pixel intensity in the three-dimensional medical image to be processed, H(f) represents the Hessian matrix, and x, y, and z represent the three-dimensional coordinate components.

[0105] Perform Hessian matrix calculation on each pixel in the medical image to be processed, and obtain the eigenvalues ​​and eigenvectors of the corresponding Hessian matrix. Each Hessian matrix corresponds to three eigenvalues ​​and three eigenvectors. The absolute value of the eigenvalue represents the magnitude of the curvature change. The direction of the eigenvector corresponding to the eigenvalue with the smallest absolute value is the direction of the smallest curvature, which is the corresponding predicted blood vessel direction.

[0106] When generating the final enhanced vascular image, the enhancement results of multiple scales of the medical image to be processed are fused. For each pixel point in the medical image to be processed, the maximum response value among the filtering results of each scale is taken as the vascular enhancement result of the pixel point, and the predicted vascular direction of the pixel point by the filter of the scale corresponding to the maximum response value is taken as the final predicted vascular direction. The predicted vascular direction of each pixel point of the enhanced vascular image is the direction field.

[0107] The multi-scale filtering in this embodiment enhances blood vessels of different diameters by integrating filters of multiple scales, thereby strengthening the structural features of blood vessels in the medical image to be processed, facilitating comprehensive and accurate segmentation of blood vessels. In addition, the predicted blood vessel direction at each pixel point in the enhanced blood vessel image is output, laying the foundation for optimizing the blood vessel centerline.

[0108] Based on any of the above embodiments, in one embodiment, performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and a preliminary centerline thereof includes:

[0109] Based on a first intensity threshold, binarizing the enhanced blood vessel image to obtain a binarized image;

[0110] Performing connected domain analysis and screening on the binary image to obtain the preliminary blood vessel model;

[0111] The preliminary blood vessel model is processed based on morphology to extract the preliminary centerline.

[0112] Specifically, there is a difference in image intensity between vascular pixels and non-vascular pixels, which can be processed by a pre-set first intensity threshold, and points less than the first intensity threshold are regarded as non-vascular pixels, and points greater than the first intensity threshold are regarded as vascular pixels, and vascular pixels and non-vascular pixels are preliminarily distinguished to obtain a binary image. The first intensity threshold is set according to demand, for example, it can be set for the pixel intensity in the enhanced vascular image, or it can be set for the normalized interval after the enhanced vascular image is normalized. For example, the image intensity is normalized to the [0,1] interval, and the first intensity threshold is set to 0.001, then the pixels (non-vascular pixels) with normalized intensity less than 0.001 are set to 0, and the pixels (vascular pixels) with normalized intensity greater than 0.001 are set to 1.

[0113] Furthermore, a connected domain analysis is performed on the basis of the binary image to remove isolated noise points, screen out a preliminary blood vessel model, and then determine its preliminary centerline through morphological processing (corrosion and other processes).

[0114] In this embodiment, binarization processing is performed through the first intensity threshold to preliminarily distinguish vascular pixels from non-vascular pixels, and noise points are removed through connected domain analysis and screening to preliminarily obtain a vascular model. The center line of the vascular model is preliminarily extracted through morphological processing.

[0115] Based on any of the above embodiments, in one embodiment, the first intensity threshold is set according to a first preset ratio based on a maximum intensity value of a pixel of the enhanced blood vessel image.

[0116] Specifically, due to different types of medical images and different imaging environments, the intensity of blood vessel pixels in the medical images may be different. Setting a fixed value of the first intensity threshold is difficult to adapt to medical images of different types and different imaging environments. In this regard, the first intensity threshold can be set according to the maximum intensity value of the pixel in the enhanced blood vessel image according to a first preset ratio, for example, set to 1‰ of the maximum intensity value of the pixel in the enhanced blood vessel image.

[0117] In this embodiment, the first intensity threshold is set according to the maximum intensity value of the pixel points in the enhanced blood vessel image according to the first preset ratio, which improves the adaptability to medical images of different types and different imaging environments and improves the segmentation effect of the preliminary blood vessel model.

[0118] Based on any of the above embodiments, in one embodiment, the performing connected domain analysis and screening on the binary image to obtain the preliminary blood vessel model includes:

[0119] The connected domains in the binary image are extracted, and are screened according to a preset volume threshold, and the connected domains with a volume smaller than the preset volume threshold are eliminated from all connected domains to obtain a preliminary blood vessel model.

[0120] Specifically, the connected domain in the binary image represents a series of adjacent pixels with similar near-image intensities. Some noise points are also displayed as connected domains with smaller volumes in the image. By screening by using a preset volume threshold, the connected domains with smaller volumes in the connected domains can be eliminated to obtain a preliminary blood vessel model. The preset volume threshold can be set according to an empirical value, for example, 50,000 pixels.

[0121] In this embodiment, each connected domain is screened by a preset volume threshold, isolated noise points are eliminated, and the accuracy of the preliminary blood vessel model is improved.

[0122] Based on any of the above embodiments, in one embodiment, the processing the preliminary blood vessel model based on morphology to extract the preliminary centerline includes:

[0123] The preliminary blood vessel model is processed using a distance transform and / or a corrosion algorithm to obtain the preliminary centerline.

[0124] Specifically, the center line of the preliminary blood vessel model can be extracted by distance transformation: distance transformation means that, for a binary image, the value of a foreground pixel is converted into the distance from the point to the nearest background point, or the value of a background pixel is converted into the distance from the point to the nearest foreground point. For this solution, the value of a blood vessel pixel in a binary image is converted into the distance from the point to the nearest non-blood vessel point, and then a preliminary center line is formed based on the maximum value of a series of nearest distance values.

[0125] The center line of the preliminary vascular model can also be extracted using the erosion algorithm: the erosion algorithm can be understood as using a structural element with a certain volume and shape to move inside the medical image to be processed. All possible positions of the origin of the structural element during the movement constitute the result after erosion. Each time "erosion" is performed, the preliminary vascular model is "reduced". After multiple erosions, the preliminary center line of the vascular model can be extracted.

[0126] In addition, the distance transform and corrosion algorithm can be combined to extract the preliminary center line of the blood vessel model, and the center lines extracted by the two methods can be combined and corrected each other.

[0127] In this embodiment, the preliminary center line of the preliminary vascular model is accurately extracted through distance transformation and corrosion algorithm. The points on the preliminary center line are all vascular pixels and can be used as seed points of the vascular model. The preliminary center line can also indicate the direction of the blood vessel. It can be seen that the preliminary center line provides a large number of accurate seed points for the subsequent generation of optimized vascular models.

[0128] Based on any of the above embodiments, in one embodiment, the step of extending the preliminary center line using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain the optimized center line includes:

[0129] determining each end point of the preliminary center line;

[0130] For each of the endpoints, perform the following operations:

[0131] Determine a corresponding first extension point according to the predicted blood vessel direction of the first end point; wherein the first end point is any one of the end points;

[0132] Determine whether a preset extension condition is satisfied between the first end point and the first extension point;

[0133] When the preset extension condition is met, the first extension point is added to the preliminary center line to obtain an updated center line, and the next extension is performed with the first extension point as a new end point until the final end point of the current branch is determined;

[0134] When the final end points of the branches where the end points are located have been determined, the corresponding updated center line is used as the optimized center line.

[0135] Specifically, the terminal points of each branch of the preliminary center line are extracted so as to extend and optimize each terminal point. For each terminal point, the extension point of the terminal point along the predicted vascular direction is determined according to the predicted vascular direction of the pixel point in the enhanced vascular image. If the terminal point and the extension point meet the preset extension conditions, the extension point is used as the new terminal point of the center line branch, and the next extension judgment is continued. When all the terminal points have been extended, the corresponding updated center line is the optimized center line. The preset extension conditions between the terminal point and the extension point are pre-set according to the needs, for example, the image intensity relationship between the terminal point and the extension point is set.

[0136] In this embodiment, each end point of the preliminary center line is iteratively extended in combination with preset extension conditions to obtain an optimized center. The points on the optimized center line are all vascular pixels and can be used as seed points of the vascular model. The preliminary center line can also indicate the direction of the blood vessel. It can be seen that the preliminary center line provides a large number of comprehensive and accurate seed points for the subsequent generation of the optimized vascular model.

[0137] Based on any of the above embodiments, in one embodiment, the preset extension condition includes:

[0138] The angle between the predicted blood vessel direction of the first end point and the predicted blood vessel direction of the first extension point is less than a preset angle threshold;

[0139] And / or, a ratio of the intensity of the first end point in the enhanced blood vessel image to the intensity of the first extension point in the enhanced blood vessel image is greater than a second preset ratio.

[0140] Specifically, the preset extension condition may be that the angle between the predicted blood vessel direction of the end point and the predicted blood vessel direction of the extension point is less than a preset angle threshold, which means that we believe that the pixel point in the blood vessel will not undergo a sudden change at the pixel level in its extension direction (corresponding to the predicted blood vessel direction), that is, the next extension direction of the adjacent pixel point in the extension direction will not change significantly. The preset extension condition may also be that the ratio of the image intensity of the extension point in the enhanced blood vessel image to the image intensity of the end point in the enhanced blood vessel image is greater than a second preset ratio, that is, the image intensity of the next adjacent pixel point in the extension direction will not be significantly attenuated.

[0141] Based on any of the above embodiments, in one embodiment, the step of obtaining an optimized blood vessel model in the enhanced blood vessel image based on the optimized center line using a region growing algorithm includes:

[0142] Taking the optimized center line as the initial blood vessel set, determining a corresponding adjacent point set;

[0143] For each pixel in the adjacent point set, determine the points belonging to the initial blood vessel set among all the neighboring points of the pixel and calculate the average intensity value, and if the ratio of the intensity value of the pixel to the average intensity value is greater than a third preset ratio, delete the pixel from the adjacent point set and add it to the initial blood vessel set;

[0144] The above process is iteratively performed until no new pixel points are added to the initial blood vessel set, and the optimized blood vessel model is determined according to the updated initial blood vessel set.

[0145] Specifically, all the pixels on the optimized center line are blood vessel pixels, and the locations of the branches of the blood vessels are given. The pixels on the optimized center line in the enhanced blood vessel image are taken as the initial blood vessel set, and the pixels directly adjacent to the pixels on the optimized center line are determined to form the adjacent point set. For each pixel in the adjacent point set, the pixels that appear in the initial blood vessel set among all the neighboring points within its neighborhood are determined, and the average intensity values ​​of these points are calculated. If the ratio of the image intensity of the pixel to the above average intensity is greater than a third preset ratio, the pixel is taken as a blood vessel pixel, deleted from the adjacent point set, and added to the initial blood vessel set.

[0146] The above-mentioned vascular region growth process is iteratively executed until no new pixel points are added to the initial vascular set, and the corresponding updated initial vascular set is determined as the optimized vascular model. It should be noted that the above-mentioned iterative process can be that each time a pixel point is added to the initial vascular set, its adjacent point set is re-determined according to the new vascular set, and iterative growth is performed; or after all the pixel points in the current adjacent point set are judged, a new adjacent point set is re-determined according to the corresponding updated initial vascular set, and the next round of iterative growth is performed.

[0147] In this embodiment, the vascular region growth is performed based on the optimized center line, which provides a large number of widely distributed basic vascular pixel points (i.e., seed points) for optimizing the vascular model, thereby improving the segmentation accuracy and efficiency of the vascular model, especially improving the segmentation accuracy of the terminal blood vessels. By judging the image intensity of the neighborhood points and setting reasonable region growth conditions, the vascular pixel points are accurately identified, further improving the segmentation accuracy of the vascular model.

[0148] Based on any of the above embodiments, in one embodiment, the neighborhood range of the neighborhood point is set according to demand.

[0149] Specifically, the range of the neighborhood points can be set to 3×3×3, or 5×5×5, or 7×7×7. The larger the range, the more reference is made to the surrounding pixels when determining whether the central pixel is a blood vessel pixel.

[0150] Based on any of the above embodiments, in one embodiment, the method further includes:

[0151] Preprocessing the original brain image to obtain the medical image to be processed;

[0152] Wherein, the preprocessing includes one or more of the following:

[0153] Noise reduction, offset field correction, grayscale normalization.

[0154] Specifically, when an image is collected and transmitted, there may be a sudden change in pixel grayscale. In order to reduce the impact of such a sudden change on subsequent processing, the medical image to be processed may be subjected to noise reduction processing. For example, a noise reduction filter (such as a curvature filter or a Gaussian filter) may be used to perform noise reduction processing on the medical image to be processed.

[0155] In addition, during image acquisition, factors such as the patient position in the scanner and the uneven magnetic field strength of the scanner itself can cause brightness differences on medical images, which can seriously affect the image segmentation accuracy. In this regard, the offset field can be corrected for the medical images to be processed to avoid interference with the segmentation accuracy.

[0156] The grayscale of the medical image to be processed can also be normalized, and the grayscale of images collected by different devices can all be scaled to 0-1 to facilitate the application of subsequent steps.

[0157] In this embodiment, the data processing efficiency and the blood vessel segmentation accuracy are improved through noise reduction processing, offset field correction, and grayscale normalization.

[0158] The blood vessel image segmentation method provided by the present invention is described below through a preferred embodiment:

[0159] Step 1: Obtain the original medical image I1.

[0160] The imaging images may be enhanced T1 images, time-of-flight magnetic resonance imaging (TOF-MRA) images, phase contrast magnetic resonance imaging (PC-MRA) images, and the like.

[0161] Step 2: pre-process the original medical image I1 to obtain the medical image to be processed I2.

[0162] Preprocessing can include denoising (curvature denoising, Gaussian denoising, etc.), offset correction, and grayscale normalization.

[0163] Step 3: Use a multi-scale blood vessel enhancement filter to perform blood vessel enhancement on the medical image I2 to be processed, and obtain an enhanced blood vessel image I3.

[0164] A multi-scale blood vessel enhancement filter based on the Hessian matrix is ​​used to detect and enhance the tubular structure in I2 to obtain an enhanced image I3 and the predicted blood vessel direction at each pixel point, wherein the filter parameters are adaptive. The filter parameter adaptation refers to automatically adjusting the filter parameters according to the grayscale range of the current blood vessel image to be processed, for example, automatically adjusting the FrangiC parameter (i.e., the blood vessel intensity constant, used to separate noise and tubular structure) according to the grayscale range of the blood vessel image.

[0165] Step 4: Use adaptive threshold segmentation and morphological processing on the enhanced vascular image I3 to obtain a preliminary vascular model I 42 .

[0166] The first intensity threshold th1 is determined by one thousandth of the maximum intensity value (filter response value) of the pixel point in I3, and the calculation formula is as follows:

[0167] thl=max(I3)×0.001

[0168] Use thl to perform binary processing on I3, set the pixels greater than thl to 1, and the pixels not greater than thl to 0, and get the binary image I 41 . Confirm I 41 The connected domains composed of all pixels set to 1 in the image are removed, and the connected domains whose volume is smaller than the preset volume threshold (mostly noise) are removed to prevent the noise from affecting the subsequent steps, and the preliminary blood vessel model I is obtained. 42 The preset volume threshold is usually 50,000.

[0169] Step 5: Preliminary blood vessel model I 42 Perform morphological processing to extract the preliminary blood vessel model I 42 The preliminary center line I5.

[0170] Specifically, the preliminary blood vessel model I can be extracted by using distance transformation or multiple erosion methods. 42 The initial center line.

[0171] Step 6: Extend the preliminary center line I5 using the properties of the multi-scale blood vessel enhancement filter to obtain I6.

[0172] Locate the end points of all branches of the preliminary center line I5, and use Ω to represent the set of end points. At any end point, check whether the next point of the predicted blood vessel direction (see step 3) has a direction similar to that of the end point and whether its intensity is higher than itself. If these two conditions are met, the point is considered to be the new end position of the blood vessel.

[0173] For example, for a certain peripheral position point P0, the predicted blood vessel direction of the point is Vec(P0), and its intensity in I3 is I3(P0). The nearest pixel point in the predicted blood vessel direction is P1, and the predicted blood vessel direction of P1 is Vec(P1), and its intensity in I3 is I3(P1). The angle between the vectors Vec(P0) and Vec(P1) is ∠P0P1.

[0174]

[0175] When the following two conditions are met at the same time, P1 is also considered as a point on the center line and is also used as P0 for the next cycle test. Otherwise, the end point of this branch stops growing. ang It is a constant, which means the maximum acceptable angle when the two are in the same direction.

[0176] The above process is iterated until no new pixel points are added to the center line, and finally the optimized center line I6 is obtained.

[0177] Step 7: Use the region growing method, take all points on the optimized center line in I6 as seed points, and grow the vascular region in combination with the image intensity of the corresponding pixel points in the enhanced vascular image I3 to obtain the optimized vascular model I7.

[0178] V is used to represent the set of existing blood vessel points, and B is used to represent the set of background points directly adjacent to V among all background points.

[0179] Cycle judgment:

[0180] For each background point b (b∈B) in B, N(b) is used to represent all points directly adjacent to it (here, directly adjacent can refer to all points in a cube with a certain neighborhood range centered on b), N(b)∩V represents all points that are blood vessel points among the adjacent points of b, and avg(b) is used to represent the average image intensity of all points in N(b)∩V in I3. If the image intensity I3(b) corresponding to point b in I3 satisfies:

[0181] I3(b)>ξ×avg(b)

[0182] Then add point b to V and update B at the same time. In the formula, ξ is a positive constant less than 1.

[0183] Until no new points are added, all points in the set V constitute the mask image of the blood vessel, that is, the optimized blood vessel model I7.

[0184] The blood vessel image segmentation device provided by the present invention is described below. The blood vessel segmentation device described below and the blood vessel segmentation method described above can be referred to each other.

[0185] Figure 2 is a structural schematic diagram of a blood vessel image segmentation device provided by the present invention, such as Figure 2 As shown, the device comprises:

[0186] The blood vessel enhancement module 21 is used to enhance the medical image to be processed by using multi-scale filtering to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image;

[0187] A centerline extraction module 22, used for performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and its preliminary centerline;

[0188] A centerline optimization module 23, configured to extend the preliminary centerline using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain an optimized centerline;

[0189] The blood vessel optimization module 24 is used to obtain an optimized blood vessel model in the enhanced blood vessel image based on the optimized center line using a region growing algorithm.

[0190] Based on the above embodiment, in one embodiment, the blood vessel enhancement module 21 includes:

[0191] A filtering unit, used to filter the medical image to be processed using filters of multiple scales, respectively, to obtain filtering results of each pixel point in the medical image to be processed by the filter of each scale and to predict the direction of blood vessels;

[0192] a determination unit, configured to determine, for each pixel of the medical image to be processed, a maximum response value among the filtering results of multiple scales of the pixel as a final filtering result of the pixel, and to use the predicted blood vessel direction corresponding to the maximum response value as the final predicted blood vessel direction at the pixel;

[0193] The summarizing unit generates the enhanced blood vessel image according to the final filtering results of all the pixels of the image to be processed.

[0194] Based on any of the above embodiments, in one embodiment, the centerline extraction module 22 includes:

[0195] A binarization unit, configured to perform binarization processing on the enhanced blood vessel image based on a first intensity threshold to obtain a binarized image;

[0196] A connected domain unit, used for performing connected domain analysis and screening on the binary image to obtain the preliminary blood vessel model;

[0197] The extraction unit is used to process the preliminary blood vessel model based on morphology to extract the preliminary center line.

[0198] Based on any of the above embodiments, in one embodiment, the first intensity threshold is set according to a first preset ratio based on a maximum intensity value of a pixel of the enhanced blood vessel image.

[0199] Based on any of the above embodiments, in one embodiment, the connected domain unit is further used to extract the connected domains in the binary image, and screen them according to a preset volume threshold, eliminating all connected domains whose volumes are smaller than the preset volume threshold, to obtain a preliminary blood vessel model.

[0200] Based on any of the above embodiments, in one embodiment, the extraction unit is further used to process the preliminary blood vessel model using a distance transform and / or a corrosion algorithm to obtain the preliminary centerline.

[0201] Based on any of the above embodiments, in one embodiment, the centerline optimization module 23 includes:

[0202] A terminal unit, used to determine each end point of the preliminary center line;

[0203] The extension unit is used to perform the following operation for each of the end points:

[0204] Determine a corresponding first extension point according to the predicted blood vessel direction of the first end point; wherein the first end point is any one of the end points;

[0205] Determine whether a preset extension condition is satisfied between the first end point and the first extension point;

[0206] When the preset extension condition is met, the first extension point is added to the preliminary center line to obtain an updated center line, and the next extension is performed with the first extension point as a new end point until the final end point of the current branch is determined;

[0207] The updating unit is used to use the corresponding updated center line as the optimized center line when the final end points of the branches where the end points are located have been determined.

[0208] Based on any of the above embodiments, in one embodiment, the preset extension condition includes:

[0209] The angle between the predicted blood vessel direction of the first end point and the predicted blood vessel direction of the first extension point is less than a preset angle threshold;

[0210] And / or, a ratio of the intensity of the first end point in the enhanced blood vessel image to the intensity of the first extension point in the enhanced blood vessel image is greater than a second preset ratio.

[0211] Based on any of the above embodiments, in one embodiment, the blood vessel optimization module 24 includes:

[0212] An adjacent point unit, used to determine a corresponding adjacent point set with the optimized center line as an initial blood vessel set;

[0213] a blood vessel point growth unit, configured to determine, for each pixel point in the adjacent point set, points belonging to the initial blood vessel set among all neighboring points of the pixel point and calculate an average intensity value, and to delete the pixel point from the adjacent point set and add the pixel point to the initial blood vessel set when a ratio of the intensity value of the pixel point to the average intensity value is greater than a third preset ratio;

[0214] The iteration unit is used to iteratively execute the above process until no new pixel points are added to the initial blood vessel set, and determine the optimized blood vessel model according to the updated initial blood vessel set.

[0215] Based on any of the above embodiments, in one embodiment, the device further includes:

[0216] A preprocessing module, used for preprocessing the original brain image to obtain the medical image to be processed;

[0217] Wherein, the preprocessing includes one or more of the following:

[0218] Noise reduction, offset field correction, grayscale normalization.

[0219] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute all or part of the steps of the above-mentioned blood vessel image segmentation methods.

[0220] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0221] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute all or part of the steps of the above-mentioned vascular image segmentation methods.

[0222] In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform all or part of the steps of the above-mentioned vascular image segmentation methods.

[0223] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0224] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0225] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A blood vessel image segmentation method, characterized in that: include: Performing enhancement processing on the medical image to be processed by using multi-scale filtering to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image; Performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and a preliminary centerline thereof; Extending the preliminary center line using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain an optimized center line; In the enhanced blood vessel image, using points on the optimized center line as seed points, and using a region growing algorithm to obtain an optimized blood vessel model; The step of extending the preliminary center line by using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain the optimized center line includes: For each end point of the preliminary center line, adjacent pixel points in the predicted blood vessel direction of the end point are used as extension points; If the angle between the predicted blood vessel direction of the end point and the predicted blood vessel direction of the extension point is less than a preset angle threshold, and the intensity of the end point in the enhanced blood vessel image is less than the intensity of the extension point in the enhanced blood vessel image, the extension point is used as the new end point to perform the next extension until the final end point is determined.

2. The blood vessel image segmentation method according to claim 1, characterized in that: The method of using multi-scale filtering to enhance the medical image to be processed to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image includes: Using filters of multiple scales to filter the medical image to be processed respectively, to obtain filtering results of each pixel point in the medical image to be processed by the filter of each scale and to predict the direction of blood vessels; For each pixel of the medical image to be processed, determining the maximum response value among the filtering results of multiple scales of the pixel as the final filtering result of the pixel, and taking the predicted blood vessel direction corresponding to the maximum response value as the final predicted blood vessel direction at the pixel; The enhanced blood vessel image is generated according to the final filtering results of all pixels of the medical image to be processed.

3. The blood vessel image segmentation method according to claim 1, characterized in that: The step of performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and a preliminary centerline thereof includes: Based on a first intensity threshold, binarizing the enhanced blood vessel image to obtain a binarized image; Performing connected domain analysis and screening on the binary image to obtain the preliminary blood vessel model; The preliminary blood vessel model is processed based on morphology to extract the preliminary centerline.

4. The blood vessel image segmentation method according to claim 3, characterized in that: The first intensity threshold is set according to a first preset ratio based on a maximum intensity value of a pixel of the enhanced blood vessel image.

5. The blood vessel image segmentation method according to claim 3, characterized in that: The performing connected domain analysis and screening on the binary image to obtain the preliminary blood vessel model includes: The connected domains in the binary image are extracted, and are screened according to a preset volume threshold, and the connected domains with a volume smaller than the preset volume threshold are eliminated from all connected domains to obtain a preliminary blood vessel model.

6. The blood vessel image segmentation method according to claim 3, characterized in that: The step of processing the preliminary blood vessel model based on morphology to extract the preliminary centerline includes: The preliminary blood vessel model is processed using a distance transform and / or a corrosion algorithm to obtain the preliminary centerline.

7. The blood vessel image segmentation method according to claim 1, characterized in that: The step of obtaining an optimized blood vessel model based on the optimized center line in the enhanced blood vessel image by using a region growing algorithm includes: Taking the optimized center line as the initial blood vessel set, determining a corresponding adjacent point set; For each pixel in the adjacent point set, determine the points belonging to the initial blood vessel set among all the neighboring points of the pixel and calculate the average intensity value, and if the ratio of the intensity value of the pixel to the average intensity value is greater than a third preset ratio, delete the pixel from the adjacent point set and add it to the initial blood vessel set; The above process is iteratively performed until no new pixel points are added to the initial blood vessel set, and the optimized blood vessel model is determined according to the updated initial blood vessel set.

8. A blood vessel image segmentation device, characterized in that: include: A blood vessel enhancement module, used for performing enhancement processing on the medical image to be processed by using multi-scale filtering to obtain an enhanced blood vessel image and a predicted blood vessel direction at each pixel point in the enhanced blood vessel image; A centerline extraction module, used for performing threshold segmentation and morphological processing on the enhanced blood vessel image to obtain a preliminary blood vessel model and its preliminary centerline; A centerline optimization module, configured to extend the preliminary centerline using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain an optimized centerline; A blood vessel optimization module, used to obtain an optimized blood vessel model by using a region growing algorithm in the enhanced blood vessel image using points on the optimization center line as seed points; The step of extending the preliminary center line by using the predicted blood vessel direction at each pixel point in the enhanced blood vessel image to obtain the optimized center line includes: For each end point of the preliminary center line, adjacent pixel points in the predicted blood vessel direction of the end point are used as extension points; If the angle between the predicted blood vessel direction of the end point and the predicted blood vessel direction of the extension point is less than a preset angle threshold, and the intensity of the end point in the enhanced blood vessel image is less than the intensity of the extension point in the enhanced blood vessel image, the extension point is used as the new end point to perform the next extension until the final end point is determined.

9. A medical robot, characterized in that: include: A host computer, which can be used to execute the blood vessel image segmentation method according to any one of claims 1 to 7; A display device, connected to the host for displaying the blood vessel segmentation result; The robot arm is connected to the host for performing surgical operations according to control instructions of the host.

10. A computer program product, comprising computer executable instructions, characterized in that: When the instructions are executed, they are used to implement all or part of the steps of the blood vessel image segmentation method according to any one of claims 1 to 7.