Blood vessel image processing method, electronic device and computer readable storage medium

The trained image processing neural network is used to automatically label and analyze blood vessel images in chemotherapy studies, solving the tedious and time-consuming problems caused by manual labeling and manual measurement, and achieving faster and more accurate drug diffusion assessment.

CN113658104BActive Publication Date: 2024-09-10SOUTHERN UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110823904.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-21
Publication Date
2024-09-10
Estimated Expiration
2041-07-21

AI Technical Summary

Technical Problem

In the existing technology, the quantitative analysis of drug diffusion release parameters in chemotherapy research requires manual marking and manual measurement of the vascular skeleton, which makes the process cumbersome and time-consuming.

Method used

The trained image processing neural network is used to process the original blood vessel images, replacing the manual annotation method, outputting the binary annotation image, and obtaining the blood vessel skeleton parameters through topological structure analysis, reducing the workload and analysis time.

Benefits of technology

Through automated blood vessel image processing methods, the analysis time is shortened, unified annotation standards are maintained, and quantitative standards are provided for drug diffusion assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113658104B
    Figure CN113658104B
Patent Text Reader

Abstract

The present application discloses a vascular image processing method, an electronic device, and a computer-readable storage medium. The vascular image processing method of the present application comprises: obtaining an original vascular image; wherein the original vascular image comprises a liver vascular image; inputting the original vascular image into a trained image processing neural network, and the image processing neural network outputs a binary labeled image; and performing a topological structure analysis on the binary labeled image to obtain vascular skeleton parameters. The vascular image processing method provided by the present application processes the original vascular image with a trained image processing neural network to replace the original manual labeling method, thereby reducing the workload and shortening the overall analysis time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of biological image processing technology, and in particular to a blood vessel image processing method, an electronic device, and a computer-readable storage medium. Background Art

[0002] In the process of chemotherapy research experiments, the time-varying diffusion release parameters of drugs are quantitatively analyzed to evaluate the therapeutic effect of drugs.

[0003] However, the general quantitative analysis method is to manually mark the vascular skeleton including the analysis image and manually measure the length and radius of the vascular branches. The manual marking and manual measurement method makes the entire quantitative analysis process too cumbersome and time-consuming. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a vascular image processing method, an electronic device and a computer-readable storage medium. The vascular image processing method provided by the present application processes the original vascular image with a trained image processing neural network to replace the original manual labeling method, thereby reducing the workload and shortening the overall analysis time.

[0005] A first aspect of an embodiment of the present application provides a vascular image processing method, comprising: acquiring an original vascular image; wherein the original vascular image comprises a liver vascular image; inputting the original vascular image into a trained image processing neural network, the image processing neural network outputting a binary labeled image; performing a topological structure analysis on the binary labeled image to obtain vascular skeleton parameters.

[0006] The vascular image processing method in the embodiment of the present application includes the following technical effects: by processing the original vascular image with a trained image processing neural network, instead of the original manual labeling method, the workload is reduced and the overall analysis time is shortened. In addition, in the process of processing different original vascular images with the image processing neural network, a unified labeling standard can be maintained to establish a quantitative standard for drug diffusion evaluation.

[0007] In some embodiments, inputting the original blood vessel into a trained image processing neural network includes: pre-training the image processing neural network; pre-training the image processing neural network includes: smoothing and binarizing the manually annotated image to obtain a training set; performing data enhancement on the data in the training set to obtain the enhanced training set; and performing adversarial training on the image processing neural network using a test set and the enhanced training set.

[0008] In some embodiments, the image processing neural network includes: an encoding network, which is used to downsample the original vascular image to obtain a first feature image; a convolutional connection network, which is connected to the encoding network and is used to convolve the first feature image to obtain a second feature image; a decoding network, which is connected to the convolutional connection network and is used to upsample the second feature image to obtain a third feature image; a convolutional mapping layer, which is connected to the convolutional connection network and is used to map the third feature image to obtain the binary labeled image; and at least one skip network, one end of which is connected to the encoding network, and the other end is connected to the decoding network of the corresponding level.

