A breast mass segmentation method based on multimodal feature fusion Vnet
Through the breast mass segmentation method based on multi-modal feature fusion Vnet, using the encoder-decoder structure and feature fusion module, the problem of missed diagnosis and high misdiagnosis rate in breast magnetic resonance image diagnosis is solved, and higher segmentation accuracy is achieved. and diagnostic aid efficiency.
Patent Information
- Application Number
- CN202210192755.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-03-01
AI Technical Summary
The existing technology has a high rate of missed diagnosis and misdiagnosis in the diagnosis of breast magnetic resonance images. It is time-consuming and laborious for doctors to read the images, and it is difficult to accurately distinguish small lesions, which affects the early diagnosis and treatment of breast masses.
A breast mass segmentation method based on multi-modal feature fusion Vnet is adopted. By automatically extracting effective features, a network model with an encoder-decoder structure is constructed, and the RFB and 3D-SE modules are combined to perform feature fusion and prediction, reducing the need for prior knowledge. dependence to improve segmentation accuracy.
It effectively improves the accuracy of automatic segmentation of breast masses, reduces the rate of missed diagnosis and misdiagnosis, reduces the workload of doctors, provides objective diagnostic assistance, and improves the efficiency of segmentation and analysis of breast masses.
Smart Images

Figure CN114549558B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical image processing, and in particular to a breast mass segmentation method based on multimodal feature fusion Vnet. Background Art
[0002] Breast cancer is the most common malignant tumor in women and the leading cause of cancer death in women worldwide. Early screening and treatment are important means to improve the survival rate of breast cancer patients. Among them, magnetic resonance imaging technology has excellent soft tissue resolution and no radiation, and has unique advantages for breast examination. In recent years, more and more clinical and research work on breast MRI examination has been carried out in my country. Among patients at high risk of breast cancer, breast MRI examination has higher sensitivity. Although breast MRI is an important method for breast disease examination and diagnosis, it is not easy for doctors to read MRI images. The judgment process of doctors is often time-consuming and laborious. At the same time, there are a lot of MRI images waiting for diagnosis, which leads to heavy work and visual fatigue for doctors, resulting in a decrease in diagnostic accuracy. In the diagnosis process, the human eye may not be able to distinguish well where the pixel contrast is too small, resulting in inaccurate judgment of small lesions, and easy to ignore early lesions, thus affecting treatment.
[0003] Therefore, in order to help doctors analyze the information of patients' breast masses more effectively and provide doctors with objective diagnostic assistance, a new method is urgently needed to effectively segment the masses in breast MRI images, reduce the missed diagnosis rate and misdiagnosis rate when doctors read MRI images, and thus effectively perform large-scale breast mass segmentation and analysis. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a breast mass segmentation method based on multimodal feature fusion Vnet, which can reduce the dependence on prior knowledge by automatically extracting effective features and avoid the incompleteness and active bias of artificial feature extraction. It is a more intelligent and objective method, which can effectively improve the accuracy of breast mass segmentation, assist doctors in diagnosis and decision-making, and reduce the burden on doctors. It has strong application value in breast mass auxiliary diagnosis, surgical simulation and medical teaching.
[0005] To solve the above problems, an embodiment of the present invention provides a breast mass segmentation method based on multimodal feature fusion Vnet, comprising the following steps:
[0006] S1: A dataset of breast magnetic resonance images and breast mass segmentation results manually marked by doctors;
[0007] S2: Data preprocessing, dividing the data in the data set;
[0008] S3: Construct a network model based on multimodal feature fusion Vnet;
[0009] S4: training the network model of step S3, adjusting parameters, and obtaining a predicted breast mass segmentation result;
[0010] S5: Use the set evaluation index and loss function to compare the predicted breast mass segmentation result obtained in step S4 with the breast mass segmentation result manually marked by the doctor in step S1 to verify the effectiveness of the segmentation method.
[0011] The specific steps in step S1 are:
[0012] S1.1: Acquire three-dimensional T1-weighted breast MRI images of four different modalities for multiple cases, including low-, medium-, and high-risk cases, as well as cases with benign and malignant tumors. Dynamic scanning MRI images of the same case include images at multiple time periods before and after contrast agent injection, and establish a data set.
[0013] S1.2: Obtain the doctor-labeled dataset images and use ITK-SNAP software to segment the breast mass area in three dimensions.
[0014] Wherein, the step S2 comprises the following steps:
[0015] S2.1: Resampling: Resample different images in the dataset, use the median of different spacings of each image in the dataset to determine the target spatial size of the resampling, and determine the target size of each image based on the target spacing, and finally adjust each image;
[0016] S2.2: Image cropping: crop the image into a uniform size of 64*64*64 to obtain a cropped image;
[0017] S2.3: Standardization: grayscale normalization is performed, using zero mean standardization (Z-score standardization), the formula is as follows:
[0018]
[0019] In formula (1), μ and σ are the mean and standard deviation of the original data set respectively;
[0020] S2.4: Perform zero mean conversion: translate the image so that the center of all data after translation is (0,0);
[0021] S2.5: Cross-validation: Group the data processed in step S2.3, set up training sets and validation sets or test sets respectively, first train the classifier with the training set, then use the validation set to test the trained model, and determine the performance indicators for evaluating the classifier.
[0022] Wherein, the S3 comprises the following steps:
[0023] S3.1: The overall structure of the network model is an encoder-decoder structure, in which the encoder extracts the deep features of the four modalities at different levels in parallel, and uses the feature fusion module to fuse the information of the four feature maps at the same level. The feature fusion module includes the RFB receptive field module. First, the feature maps of the four different modalities are spliced on the channel layer. This part is the RFB module. RFB introduces hole convolution layers with different kernel sizes to increase the receptive field.
[0024] S3.2: The feature fusion module also includes the 3D-SE module, which is as follows:
[0025] S3.2.1: Compression: Since each unit of feature v cannot use the contextual information of other units R, the global spatial information is compressed into a channel descriptor through global average pooling. The spatial dimension H×W of R is statistically generated by the following method. The formula is as follows:
[0026]
[0027] Among them, R c represents the cth element of R;
[0028] S3.2.2: Excitation: Use the channel descriptors obtained in step S3.2.1 to obtain channel correlation. This operation obtains the weight of each channel through the parameter W and establishes a correlation model between channels. This step adopts a simple gating mechanism with a sigmoid activation, and the formula is as follows:
[0029] l=F ex (R,W)=σ(g(R,W))=σ(W2δ(W1R)) (3);
[0030] Among them, δ represents the ReLU function. This step consists of two full convolutional layers, one is a dimensionality reduction layer, including parameter W1 with dimensionality reduction rate r, and the other is a ReLU with parameter W2 and a dimensionality reduction layer. The final output channel coefficient is obtained through the activation function. The activation function formula is as follows:
[0031]
[0032] Among them, F sc It is channel multiplication;
[0033] S3.2.3: Obtain the channel coefficient through steps S3.2.1 and S3.3.2, and perform new weighting on the feature v mentioned in step S3.2.1.
[0034] S3.3: The encoder of the network model includes a bottleneck structure and a downsampling module. The bottleneck structure contains three repeated basic units, namely, a 3D convolution layer, a batch normal layer, and a ReLU layer. The ReLU function formula is as follows:
[0035] f(x)=max(0,x) (5);
[0036] A short connection is added after the Batch Normal layer to form a residual unit. Each residual unit is expressed by the following formula:
[0037] Y i =h(X i )+F(X i ,W i ) (6);
[0038] X i+1 =f(Y i ) (7);
[0039] Among them, X i and X i+1 represents the input and output of the i-th residual unit, F(·) represents the residual function, h(X i ) represents an identity mapping function, f(Y i ) represents the activation function;
[0040] The downsampling module reduces the resolution of the feature map to half of its original resolution;
[0041] S3.4: The decoder is mainly composed of an upsampling module and a long connection structure. The upsampling module gradually restores the resolution of the feature map to the original input. The long connection connects the output of the feature fusion module with the upsampling output. The final output of the network model is a binary image.
[0042] The specific steps of step S4 are as follows:
[0043] S4.1: Use the network model in step S3 to train the model on the preprocessed training set, improve the model effect by adjusting parameters, and save the network model;
[0044] S4.2: Put the test set into the above-mentioned trained network model for prediction, and output the automatically segmented breast mass area.
[0045] The evaluation index in step S5 includes the quantitative evaluation index Intersection Over Union (IoU) and Dice Similarity Coefficient (DSC), and step S5 includes the following steps:
[0046] S5.1. Evaluate the performance of this method: First, select the classic quantitative evaluation index intersection over union to quantify the segmentation results. IoU is an important evaluation index in semantic segmentation. It calculates the ratio of the intersection of the tumor area predicted by the segmentation network and the tumor area in the label to the union part. The formula is as follows:
[0047]
[0048] S5.2, so the Dice Similarity Coefficient (DSC) evaluation index is selected to quantify the segmentation results. The formula is as follows:
[0049]
[0050] The beneficial effects of the above technical solution of the present invention are as follows:
[0051] The present invention reduces the reliance on prior knowledge by automatically extracting effective features while avoiding the incompleteness and active bias of artificial feature extraction, thereby improving the accuracy of automatic segmentation of breast masses, thereby assisting doctors in diagnosis and decision-making and reducing their workload. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a schematic diagram of the process of the present invention;
[0053] Figure 2 It is a schematic diagram of breast mass segmentation of the present invention;
[0054] Figure 3 It is a schematic diagram of the cropped image of the present invention;
[0055] Figure 4 It is a schematic diagram of the feature fusion module of the present invention;
[0056] Figure 5 It is a schematic diagram of the network model based on multimodal feature fusion Vnet of the present invention;
[0057] Figure 6 This is a schematic diagram comparing the automatic segmentation results and the doctor's manual marking segmentation. DETAILED DESCRIPTION
[0058] In order to make the technical problems to be solved, technical solutions and advantages of the present invention more clear, a detailed description is given below with reference to the accompanying drawings and specific embodiments.
[0059] like Figure 1 As shown, the present invention provides a breast mass segmentation method based on multimodal feature fusion Vnet, comprising the following steps:
[0060] S1: A dataset of breast MRI images and breast mass segmentation results manually marked by doctors, mainly including four different modalities of breast dynamic scanning MRI images, namely dynamic scanning phase 1, dynamic scanning phase 2, dynamic scanning phase 4, and dynamic scanning phase 6;
[0061] S2: Data preprocessing, dividing the data in the data set;
[0062] S3: Construct a network model based on multimodal feature fusion Vnet;
[0063] S4: training the network model of step S3, adjusting parameters, and obtaining a predicted breast mass segmentation result;
[0064] S5: Use the set evaluation index and loss function to compare the predicted breast mass segmentation result obtained in step S4 with the breast mass segmentation result manually marked by the doctor in step S1 to verify the effectiveness of the segmentation method.
[0065] The specific steps in step S1 are:
[0066] S1.1: The dataset consists of 201 three-dimensional T1-weighted dynamic scanning magnetic resonance images of breasts randomly collected from a hospital, including low-, medium-, and high-risk cases, as well as cases with benign and malignant tumors. The dynamic scanning magnetic resonance images of the same case include images of multiple time periods before and after the injection of contrast agents. The dataset is established;
[0067] S1.2: If Figure 2 As shown, a dataset image manually labeled by a doctor is obtained, and the breast mass area is three-dimensionally segmented using ITK-SNAP software.
[0068] The step S2 comprises the following steps:
[0069] S2.1: Resampling: Since the actual spatial size spacing represented by a single voxel in different images in the dataset is inconsistent, in order to avoid differences, it is necessary to resample different images in the dataset, use the median of the different spacings of each image in the dataset to determine the target spatial size of the resampling, and determine the target size of each image based on the target spacing, and finally adjust each image;
[0070] S2.2: Image cropping: Cropping the image into a uniform size of 64*64*64 to obtain a cropped image, and then segmenting the cropped image. This will not affect the segmentation result, but it can reduce the input of the network. The size after cropping is as follows: Figure 3 As shown;
[0071] S2.2: Image cropping: crop the image into a uniform size of 64*64*64 to obtain a cropped image;
[0072] S2.3: Standardization: grayscale normalization is performed, using zero mean standardization (Z-score standardization), the formula is as follows:
[0073]
[0074] In formula (1), μ and σ are the mean and standard deviation of the original data set respectively;
[0075] S2.4: Perform zero mean conversion: translate the image so that the center of all data after translation is (0,0);
[0076] S2.5: Cross-validation: Group the data processed in step S2.3, set up training sets and validation sets or test sets respectively, first train the classifier with the training set, then use the validation set to test the trained model, and determine the performance indicators for evaluating the classifier.
[0077] The S3 comprises the following steps:
[0078] S3.1: The overall structure of the network model is an encoder-decoder structure, in which the encoder extracts the deep features of the four modalities at different levels in parallel, and uses a feature fusion module to fuse the information of the four feature maps at the same level. The feature fusion module includes an RFB receptive field module; Figure 4 As shown in the figure, the feature maps of four different modes are first concatenated on the channel layer. This part is the RFB module. RFB introduces hole convolution layers with different kernel sizes to increase the receptive field, including convolution kernels of 1×1×1, 3×3×3, and 5×5×5 respectively.
[0079] S3.2: The feature fusion module also includes the 3D-SE module, which is as follows:
[0080] S3.2.1: Compression: Since each unit of feature v cannot use the contextual information of other units R, the global spatial information is compressed into a channel descriptor through global average pooling. The spatial dimension H×W of R is statistically generated by the following method. The formula is as follows:
[0081]
[0082] Among them, R c represents the cth element of R;
[0083] S3.2.2: Excitation: Use the channel descriptors obtained in step S3.2.1 to obtain channel correlation. This operation obtains the weight of each channel through the parameter W and establishes a correlation model between channels. This step adopts a simple gating mechanism with a sigmoid activation, and the formula is as follows:
[0084] l=F ex (R,W)=σ(g(R,W))=σ(W2δ(W1R)) (3);
[0085] Among them, δ represents the ReLU function. This step consists of two full convolutional layers, one is a dimensionality reduction layer, including parameter W1 with dimensionality reduction rate r, and the other is a ReLU with parameter W2 and a dimensionality reduction layer. The final output channel coefficient is obtained through the activation function. The activation function formula is as follows:
[0086]
[0087] Among them, F sc It is channel multiplication;
[0088] S3.2.3: Obtain the channel coefficient through steps S3.2.1 and S3.3.2, and perform new weighting on the feature v mentioned in step S3.2.1.
[0089] S3.3: The encoder of the network model includes a bottleneck structure and a downsampling module. The bottleneck structure contains three repeated basic units, namely, a 3D convolution layer, a batch normal layer, and a ReLU layer. The ReLU function formula is as follows:
[0090] f(x)=max(0,x) (5);
[0091] A short connection is added after the Batch Normal layer to form a residual unit. Each residual unit is expressed by the following formula:
[0092] Y i =h(X i )+F(X i ,W i ) (6);
[0093] X i+1 =f(Y i ) (7);
[0094] Among them, X i and Xi+1 represents the input and output of the i-th residual unit, F(·) represents the residual function, h(X i ) represents an identity mapping function, f(Y i ) represents the activation function;
[0095] The downsampling module reduces the resolution of the feature map to half of its original resolution;
[0096] S3.4: The decoder is mainly composed of an upsampling module and a long connection structure. The upsampling module gradually restores the resolution of the feature map to the original input. The long connection connects the output of the feature fusion module with the output of the upsampling. The final output of the network model is a binary image. The above is the specific structure of the multimodal feature fusion Vnet network model. Figure 5 shown.
[0097] The specific steps of step S4 are:
[0098] S4.1: Use the network model in step S3 to train the model on the preprocessed training set, improve the model effect by adjusting parameters, and save the network model;
[0099] S4.2: Put the test set into the above-mentioned trained network model for prediction, and output the automatically segmented breast mass area.
[0100] The evaluation index in step S5 includes the quantitative evaluation index Intersection Over Union (IoU) and Dice Similarity Coefficient (DSC), and step S5 includes the following steps:
[0101] S5.1. Evaluate the performance of this method: First, select the classic quantitative evaluation index intersection over union to quantify the segmentation results. IoU is an important evaluation index in semantic segmentation. It calculates the ratio of the intersection of the tumor area predicted by the segmentation network and the tumor area in the label to the union part. The formula is as follows:
[0102]
[0103] S5.2, so the Dice Similarity Coefficient (DSC) evaluation index is selected to quantify the segmentation results. The formula is as follows:
[0104]
[0105] The experimental results are shown in the following table, which shows the quantitative evaluation results obtained by fusion prediction of image features of four different modalities in the data set under the comparison method 1 using the 3D-Unet segmentation network, method 2 using the Vnet segmentation network, and the MFF-Vnet segmentation network proposed in this paper, and evaluating the results based on the two evaluation indicators of IOU and Dice similarity coefficient. By analyzing the evaluation results, it can be found that the method of the present invention is better than the Vnet method and the 3D-Unet method, and can effectively improve the accuracy of automatic segmentation of breast masses.
[0106]
[0107] like Figure 6 As shown in the figure, it can be seen from the comparison diagram of the automatic segmentation results and the segmentation manually marked by the doctor that the breast mass segmentation method based on multimodal feature fusion Vnet in the present invention has a high segmentation accuracy, can effectively assist doctors in making relevant diagnoses and decisions, and reduce the burden on doctors. It has a strong application value in breast mass auxiliary diagnosis, surgical simulation and medical teaching.
[0108] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A breast mass segmentation method based on multimodal feature fusion Vnet, It is characterized in that The following steps are involved: S1: A dataset of breast magnetic resonance images and breast mass segmentation results manually marked by doctors; S2: Data preprocessing, dividing the data in the data set; S3: Construct a network model based on multimodal feature fusion Vnet; S4: training the network model of step S3, adjusting parameters, and obtaining a predicted breast mass segmentation result; S5: using the set evaluation index and loss function to compare the predicted breast mass segmentation result obtained in step S4 with the breast mass segmentation result manually marked by the doctor in step S1, to verify the effectiveness of the segmentation method; The S3 comprises the following steps: S3.1: The overall structure of the network model is an encoder-decoder structure, in which the encoder extracts the deep features of the four modalities at different levels in parallel, and uses the feature fusion module to fuse the information of the four feature maps at the same level. The feature fusion module includes the RFB receptive field module. First, the feature maps of the four different modalities are spliced on the channel layer. This part is the RFB module. RFB introduces hole convolution layers with different kernel sizes to increase the receptive field. S3.2: The feature fusion module also includes the 3D-SE module, which is as follows: S3.2.1: Compression: Since each unit of feature v cannot use the contextual information of other units R, the global spatial information is compressed into a channel descriptor through global average pooling. The spatial dimension H×W of R is statistically generated by the following method. The formula is as follows: Among them, R c represents the cth element of R; S3.2.2: Excitation: Use the channel descriptors obtained in step S3.2.1 to obtain channel correlation. This operation obtains the weight of each channel through the parameter W and establishes a correlation model between channels. This step adopts a simple gating mechanism with a sigmoid activation, and the formula is as follows: l=F ex (R,W)=σ(g(R,W))=σ(W 2 δ(W 1 R)) (3); Among them, δ represents the ReLU function. This step consists of two full convolutional layers, one is a dimension reduction layer, including the parameter W with the dimension reduction rate r 1 , and the other is with parameter W 2 The ReLU and dimensionality reduction layers, the final output channel coefficient is obtained through the activation function, the activation function formula is as follows: Among them, F sc It is channel multiplication; S3.2.3: Obtain the channel coefficient through steps S3.2.1 and S3.3.2, and perform new weighting on the feature v mentioned in step S3.2.1; S3.3: The encoder of the network model includes a bottleneck structure and a downsampling module. The bottleneck structure contains three repeated basic units, namely, a 3D convolution layer, a Batchnormal layer, and a ReLU layer. The ReLU function formula is as follows: f(x)=max(0,x) (5); A short connection is added after the Batch Normal layer to form a residual unit. Each residual unit is expressed by the following formula: Y i =h(X i )+F(X i ,W i ) (6); X i+1 =f(Y i ) (7); Among them, X i and X i+1 represents the input and output of the i-th residual unit, F(·) represents the residual function, h(X i ) represents an identity mapping function, f(Y i ) represents the activation function; The downsampling module reduces the resolution of the feature map to half of its original resolution; S3.4: The decoder is mainly composed of an upsampling module and a long connection structure. The upsampling module gradually restores the resolution of the feature map to the original input. The long connection connects the output of the feature fusion module with the upsampling output. The final output of the network model is a binary image.
2. The breast mass segmentation method based on multimodal feature fusion Vnet according to claim 1, It is characterized in that The specific steps of step S1 are: S1.1: Acquire 3D T1-weighted breast MRI images of multiple cases, including low-, intermediate-, and high-risk cases, as well as cases with benign and malignant tumors, and establish a dataset; S1.2: Obtain the doctor-labeled dataset images and use ITK-SNAP software to segment the breast mass area in three dimensions.
3. The breast mass segmentation method based on multimodal feature fusion Vnet according to claim 1, It is characterized in that The step S2 comprises the following steps: S2.1: Resampling: Resample different images in the dataset, use the median of different spacings of each image in the dataset to determine the target spatial size of the resampling, and determine the target size of each image based on the target spacing, and finally adjust each image; S2.2: Image cropping: crop the image into a uniform size of 64*64*64 to obtain a cropped image; S2.3: Standardization: grayscale normalization is performed, using zero mean standardization, the formula is as follows: In formula (1), μ and σ are the mean and standard deviation of the original data set respectively; S2.4: Perform zero mean conversion: translate the image so that the center of all data after translation is (0,0); S2.5: Cross-validation: Group the data processed in step S2.3, set up training sets and validation sets respectively, first train the classifier with the training set, then use the validation set to test the trained model, and determine the performance indicators for evaluating the classifier.
4. The breast mass segmentation method based on multimodal feature fusion Vnet according to claim 1, It is characterized in that The specific steps of step S4 are: S4.1: Use the network model in step S3 to train the model on the preprocessed training set, improve the model effect by adjusting parameters, and save the network model; S4.2: Put the test set into the above-mentioned trained network model for prediction, and output the automatically segmented breast mass area.
5. The breast mass segmentation method based on multimodal feature fusion Vnet according to claim 1, It is characterized in that The step S5 comprises the following steps: S5.1: Evaluate the performance of this method: First, select the classic quantitative evaluation index, intersection over union (IoU), to quantify the segmentation results; IoU is an important evaluation index in semantic segmentation, which calculates the ratio of the intersection of the tumor area predicted by the segmentation network and the tumor area in the label to the union part. The formula is as follows: S5.2: Therefore, the Dice similarity coefficient evaluation index is selected to quantify the segmentation results. The formula is as follows:
