A method, device, image processing equipment and storage medium for extracting blood vessels

By using deep learning networks and registration technology in head and neck CT angiography images, the problem of confusion and disconnection of blood vessels and bones is solved, accurate blood vessel extraction and bone debris removal are achieved, and the efficiency and accuracy of image processing are improved. sex.

CN110211111BActive Publication Date: 2024-08-30SHANGHAI UNITED IMAGING HEALTHCARE
View PDF 23 Cites 0 Cited by

Patent Information

Application Number
CN201910471769.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-31
Publication Date
2024-08-30
Estimated Expiration
2040-02-11

AI Technical Summary

Technical Problem

In head and neck CT angiography images, blood vessels and bones are easily confused, leading to failure in blood vessel segmentation. Furthermore, the digital silhouette angiography method is prone to bone fragments and blood vessel disconnection due to motion or artifacts.

Method used

By acquiring plain scan images and enhanced images, they are registered and then input into a pre-trained deep learning network to generate blood vessel position images. The accuracy of the blood vessel extraction model is improved by adjusting network parameters and amplification processing to effectively remove bone debris and Distinguish between cases of vessel disconnection.

Benefits of technology

It achieves accurate extraction of blood vessels in head and neck CT angiography images, removes bone debris, improves the accuracy and efficiency of blood vessel segmentation, and shortens the operation time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110211111B
    Figure CN110211111B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device, image processing equipment and storage medium for blood vessel extraction. The method comprises: obtaining a plain scan image and an enhanced image of a part to be detected; obtaining a medical image to be detected through the plain scan image and the enhanced image; inputting the medical image to be detected into a pre-trained blood vessel extraction model, and outputting a blood vessel position image of the medical image to be detected corresponding to the part to be detected. The embodiment of the present invention obtains a medical image to be detected by obtaining a plain scan image and an enhanced image of a part to be detected, inputs the medical image to be detected into a pre-trained blood vessel extraction model, and outputs a blood vessel position image of the medical image to be detected corresponding to the part to be detected, thereby solving the problem in the prior art that blood vessels and bones in angiography images are easily confused, and a large number of bone fragments and blood vessel disconnections appear, so as to effectively remove bone fragments in medical images and distinguish between blood vessel disconnections, and the operation takes a short time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of biomedical image technology, and in particular to a method, apparatus, image processing device and storage medium for extracting blood vessels. Background Art

[0002] The internal carotid artery passes through the skull to supply blood to the front and middle parts of the brain; the left and right vertebral arteries pass through the vertebrae one by one and finally merge into the basilar artery, which passes through the occipital bone and supplies blood to the back of the brain. In head and neck CT angiography images, the extraction of the internal carotid artery and vertebral artery is the most challenging technology.

[0003] When blood vessels pass through the skull, they are close to the surrounding bones, and the spatial position in the skull is complicated. At the same time, the CT values ​​of blood vessels and bones in the enhanced CT angiography images overlap. In this case, general algorithms (such as region growing or level set) can easily confuse blood vessels and bones in the image, resulting in failure of blood vessel segmentation. The method of using DSA (digital subtraction angiography) silhouette after registration can easily lead to more bone fragments and disconnected blood vessels due to movement, contrast agent entry artifacts, or venous visualization. Summary of the invention

[0004] The embodiments of the present invention provide a method, an apparatus, an image processing device and a storage medium for extracting blood vessels, so as to effectively remove bone debris in medical images and distinguish the situation where blood vessels are disconnected in medical images, and the operation takes a short time.

[0005] In a first aspect, an embodiment of the present invention provides a method for extracting blood vessels, the method comprising:

[0006] Obtaining plain scan images and enhanced images of the part to be detected;

[0007] Obtaining a medical image to be detected by using the plain scan image and the enhanced image, wherein the medical image to be detected includes a plurality of images with overlapping areas;

[0008] The medical image to be detected is input into a pre-trained blood vessel extraction model, and a blood vessel position image of the medical image to be detected corresponding to the part to be detected is output, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected.

[0009] Furthermore, obtaining the medical image to be detected through the plain scan image and the enhanced image includes:

[0010] The plain scan image is used as a floating image and the enhanced image is used as a reference image for registration to obtain the medical image to be detected.

[0011] Furthermore, the method further comprises:

[0012] Reading historical plain scan images and historical enhanced images, and marking blood vessels on the historical enhanced images;

[0013] Registering the historical plain scan image and the historical enhanced image with marked blood vessels to obtain a historical medical image;

[0014] intercepting the historical medical image of a preset size as a target medical image;

[0015] generating a training sample set based on at least one of the target medical images;

[0016] Inputting the training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image;