[0009] In some embodiments, the skip network further includes: a skip connection network, one end of which is connected to the encoding network, and the other end is connected to the decoding network of the corresponding level; a channel attention module, one end of which is connected to the input end of the skip connection network; a spatial attention module, one end of which is connected to the other end of the channel attention module, and the other end of which is connected to the output end of the skip connection network.

[0010] In some embodiments, the channel attention module also includes: a channel feature input layer, used to obtain channel characteristic parameters; a first polarization pool, connected to the channel feature input layer, used to polarize the channel characteristic parameters to obtain a first polarization vector; a first average pool, connected to the channel feature input layer, used to average the channel characteristic parameters to obtain a first average vector; a multilayer perceptron, respectively connected to the first polarization pool and the first average pool, used to merge the first polarization vector and the first average vector to obtain a first output vector; a first activation layer, connected to the multilayer perceptron, activates the first output vector to obtain a channel attention feature map.

[0011] In some embodiments, the spatial attention module also includes: a spatial feature input layer, used to obtain spatial characteristic parameters; a second polarization layer, connected to the spatial feature input layer, used to polarize the spatial characteristic parameters to obtain a second polarization vector; a second averaging layer, connected to the second polarization layer, used to average the second polarization vector to obtain a second average vector; a spatial convolution layer, connected to the second averaging layer, used to convolve the second average vector to obtain a spatial convolution vector; a second activation layer, connected to the spatial convolution layer, used to activate the spatial convolution vector and obtain a spatial attention feature map.

[0012] In some embodiments, the image processing neural network is subjected to adversarial training using a test set and an enhanced training set, including: the image processing neural network generates labeled data based on the training set; a discriminator generates a discrimination result based on the labeled data and the test set; and the discrimination result is converged according to a preset loss function to obtain the trained image processing neural network.

[0013] In some embodiments, the topological structure analysis of the binary annotated image to obtain vascular skeleton parameters includes: extracting skeleton features from the binary annotated image and constructing an undirected weighted graph based on the extracted skeleton features; performing shortest path calculation on the undirected weighted graph to obtain skeletons of sub-vessels at each level, and measuring and statistically analyzing the skeletons of the sub-vessels at each level to obtain the vascular skeleton parameters.

[0014] A second aspect of an embodiment of the present application 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, the vascular image processing method as described in any of the above embodiments is implemented.

[0015] A third aspect of the embodiments of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the blood vessel image processing method described in any of the above embodiments.

[0016] Additional aspects and advantages of the present application will be given in part in the description which follows and will be apparent from the description which follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The present application is further described below with reference to the accompanying drawings and embodiments, wherein:

[0018] Figure 1 This is a flow chart of a blood vessel image processing method according to an embodiment of the present application;

[0019] Figure 2 A schematic diagram of the structure of an image processing neural network according to an embodiment of the present application;

[0020] Figure 3 This is a flow chart of a blood vessel image processing method according to another embodiment of the present application;

[0021] Figure 4 This is a flowchart of a blood vessel image processing method according to yet another embodiment of the present application. DETAILED DESCRIPTION

[0022] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0023] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0024] In the description of this application, "several" means more than one, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0025] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0026] In the process of chemotherapy research experiments, researchers often manually mark the vascular skeleton of the analysis image and manually measure the length and radius of each vascular branch in the vascular skeleton to complete the quantitative analysis of the target drug. However, the manual marking and manual measurement method makes the entire quantitative analysis process too cumbersome and time-consuming.

[0027] For example, by pre-establishing an in vitro liver decellularized mouse liver model, only the liver vascular structure in the model is retained, and the transmittance of the entire liver cells is improved. The embolic agent is injected into the decellularized liver blood vessels through a catheter, and the diffusion state of the drug is observed to quantitatively analyze the diffusion release parameters of the anticancer drug over time. Medical staff can use the corresponding diffusion release parameters as a reference for actual medication. If the entire image annotation and analysis process is done manually, the operation steps will be complicated and the analysis will take a long time.

[0028] In order to solve at least one of the above-mentioned technical problems, the present application provides a vascular image processing method to save the operation steps and time consumption in the quantitative analysis process.

[0029] In addition, since blood vessels are translucent and the drug is injected into the blood vessels, the drug dyes the blood vessels red. When the drug-injected image is binarized, the image of the area including the drug and the image of the area not including the drug have a relatively obvious grayscale difference.

