Methods and related products for training a segmentation model for segmenting blood vessels

Through image registration and segmentation model training of silent MRI images and DSA images, the problem of poor blood vessel imaging in SMRI in slow blood flow areas has been solved, and the accuracy of SMRI blood vessel segmentation has been improved, close to the segmentation effect of DSA images.

CN118247294BActive Publication Date: 2024-10-15UNION STRONG (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410351782.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-26
Publication Date
2024-10-15
Estimated Expiration
2044-03-26

AI Technical Summary

Technical Problem

Silent magnetic resonance imaging (SMRI) does not perform well in vascular imaging in areas with slow blood flow, resulting in low accuracy of blood vessel segmentation results, making it difficult to achieve the accuracy of digital subtraction angiography (DSA) images.

Method used

By acquiring silent MRI images and DSA images containing blood vessels, image registration and blood vessel segmentation are performed, and training data is generated for training segmentation models, including convolutional neural networks, to improve the model's ability to identify blood vessel features in silent MRI images.

Benefits of technology

The accuracy and precision of the blood vessel segmentation results in SMRI images are improved, making it close to the accuracy of segmentation in DSA images, and the blood vessel segmentation capabilities in silent MRI images are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118247294B_ABST
    Figure CN118247294B_ABST
Patent Text Reader

Abstract

The present disclosure discloses a method for training a segmentation model for segmenting blood vessels, including: obtaining a first silent nuclear magnetic image, a first subtraction angiography image, and a second silent nuclear magnetic image containing blood vessels; wherein the first silent nuclear magnetic image and the first subtraction angiography image are from the same acquisition object; performing image registration on the first silent nuclear magnetic image and the first subtraction angiography image to obtain a first blood vessel segmentation result; performing blood vessel segmentation on the second silent nuclear magnetic image to obtain a second blood vessel segmentation result; inputting the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result as training data into the segmentation model to train it. Using the scheme of the present application, the segmentation model can learn the characteristic information of the blood vessels contained in the silent nuclear magnetic image from the training data, and can then accurately segment the blood vessels in the silent nuclear magnetic image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of blood vessel segmentation technology. More specifically, the present disclosure relates to a method, device and computer-readable storage medium for training a segmentation model for segmenting blood vessels. Further, the present application also relates to a method, device and computer-readable storage medium for segmenting blood vessels. Background Art

[0002] Digital subtraction angiography (DSA) is the gold standard for screening and diagnosis of various vascular diseases. However, DSA is an invasive examination method that requires inserting a thin tube into the artery under local anesthesia. After injecting contrast agent, X-ray images are used to observe the internal conditions of the blood vessels, including the shape of the blood vessels, blood flow conditions, and whether there are aneurysms. Other non-invasive examination methods, such as computed tomography (CT) and magnetic resonance imaging (MRI), are not as accurate as DSA in imaging blood vessels, especially in some areas with slow blood flow, where the imaging effect cannot be guaranteed.

[0003] Silent MRI (SMRI) is based on the imaging principle of traditional MRI. It uses high-intensity magnetic fields and radio waves to excite hydrogen nuclei in the body, causing them to resonate and release energy to form images. Its "silent" characteristics are mainly achieved by adopting special sequence design, fast scanning technology and active noise control mechanism, which greatly reduces the noise during the scanning process, greatly improves the patient's examination experience, and maintains high-quality medical image output. Compared with traditional MRI, SMRI vascular imaging is better, but compared with DSA, there are still deviations in imaging in some areas with slow blood flow, resulting in low accuracy of vascular segmentation results of SMRI images, which is difficult to achieve the accuracy level of vascular segmentation results of DSA images.

[0004] In view of this, there is an urgent need to provide a solution for training a segmentation model for segmenting blood vessels, so as to improve the accuracy of the blood vessel segmentation results of SMRI images. Summary of the invention

[0005] In order to at least solve one or more of the technical problems mentioned above, the present disclosure proposes a solution for training a segmentation model for segmenting blood vessels in multiple aspects.

[0006] In one aspect, the present disclosure provides a method for training a segmentation model for segmenting blood vessels, comprising: acquiring a first silent nuclear MRI image, a first subtraction angiography image, and a second silent nuclear MRI image containing blood vessels; wherein the first silent nuclear MRI image and the first subtraction angiography image are from the same acquisition object; performing image registration on the first silent nuclear MRI image and the first subtraction angiography image to obtain a first blood vessel segmentation result; performing blood vessel segmentation on the second silent nuclear MRI image to obtain a second blood vessel segmentation result; and inputting the first silent nuclear MRI image, the first blood vessel segmentation result, the second silent nuclear MRI image, and the second blood vessel segmentation result as training data into the segmentation model to train it.

[0007] In some embodiments, performing vascular segmentation on the second silent MRI image to obtain a second vascular segmentation result includes: inputting the second silent MRI image into a generation model, performing image conversion on the second silent MRI image, and obtaining a second subtraction angiography image; wherein the generation model is a model obtained by training with the first convolutional neural network; inputting the second subtraction angiography image into a subtraction angiography segmentation model, performing segmentation on the second subtraction angiography image, and obtaining a second vascular segmentation result; wherein the subtraction angiography segmentation model is a model obtained by training with the second convolutional neural network.

[0008] In some embodiments, the generation model is obtained by training with a first convolutional neural network, including: labeling the first silent MRI image and the first subtraction angiography image with image types to form image labels; and inputting the first silent MRI image, the first subtraction angiography image, and the image labels as training data into the first convolutional neural network to train the first convolutional neural network and obtain the generation model.

[0009] In some embodiments, the subtraction angiography segmentation model is obtained by training with a second convolutional neural network, including: acquiring a third subtraction angiography image containing blood vessels; annotating blood vessels in the third subtraction angiography image to form blood vessel annotation information; and inputting the third subtraction angiography image and the blood vessel annotation information as training data into the second convolutional neural network to train the second convolutional neural network and obtain the subtraction angiography segmentation model.

[0010] In some embodiments, before the first silent MRI image, the first blood vessel segmentation result, the second silent MRI image and the second blood vessel segmentation result are input into the segmentation model, it also includes: inputting the third subtraction angiography image into the generation model, performing image conversion on the third subtraction angiography image to obtain a third silent MRI image, and using the blood vessel annotation information as the third blood vessel segmentation result.

[0011] In some embodiments, before the first silent nuclear MRI image, the first blood vessel segmentation result, the second silent nuclear MRI image and the second blood vessel segmentation result are input into the segmentation model, it also includes: performing one or more operations of format conversion operation, size adjustment operation and data enhancement operation on the first silent nuclear MRI image, the first blood vessel segmentation result, the second silent nuclear MRI image, the second blood vessel segmentation result, the third silent nuclear MRI image and the third blood vessel segmentation result to pre-process the first silent nuclear MRI image, the first blood vessel segmentation result, the second silent nuclear MRI image, the second blood vessel segmentation result, the third silent nuclear MRI image and the third blood vessel segmentation result.

[0012] In some embodiments, the above method further includes: inputting the third silent MRI image and the third blood vessel segmentation result as training data into the segmentation model to train the segmentation model.

[0013] In some embodiments, the segmentation model includes one of a U-Net model, a FP-Net model, and a PSP-Net model.

[0014] In another aspect, the present disclosure provides an apparatus for training a segmentation model for segmenting blood vessels, comprising:

[0015] A processor; and a memory storing program instructions for training a segmentation model for segmenting blood vessels, wherein when the program is executed by the processor, multiple embodiments of the aforementioned first aspect are implemented.

[0016] In yet another aspect, the present disclosure provides a method for segmenting blood vessels, comprising: acquiring a silent nuclear magnetic resonance image containing blood vessels to be segmented; inputting the silent nuclear magnetic resonance image to be segmented into a segmentation model trained according to multiple embodiments of the first aspect to perform a blood vessel segmentation operation, so as to output a blood vessel segmentation result containing the blood vessel contour.

[0017] In yet another aspect, the present disclosure provides a device for segmenting a blood vessel, comprising: a processor; and a memory storing program instructions for segmenting the blood vessel, wherein when the program is executed by the processor, multiple embodiments of the aforementioned third aspect are implemented.

[0018] In yet another aspect, the present disclosure provides a computer-readable storage medium storing computer-readable instructions for training a segmentation model for segmenting blood vessels and for segmenting blood vessels. When the computer-readable instructions are executed by one or more processors, multiple embodiments of the aforementioned first aspect and multiple embodiments of the third aspect are implemented.

[0019] Through the scheme for training the segmentation model for segmenting blood vessels provided above, the disclosed embodiment first obtains a first silent nuclear magnetic image, a first subtraction angiography image, and a second silent nuclear magnetic image containing blood vessels, and the first silent nuclear magnetic image and the first subtraction angiography image are from the same acquisition object, then performs image registration on the first silent nuclear magnetic image and the first subtraction angiography image to obtain a first blood vessel segmentation result, performs blood vessel segmentation on the second silent nuclear magnetic image to obtain a second blood vessel segmentation result, and then inputs the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result as training data into the segmentation model to train it. Based on this, the embodiment of the present application inputs the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result as training data into the segmentation model to supervise the training, so that the segmentation model can learn the characteristic information of the blood vessels contained in the silent nuclear magnetic image from the training data, and then can accurately segment the blood vessels in the silent nuclear magnetic image, which helps to improve the segmentation accuracy of the segmentation model. When the silent nuclear magnetic resonance images are subsequently segmented using the segmentation model trained by the embodiment of the present application, the accuracy of the blood vessel segmentation results can be improved, and the accuracy level of the blood vessel segmentation results based on the silent nuclear magnetic resonance images can be improved. Furthermore, the embodiment of the present application can also obtain a second subtraction angiography image by inputting the second silent nuclear magnetic resonance image into the generation model, performing image conversion on the second silent nuclear magnetic resonance image, and then inputting the second subtraction angiography image into the subtraction angiography segmentation model, segmenting the second subtraction angiography image, and obtaining a second blood vessel segmentation result with higher accuracy. The second blood vessel segmentation result with higher accuracy is used for the training of the segmentation model, which can further improve the accuracy of the segmentation model. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] By reading the detailed description below with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0021] Figure 1 It is an exemplary application scenario showing an embodiment of the present disclosure;