[0017] The network parameters of the deep learning network are adjusted according to the blood vessel position and the expected blood vessel position.

[0018] Furthermore, generating a training sample set based on at least one target medical image includes:

[0019] Performing an amplification process on at least one target medical image to obtain at least one amplified image corresponding to the target medical image;

[0020] A set of the at least one target medical image and the at least one augmented image is used as a training sample set.

[0021] Furthermore, the method further comprises:

[0022] Reading historical plain scan images and historical enhanced images, and marking blood vessels on the historical enhanced images;

[0023] Registering the historical plain scan image and the historical enhanced image with marked blood vessels to obtain a first historical medical image corresponding to the historical plain scan image and a second historical medical image corresponding to the historical enhanced image with marked blood vessels;

[0024] Respectively intercepting the first historical medical image and the second historical medical image of preset sizes as a first target medical image and a second target medical image;

[0025] Generate a first training sample set corresponding to the first target medical image and a second training sample set corresponding to the second target medical image based on at least one of the first target medical images and at least one of the second target medical images;

[0026] Inputting the first training sample set and the second training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image;

[0027] The network parameters of the deep learning network are adjusted according to the blood vessel position and the expected blood vessel position.

[0028] Furthermore, the method further comprises:

[0029] obtaining a blood vessel position image of at least one historical medical image;

[0030] Inputting the blood vessel position image corresponding to the historical medical image into a pre-trained blood vessel extraction model to obtain an output blood vessel position image corresponding to the historical medical image;

[0031] Model parameters of the blood vessel extraction model are adjusted based on the output blood vessel position image and the expected blood vessel position image.

[0032] Furthermore, the method further comprises:

[0033] The blood vessel position images of the plurality of medical images to be detected with overlapping areas are fused to obtain a blood vessel image of the part to be detected.

[0034] In a second aspect, an embodiment of the present invention further provides a device for extracting blood vessels, the device comprising:

[0035] An image acquisition module, used to acquire a plain scan image and an enhanced image of the part to be detected;

[0036] a to-be-detected medical image determination module, configured to obtain the to-be-detected medical image through the plain scan image and the enhanced image, wherein the to-be-detected medical image includes a plurality of images with overlapping areas;

[0037] The blood vessel position image output module is used to input the medical image to be detected into a pre-trained blood vessel extraction model, and output a blood vessel position image of the medical image to be detected corresponding to the part to be detected, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected.

[0038] In a third aspect, an embodiment of the present invention further provides an image processing device, the image processing device comprising:

[0039] one or more processors;

[0040] A storage device for storing a plurality of programs,

[0041] When at least one of the multiple programs is executed by the one or more processors, the one or more processors implement the blood vessel extraction method provided by the embodiment of the first aspect of the present invention.

[0042] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the blood vessel extraction method provided in the embodiment of the first aspect of the present invention.

[0043] The embodiment of the present invention obtains a medical image to be detected by acquiring a plain scan image and an enhanced image of a part to be detected, wherein the medical image to be detected includes multiple images with overlapping areas, and the medical image to be detected is input into a pre-trained blood vessel extraction model, and a blood vessel position image of the medical image to be detected corresponding to the part to be detected is output, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected, thereby solving the problem in the prior art that blood vessels and bones in angiography images are easily confused, and a large number of bone fragments and blood vessel disconnections appear, so as to effectively remove bone fragments in medical images and distinguish between blood vessel disconnections in medical images, and the operation takes a short time. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flow chart of a method for extracting blood vessels provided in Example 1 of the present invention;

[0045] Figure 2 is a flow chart of a method for extracting blood vessels provided in Embodiment 2 of the present invention;

[0046] Figure 3 is a schematic diagram of simultaneously inputting a plain scan image and an enhanced image as dual inputs into a deep convolutional neural network provided by an embodiment of the present invention;

[0047] Figure 4 is a schematic diagram of inputting a plain scan image and an enhanced image as two branches into a deep convolutional neural network provided by an embodiment of the present invention;

[0048] Figure 5 is a schematic diagram of an in-layer / out-layer network structure provided by an embodiment of the present invention;

[0049] Figure 6 is a schematic diagram of a down-layer network structure provided by an embodiment of the present invention;

[0050] Figure 7 is a schematic diagram of a network structure of Trans provided by an embodiment of the present invention;

[0051] Figure 8is a flow chart of a method for extracting blood vessels provided in Embodiment 3 of the present invention;

[0052] Fig. 9 is a structural diagram of a blood vessel extraction device provided by a fourth embodiment of the present invention;

[0053] Fig.10 It is a hardware structure diagram of an image processing device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, rather than to limit the present invention.