[0030] Please refer to Figure 1 The present application provides a vascular image processing method, comprising: step S100, obtaining an original vascular image; wherein the original vascular image comprises a liver vascular image; step S200, inputting the original vascular image into a trained image processing neural network, and the image processing neural network outputs a binary labeled image; step S300, performing a topological structure analysis on the binary labeled image to obtain vascular skeleton parameters.

[0031] The original vascular image is used as the input of the image processing neural network, and the corresponding binary annotated image is output. Since the binary annotated image will only display the vascular skeleton when the blood vessel contains drugs, the binary annotated image can distinguish the blood vessels and background areas in the image through different grayscales. The binary annotated images are arranged according to the actual shooting sequence to obtain the corresponding vascular skeleton state change trend at different time points.

[0032] Therefore, by performing topological structure analysis on the binary labeled image, the vascular topological structure corresponding to different time points can be obtained, and the vascular skeleton in the binary labeled image can be measured to obtain the vascular skeleton parameters. Among them, the vascular skeleton parameters can be used to characterize the diffusion state of the drug.

[0033] For example, when the original vascular image is a liver vascular image and the drug is an embolic agent, by performing topological structure analysis on the binary labeled image corresponding to the continuous time series and obtaining the vascular skeleton parameters, the diffusion state of the embolic agent in the liver vascular can be obtained through the vascular skeleton parameters. Medical staff can use the diffusion state as reference data for clinical medication. Among them, the liver vascular can be a decellularized liver vascular.

[0034] By processing the original vascular images with the trained image processing neural network, instead of the original manual labeling method, the workload and the overall analysis time can be reduced. In addition, when processing different original vascular images with the image processing neural network, a unified labeling standard can be maintained to establish a quantitative standard for drug diffusion evaluation.

[0035] Please refer to Figure 2In some embodiments, step S200, inputting the original vascular image into the trained image processing neural network includes: step S210, pre-training the image processing neural network; step S210, pre-training the image processing neural network includes: step S211, smoothing and binarizing the manually annotated image to obtain a training set; step S212, performing data enhancement on the data in the training set to obtain an enhanced training set; step S213, adversarially training the image processing neural network through the test set and the enhanced training set.

[0036] It can be understood that the vascular images used for training are manually annotated, and the annotated images are edge-smoothed and binarized to obtain the manually annotated images. In addition, the multiple sets of manually annotated images are taken as a whole and pre-trained with the image processing neural network, that is, the multiple sets of manually annotated images are taken as training sets.

[0037] Since the number of manually annotated images in the training set obtained by manual annotation is limited, data enhancement is performed on the number of manually annotated images in the training set to significantly increase the data in the training set.

[0038] Among them, the data enhancement methods may include image mirroring, image parameter adjustment, and image angle adjustment. Image mirroring can be specifically image mirroring (left-right flip, up-down flip) based on the symmetry axis of the image; image parameter adjustment can be specifically random brightness, color, and contrast adjustment and generation of additional manually annotated images; image angle adjustment can be specifically step-by-step rotation of the image according to a preset angle and generation of additional manually annotated images. Among them, the preset angle can be 4° or other set angles. By performing data enhancement on the data in the training set, sufficient training data is provided for the image processing neural network, thereby ensuring the annotation accuracy and robustness of the image processing neural network.

[0039] Please refer to Figure 3 In some embodiments, the image processing neural network includes: an encoding network, which is used to downsample the original blood vessel image to obtain a first feature image; a convolutional connection network, which is connected to the encoding network and is used to convolve the first feature image to obtain a second feature image; a decoding network, which is connected to the convolutional connection network and is used to upsample the second feature image to obtain a third feature image; a convolutional mapping layer, which is connected to the convolutional connection network and is used to map the third feature image to obtain a binary labeled image; and at least one skip network, one end of the skip network is connected to the encoding network, and the other end is connected to the decoding network of the corresponding level.

[0040] The encoding network, decoding network and convolutional connection network constitute a preliminary U-Net neural network, and at least one skip network is provided between the encoding network and the decoding network corresponding to the encoding network. That is, the skip network is provided to connect the encoding network and the decoding network at the same level, thereby adjusting the weight of the decoding network for upsampling the second feature image.