[0022] Figure 2is an exemplary flow chart illustrating a method for training a segmentation model for segmenting blood vessels according to an embodiment of the present disclosure;

[0023] Figure 3 is an exemplary network architecture showing a U-Net model according to an embodiment of the present disclosure;

[0024] Figure 4 is an exemplary flow chart illustrating a method for training a segmentation model for segmenting blood vessels according to an embodiment of the present disclosure;

[0025] Figure 5 is an exemplary flow chart showing step S203 according to an embodiment of the present disclosure;

[0026] Figure 6 is an exemplary flow chart showing how to obtain a generative model by training a first convolutional neural network according to an embodiment of the present disclosure;

[0027] Figure 7 is an exemplary flow chart showing how to obtain a subtraction angiography segmentation model by training with a second convolutional neural network according to an embodiment of the present disclosure;

[0028] Figure 8 is an exemplary flow chart showing a method for segmenting a blood vessel according to an embodiment of the present disclosure;

[0029] Fig. 9 is an exemplary structural block diagram showing an apparatus for training a segmentation model for segmenting blood vessels and for segmenting blood vessels according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0031] Overview of this Disclosure

[0032] In the process of realizing the present disclosure, the inventors found that, as described in the above background technology, compared with DSA images, SMRI images still have deviations in vascular imaging in certain areas with slow blood flow. If common image segmentation methods or vascular segmentation methods of DSA images are directly applied to SMRI images without considering the inherent characteristics of SMRI images and the differences between SMRI images and DSA images, the accuracy of the vascular segmentation results of SMRI images will be low, and the accuracy of the vascular contours finally segmented will hardly reach the accuracy level of vascular segmentation of DSA images.