[0055] It should also be noted that, for ease of description, only the part relevant to the present invention but not all content is shown in the accompanying drawings. It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processing or methods depicted as flow charts. Although the flow chart describes each operation (or step) as sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to methods, functions, procedures, subroutines, subprograms, etc.

[0056] Embodiment 1

[0057] Figure 1 This is a flow chart of a method for extracting blood vessels provided in the first embodiment of the present invention. This embodiment is applicable to the case of accurately segmenting and extracting blood vessels in angiography images. The method can be performed by a blood vessel extraction device and specifically includes the following steps:

[0058] S110, obtaining a plain scan image and an enhanced image of the part to be detected.

[0059] The part to be detected may be the head and neck of the user, and a CT scan is performed based on the head and neck of the user to obtain CT scan data of the head and neck of the user, and a plain scan image and an enhanced image of the head and neck of the user are obtained based on the CT scan data of the head and neck of the user, wherein the enhanced image is a vascular enhanced image. It should be noted that the CT scan data obtained for each part to be detected of the user includes a plain scan image and an enhanced image in the solution provided in the embodiment of the present invention.

[0060] Specifically, in the technical solution of the embodiment of the present invention, the image of the user's part to be detected is collected as DSA (Digital subtraction angiography, i.e., the image of angiography is digitally processed) data, which is processed to obtain a DSA bone-removed image, i.e., the unnecessary tissue image is deleted, and only the vascular image is retained. The image is clear and has high resolution, and provides a real stereoscopic image for the observation of vascular lesions or the positioning measurement, diagnosis and interventional treatment of vascular stenosis, and provides the necessary conditions for various interventional treatments. It is mainly suitable for the examination and treatment of systemic vascular diseases and tumors. In other words, the DSA data of the user's part to be detected is obtained to generate the corresponding DSA bone-removed image, and the DSA bone-removed image includes a plain scan image and an enhanced image corresponding to the user's part to be detected.

[0061] S120. Obtain a medical image to be detected through the plain scan image and the enhanced image, wherein the medical image to be detected includes a plurality of images with overlapping areas.

[0062] Specifically, the plain scan image is used as a floating image and the enhanced image is used as a reference image for registration, so that the pixels of the plain scan image and the pixels of the enhanced image are preliminarily aligned, that is, the plain scan image and the enhanced image are aligned in similar structures, and then the medical image to be detected is obtained. The medical image to be detected is a plain scan image and an enhanced image obtained by scanning the same detection part, which are split into multiple images with overlapping areas after registration. The purpose of setting the overlapping area for each image is to ensure that the scanned image of the entire part to be detected is used and fully covered. If the overlapping area is not set, it may cause abnormal results at the edge of the medical image to be detected, which will eventually affect the accuracy of vascular positioning or bone removal in the obtained vascular position image. The specific size of the multiple images with overlapping areas is set by those skilled in the art according to actual conditions. Images of the same size as when training the vascular extraction model can be selected, or images larger than when training the vascular extraction model can be selected. The embodiment of the present invention only explains this and does not limit it.

[0063] Exemplarily, taking the block size of the training image in the image to be detected selected when training the blood vessel extraction model as [144, 144, 64], after the plain scan image and the enhanced image of the user's head and neck are aligned, they are split into multiple images with overlapping areas. The size of the image can be [144, 144, 64], which is the same as the block size selected during training. In addition, the size of the selected image can also be larger than the block size selected during training. At the same time, the size of the overlapping area in the image can be [20, 20, 12], that is, the overlapping area has a step size of about [124, 124, 52] pixels. That is to say, if the starting coordinates of the first image are [0,0,0], then the starting coordinates of the next image are [124,0,0], and the number of windowed images in each dimension can be calculated by the formula: X = ceil ((Xdim-patch_size) / stride) + 1, where Xdim is the size of the image to be detected, patch_size is the size of an image with overlapping areas after splitting, and stride is the step size. It should be noted that the ceil function is rounded up. Assuming that the size of the image to be detected is [260,260,180], the number of images with overlapping areas after splitting is 2*2*4=16.

[0064] S130. Input the medical image to be detected into a pre-trained blood vessel extraction model, and output a blood vessel position image of the medical image to be detected corresponding to the part to be detected, wherein the blood vessel position image includes a plurality of images with overlapping areas, and the plurality of images with overlapping areas correspond one-to-one to the plurality of images included in the medical image to be detected.

[0065] Among them, the vascular position image is a DSA bone-removed image corresponding to the part to be detected and output by the vascular extraction model. The output result can be directly used as the final result of accurately segmenting the blood vessels, or as the result of vascular enhancement or used for subsequent positioning of the blood vessels.