[0041] Furthermore, the encoding network includes a first-layer encoding network, a second-layer encoding network, and a third-layer encoding network, which are cascaded in sequence; the decoding network includes a third-layer decoding network, a second-layer decoding network, and a first-layer decoding network, which are cascaded in sequence. A convolution layer, a group normalization layer, and a rectified linear unit are cascaded in sequence to form a group of basic convolution network units, and the first-layer encoding network, the second-layer encoding network, the third-layer encoding network, the first-layer decoding network, the second-layer decoding network, and the third-layer decoding network respectively include two groups of cascaded basic convolution network units. Among them, the convolution kernel size of the convolution layer is 3*3.

[0042] The third-layer encoding network is connected to the convolutional connection network to transmit the first feature image to the convolutional connection network; the third-layer decoding network is connected to the convolutional connection network to receive the second feature image from the third-layer decoding network.

[0043] There is a maximum pooling layer between the first layer encoding network, the second layer encoding network, the third layer encoding network and the convolution connection network. The two adjacent layers of the network are indirectly connected through a maximum pooling layer to achieve image transmission. Among them, the pooling window shape of the maximum pooling layer is 2*2.

[0044] A basic deconvolution network unit is provided between the convolution connection network, the third layer decoding network, the second layer decoding network, and the first layer decoding network. The basic deconvolution network unit is composed of a deconvolution layer and a rectified linear unit cascaded in sequence. The convolution kernel size of the deconvolution layer is 2*2.

[0045] The convolutional connection network is composed of three groups of convolutional units connected in cascade, and each group of convolutional units includes two basic convolutional network units. In addition, at least one basic convolutional network unit is provided between two adjacent groups of convolutional units.

[0046] As shown in the figure, in some embodiments, the skip network also includes: a skip connection network, one end of the skip connection network is connected to the encoding network, and the other end is connected to the decoding network of the corresponding level; a channel attention module (CAB), one end of the channel attention module is connected to the input end of the skip connection network; a spatial attention module (SAB), one end of the spatial attention module is connected to the other end of the channel attention module, and the other end of the spatial attention module is connected to the output end of the skip connection network.

[0047] A serial channel attention module and a spatial attention module are set on the jump connection network to adjust the focus position of the decoding network according to the channel characteristic parameters and spatial characteristic parameters in the encoding network, so that the decoding network focuses on the target object in the image and increases the corresponding weight.

[0048] In some embodiments, the channel attention module also includes: a channel feature input layer, used to obtain channel characteristic parameters; a first polarization pool, connected to the channel feature input layer, used to polarize the channel characteristic parameters to obtain a first polarization vector; a first average pool, connected to the channel feature input layer, used to average the channel characteristic parameters to obtain a first average vector; a multilayer perceptron, respectively connected to the first polarization pool and the first average pool, used to merge the first polarization vector and the first average vector to obtain a first output vector; a first activation layer, connected to the multilayer perceptron, activates the first output vector to obtain a channel attention feature map.

[0049] The channel attention module compresses the spatial dimension parameters of the input channel characteristic parameters through the first polarization pool and the first average pool to obtain the first polarization vector and the first average vector. The first polarization vector and the first average vector are input into the same multi-layer perceptron in the hidden layer, and the first polarization vector and the first average vector are merged by element addition to obtain the first output vector. The first output vector is activated by the first activation layer to obtain the channel attention feature map, so as to correspondingly increase the weight of the target object in the decoding network.

[0050] In some embodiments, the spatial attention module also includes: a spatial feature input layer for obtaining spatial characteristic parameters; a second polarization layer connected to the spatial feature input layer, for polarizing the spatial characteristic parameters to obtain a second polarization vector; a second averaging layer connected to the second polarization layer, for averaging the second polarization vector to obtain a second average vector; a spatial convolution layer connected to the second averaging layer, for convolving the second average vector to obtain a spatial convolution vector; a second activation layer connected to the spatial convolution layer, for activating the spatial convolution vector and obtaining a spatial attention feature map. The spatial attention module also includes an activation convolution layer with a convolution kernel size of 7×7, and the activation convolution layer is used to convolve the activated activation convolution layer to obtain a spatial attention feature map.