[0033] Based on this, the disclosed embodiment provides a scheme for training a segmentation model for segmenting blood vessels, by inputting a first silent MRI image, a first blood vessel segmentation result, a second silent MRI image, and a second blood vessel segmentation result as training data into the segmentation model to perform supervised training on it, so that the segmentation model can learn the characteristic information of the blood vessels contained in the silent MRI image from the training data, and then can accurately segment the blood vessels in the silent MRI image, thereby improving the segmentation accuracy of the segmentation model.

[0034] Exemplary application scenarios

[0035] Figure 1 The following is an exemplary application scenario according to the embodiment of the present disclosure. In order to improve the accuracy of the blood vessel segmentation results of SMRI images, the technical solution of the present disclosure provides a segmentation model training and application system. Figure 1 As shown in , the system may include a DSA image acquisition device, an SMRI image acquisition device, a display device, and an electronic device for data processing such as a server. The DSA image acquisition device acquires a first DSA image containing a blood vessel, and the SMRI image acquisition device acquires a first SMRI image and a second SMRI image containing a blood vessel, and sends them to an electronic device, which uses the first DSA image, the first SMRI image, and the second SMRI image to train a segmentation model for segmenting blood vessels. Subsequently, the SMRI image acquisition device may also acquire an SMRI image to be segmented containing a blood vessel, and send it to an electronic device, which performs blood vessel segmentation on the SMRI image to be segmented using the trained segmentation model to obtain a blood vessel segmentation result. Then, the electronic device may send various images and blood vessel segmentation results to a display device for display. The segmentation model training and application system disclosed in the present invention realizes the training of the segmentation model and the blood vessel segmentation of the SMRI image to be segmented. By using the segmentation model trained in the embodiment of the present application to perform blood vessel segmentation on the SMRI image, the accuracy of the blood vessel segmentation result of the SMRI image can be improved, and the accuracy level of the blood vessel segmentation result of the SMRI image can be improved.

[0036] Exemplary Methods

[0037] Figure 2 FIG. 2 is an exemplary flow chart showing a method 200 for training a segmentation model for segmenting blood vessels according to an embodiment of the present disclosure. Figure 2As shown in , at step S201, method 200 can obtain a first silent nuclear magnetic image, a first subtraction angiography image, and a second silent nuclear magnetic image containing a blood vessel. The method 200 obtains the first silent nuclear magnetic image, the first subtraction angiography image, and the second silent nuclear magnetic image containing a blood vessel by acquiring the image from an image acquisition device, a local server, or a cloud server. It should be noted that the specific acquisition method of method 200 does not constitute a limitation on the present application.

[0038] Those skilled in the art can understand that the longer the acquisition time interval is, the greater the morphological difference of the blood vessels contained in the acquired image may be, thereby affecting the registration effect of the first silent nuclear magnetic image and the first subtraction angiography image at step S202, and further affecting the training effect of the segmentation model at step S204. In order to avoid the influence of such differences on the training effect of the segmentation model, the acquisition cycle can be set to one hour, one day, one month, one quarter, etc., to reduce the difference in vascular morphology between the first silent nuclear magnetic image and the first subtraction angiography image, and improve the training effect of the segmentation model. Of course, those skilled in the art can also set the acquisition cycle to other lengths according to actual needs, and the disclosed embodiments are not limited in this regard. In one embodiment, the first silent nuclear magnetic image and the first subtraction angiography image come from the same acquisition object. In another embodiment, the first silent nuclear magnetic image and the first subtraction angiography image come from the same acquisition object, and the acquisition time of the first silent nuclear magnetic image and the first subtraction angiography image is within the same acquisition cycle.