[0066] Specifically, in the technical solution of the embodiment of the present invention, based on the characteristics of DSA data, the pre-trained blood vessel extraction model can be divided according to the part to be detected, and each part of the part to be detected can be trained separately. For example, the user's head and neck can be divided into the neck, the middle of the head and the upper part of the head, and then each part is trained separately according to the pre-trained blood vessel extraction model provided by this solution. The pre-trained blood vessel extraction model can also be a classification network, the positive sample is the blood vessel point, the negative sample is others, and the input is the regional image intercepted around the positive sample blood vessel point. For example, the size of the regional image can be 16*16*16. When training the blood vessel extraction model, it is only necessary to train the blood vessel points with CT values ​​greater than about 120Hu. The embodiment of the present invention only explains the pre-trained blood vessel extraction model. The specific model setting can be set by those skilled in the art according to actual needs, and the embodiment of the present invention does not limit this.

[0067] It can be understood that in order to make the blood vessel image output by the blood vessel extraction model more accurate, the pre-trained blood vessel extraction model can implement the training process by inputting historical blood vessel position images. The specific training method is: obtaining a blood vessel position image of at least one historical medical image; inputting the blood vessel position image corresponding to the historical medical image into the pre-trained blood vessel extraction model to obtain an output blood vessel position image corresponding to the historical medical image; and adjusting the model parameters of the blood vessel extraction model based on the output blood vessel position image and the expected blood vessel position image.

[0068] The embodiment of the present invention obtains a medical image to be detected by acquiring a plain scan image and an enhanced image of a part to be detected, wherein the medical image to be detected includes multiple images with overlapping areas, and the medical image to be detected is input into a pre-trained blood vessel extraction model, and a blood vessel position image of the medical image to be detected corresponding to the part to be detected is output, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected, thereby solving the problem in the prior art that blood vessels and bones in angiography images are easily confused, and a large number of bone fragments and blood vessel disconnections appear, so as to effectively remove bone fragments in medical images and distinguish between blood vessel disconnections in medical images, and the operation takes a short time.

[0069] Embodiment 2

[0070] Figure 2A flow chart of a method for blood vessel extraction provided in Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiment. In this embodiment, the step of obtaining the medical image to be detected through the plain scan image and the enhanced image is further optimized as follows: the plain scan image is used as a floating image and the enhanced image is used as a reference image for registration to obtain the medical image to be detected.

[0071] Accordingly, the method of this embodiment specifically includes:

[0072] S210, obtaining a plain scan image and an enhanced image of the part to be detected.

[0073] As mentioned above, each set of CT scan data of the part to be detected includes a vascular plain scan image and a vascular enhanced image, wherein the vascular gold standard is used to mark the vascular enhanced image. The vascular gold standard refers to the manual annotation and segmentation result of the blood vessels. The specific processing method of the vascular enhanced image can be set according to the actual situation and is not limited here.

[0074] S220, registering the plain scan image as a floating image and the enhanced image as a reference image to obtain the medical image to be detected, wherein the medical image to be detected includes a plurality of images with overlapping areas.

[0075] S230, inputting the medical image to be detected into a pre-trained blood vessel extraction model, and outputting a blood vessel position image of the medical image to be detected corresponding to the part to be detected, wherein the blood vessel position image includes a plurality of images with overlapping areas, and the plurality of images with overlapping areas correspond one-to-one to the plurality of images included in the medical image to be detected.

[0076] In the embodiment of the present invention, the blood vessel extraction model trains a deep convolutional neural network for blood vessel extraction based on training samples. In general, a deep convolutional neural network can be roughly understood as a neural network structure containing multiple hidden layers, which is a learning process that uses a deep convolutional neural network to solve feature expression. A deep convolutional neural network is usually composed of multiple layers, usually combining simpler models together and passing data from one layer to another to build a more complex model. A deep convolutional neural network can automatically derive a model by training a large amount of data.

[0077] In an embodiment of the present invention, training a blood vessel extraction model may include: reading a historical plain scan image and a historical enhanced image, and marking blood vessels in the historical enhanced image; aligning the historical plain scan image and the historical enhanced image with marked blood vessels to obtain a historical medical image; intercepting the historical medical image of a preset size as a target medical image; generating a training sample set based on at least one of the target medical images; inputting the training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image; and adjusting the network parameters of the deep learning network according to the blood vessel position and the expected blood vessel position. Training the blood vessel extraction model may also include: reading historical plain scan images and historical enhanced images, and marking blood vessels in the historical enhanced images; aligning the historical plain scan images and the historical enhanced images with marked blood vessels to obtain a first historical medical image corresponding to the historical plain scan images and a second historical medical image corresponding to the historical enhanced images with marked blood vessels; respectively capturing the first historical medical image and the second historical medical image of preset sizes as a first target medical image and a second target medical image; respectively generating a first training sample set corresponding to the first target medical image and a second training sample set corresponding to the second target medical image based on at least one of the first target medical images and at least one of the second target medical images; inputting the first training sample set and the second training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image; and adjusting the network parameters of the deep learning network according to the blood vessel position and the expected blood vessel position.