[0051] The second polarization layer and the second average layer are cascaded to polarize and average the spatial characteristic parameters to obtain a second average vector. The second average vector is convolved and activated by the spatial convolution layer and the second activation layer to obtain a spatial attention feature map. The spatial attention feature map is used to adjust the weight of the target object in the decoding network.

[0052] In some embodiments, adversarial training is performed on an image processing neural network using a test set and an enhanced training set, including: the image processing neural network generates labeled data based on the training set; the discriminator generates a discrimination result based on the labeled data and the test set; and the discrimination result is converged according to a preset loss function to obtain a trained image processing neural network.

[0053] The discriminator discriminates the labeled data and test set generated by the image processing neural network and generates a discrimination result. The discrimination result is converged according to a preset loss function to adjust the weights in the image processing neural network and obtain a trained image processing neural network.

[0054] For example, a generative adversarial network (GAN) is constructed through an image processing neural network (generator) and a discriminator to form an autonomous deep learning network architecture, and the weights or parameters in the image processing neural network are adjusted to obtain an image processing neural network that can achieve a preset image annotation effect.

[0055] In the process of adversarial training of the image processing neural network, the image processing neural network generates labeled data based on the training set, and makes the labeled data close to the standard test data in the test set, while the discriminator judges the labeled data to distinguish whether the labeled data is an automatically generated prediction result or a manually labeled standard test image (standard test data). For example, the training set is a blood vessel image, the labeled data is a binary image composed of blood vessels and background, and the standard test data is a standard test image formed after manual labeling. The discriminator is used to determine whether the binary image is generated by the image processing neural network; the image processing neural network is used to generate a binary image with a higher similarity to the standard test image based on the blood vessel image to reduce the accuracy of the discriminator's judgment. By constructing a generative adversarial network to conduct adversarial training on the image processing neural network, the image segmentation accuracy of the image processing neural network can be improved.

[0056] Furthermore, the discriminator is used to perform binary classification on the input image, that is, to determine whether the binary image is generated by the image processing neural network. The discriminator is composed of 5 convolution blocks, fully connected layers and activation layers in cascade to achieve binary classification prediction results. Each convolution block includes two groups of 3*3 convolution basic units, which include a convolution layer, a group normalization layer, and a rectified linear unit. A 2*2 maximum pooling layer is included between two adjacent convolution blocks.

[0057] Furthermore, the loss function is:

[0058]

[0059] Among them, during the adversarial training process, the image processing neural network is used to minimize The discriminator is used to maximize

[0060] The minimum and maximum objective function is:

[0061]

[0062] Where x and y represent the original blood vessel image and the standard test image (corresponding labels), respectively.

[0063] It can be understood that the discriminator performs binary classification on the input image and outputs the corresponding discrimination result, where 0 and 1 respectively represent that the input image is automatically generated by the image processing neural network (binarized image) or a standard test image formed after manual annotation processing.

[0064] Furthermore, by introducing the binary cross entropy loss between the binarized image and the standard test image And get the overall objective function.

[0065] The overall objective function is:

[0066]

[0067] Among them, λ is used to balance the weights between the two parts of the overall objective function. And according to actual needs, λ can be set to 10 or other adaptive values. That is, by using the Adam optimizer, setting the initial learning rate to 1e-4 and the coefficient to 10, adversarial training can be performed on the image processing neural network.

[0068] Please refer to Figure 4 In some embodiments, step S300, performing topological structure analysis on the binary annotated image to obtain vascular skeleton parameters, includes: step S310, extracting skeleton features from the binary annotated image, and constructing an undirected weighted graph based on the extracted skeleton features; step S320, performing shortest path calculation on the undirected weighted graph to obtain skeletons of sub-vessels at each level, and measuring and statistically analyzing the skeletons of sub-vessels at each level to obtain vascular skeleton parameters.

[0069] The skeleton feature is extracted from the binary annotated image to obtain the skeleton feature. The redundant points of the binary annotated image are deleted, and the connected skeleton with a single pixel width is extracted to construct the corresponding undirected weighted graph. The redundant point deletion process is to delete the redundant points on the two diagonal groups of the binary annotated image in sequence. In the binary annotated image, 1 represents the skeleton and 0 represents the image background.

