A blood vessel centerline extraction method, system, terminal and storage medium
By combining the branch network and the actor-critic network, and using reinforcement learning and gray value filtering technology, the shortcomings of the existing blood vessel centerline extraction methods in branch point detection and blood vessel tree tracking are solved, achieving a more efficient and accurate Blood vessel centerline extraction improves the integrity of the coronary arteries.
Patent Information
- Application Number
- CN202111122419.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-09-24
AI Technical Summary
Existing blood vessel centerline extraction methods have shortcomings in branch point detection and blood vessel tree tracking. In particular, methods based on deep reinforcement learning cannot effectively solve the problem of branch point detection, and limitations in the action space lead to incomplete extraction.
Using the method of combining branch network and actor-critic network, the branch network and actor-critic network are constructed through convolutional neural network and fully connected layer, and the reinforcement learning framework is used to design the state, action and reward value functions to classify and classify the direction of blood vessel branches. Centerline extraction, combined with gray value filtering and K-means clustering, improves extraction efficiency and accuracy.
It improves the efficiency and accuracy of blood vessel centerline extraction, enhances the integrity of coronary arteries, and can effectively handle complex blood vessel structures, especially at branch points and stenotic areas.
Smart Images

Figure CN113902689B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of medical image processing technology, and in particular relates to a method, system, terminal and storage medium for extracting a blood vessel centerline. Background Art
[0002] According to statistics from the World Health Organization (WHO), most of the deaths in the world in 2019 were caused by vascular diseases, especially cardiovascular and cerebrovascular abnormalities and lesions, which led to the occurrence and development of many tissue and organ diseases. With the rapid development of medical imaging technology, various angiography imaging methods can be used to observe tissue blood vessels minimally or even non-invasively, and then analyze and study the changes in blood vessels, playing an important role in clinical practice.
[0003] With the rapid development of computer artificial intelligence, computer-aided diagnosis technology has also gradually developed. By observing and analyzing vascular information in medical angiography images through artificial intelligence, it can provide doctors with richer quantitative information, greatly reducing the burden of doctors' observation and analysis of data, thereby improving the efficiency and accuracy of diagnosis.
[0004] (Semi) automatic centerline extraction has long been a research topic in medical images of CCTA (coronary CT angiography) and other vascular structures. Existing (semi) automatic centerline extraction methods mainly include the following three:
[0005] 1. The method based on the minimum cost path: This method uses the cost function to calculate the minimum cost path between the start and end points extracted manually or automatically, so that the cost on the center line is lower than other paths. However, in practice, this method requires many interactive operations to prevent the path from deviating from the center line, and the calculation of the cost is also very time-consuming.
[0006] Second, segmentation-based methods: This method first obtains the segmentation of the vascular tree and then restores the centerline based on the segmentation. This method usually does not require any user interaction, but it is possible to bridge arterial gaps and discontinuities caused by pathology or imaging artifacts. In addition, such methods often require processing the entire CCTA, which is very time-consuming.
[0007] 3. Method based on iterative tracking; this method greatly saves computational overhead, but is easily disturbed by gaps, discontinuities and stenosis in blood vessels.
[0008] Recently, Zhang et al. proposed a deep reinforcement learning-based method to extract the centerline of blood vessels. This method learns an agent to track the centerline by collecting rewards from interactions with the environment. However, this method cannot solve the problem of branch point detection and cannot track the entire blood vessel tree in the case of branches.
[0009] With the widespread application of deep learning, convolutional neural networks (CNNs) have demonstrated the ability to extract useful features from image data in various medical image analysis tasks. In the coronary centerline extraction task, CNNs are widely used as trackers to determine the direction information of blood vessels and achieve excellent results. However, the action space of this tracker is only the 26-neighborhood of the image space, and there is still room for improvement in extracting the centerline of the coronary vascular tree. Summary of the invention
[0010] The present application provides a method, system, terminal and storage medium for extracting a blood vessel centerline, aiming to solve at least one of the above-mentioned technical problems in the prior art to a certain extent.
[0011] In order to solve the above problems, this application provides the following technical solutions:
[0012] A method for extracting a blood vessel centerline, comprising:
[0013] Obtain coronary artery CTA images;
[0014] Inputting the coronary artery CTA image into a trained branch network, and outputting the blood vessel branch direction of the coronary artery CTA image through the branch network;
[0015] Filtering the directions of the blood vessel branches according to the grayscale values to obtain the final blood vessel branches;
[0016] The coronary artery CTA image is input into a trained actor-critic network, and the actor-critic network extracts the vascular centerline of the coronary artery CTA image according to the vascular branches.
[0017] The technical solution adopted by the embodiment of the present application also includes: the step of inputting the coronary artery CTA image into a trained branch network for branch processing includes:
[0018] Acquire training set data, and train the branch network according to the training set data; the training set data is an image block of a set size intercepted from a blood vessel branch in a CTA image;
[0019] The branch network is composed of a convolutional neural network and a fully connected layer. The output of the branch network is the confidence of the blood vessel branch direction and the radius information. If the output confidence of the blood vessel branch direction is higher than the set confidence threshold, it indicates that the blood vessel is a single blood vessel. Otherwise, it indicates that the blood vessel has at least two branch directions, and the other branch directions are processed through the branch network.
[0020] The technical solution adopted by the embodiment of the present application also includes: the loss function of the branch network is:
[0021] L detect =L branch +λL radius
[0022] Among them, L branch is the binary cross entropy loss of the confidence of the blood vessel branch direction, L radius represents the squared error loss of radius value regression, and λ is the weight coefficient.
[0023] The technical solution adopted by the embodiment of the present application also includes: the inputting the coronary artery CTA image into the trained actor-critic network includes:
[0024] Design the state s, action a and reward value function R(s, a) for the task of vascular centerline extraction;
[0025] The state s is designed as follows: the observation area is designed as a cube with a set side length according to the maximum radius value of the coronary blood vessel;
[0026] The action a is designed as follows: discretizing the blood vessel centerline into a series of scattered points, using a four-tuple {a x , a y , a z , a r} as an action to iterate from the path starting point to the end point:
[0027]
[0028] Among them, (x, y, z) represents the current location. After the action {a x , a y , a z , a r}Iterate to the new position (x′, y′, z′); a x represents the weight in the x direction, a y represents the weight in the y direction, a z represents the weight in the z direction, a r represents the step length;
[0029] The reward value function R(s, a) is designed as follows: Let p t and p t+1 Respectively represent the current point and the next point after taking action, g t Yes t The closest centerline label point, g t+1 is the distance g t The distance is r t+1 The next centerline label point of p t+1 and g t+1 The distance between them, the reward value is calculated as:
[0030]
[0031] The technical solution adopted by the embodiment of the present application also includes: the inputting the coronary artery CTA image into the trained actor-critic network includes:
[0032] Design and construct an actor-critic network based on the reinforcement learning framework and the state s, action a, and reward value function R(s, a);
[0033] The actor-critic network includes an actor network and a critic network, wherein the actor network and the critic network are respectively composed of a convolutional neural network and a fully connected layer, and the actor network represents the strategy π θ (s), outputs action a when observing state s; the output of the actor network is a 4-dimensional vector, representing the action {a x , a y , a z , a r}, the critic network promotes the learning of the actor network by approximating the state-action value function and updating the network parameter equation, and outputs a score for the actor network.
[0034] The technical solution adopted by the embodiment of the present application also includes: the actor-critic network designed and constructed based on the reinforcement learning framework and the state s, action a and reward value function R(s, a) includes:
[0035] The actor-critic network is trained using the training set data; the training process of the actor-critic network includes:
[0036] After the agent executes the action output by the actor network, the reward function returns the corresponding reward value and updates the next state s, and stores the experience such as state, action, reward value, next state and end signal into the agent's experience pool; wherein the end signal means: the distance between the centerline point and the centerline label exceeds the radius;
[0037] The agent randomly extracts experience from the experience pool for learning according to the set learning frequency, and updates the parameters of the actor-critic network through back propagation;
[0038] The above process is iterated until the end signal is received, and then the next training set data is replaced for training. When the number of training times reaches the set number, the training is terminated and the actor-critic network with completed training is obtained.
[0039] The technical solution adopted by the embodiment of the present application also includes: filtering the direction of the blood vessel branch according to the gray value to obtain the final blood vessel branch includes:
[0040] The vascular branch directions output by the branch network are subjected to ray detection, the vascular branch directions whose grayscale value changes are greater than a set threshold are filtered out, and K-means clustering is performed on the filtered vascular branch directions to obtain the final vascular branches.
[0041] Another technical solution adopted by the embodiment of the present application is: a blood vessel centerline extraction system, comprising:
[0042] Data acquisition module: used to acquire coronary artery CTA images;
[0043] A branch processing module: used for inputting the coronary artery CTA image into a trained branch network, and outputting the vascular branch direction of the coronary artery CTA image through the branch network;
[0044] Branch filtering module: used for filtering the blood vessel branch direction according to the gray value to obtain the final blood vessel branch;
[0045] Centerline extraction module: used for inputting the coronary artery CTA image into a trained actor-critic network, and the actor-critic network extracts the vascular centerline of the coronary artery CTA image according to the vascular branches.
[0046] Another technical solution adopted by the embodiment of the present application is: a terminal, the terminal includes a processor and a memory coupled to the processor, wherein:
[0047] The memory stores program instructions for implementing the blood vessel centerline extraction method;
[0048] The processor is used to execute the program instructions stored in the memory to control the extraction of the blood vessel centerline.
[0049] Another technical solution adopted by the embodiment of the present application is: a storage medium storing program instructions executable by a processor, wherein the program instructions are used to execute the blood vessel centerline extraction method.
[0050] Compared with the prior art, the beneficial effects produced by the embodiments of the present application are as follows: the vascular centerline extraction method, system, terminal and storage medium of the embodiments of the present application classify the branch direction of CTA image data by constructing a branch network, and based on the branch direction classification results, the vascular centerline of the CTA image data is extracted by an actor-critic network based on reinforcement learning, thereby improving the efficiency of vascular centerline extraction, and improving the accuracy of vascular centerline extraction and the integrity of the coronary artery. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of a method for extracting a blood vessel centerline according to an embodiment of the present application;
[0052] Figure 2 A schematic diagram of the action space design of an embodiment of the present application;
[0053] Figure 3 A schematic diagram of the reward value function design of an embodiment of the present application;
[0054] Figure 4 This is a schematic diagram of the structure of a blood vessel centerline extraction system according to an embodiment of the present application;
[0055] Figure 5 This is a schematic diagram of the terminal structure of an embodiment of the present application;
[0056] Figure 6 A schematic diagram of the structure of a storage medium according to an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] See also Figure 1 , is a flow chart of the blood vessel centerline extraction method of the embodiment of the present application. The blood vessel centerline extraction method of the embodiment of the present application comprises the following steps:
[0059] S10: acquiring a certain amount of coronary artery CTA (CT angiography) image data, and performing data annotation and preprocessing on the CTA image data;
[0060] In this step, the CTA image data is preprocessed as follows: the spatial resolution information in the CTA image is extracted, and all CTA images are preprocessed to the same spacing and grayscale range; the CTA image data is annotated as follows: the coronary artery centerline points and branch points in the CTA image are annotated by an annotation tool, and the centerline labels are uniformly interpolated to make the spacing between the centerline points equal.
[0061] S20: extracting a patch (image block) of a set size from the preprocessed CTA image data, and using the extracted patch as training set data;
[0062] In this step, the training set data is a 19x19x19 patch (image block) intercepted from the blood vessel branch in the CTA image data. The size of the intercepted training set data can also be set according to the actual application.
[0063] S30: construct a branch network and an actor-critic network respectively, and use the training set data to train the branch network and the actor-critic network respectively to obtain the trained branch network and the actor-critic network;
[0064] In this step, the branch network consists of a convolutional neural network and a fully connected layer. The network input is a 19x19x19 patch, and the output is the confidence of the vascular branch direction and radius information. If the confidence of the vascular branch direction is higher than the set confidence threshold, it means that the blood vessel is a single blood vessel; otherwise, it means that the blood vessel has multiple branch directions, and the other branch directions continue to be processed through the branch network.
[0065] The loss function of the branch network is:
[0066] L detect =L branch +λL radius (1)
[0067] Where L branc h is the binary cross entropy loss for branch confidence classification, L radius represents the squared error loss of radius value regression, and λ is the weight coefficient.
[0068] In the embodiment of the present application, an actor-critic network is constructed based on a reinforcement learning framework. Before constructing the actor-critic network, it is necessary to design the environment such as state s, action a, and reward value function R(s,a) for the centerline extraction task of CTA image data according to the model-free method. Specifically, it includes: designing the observation area as a cube with a side length of 9.5mm for the maximum radius of the coronary blood vessel, corresponding to a patch of size 19×19×19 in the image with a spacing of 0.5mm; discretizing the centerline of the blood vessel
[0069] For a series of scattered points, use a four-tuple {a x , a y , a z , a r} as an action to iterate from the path starting point to the end point, that is:
[0070]
[0071] Among them, (x, y, z) represents the current location. After the action {a x, a y , a z , a r}Iterate to the new position (x′, y′, z′). Figure 2 As shown, it is a schematic diagram of the action space design of the embodiment of the present application. t represents the action at time t (a four-tuple), represents the weight in the x direction, represents the weight in the y direction, represents the weight in the z direction, Indicates the step length.
[0072] Reinforcement learning uses reward values to guide the agent to learn an optimal strategy. In the task of vascular centerline extraction, the present invention adopts the following scheme to enable the agent to learn better, specifically as follows: Figure 3 As shown, it is a schematic diagram of the reward value function design of the embodiment of the present application. t and p t+1 Respectively represent the current point and the next point after taking action, g t Yes t The closest centerline label point, g t+1 is the distance g t The distance is r t+1 The next centerline label point of p t+1 and g t+1 The distance between them, the reward value is calculated as:
[0073]
[0074] Based on the above environment design, the actor network represents the strategy π θ (s), outputs action a when observing state s. The actor network consists of a convolutional neural network and a fully connected layer. The input is a 19×19×19 patch and the output is a 4-dimensional vector representing the action {a x , a y , a z , a r The critic network consists of a convolutional neural network and a fully connected layer, with an input of a 19×19×19 patch and an action vector {a x , a y , a z , a r}, promotes actor network learning by approximating the state-action value function and updating the network parameter equation, and outputs the score of the actor network.
[0075] Further, based on the above environment design, the Actor-critic network training process of the embodiment of the present application specifically includes:
[0076] S31: Initialize the state s according to the starting point of the center line, and use the Glorotinitialisation (parameter initialization) method to initialize the actor-critic network; wherein the starting point of the center line can be obtained by extracting the starting point of the coronary artery.
[0077] S32: After the agent executes the action output by the actor network, the reward value function returns the corresponding reward value and updates the next state s, and stores the experience such as state, action, reward value, next state and end signal into the agent's experience pool; among which, the end signal means: the distance between the center line point and the center line label exceeds a certain value (radius).
[0078] S33: The agent randomly takes experience from the experience pool for learning according to the set learning frequency, and updates the parameters of the actor-critic network through back propagation;
[0079] S34: Iterate and execute S32 and S33 until the end signal is received, then replace the next training set data for training. When the number of training times reaches the set epoch (number of training times), the training is terminated and the actor-critic network that has completed the training is obtained.
[0080] S40: Extract the vascular centerline of the processed CTA image through the trained branch network and actor-critic network.
[0081] In this step, the blood vessel centerline extraction process is specifically as follows:
[0082] S41: Input the CTA image to be processed into the trained branch network and actor-critic network;
[0083] S42: outputting the blood vessel branch direction of the CTA image to be processed through the branch network;
[0084] S43: performing ray detection on the blood vessel branch directions, filtering out the blood vessel branch directions whose gray value changes are greater than a set threshold, and performing K-means clustering on the filtered blood vessel branch directions to obtain the final blood vessel branches;
[0085] S44: Extract the centerline of blood vessels through the actor-critic network;
[0086] In the embodiment of the present application, the branch directions with large grayscale value changes are filtered out according to the ray detection. Specifically, since the grayscale value of the blood vessel is quite different from that of the non-vascular part, if a certain ray is located in the blood vessel, the grayscale value on this ray will not change much; otherwise, the grayscale value on this ray will change more dramatically. By setting a threshold, the branch directions with more dramatic grayscale value changes are filtered to improve the accuracy of the blood vessel branch direction. In the filtered blood vessel branch directions, there may be multiple rays at one blood vessel. Therefore, in the embodiment of the present application, by performing K-means clustering on the filtered branch directions, rays with closer distances are classified into one ray direction. One ray direction represents a blood vessel branch, and the final blood vessel branch direction is obtained, thereby improving the accuracy of blood vessel centerline extraction.
[0087] In order to verify the feasibility and effectiveness of the embodiment of the present application, 8 sets of international public platform data (Rotterdam Coronary Artery Algorithm Evaluation Framework) were used for verification. Table 1 lists the four indicators of OV, OF, OT and AI for vascular centerline extraction, where OV represents the ability to extract the complete vascular centerline, OF represents the proportion of correct blood vessels extracted when the vascular centerline is extracted for the first time; OT represents the OV after removing blood vessels with a diameter less than 1.5 mm, as follows:
[0088] Table 1 OV, OF, OT and AI indicators of vascular centerline extraction
[0089]
[0090] The verification results show that the average time for extracting each set of CTA data center lines is about 10 seconds, which greatly improves the efficiency of CTA data center line extraction, and improves the accuracy of CTA data center line extraction and the integrity of the coronary arteries.
[0091] Based on the above, the vascular centerline extraction method of the embodiment of the present application classifies the branch direction of CTA image data by constructing a branch network, and based on the branch direction classification result, extracts the vascular centerline of the CTA image data through an actor-critic network based on reinforcement learning, thereby improving the efficiency of vascular centerline extraction, and improving the accuracy of vascular centerline extraction and the integrity of the coronary artery.
[0092] See also Figure 4 , is a schematic diagram of the structure of the blood vessel centerline extraction system of the embodiment of the present application. The blood vessel centerline extraction system 40 of the embodiment of the present application includes:
[0093] Data acquisition module 41: used to acquire coronary artery CTA images;
[0094] Branch processing module 42: used for inputting the coronary artery CTA image into the trained branch network, and outputting the vascular branch direction of the coronary artery CTA image through the branch network;
[0095] Branch filtering module 43: used to filter the blood vessel branch direction according to the gray value to obtain the final blood vessel branch;
[0096] Centerline extraction module 44: used for inputting the coronary artery CTA image into the trained actor-critic network, and the actor-critic network extracts the vascular centerline of the coronary artery CTA image according to the vascular branches.
[0097] See also Figure 5 , is a schematic diagram of the terminal structure of an embodiment of the present application. The terminal 50 includes a processor 51 and a memory 52 coupled to the processor 51.
[0098] The memory 52 stores program instructions for implementing the above-mentioned blood vessel centerline extraction method.
[0099] The processor 51 is used to execute program instructions stored in the memory 52 to control the extraction of the blood vessel centerline.
[0100] The processor 51 may also be referred to as a CPU (Central Processing Unit). The processor 51 may be an integrated circuit chip having the ability to process signals. The processor 51 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0101] See also Figure 6 , which is a schematic diagram of the structure of the storage medium of the embodiment of the present application. The storage medium of the embodiment of the present application stores a program file 61 that can implement all the above methods, wherein the program file 61 can be stored in the above storage medium in the form of a software product, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.
[0102] The above description of the disclosed embodiments enables professionals and technicians in the field to implement or use the present application. Various modifications to these embodiments will be apparent to professionals and technicians in the field, and the general principles defined in this application can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown in the present application, but will conform to the widest range consistent with the principles and novel features disclosed in the present application.
Claims
1. A method for extracting a blood vessel centerline, characterized in that: include: Obtain coronary artery CTA images; Inputting the coronary artery CTA image into a trained branch network, and outputting the blood vessel branch direction of the coronary artery CTA image through the branch network; Filtering the directions of the blood vessel branches according to the grayscale values to obtain the final blood vessel branches; Inputting the coronary artery CTA image into a trained actor-critic network, wherein the actor-critic network extracts the vascular centerline of the coronary artery CTA image according to the vascular branches; The step of inputting the coronary artery CTA image into a trained actor-critic network comprises: Design the state s, action a and reward value function R(s,a) for the task of vascular centerline extraction; The state s is designed as follows: the observation area is designed as a cube with a set side length according to the maximum radius value of the coronary blood vessel; The action a is designed as follows: discretizing the blood vessel centerline into a series of scattered points, using a four-tuple {a x ,a y ,a z ,a r } as an action to iterate from the path starting point to the end point: Among them, (x, y, z) represents the current location. After the action {a x ,a y ,a z ,a r }Iterate to the new position (x ′ ,y ′ ,z ′ );a x represents the weight in the x direction, a y represents the weight in the y direction, a z represents the weight in the z direction, a r represents the step length; The reward value function R(s,a) is designed as follows: Let p t and p t+1 Respectively represent the current point and the next point after taking action, g t Yes t The closest centerline label point, g t+1 is the distance g t The distance is r t+1 The next centerline label point of p t+1 and g t+1 The distance between them, the reward value is calculated as:
2. The method for extracting the blood vessel centerline according to claim 1, characterized in that: The step of inputting the coronary artery CTA image into the trained branch network comprises: Acquire training set data, and train the branch network according to the training set data; the training set data is an image block of a set size intercepted from a blood vessel branch in a CTA image; The branch network is composed of a convolutional neural network and a fully connected layer. The output of the branch network is the confidence of the blood vessel branch direction and the radius information. If the output confidence of the blood vessel branch direction is higher than the set confidence threshold, it indicates that the blood vessel is a single blood vessel. Otherwise, it indicates that the blood vessel has at least two branch directions, and the other branch directions are processed through the branch network.
3. The method for extracting the blood vessel centerline according to claim 2, characterized in that: The loss function of the branch network is: THE detect =L branch +λL radius Among them, L branch is the binary cross entropy loss of the confidence of the blood vessel branch direction, L radius represents the squared error loss of radius value regression, and λ is the weight coefficient.
4. The method for extracting the blood vessel centerline according to claim 3, characterized in that: The step of inputting the coronary artery CTA image into a trained actor-critic network comprises: Design and construct an actor-critic network based on the reinforcement learning framework and the state s, action a, and reward value function R(s,a); The actor-critic network includes an actor network and a critic network, wherein the actor network and the critic network are respectively composed of a convolutional neural network and a fully connected layer, and the actor network represents the strategy π θ (s), outputs action a when observing state s; the output of the actor network is a 4-dimensional vector, representing the action {a x ,a y ,a z ,a r }, the critic network promotes the learning of the actor network by approximating the state-action value function and updating the network parameter equation, and outputs a score for the actor network.
5. The method for extracting the blood vessel centerline according to claim 4, characterized in that: The actor-critic network designed and constructed based on the reinforcement learning framework and the state s, action a and reward value function R(s,a) includes: The actor-critic network is trained using the training set data; the training process of the actor-critic network includes: After the agent executes the action output by the actor network, the reward function returns the corresponding reward value and updates the next state s, and stores the experience such as state, action, reward value, next state and end signal into the agent's experience pool; wherein the end signal means: the distance between the centerline point and the centerline label exceeds the radius; The agent randomly extracts experience from the experience pool for learning according to the set learning frequency, and updates the parameters of the actor-critic network through back propagation; The above process is iterated until the end signal is received, and then the next training set data is replaced for training. When the number of training times reaches the set number, the training is terminated and the actor-critic network with completed training is obtained.
6. The method for extracting the blood vessel centerline according to claim 1, characterized in that: The filtering of the blood vessel branch directions according to the grayscale value to obtain the final blood vessel branches includes: The vascular branch directions output by the branch network are subjected to ray detection, the vascular branch directions whose grayscale value changes are greater than a set threshold are filtered out, and K-means clustering is performed on the filtered vascular branch directions to obtain the final vascular branches.
7. A blood vessel centerline extraction system using the blood vessel centerline extraction method according to claim 1, characterized in that: include: Data acquisition module: used to acquire coronary artery CTA images; A branch processing module: used for inputting the coronary artery CTA image into a trained branch network, and outputting the vascular branch direction of the coronary artery CTA image through the branch network; Branch filtering module: used for filtering the blood vessel branch direction according to the gray value to obtain the final blood vessel branch; Centerline extraction module: used for inputting the coronary artery CTA image into a trained actor-critic network, and the actor-critic network extracts the vascular centerline of the coronary artery CTA image according to the vascular branches.
8. A terminal, characterized in that: The terminal includes a processor and a memory coupled to the processor, wherein: The memory stores program instructions for implementing the blood vessel centerline extraction method according to any one of claims 1 to 6; The processor is used to execute the program instructions stored in the memory to control the extraction of the blood vessel centerline.
9. A storage medium, characterized in that: Program instructions executable by a processor are stored, and the program instructions are used to execute the blood vessel centerline extraction method according to any one of claims 1 to 6.