[0078] It should be noted that there are two ways to train the blood vessel extraction model. One is to input the plain scan image and the enhanced image into the deep convolutional neural network for training at the same time. The other is to input the plain scan image and the enhanced image as two branches into the deep convolutional neural network and then merge them during network training to obtain the final blood vessel position result. For example, Figure 3 FIG. 1 is a schematic diagram showing that a plain scan image and an enhanced image provided by an embodiment of the present invention are simultaneously input as dual inputs into a deep convolutional neural network, as shown in FIG. Figure 4 FIG. 1 is a schematic diagram showing a plain scan image and an enhanced image provided by an embodiment of the present invention as two branches input into a deep convolutional neural network, wherein: Figure 3 and Figure 4 The network structures of in-layer / out-layer, down-layer and Trans involved in Figure 5 , Figure 6 and Figure 7 ,like Figure 6 The left picture shows the network structure of the down-layer in series, and the right picture shows the network structure of the down-layer in parallel. Figure 7 The left figure is the network structure of Trans with a serial structure, and the right figure is the network structure of Trans with a parallel structure, in which the plain scan image and the enhanced image are aligned before being input into the deep convolutional neural network. The loss used in training is Dice loss. The dotted line in the above figure is relay supervision, which can also be removed, but the result of adding training will be better. In the following Conv[(k,k),s,p,* / c], (k,k) represents the kernel size, s is the stride size, p is the padding size, and * / c represents the increase / decrease multiple of the channel. The parameters in the above network structure can be changed according to the actual output channel of the network, and this embodiment does not impose any restrictions on this. In addition, the number of residual units in the down-layer and Trans network structures can also be multiple, and this embodiment does not impose any restrictions on this.

[0079] It is understandable that the training sample set may include one, two or more target medical images. In order to ensure the training effect of the vascular extraction model, the training sample set may include multiple target medical images. It should be noted that the historical medical image of the preset size is intercepted as the target medical image. This setting is to get rid of the limitation of GPU video memory. Due to the limitation of GPU video memory, it is impossible to import a large data image for training at one time, and the head and neck vascular extraction requires a higher resolution to ensure the continuity of the blood vessels. Therefore, the historical medical image of the preset size can be intercepted. The resolution and image size can be selected by the technicians in this field according to the effect and the size of the video memory, and there is no limitation here. In the process of training the vascular extraction model implemented in this embodiment, the historical medical image of the preset size intercepted can be a randomly intercepted image of a specified size.

[0080] Since historical medical images usually come from user clinical data, the sample size is usually very precious. However, deep convolutional neural networks often require a large number of samples for training. Therefore, the historical image data can be amplified to increase the training samples. Specifically, in this implementation, the historical medical image of a preset size is intercepted as the target medical image, and the training sample set is generated based on at least one target medical image, including: amplifying at least one target medical image to obtain at least one amplified image corresponding to the target medical image; taking the set of at least one target medical image and at least one amplified image as the training sample set; wherein the amplification process includes at least one of stretching, rotation and mirroring. This can not only increase the number of training samples, but also improve the ability of the deep learning network to extract image features of medical images by training the deep learning network through the amplified medical images.

[0081] It should also be noted that one, two, or more than two target medical images can be augmented. For example, a medical image with a higher resolution can be selected from the target medical images for augmentation to ensure the learning effect of the deep convolutional neural network. In addition, one, two, or more augmentation processes can be performed on the same image, and the same augmentation process or different augmentation processes can be performed on different images. The types and quantities of augmented images in the training sample set can be set according to actual needs, and are again not limited.

[0082] S240: Fusing the blood vessel position images of the plurality of medical images to be detected that have overlapping areas to obtain a blood vessel image of the part to be detected.

[0083] Specifically, each medical image to be detected with overlapping areas is input into a pre-trained blood vessel extraction model to obtain a final determined blood vessel position image of each medical image to be detected with overlapping areas, and a union of each medical image to be detected with overlapping areas is taken to obtain a complete blood vessel image of the part to be detected, wherein the overlapping parts of each medical image to be detected with overlapping areas and the maximum value between each overlapping part can be selected as the output result after the final union.