[0039] Next, at step S202 , the method 200 may perform image registration on the first silent MRI image and the first subtraction angiography image to obtain a first blood vessel segmentation result.

[0040] By performing the image registration operation, method 200 can spatially align the blood vessels contained in the first silent nuclear magnetic image with the blood vessels contained in the first subtraction angiography image, and then can refer to the blood vessel contour and blood vessel area information in the first subtraction angiography image to determine the blood vessel contour and blood vessel area information in the first silent nuclear magnetic image, that is, to obtain the first blood vessel segmentation result. In one embodiment, method 200 can use a rigid registration method to perform image registration on the first silent nuclear magnetic image and the first subtraction angiography image to obtain the first blood vessel segmentation result. In another embodiment, method 200 can use an elastic registration method to perform image registration on the first silent nuclear magnetic image and the first subtraction angiography image to obtain the first blood vessel segmentation result. Those skilled in the art can understand that the embodiments disclosed herein are not limited in this regard.

[0041] Next, at step S203, method 200 can perform blood vessel segmentation on the second silent nuclear magnetic image to obtain a second blood vessel segmentation result. According to the technical solution disclosed herein, common image segmentation methods such as threshold segmentation, region growing or edge inspection can be used to perform blood vessel segmentation on the second silent nuclear magnetic image, or a method of training a neural network model can be used to perform blood vessel segmentation on the second silent nuclear magnetic image. Those skilled in the art can understand that the disclosed embodiment is not limited in this respect.

[0042] Finally, at step S204, the method 200 may input the first silent nuclear MRI image, the first blood vessel segmentation result, the second silent nuclear MRI image, and the second blood vessel segmentation result as training data into the segmentation model to train the segmentation model.

[0043] According to the technical solution disclosed in the present invention, the segmentation model may include any one of a U-Net model, a FP-Net model and a PSP-Net model. Figure 3 1 is an exemplary network architecture of a U-Net model according to an embodiment of the present disclosure. It is understood that the introduction of the U-Net model is only exemplary, and the structure of the U-Net model is not limited to the structure shown in the figure. Those skilled in the art may modify the structure shown in the figure as needed. Figure 3 As shown in the figure, the network architecture of U-Net is like the letter U. The image is downsampled to extract features to obtain a feature map, and then upsampled to output a feature map of the corresponding size. The feature maps of the same scale obtained by downsampling and upsampling are concatenated in the channel dimension to finally obtain a feature map that integrates all features.

[0044] When training the segmentation model, method 200 can randomly select part of the data in the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result as training data, and the remaining part of the data as verification data. The training data is used to input into the segmentation model to train it, and the verification data is used to verify the obtained segmentation model, and further adjust the parameters of the segmentation model to optimize it to obtain a better segmentation model. In one embodiment, 80% of the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result can be randomly selected as training data, and the remaining 20% ​​can be used as verification data. In another embodiment, 90% of the first silent nuclear magnetic image and the first blood vessel segmentation result can be randomly selected as training data, and the remaining 10% can be used as verification data, and 80% of the second silent nuclear magnetic image and the second blood vessel segmentation result can be randomly selected as training data, and the remaining 20% ​​can be used as verification data.

[0045] Figure 4 FIG. 2 is an exemplary flow chart showing a method 200 for training a segmentation model for segmenting blood vessels according to an embodiment of the present disclosure. Figure 4 As shown in , before inputting the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result into the segmentation model, the method 200 may further execute step S205. At step S205, the method 200 may preprocess the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result. Specifically, one or more operations of format conversion operation, size adjustment operation, and data enhancement operation may be performed on the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result to preprocess the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result. By preprocessing the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result, that is, preprocessing the training data of the segmentation model, the training data is made to have a consistent format, a consistent size, and enhanced contrast of the blood vessels, which helps to speed up the training speed of the segmentation model and improve the training efficiency of the segmentation model.

[0046] Before inputting the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image and the second blood vessel segmentation result into the segmentation model, method 200 may also use the first silent nuclear magnetic image and the first blood vessel segmentation result as the first type of data, and the second silent nuclear magnetic image and the second blood vessel segmentation result as the second type of data, and assign completely identical or completely different training weights to the two types of data. In one embodiment, the training weight of the first type of data is greater than the training weight of the second type of data. Preferably, the training weight assigned to the first type of data may be 2. It should be noted that the training weight 2 here is merely exemplary or illustrative, and those skilled in the art may set different training weight values ​​or training weight ranges according to actual operational needs.