[0070] Furthermore, the skeletons of sub-vessels at all levels are obtained by performing the shortest path calculation on the undirected weighted graph, and the skeletons of sub-vessels at all levels are measured and statistically analyzed to obtain the vascular skeleton parameters. Among them, the vascular skeleton branches are divided into T categories according to the length of the vascular skeleton and the branching order, so as to quantify the drug diffusion degree with high precision.

[0071] The non-zero values ​​in the skeleton matrix corresponding to the skeleton features are divided into two parts, namely key nodes (KN) and edges. Among them, key nodes can be divided into branch nodes (BN) and leaf nodes (LN). All key nodes are sorted in ascending order to construct an undirected weighted graph.

[0072] The key node is a node in an undirected weighted graph, and the number of pixels corresponding to the edge is the weight of the undirected weighted graph, and is used to represent the length of the branch. The key node at the root of the vascular skeleton is selected as the root node (RN).

[0073] The shortest direct length between the root node (RN) and the leaf node (LN) is determined by a preset algorithm, and the skeleton with the maximum length is defined as the first-class skeleton. A sub-skeleton is extended from the branch node in the first-class skeleton, and the branch node (BN) is used as the root node (RN). In addition, the skeleton branch with the maximum length on the sub-skeleton is determined as the second-class skeleton, and so on. All skeleton branches of the vascular skeleton are determined according to the above calculation method until the T-th class skeleton.

[0074] The skeleton parameters of blood vessels are obtained by measuring and counting the skeletons of sub-vessels at all levels, that is, the skeletons of sub-vessels at all levels obtained by shortest path calculation are measured to obtain the corresponding paths and lengths.

[0075] For example, a binary label image is used in which 1 represents a blood vessel skeleton and 0 represents a background, and the shortest distance from a point on the blood vessel skeleton to the background (0) is calculated, and the shortest distance is the radius of the blood vessel skeleton.

[0076]

[0077] Table 1 Comparison of quantified results of vascular segmentation and topological analysis

[0078] Among them, the higher the Dice Similarity Coefficient (DSC), the better the performance; the smaller the Maximum Symmetric Surface Distance (MSSD), Average SymmetricSurface Distance (ASSD), and Topology Similarity (TS), the better.

[0079] It can be understood that the Dice Similarity Coefficient is used to characterize the pixel-level similarity between the binary annotated image and the standard test image (label); the Average Symmetric Surface Distance and the Maximum Symmetric Surface Distance are used to describe the boundary distance between the binary annotated image and the standard test image.

[0080] For example, let S(A) represent the surface pixel set of A, s A represents the pixels belonging to the set S(A), then the shortest distance from any pixel v to S(A) is defined as

[0081]

[0082] where |.| represents the Euclidean distance.

[0083] And the formulas for ASSD and MSSD are as follows:

[0084]

[0085]

[0086] Among them, S(B) represents the surface pixel set of B, s B Denotes the pixels of the set S(B).

[0087] Furthermore, topological similarity (TS) is defined, and the formula is: |v1-v2| / (0.5×(v1+v2)).

[0088] Among them, v1 and v2 represent the total number of nodes belonging to a specific class in the standard test image (label) and the binary annotated image, respectively, and the topological similarity of all nodes is averaged.

[0089] Due to the comparison of the quantitative results of the above-mentioned vascular segmentation and topological analysis, the U-Net neural network is used as the generator of the Generative Adversarial Networks (GAN), and the channel attention module and the spatial attention module are added to the U-Net neural network to comprehensively optimize the pixel similarity coefficient, the maximum symmetric surface distance, the average symmetric surface distance, and the topological similarity.

[0090] The present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the blood vessel image processing method in any of the above embodiments is implemented.

[0091] The present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the blood vessel image processing method in any of the above embodiments.

[0092] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in the relevant technical field without departing from the purpose of the present application. In addition, the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

Claims