[0084] The blood vessel extraction method provided in the embodiment of the present invention can effectively remove the blood vessel angiography image after DSA silhouette is performed by registration. Due to movement or artifacts such as contrast agent entry or venous development, it is easy to cause more bone fragments and blood vessel disconnection. Not only is the bone removal effect good, but also it only takes a few seconds with the support of GPU. At the same time, the result of the blood vessel image obtained by the technical solution of the embodiment of the present invention can be directly used as the final result of blood vessel segmentation, and can also be used as a blood vessel enhancement result or blood vessel positioning. When used as a blood vessel enhancement result, the result after the softmax layer in the deep convolutional neural network needs to be directly saved, and it is not output by limiting it by thresholds.

[0085] Embodiment 3

[0086] Figure 8 This is a flow chart of a method for extracting blood vessels provided in Example 3 of the present invention. Based on the above embodiments, a preferred embodiment is provided, such as Figure 8 As shown, the left part of the figure shows the training process of the blood vessel extraction model of the blood vessel extraction method, and the right part of the figure shows the testing process of the blood vessel extraction model of the blood vessel extraction method. The blood vessel extraction method includes:

[0087] The historical plain scan image and the historical enhanced image are read, and blood vessels are marked on the historical enhanced image.

[0088] The historical plain scan image and the historical enhanced image with marked blood vessels are registered to obtain a historical medical image.

[0089] The historical medical image of a preset size is intercepted as a target blood vessel position image.

[0090] At least one target blood vessel position image is input into the blood vessel extraction model for training to obtain a trained blood vessel extraction model.

[0091] Obtaining plain scan images and enhanced images of the part to be detected;

[0092] Using the plain scan image as a floating image and the enhanced image as a reference image for registration to obtain the medical image to be detected, wherein the medical image to be detected includes a plurality of images with overlapping areas;

[0093] Each of the medical images to be detected is input into a pre-trained blood vessel extraction model, and a blood vessel position image of the medical image to be detected corresponding to the part to be detected is output, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected.

[0094] The blood vessel position images of the plurality of medical images to be detected with overlapping areas are fused to obtain a blood vessel image of the part to be detected.

[0095] It should also be noted that the blood vessel extraction method provided in the embodiment of the present invention was tested on 77 sets of DSA data. The experimental results proved that DSA blood vessel extraction based on the blood vessel extraction method can achieve good results.

[0096] Embodiment 4

[0097] Fig. 9 This is a structural diagram of a blood vessel extraction device provided in Embodiment 4 of the present invention. This embodiment is applicable to the situation of accurately segmenting and extracting blood vessels in angiography images.

[0098] like Fig. 9 As shown, the device includes: an image acquisition module 310, a to-be-detected medical image determination module 320 and a blood vessel position image output module 330, wherein:

[0099] An image acquisition module 310 is used to acquire a plain scan image and an enhanced image of the part to be detected;

[0100] A to-be-detected medical image determination module 320, configured to obtain a to-be-detected medical image through the plain scan image and the enhanced image, wherein the to-be-detected medical image includes a plurality of images with overlapping areas;

[0101] The blood vessel position image output module 330 is used to input the medical image to be detected into a pre-trained blood vessel extraction model, and output a blood vessel position image of the medical image to be detected corresponding to the part to be detected, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected.

[0102] A blood vessel extraction device of the present embodiment obtains a medical image to be detected by acquiring a plain scan image and an enhanced image of a part to be detected, wherein the medical image to be detected includes multiple images with overlapping areas. The medical image to be detected is input into a pre-trained blood vessel extraction model, and a blood vessel position image of the medical image to be detected corresponding to the part to be detected is output. The blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected. The problem of blood vessels and bones in angiography images being easily confused, and the appearance of a large number of bone fragments and disconnected blood vessels in the prior art is solved, so as to effectively remove bone fragments in medical images and distinguish the disconnected blood vessels in medical images, and the operation takes a short time.

[0103] Based on the above embodiments, the to-be-detected medical image determination module 320 is specifically used for:

[0104] The plain scan image is used as a floating image and the enhanced image is used as a reference image for registration to obtain the medical image to be detected.

[0105] Based on the above embodiments, the blood vessel extraction device further includes:

[0106] A first blood vessel marking module is used to read historical plain scan images and historical enhanced images, and mark blood vessels on the historical enhanced images;

[0107] A first historical medical image acquisition module is used to register the historical plain scan image and the historical enhanced image with marked blood vessels to obtain a historical medical image;

[0108] A first target medical image acquisition module, used for intercepting the historical medical image of a preset size as a target medical image;

[0109] A first training sample set generating module, configured to generate a training sample set based on at least one target medical image;

[0110] A first blood vessel position acquisition module, used for inputting the training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image;

[0111] The first adjustment module is used to adjust the network parameters of the deep learning network according to the blood vessel position and the expected blood vessel position.