[0047] According to the technical solution disclosed in the present invention, the first blood vessel segmentation result is obtained by performing image registration on the first silent nuclear magnetic resonance image and the first subtraction angiography image, and the second blood vessel segmentation result is obtained by performing blood vessel segmentation on the second silent nuclear magnetic resonance image. Since the first subtraction angiography image has good blood vessel imaging and blood vessel segmentation effects, it is easy to understand that, compared with the second blood vessel segmentation result, the first blood vessel segmentation result has better blood vessel integrity and higher accuracy. Therefore, setting the training weight of the first type of data greater than the training weight of the second type of data can increase the attention and learning of the segmentation model to the first type of data during the training process, so that the segmentation model can learn more accurate and comprehensive blood vessel feature information from the training data, thereby improving the segmentation model's ability to identify and segment blood vessels in silent nuclear magnetic resonance images.

[0048] Before inputting the first silent nuclear magnetic resonance image, the first blood vessel segmentation result, the second silent nuclear magnetic resonance image, and the second blood vessel segmentation result into the segmentation model, the method 200 may also first compare the first blood vessel segmentation result with the second blood vessel segmentation result, determine the image difference between the first blood vessel segmentation result and the second blood vessel segmentation result, and then locate the insufficient blood vessel imaging part in the first silent nuclear magnetic resonance image and the second silent nuclear magnetic resonance image based on the image difference, and increase the training weight of the insufficient blood vessel imaging part during the training of the segmentation model. This ensures that the segmentation model pays attention to and learns about the insufficient blood vessel imaging part during the training process, thereby improving the segmentation model's ability to identify and segment the insufficient blood vessel imaging part.

[0049] Based on the above description, it can be seen that the disclosed embodiment inputs the first silent MRI image, the first blood vessel segmentation result, the second silent MRI image and the second blood vessel segmentation result as training data into the segmentation model to perform supervised training on it, so that the segmentation model can learn the characteristic information of the blood vessels contained in the silent MRI image from the training data, and then can accurately segment the blood vessels in the silent MRI image, thereby improving the segmentation accuracy of the segmentation model.

[0050] Figure 5 FIG. 2 is an exemplary flow chart showing step S203 according to an embodiment of the present disclosure. Figure 5 As shown in , when method 200 performs blood vessel segmentation on the second silent nuclear magnetic image and obtains the second blood vessel segmentation result, steps S203-1 and S203-2 may be specifically executed. At step S203-1, method 200 may input the second silent nuclear magnetic image into the generation model, perform image conversion on the second silent nuclear magnetic image, and obtain a second subtraction angiography image. Then, at step S203-2, method 200 may input the second subtraction angiography image into the subtraction angiography segmentation model, perform segmentation on the second subtraction angiography image, and obtain a second blood vessel segmentation result. In the technical solution disclosed in the present invention, the generation model can be used to convert the silent nuclear magnetic image into a DSA image, and can also be used to convert the DSA image into a silent nuclear magnetic image. The generation model may be a model obtained by training using a first convolutional neural network. The subtraction angiography segmentation model may be used for blood vessel segmentation of subtraction angiography images, and may be a model obtained by training using a second convolutional neural network. In one embodiment, the first convolutional neural network and the second convolutional neural network can be any one of a U-Net model, a FP-Net model, and a PSP-Net model.

[0051] Figure 6 FIG. 1 is an exemplary flow chart showing how to obtain a generative model by training a first convolutional neural network according to an embodiment of the present disclosure. Figure 6As shown in , when obtaining the generation model, method 200 can specifically perform steps S203-1a and S203-1b. At step S203-1a, method 200 can preprocess the first silent nuclear magnetic image and the first subtraction angiography image. Then, at step S203-1b, method 200 can annotate the first silent nuclear magnetic image and the first subtraction angiography image with image types to form image labels. Finally, at step S203-1c, method 200 can input the preprocessed first silent nuclear magnetic image, the first subtraction angiography image and the image label as training data into the first convolutional neural network to train the first convolutional neural network and obtain the generation model. It should be noted that the preprocessing at S203-1a includes but is not limited to one or more operations of format conversion operation, size adjustment operation and data enhancement operation. The image label at step S203-1b is used to identify the image as a silent nuclear magnetic resonance image or a subtraction angiography image. The image label can be a digital label, a letter label, or a combination of a digital label and a letter label. Those skilled in the art will understand that the specific form of the image label does not constitute a limitation of the present application. According to the technical solution disclosed herein, the generative model can be used for image conversion between SMRI images and DSA images. The ability of the generative model to learn during the training process includes: under the guidance of the image label, mapping the image to a feature space with certain characteristics, and under the guidance of the image label, mapping from an instance of the feature space back to the image space. During the application process, the generative model can first set the image label to the first type of image data, map the first type of image data to the feature space, obtain an instance of the feature space, and then set the image label to the second type of image data, and map the previous step to an instance of the feature space back to the image space. Figure 7 FIG. 4 is an exemplary flow chart showing how to obtain a subtraction angiography segmentation model by training a second convolutional neural network according to an embodiment of the present disclosure. Figure 7As shown in , when obtaining the subtraction angiography segmentation model, the method 200 can specifically execute steps S203-2a, S203-2b and S203-2c. At step S203-2a, the method 200 can obtain a third subtraction angiography image containing blood vessels. Then, at step S203-2b, the method 200 can perform blood vessel annotation in the third subtraction angiography image to form blood vessel annotation information. Finally, at step S203-2c, the method 200 can input the third subtraction angiography image and the blood vessel annotation information as training data into the second convolutional neural network to train the second convolutional neural network and obtain the subtraction angiography segmentation model. During the training process, under the guidance of the blood vessel annotation information, the second convolutional neural network learns how to perform blood vessel segmentation on the subtraction angiography image and obtain the ability of blood vessel segmentation results until the error between the blood vessel segmentation result obtained by the second convolutional neural network and the blood vessel annotation information is small enough to obtain the subtraction angiography segmentation model.