1. A blood vessel image processing method, characterized in that: include: Acquire an original blood vessel image; wherein the original blood vessel image includes a liver blood vessel image; Inputting the original blood vessel image into a trained image processing neural network, the image processing neural network outputting a binary labeled image; Arranging the binary labeled images according to the actual shooting time sequence to obtain the corresponding vascular skeleton state change trend at different time points; Performing a topological structure analysis on the binary annotated image to obtain vascular skeleton parameters, including: performing a topological structure analysis on the binary annotated image corresponding to a continuous time sequence to obtain vascular topological structures corresponding to different time points, and measuring the vascular skeleton in the binary annotated image to obtain vascular skeleton parameters; The performing topological structure analysis on the binary labeled image to obtain blood vessel skeleton parameters also includes: Extracting skeleton features from the binary annotated image, and constructing an undirected weighted graph based on the extracted skeleton features; The shortest path calculation is performed on the undirected weighted graph to obtain the skeletons of the sub-blood vessels at each level, and the skeletons of the sub-blood vessels at each level are measured and statistically analyzed to obtain the blood vessel skeleton parameters.

2. The blood vessel image processing method according to claim 1, characterized in that: The step of inputting the original blood vessel into a trained image processing neural network comprises: Pre-training the image processing neural network; The pre-training of the image processing neural network comprises: Smoothing and binarization of manually annotated images to obtain training sets; Performing data enhancement on the data in the training set to obtain the enhanced training set; The image processing neural network is subjected to adversarial training using a test set and an enhanced training set.

3. The blood vessel image processing method according to claim 1, characterized in that: The image processing neural network comprises: An encoding network, used for downsampling the original blood vessel image to obtain a first feature image; A convolution connection network, connected to the encoding network, for convolving the first feature image to obtain a second feature image; A decoding network, connected to the convolutional connection network, for upsampling the second feature image to obtain a third feature image; A convolution mapping layer, connected to the convolution connection network, for mapping the third feature image to obtain the binary labeled image; At least one skip network, one end of the skip network is connected to the encoding network, and the other end of the skip network is connected to the decoding network of the corresponding level.

4. The blood vessel image processing method according to claim 3, characterized in that: The hopping network further includes: A skip connection network, one end of which is connected to the encoding network, and the other end of which is connected to the decoding network of the corresponding level; A channel attention module, one end of which is connected to an input end of the skip connection network; A spatial attention module, one end of which is connected to the other end of the channel attention module, and the other end of which is connected to the output end of the jump connection network.

5. The blood vessel image processing method according to claim 4, characterized in that: The channel attention module further includes: Channel feature input layer, used to obtain channel characteristic parameters; A first polarization pool, connected to the channel feature input layer, for performing polarization processing on the channel characteristic parameters to obtain a first polarization vector; A first average pool, connected to the channel feature input layer, for averaging the channel characteristic parameters to obtain a first average vector; a multilayer perceptron, connected to the first polarization pool and the first average pool respectively, and configured to merge the first polarization vector and the first average vector to obtain a first output vector; A first activation layer is connected to the multilayer perceptron and activates the first output vector to obtain a channel attention feature map.

6. The blood vessel image processing method according to claim 4, characterized in that: The spatial attention module further includes: Spatial feature input layer, used to obtain spatial characteristic parameters; A second polarization layer, connected to the spatial characteristic input layer, is used to perform polarization processing on the spatial characteristic parameter to obtain a second polarization vector; a second averaging layer, connected to the second polarization layer, and configured to average the second polarization vector to obtain a second average vector; a spatial convolution layer, connected to the second averaging layer, and configured to perform convolution processing on the second average vector to obtain a spatial convolution vector; The second activation layer is connected to the spatial convolution layer, and is used to activate the spatial convolution vector and obtain a spatial attention feature map.

7. The blood vessel image processing method according to claim 2, characterized in that: The adversarial training of the image processing neural network using the test set and the enhanced training set includes: The image processing neural network generates labeled data based on the training set; The discriminator generates a discrimination result according to the labeled data and the test set; The discrimination result is converged according to a preset loss function to obtain the trained image processing neural network.

8. Electronic equipment, including: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the blood vessel image processing method according to any one of claims 1 to 7 is implemented. 9 . A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the blood vessel image processing method according to claim 1 .