[0112] Based on the above embodiments, the training sample set generation module is specifically used for:

[0113] Performing an amplification process on at least one target medical image to obtain at least one amplified image corresponding to the target medical image;

[0114] A set of the at least one target medical image and the at least one augmented image is used as a training sample set.

[0115] Based on the above embodiments, the blood vessel extraction device further includes:

[0116] A second blood vessel marking module is used to read the historical plain scan image and the historical enhanced image, and mark blood vessels on the historical enhanced image;

[0117] A second historical medical image acquisition module is used to register the historical plain scan image and the historical enhanced image with the marked blood vessels to obtain a first historical medical image corresponding to the historical plain scan image and a second historical medical image corresponding to the historical enhanced image with the marked blood vessels;

[0118] A second target medical image acquisition module, used to capture the first historical medical image and the second historical medical image of preset sizes as a first target medical image and a second target medical image respectively;

[0119] A second training sample set generating module, configured to generate a first training sample set corresponding to the first target medical image and a second training sample set corresponding to the second target medical image based on at least one of the first target medical images and at least one of the second target medical images, respectively;

[0120] A second blood vessel position acquisition module, used for inputting the first training sample set and the second training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image;

[0121] The second adjustment module is used to adjust the network parameters of the deep learning network according to the blood vessel position and the expected blood vessel position.

[0122] Based on the above embodiments, the blood vessel extraction device further includes:

[0123] A blood vessel position image acquisition module, used to acquire a blood vessel position image of at least one historical medical image;

[0124] A blood vessel position image output module, used for inputting the blood vessel position image corresponding to the historical medical image into a pre-trained blood vessel extraction model to obtain an output blood vessel position image corresponding to the historical medical image;

[0125] A model parameter adjustment module is used to adjust the model parameters of the blood vessel extraction model based on the output blood vessel position image and the expected blood vessel position image.

[0126] Based on the above embodiments, the blood vessel extraction device further includes:

[0127] The blood vessel image fusion module is used to fuse the blood vessel position images of the plurality of medical images to be detected with overlapping areas to obtain the blood vessel image of the part to be detected.

[0128] The blood vessel extraction device provided in the above-mentioned embodiments can execute the blood vessel extraction method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the blood vessel extraction method.

[0129] Embodiment 5

[0130] Fig.10 A structural schematic diagram of an image processing device provided in Embodiment 5 of the present invention. Fig.10 A block diagram of an exemplary image processing device 12 suitable for use in implementing embodiments of the present invention is shown. Fig.10 The image processing device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0131] like Fig.10 As shown, the image processing device 12 is in the form of a general purpose computing device. The components of the image processing device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting various system components (including the system memory 28 and the processing unit 16).

[0132] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0133] The image processing device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the image processing device 12, including volatile and non-volatile media, removable and non-removable media.

[0134] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The image processing device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig.10 not shown, usually called a "hard drive"). Although Fig.10 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0135] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0136] The image processing device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the image processing device 12, and / or may communicate with any device that enables the image processing device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. In addition, the image processing device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the image processing device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the image processing device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0137] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing the blood vessel extraction method provided in the embodiment of the present invention, the method comprising:

[0138] Obtaining plain scan images and enhanced images of the part to be detected;

[0139] Obtaining a medical image to be detected by using the plain scan image and the enhanced image, wherein the medical image to be detected includes a plurality of images with overlapping areas;

[0140] The medical image to be detected is input into a pre-trained blood vessel extraction model, and a blood vessel position image of the medical image to be detected corresponding to the part to be detected is output, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected.

[0141] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the blood vessel extraction method provided by any embodiment of the present invention.

[0142] Embodiment 6

[0143] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method for extracting blood vessels provided in the embodiment of the present invention is implemented. The method includes:

[0144] Obtaining plain scan images and enhanced images of the part to be detected;

[0145] Obtaining a medical image to be detected by using the plain scan image and the enhanced image, wherein the medical image to be detected includes a plurality of images with overlapping areas;

[0146] The medical image to be detected is input into a pre-trained blood vessel extraction model, and a blood vessel position image of the medical image to be detected corresponding to the part to be detected is output, wherein the blood vessel position image includes multiple images with overlapping areas, and the multiple images with overlapping areas correspond one-to-one to the multiple images included in the medical image to be detected.

[0147] Of course, the computer program stored in a computer-readable storage medium provided by an embodiment of the present invention is not limited to the method operations described above, but can also execute related operations in the blood vessel extraction method provided by any embodiment of the present invention.