[0052] In one embodiment, before inputting the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, and the second blood vessel segmentation result into the segmentation model, the method 200 may also input the third subtraction angiography image into the above-mentioned generation model, perform image conversion on the third subtraction angiography image, obtain the third silent nuclear magnetic image, and use the above-mentioned blood vessel annotation information as the third blood vessel segmentation result. Afterwards, the method 200 may also perform one or more operations of format conversion operation, size adjustment operation and data enhancement operation on the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, the second blood vessel segmentation result, the third silent nuclear magnetic image, and the third blood vessel segmentation result, so as to pre-process the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, the second blood vessel segmentation result, the third silent nuclear magnetic image, and the third blood vessel segmentation result. By preprocessing the first silent MRI image, the first blood vessel segmentation result, the second silent MRI image, the second blood vessel segmentation result, the third silent MRI image and the third blood vessel segmentation result, a preprocessing operation is actually performed on the training data of the segmentation model, so that the training data has a consistent format and size, and the contrast of the blood vessels is enhanced, which helps to speed up the training speed of the segmentation model and improve the training efficiency of the segmentation model.

[0053] In order to further improve the recognition and segmentation capabilities of the segmentation model, method 200 can also input the third silent nuclear magnetic image and the third blood vessel segmentation result as training data into the segmentation model to train it. The third silent nuclear magnetic image and the third blood vessel segmentation result are also input into the segmentation model as training data to train it, which can enrich the types of training data used to train the segmentation model, so that the segmentation model can learn more blood vessel segmentation experience and adapt to more blood vessel segmentation situations, thereby obtaining a segmentation model with higher segmentation accuracy and more reliability. In one embodiment, method 200 can randomly select part of the data in the third silent nuclear magnetic image and the third blood vessel segmentation result as training data, and the remaining part as verification data.

[0054] According to the technical solution of this embodiment, method 200 can use the first silent nuclear magnetic image and the first blood vessel segmentation result as the first type of data, the second silent nuclear magnetic image and the second blood vessel segmentation result as the second type of data, and the third silent nuclear magnetic image and the third blood vessel segmentation result as the third type of data, and respectively assign completely identical, completely different or partially identical training weights to the three types of data. In one embodiment, method 200 can assign different training weights to different types of data according to the different blood vessel segmentation effects of each data type. The blood vessel segmentation effect here may include but is not limited to one or more of blood vessel edge clarity, blood vessel edge coherence, number of blood vessel branches and number of microvessels. In another embodiment, the training weight of the first type of data may be greater than the training weight of the second type of data, and greater than the training weight of the third type of data. Preferably, the training weight of the first type of data may be 2.

[0055] The disclosed embodiment also provides a method for segmenting blood vessels. Figure 8 Detailed description.

[0056] Figure 8 8 is an exemplary flow chart showing a method 800 for segmenting a blood vessel according to an embodiment of the present disclosure. Figure 8 The method for segmenting blood vessels mainly uses the above segmentation model to segment blood vessels. Since the training method of the segmentation model has been described in detail in the previous article, it will not be repeated here.

[0057] like Figure 8 As shown in , at step S801, method 800 may obtain a silent nuclear magnetic resonance image containing a blood vessel to be segmented. The method 800 may obtain the silent nuclear magnetic resonance image containing a blood vessel to be segmented by acquiring the silent nuclear magnetic resonance image from an image acquisition device, from a local server, or from a cloud server. It should be noted that the specific acquisition method of method 800 does not constitute a limitation of the present application.

[0058] Next, at step S802 , the method 800 may input the silent MRI image to be segmented into the trained segmentation model to perform a blood vessel segmentation operation, so as to output a blood vessel segmentation result including a blood vessel contour.

[0059] The segmentation model of the disclosed embodiment is obtained by training based on multiple types of silent nuclear magnetic resonance images and blood vessel segmentation results. The accuracy of its blood vessel segmentation results is relatively high. By inputting the silent nuclear magnetic resonance images containing blood vessels to be segmented into the trained segmentation model, accurate blood vessel segmentation results can be obtained. Compared with the existing direct application of common image segmentation methods or DSA image blood vessel segmentation methods to SMRI images, the accuracy of blood vessel segmentation of SMRI images can be effectively improved. In addition, after obtaining the silent nuclear magnetic resonance images containing blood vessels to be segmented, the blood vessel segmentation results can be obtained by inputting them into the trained segmentation model. The process is simple to operate, can save blood vessel segmentation procedures, and improve blood vessel segmentation efficiency.

[0060] In order to further improve the accuracy of blood vessel segmentation, before inputting the silent nuclear magnetic image to be segmented into the trained segmentation model for blood vessel segmentation, method 200 may also perform one or more operations of image denoising, resizing and data enhancement on the silent nuclear magnetic image to be segmented, so as to pre-process the silent nuclear magnetic image to be segmented. By pre-processing the silent nuclear magnetic image to be segmented, the noise interference in the silent nuclear magnetic image to be segmented can be reduced, the contrast of the blood vessels can be enhanced, and it is helpful to further improve the accuracy of blood vessel segmentation.

[0061] Fig. 9 An exemplary structural block diagram of an apparatus 900 for training a segmentation model for segmenting blood vessels and for segmenting blood vessels according to an embodiment of the present disclosure is shown.

[0062] like Fig. 9 As shown in , the device of the present application may include a central processing unit or central processing unit ("CPU") 911, which may be a general-purpose CPU, a dedicated CPU, or other information processing and program execution unit. Further, the device 900 may also include a large-capacity memory 912 and a read-only memory ("ROM") 913, wherein the large-capacity memory 912 may be configured to store various types of data, including various SMRI images and DSA images containing blood vessels, blood vessel segmentation results, algorithm data, intermediate results, and various programs required to run the device 900. The ROM 913 may be configured to store the power-on self-test of the device 900, the initialization of each functional module in the system, the basic input / output driver of the system, and the data and instructions required to boot the operating system.

[0063] Optionally, the device 900 may also include other hardware platforms or components, such as the tensor processing unit ("TPU") 914, the graphics processing unit ("GPL") 915, the field programmable gate array ("FPGA") 916, and the machine learning unit ("MLU") 917 shown. It is understood that although a variety of hardware platforms or components are shown in the device 900, they are only exemplary and not restrictive, and those skilled in the art may add or remove corresponding hardware according to actual needs. For example, the device 900 may only include a CPU, related storage devices, and interface devices to implement the method for training a segmentation model for segmenting blood vessels and the method for segmenting blood vessels of the present application.

[0064] In some embodiments, in order to facilitate the transmission and interaction of data with an external network, the device 900 of the present application further includes a communication interface 918, so that it can be connected to a local area network / wireless local area network ("LAN / WLAN") 905 through the communication interface 918, and then connected to a local server 906 or to the Internet ("Internet") 907 through the LAN / WLAN. Alternatively or additionally, the device 900 of the present application can also be directly connected to the Internet or a cellular network through the communication interface 918 based on wireless communication technology, such as wireless communication technology based on the third generation ("3G"), the fourth generation ("4G") or the fifth generation ("5G") of the generation. In some application scenarios, the device 900 of the present application can also access a server 908 and a database 909 of an external network as needed to obtain various known algorithms, data and modules, and can remotely store various data, such as various data or instructions for presenting SMRI images and DSA images containing blood vessels, blood vessel segmentation results, etc.

[0065] The peripheral devices of the device 900 may include a display device 902, an input device 903, and a data transmission interface 904. In one embodiment, the display device 902 may include, for example, one or more speakers and / or one or more visual displays, which are configured to train the segmentation model of the segmented blood vessels of the present application and perform voice prompts and / or image video display of the segmented blood vessels. The input device 903 may include other input buttons or controls such as a keyboard, a mouse, a microphone, a gesture capture camera, etc., which are configured to receive input of audio data and / or user instructions. The data transmission interface 904 may include, for example, a serial interface, a parallel interface or a universal serial bus interface ("USB"), a small computer system interface ("SCSI"), a serial ATA, a FireWire ("FireWire"), a PCI Express, and a high-definition multimedia interface ("HDMI"), etc., which are configured for data transmission and interaction with other devices or systems. According to the solution of the present application, the data transmission interface 904 can receive SMRI images and DSA images containing blood vessels collected from medical image acquisition equipment, and transmit SMRI images and DSA images containing blood vessels or various other types of data or results to the device 900.

[0066] The CPU 911, mass storage 912, ROM 913, TPU 914, GPU 915, FPGA 916, MLU 917 and communication interface 918 of the device 900 of the present application can be interconnected through a bus 919, and data interaction with peripheral devices can be achieved through the bus. In one embodiment, through the bus 919, the CPU 811 can control other hardware components in the device 900 and its peripheral devices.

[0067] Combination of the above Fig. 9 The present invention describes a device for training a segmentation model for segmenting blood vessels and for segmenting blood vessels that can be used to perform the present invention. It should be understood that the device structure or architecture here is only exemplary, and the implementation method and implementation entity of the present invention are not limited thereto, but can be changed without departing from the spirit of the present invention.

[0068] It should be understood that when the terms "first", "second", "third" and "fourth" are used in the claims, the specification and the drawings of the present application, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present application indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0069] It should also be understood that the terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the disclosure. As used in this disclosure and claims, the singular forms of "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" used in this disclosure and claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations.

[0070] As used in this specification and claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0071] According to the above description in combination with the accompanying drawings, those skilled in the art can also understand that the embodiments of the present application can also be implemented by a software program. Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium can be used to implement the present application in combination with the accompanying drawings. Figure 2-Figure 8 A method for training a segmentation model for segmenting blood vessels and a method for segmenting blood vessels are described.