[0148] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0149] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0150] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0151] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0152] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for extracting blood vessels, characterized in that: include: Obtaining a plain scan image and an enhanced image of a part to be detected by a user; the plain scan image and the enhanced image are digital subtraction angiography images; Obtaining a medical image to be detected by using the plain scan image and the enhanced image, wherein the medical image to be detected includes a plurality of images with overlapping areas; The medical image to be detected includes a plurality of images with overlapping areas, specifically: after the plain scan image and the enhanced image obtained by scanning the same detection part are registered, they are split into a plurality of images with overlapping areas according to a fixed step size; Inputting the medical image to be detected into a pre-trained blood vessel extraction model, and outputting a blood vessel position image of the medical image to be detected corresponding to the part to be detected, wherein the blood vessel position image includes a plurality of images with overlapping areas, and the plurality of images with overlapping areas correspond one to one to the plurality of images included in the medical image to be detected; The blood vessel position images of the plurality of medical images to be detected with overlapping areas are fused to obtain a blood vessel image of the part to be detected.

2. The method according to claim 1, characterized in that The step of obtaining the medical image to be detected by using the plain scan image and the enhanced image comprises: The plain scan image is used as a floating image and the enhanced image is used as a reference image for registration to obtain the medical image to be detected.

3. The method according to claim 1, characterized in that Also includes: Reading historical plain scan images and historical enhanced images, and marking blood vessels on the historical enhanced images; Registering the historical plain scan image and the historical enhanced image with marked blood vessels to obtain a historical medical image; intercepting the historical medical image of a preset size as a target medical image; generating a training sample set based on at least one of the target medical images; Inputting the training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image; The network parameters of the deep learning network are adjusted according to the blood vessel position and the expected blood vessel position.

4. The method according to claim 3, characterized in that The generating a training sample set based on at least one target medical image comprises: Performing an amplification process on at least one target medical image to obtain at least one amplified image corresponding to the target medical image; A set of the at least one target medical image and the at least one augmented image is used as a training sample set.

5. The method according to claim 1, characterized in that Also includes: Reading historical plain scan images and historical enhanced images, and marking blood vessels on the historical enhanced images; Registering the historical plain scan image and the historical enhanced image with the marked blood vessels to obtain a first historical medical image corresponding to the historical plain scan image and a second historical medical image corresponding to the historical enhanced image with the marked blood vessels; Respectively intercepting the first historical medical image and the second historical medical image of preset sizes as a first target medical image and a second target medical image; Generate a first training sample set corresponding to the first target medical image and a second training sample set corresponding to the second target medical image based on at least one of the first target medical images and at least one of the second target medical images; Inputting the first training sample set and the second training sample set into a pre-established deep learning network to obtain the blood vessel position of the historical medical image; The network parameters of the deep learning network are adjusted according to the blood vessel position and the expected blood vessel position.

6. The method according to claim 1, characterized in that Also includes: obtaining a blood vessel position image of at least one historical medical image; Inputting the blood vessel position image corresponding to the historical medical image into a pre-trained blood vessel extraction model to obtain an output blood vessel position image corresponding to the historical medical image; Model parameters of the blood vessel extraction model are adjusted based on the output blood vessel position image and the expected blood vessel position image.

7. A device for extracting blood vessels, characterized in that: include: An image acquisition module is used to acquire a plain scan image and an enhanced image of a part to be detected by a user; the plain scan image and the enhanced image are digital subtraction angiography images; a to-be-detected medical image determination module, configured to obtain the to-be-detected medical image through the plain scan image and the enhanced image, wherein the to-be-detected medical image includes a plurality of images with overlapping areas; The medical image to be detected includes a plurality of images with overlapping areas, specifically: after the plain scan image and the enhanced image obtained by scanning the same detection part are registered, they are split into a plurality of images with overlapping areas according to a fixed step size; a blood vessel position image output module, used for inputting the medical image to be detected into a pre-trained blood vessel extraction model, and outputting a blood vessel position image of the medical image to be detected corresponding to the part to be detected, wherein the blood vessel position image includes a plurality of images with overlapping areas, and the plurality of images with overlapping areas correspond one-to-one to the plurality of images included in the medical image to be detected; The blood vessel image fusion module is used to fuse the blood vessel position images of the plurality of medical images to be detected with overlapping areas to obtain the blood vessel image of the part to be detected.

8. An image processing device, characterized in that: The image processing device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the blood vessel extraction method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for extracting blood vessels as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Multi-parameter magnetic resonance image based prostate cancer computer auxiliary identification system

    CN104424386A

  • Angiography method

    CN105640583A

  • Blood vessel extraction method

    CN106228561A

  • Complete extraction method of true color eye image graph white eye area

    CN106960199A

  • Deep learning-based remote sensing image semantic segmentation method

    CN107610141A