[0072] It should be noted that although the operations of the method of the present application are described in a specific order in the accompanying drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.

[0073] The embodiments of the present disclosure are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present disclosure. The description of the above embodiments is only used to help understand the method and its core idea of ​​the present disclosure. At the same time, changes or deformations made by those skilled in the art based on the ideas of the present disclosure, the specific implementation methods and the scope of application of the present disclosure, all belong to the scope of protection of the present disclosure. In summary, the content of this specification should not be understood as a limitation on the present disclosure.

Claims

1. A method for training a segmentation model for segmenting blood vessels, include: Acquire a first silent nuclear magnetic resonance image, a first subtraction angiography image, and a second silent nuclear magnetic resonance image containing a blood vessel; wherein the first silent nuclear magnetic resonance image and the first subtraction angiography image are from the same acquisition object; performing image registration on the first silent nuclear magnetic resonance image and the first subtraction angiography image to obtain a first blood vessel segmentation result; performing blood vessel segmentation on the second silent nuclear magnetic resonance image to obtain a second blood vessel segmentation result; The first silent nuclear magnetic resonance image, the first blood vessel segmentation result, the second silent nuclear magnetic resonance image and the second blood vessel segmentation result are input as training data into the segmentation model to train the segmentation model.

2. The method according to claim 1, wherein the second silent MRI image is subjected to vascular segmentation to obtain a second vascular segmentation result include: Inputting the second silent nuclear magnetic resonance image into the generation model, performing image transformation on the second silent nuclear magnetic resonance image, and obtaining a second subtraction angiography image; The generation model is a model obtained by training with a first convolutional neural network; The second subtraction angiography image is input into a subtraction angiography segmentation model, and the second subtraction angiography image is segmented to obtain a second blood vessel segmentation result; wherein the subtraction angiography segmentation model is a model obtained by training with a second convolutional neural network.

3. The method according to claim 2, wherein the generative model is obtained by training using a first convolutional neural network include: performing image type annotation on the first silent nuclear magnetic resonance image and the first subtraction angiography image to form image labels; The first silent nuclear magnetic resonance image, the first subtraction angiography image and the image label are input into the first convolutional neural network as training data to train the first convolutional neural network and obtain the generation model.

4. The method according to claim 3, wherein the subtraction angiography segmentation model is obtained by training with a second convolutional neural network include: acquiring a third subtracted angiographic image including the blood vessel; marking blood vessels in the third subtracted angiography image to form blood vessel marking information; The third subtracted angiography image and the blood vessel annotation information are input into the second convolutional neural network as training data to train the second convolutional neural network and obtain the subtraction angiography segmentation model.

5. The method according to claim 4, wherein before inputting the first silent nuclear magnetic resonance image, the first blood vessel segmentation result, the second silent nuclear magnetic resonance image and the second blood vessel segmentation result into the segmentation model, include: The third subtraction angiography image is input into the generation model, the third subtraction angiography image is image-converted to obtain a third silent nuclear magnetic resonance image, and the blood vessel annotation information is used as a third blood vessel segmentation result.

6. The method according to claim 5, wherein before inputting the first silent nuclear magnetic resonance image, the first blood vessel segmentation result, the second silent nuclear magnetic resonance image and the second blood vessel segmentation result into the segmentation model, include: Perform one or more of a format conversion operation, a size adjustment operation, and a data enhancement operation on the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, the second blood vessel segmentation result, the third silent nuclear magnetic image, and the third blood vessel segmentation result to pre-process the first silent nuclear magnetic image, the first blood vessel segmentation result, the second silent nuclear magnetic image, the second blood vessel segmentation result, the third silent nuclear magnetic image, and the third blood vessel segmentation result.

7. The method according to claim 6, further comprising: include: The third silent nuclear magnetic resonance image and the third blood vessel segmentation result are input as training data into the segmentation model to train the segmentation model.

8. According to the method according to any one of claims 1 to 7, the segmentation model includes one of a U-Net model, a FP-Net model and a PSP-Net model.

9. A device for training a segmentation model for segmenting blood vessels, include: processor; as well as A memory storing program instructions for training a segmentation model for segmenting blood vessels, wherein when the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

10. A method for segmenting a blood vessel, include: Acquire a silent magnetic resonance image containing blood vessels to be segmented; The silent nuclear magnetic resonance image to be segmented is input into the segmentation model trained according to the method according to any one of claims 1 to 8 to perform a blood vessel segmentation operation, so as to output a blood vessel segmentation result including a blood vessel contour.

11. A device for segmenting a blood vessel, include: processor; as well as A memory storing program instructions for segmenting blood vessels, wherein when the program is executed by a processor, the method according to claim 10 is implemented.

12. A computer-readable storage medium storing computer-readable instructions for training a segmentation model for segmenting blood vessels and for segmenting blood vessels, wherein when the computer-readable instructions are executed by one or more processors, the method according to any one of claims 1 to 8 or the method according to claim 10 is implemented.