Multimodal medical image segmentation method and device based on comparative learning, and medium

Through feature extraction and contrastive learning methods of multi-modal medical image data, combined with memory storage to dynamically update positive and negative samples, the accuracy and robustness problems of infant brain tissue segmentation methods in multi-modal image processing in the existing technology are solved. Improved edge detail recognition capabilities and achieved more efficient brain tissue segmentation.

CN118762032APending Publication Date: 2024-10-11SUZHOU INST OF BIOMEDICAL ENG & TECH CHINESE ACADEMY OF SCI
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410754660.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing deep learning-based infant brain tissue segmentation methods have problems such as reduced segmentation accuracy, loss of feature information and noise interference when processing multi-modal medical images. Especially in the processing of fine structures in edge areas, it is difficult to improve segmentation accuracy and rashness. Great sex.

Method used

Multi-modal medical image data is used for feature extraction. Through dense convolution modules and contrastive learning methods, combined with memory storage, positive and negative samples are dynamically updated to enhance the feature learning ability of the deep learning network and improve the perception of the edges of brain tissue.

Benefits of technology

Through the fusion of multi-modal information and contrastive learning methods, the accuracy and robustness of brain tissue segmentation are improved, the ability to identify edge details is enhanced, and the segmentation accuracy and model stability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762032A_ABST
    Figure CN118762032A_ABST
Patent Text Reader

Abstract

The invention provides a multi-modal medical image segmentation method and device based on comparative learning, and a medium, and the method comprises the steps: employing multi-modal medical image data in a deep learning network input part, carrying out the feature extraction of the data of two modals through a convolution module and a dense convolution module, and carrying out the feature splicing operation, thereby achieving the segmentation of a multi-modal medical image. On the other hand, the high-dimensional features fused with multi-modal information are input into a segmentation module to obtain a probability graph, on the other hand, the fused high-dimensional features are input into a projection head, voxels at the edge of a tissue are selected as samples based on voxel embedding and categories in real tags, anchor point sampling is carried out, and a queue named as memory storage is introduced to store voxel embedding. The recognition capability of the brain tissue edge is enhanced through voxel-level contrast learning, so that the precision and robustness of brain tissue segmentation are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a multimodal medical image segmentation method, device and medium based on contrast learning. Background Art

[0002] Infant brain tissue segmentation is crucial for a deeper understanding of infant brain structure, early detection and treatment of neurodevelopmental diseases. Magnetic resonance imaging has the advantages of no radiation, high spatial resolution, and high contrast for soft tissue imaging, and is used in the diagnosis and research of infant brain diseases. Brain tissue segmentation refers to the process of segmenting different tissue structures in brain images such as gray matter, white matter, cerebrospinal fluid, etc. using computer image processing technology. This technology can help scientists and doctors better understand the structure, function and abnormal changes of infant brains, and help study and diagnose brain diseases.

[0003] Traditional methods for infant brain tissue segmentation are divided into methods based on brain tissue probability maps, methods based on deformable models, and methods based on machine learning. In recent years, deep learning technology has developed rapidly and has become the mainstream method in the field of medical image segmentation. Among them, convolutional neural networks have been widely used in the field of medical image segmentation due to their local perception and parameter sharing characteristics. However, existing deep learning-based brain tissue segmentation methods still face some challenges when dealing with fine structures at the edges of brain tissue. For example, due to the complex and subtle intensity changes in the edge area, the capture of edge details is not accurate enough, which may lead to blurred or misaligned edges. This, to a certain extent, limits the improvement of the accuracy of fine structure segmentation of brain tissue.

[0004] For example, a Chinese patent with application number CN202310423874.7 and invention name "Fetal brain MRI segmentation method based on deep contrastive learning" discloses a model training method including: constructing a brain tissue segmentation model; obtaining at least one training sample and at least one semantic segmentation truth map; extracting features from the training samples to obtain a feature map; generating a boundary key point map based on the semantic segmentation truth map; guiding the training process of the feature extraction network through a contrastive learning branch; using the feature map as the input of the segmentation output branch to obtain a segmentation result; and adjusting the parameters of the brain tissue segmentation model through a back propagation algorithm to obtain the infant brain tissue segmentation model based on deep contrastive learning.

[0005] The above patent has the following problems in segmentation accuracy and robustness:

[0006] 1. If the input image does not use multimodal medical image data, the segmentation accuracy will decrease. This is because multimodal medical image data can help provide rich structural information of brain tissue. For example, T1-weighted images show clear gray matter and white matter tissue, and T2-weighted images show cerebrospinal fluid with high-intensity signals.

[0007] 2. The deep learning network uses U-Net. In the segmentation of infant brain tissue, the downsampling process of U-Net will cause feature information loss. For example, the features of some thinner and narrower white matter tissues will be lost, resulting in a decrease in segmentation accuracy.

[0008] 3. Contrastive learning is used, but memory bank is not used. This may cause information forgetting in feature learning and may be easily affected by noise when processing new or complex brain images, resulting in decreased segmentation accuracy and robustness. Summary of the invention

[0009] In order to achieve the above-mentioned object and other advantages of the present invention, a first object of the present invention is to provide a multimodal medical image segmentation method based on contrastive learning, comprising the following steps:

[0010] Acquire multimodal magnetic resonance image data and divide them into training sets and test sets;

[0011] The data of the training set is input into the initial convolution module, and preliminary feature extraction is performed on the data of the two modalities to obtain respective shallow features;

[0012] The shallow features of the two modalities are input into the dense convolution module respectively to obtain the high-dimensional features of the two modalities;

[0013] The high-dimensional features of the two modalities are concatenated to obtain high-dimensional features that integrate multi-modal information;

[0014] The high-dimensional features integrating multimodal information are input into the segmentation module to obtain a probability map;

[0015] Inputting high-dimensional features fused with multimodal information into a projection head, mapping the high-dimensional features into a feature embedding space, and obtaining voxel embedding;

[0016] The overall loss is calculated by using the probability map and the voxel embedding, and a segmentation model is obtained by training;

[0017] The data of the test set is input into the segmentation model to obtain the final segmentation result.

[0018] Furthermore, the dense convolution module processes the shallow features of the two modalities by the following steps:

[0019] Receive shallow features from two modalities and perform concatenation operations;

[0020] Normalize the concatenated features and then perform nonlinear transformation through the ReLU activation function;

[0021] Feature extraction is performed through multiple dual-channel dense convolution structure modules to obtain high-dimensional features of two modalities.

[0022] Furthermore, the step of inputting the high-dimensional features fused with multimodal information into the projection head, mapping the high-dimensional features into the feature embedding space, and obtaining voxel embedding comprises the following steps:

[0023] Use voxels that are difficult to predict as correct anchor points to achieve anchor point sampling;

[0024] Voxels are randomly selected within the edge region to achieve positive and negative sample sampling.

[0025] Furthermore, the anchor point sampling includes:

[0026] If the true label of a voxel is not equal to the label predicted by the model, the voxel is difficult to predict correctly and the voxel is used as an anchor point.

[0027] Furthermore, the positive and negative sample sampling includes the following steps:

[0028] Set up a queue with a preset capacity, record it as memory storage and perform initialization processing;

[0029] At the beginning of training, for each class, a fixed number of voxels are randomly selected from each image patch in the mini-batch and put into the memory storage queue;

[0030] When the total number of positive and negative samples exceeds the preset capacity, the memory storage is updated.

[0031] Furthermore, the overall loss includes voxel-level cross entropy loss, voxel-level Di ce loss and voxel-level contrast loss.

[0032] Furthermore, the calculation of the voxel-level cross entropy loss includes:

[0033] The voxel-level cross entropy loss is calculated by voxels, the actual labels of voxels and the model predicted labels. The formula is:

[0034]

[0035] Where N is the total number of voxels i, δ{c i =c} is the indicator function, c is the category to which voxel i is classified, C is the set of all possible categories, c i is the true label, y i Predict labels for the model;

[0036] The calculation formula of the voxel-level Dice loss is:

[0037]

[0038] Combining the voxel-level cross entropy loss and the voxel-level Dice loss, the loss of the segmentation part is obtained:

[0039] L SEG =L ce +λ1L dice ,

[0040] Among them, λ1 is an adjustable specific gravity parameter;

[0041] The calculation formula of the voxel-level contrast loss is:

[0042]

[0043] Among them, voxel i is used as the anchor point, i + and i - represent positive sample voxels and negative sample voxels respectively, and They represent the voxel embedding sets of positive and negative samples of voxel i respectively, and t is the temperature coefficient.

[0044] Furthermore, the calculation formula of the overall loss is:

[0045]

[0046] Among them, λ and λ2 are adjustable specific gravity parameters.

[0047] The second object of the present invention is to provide an electronic device, comprising: a memory on which a program code is stored; a processor connected to the memory and implementing the above method when the program code is executed by the processor.

[0048] A third object of the present invention is to provide a computer-readable storage medium having program instructions stored thereon, wherein the program instructions implement the above method when executed.

[0049] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0050] The present invention provides a multimodal medical image segmentation method, device and medium based on contrastive learning, which provides rich structural information of brain tissue through multimodal hospital image data, and more freely learns complex combinations between modalities and within and between all abstract levels through a dense convolutional network structure. The deep learning network's perception of the edge of brain tissue is enhanced through a contrastive learning method, and memory storage is used in contrastive learning to dynamically update positive and negative samples, providing strong support for the contrastive learning of the model, thereby improving the segmentation accuracy and robustness of brain tissue.

[0051] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. The specific implementation of the present invention is given in detail by the following embodiments and their accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0053] Figure 1 This is a flow chart of a multimodal medical image segmentation method based on contrastive learning in Example 1;

[0054] Figure 2 This is the overall network framework diagram of Example 1;

[0055] Figure 3 The dense convolution module of Example 1 processes shallow features of two modes.

[0056] Figure 4 A flowchart of mapping features to feature embedding space for the projection head of Example 1;

[0057] Figure 5 is a schematic diagram of an electronic device of Example 2;

[0058] Figure 6 This is a schematic diagram of the storage medium of Example 3. DETAILED DESCRIPTION

[0059] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.

[0060] In the following description, suffixes such as "component" or "unit" used to indicate elements are used only to facilitate the description of the present invention, and have no specific meanings by themselves. Therefore, "component" or "unit" may be used mixedly.

[0061] Example 1

[0062] Multimodal medical image segmentation methods based on contrastive learning, such as Figure 1 , Figure 2 As shown, the following steps are included:

[0063] S1. Acquire multimodal magnetic resonance image data and divide them into training set and test set;

[0064] S2, input the data of the training set into the initial convolution module, perform preliminary feature extraction on the data of the two modalities respectively, and obtain their respective shallow features;

[0065] S3, input the shallow features of the two modalities into the dense convolution module respectively to obtain the high-dimensional features of the two modalities;

[0066] like Figure 3 As shown in Figure 2, the dense convolution module processes the shallow features of the two modalities in the following steps:

[0067] S31, in the dense convolution module, shallow features from two modalities are received and concatenated;

[0068] S32, normalize the concatenated features, and then perform nonlinear transformation through the ReLU activation function;

[0069] S33, extract features through multiple dual-channel dense convolution structure modules to obtain high-dimensional features of two modalities. Specifically, further extract features through two 3×3 convolution structures, each dense convolution module will output features of two modalities, and these features will serve as inputs for the next dense convolution module. The entire network structure contains a total of 8 dense convolution modules, and after processing by these dense convolution modules, high-dimensional features of two modalities are finally obtained.

[0070] S4, concatenating the high-dimensional features of the two modalities to obtain high-dimensional features that integrate multi-modal information;

[0071] The high-dimensional features that integrate multimodal information are processed through segmentation network branches, including:

[0072] S5. Input the high-dimensional features that fuse the multimodal information into the segmentation module to obtain a probability map. In this embodiment, the segmentation module is mainly composed of three 1×3 convolution blocks, and after dimensionality reduction processing, a probability map is obtained. The probability map will be used as the input of the voxel-level cross entropy loss together with the true label.

[0073] The high-dimensional features that integrate multimodal information are processed through contrastive learning network branches, including:

[0074] S6, input the high-dimensional features that integrate multimodal information into the projection head, and map the high-dimensional features to the feature embedding space. This process includes batch normalization, ReLU activation function, 3×3 convolution, and L2 regularization, and finally obtains voxel embedding. Specifically, Figure 4 As shown, the following steps are included:

[0075] S61. Use the voxels that are difficult to predict correctly as anchor points to implement anchor point sampling; specifically, for voxel i, there is a true label ci and the model predicts the label y i , if the true label of the voxel is not equal to the model predicted label, then the voxel i is difficult to predict the correct voxel, and taking the difficult-to-predict correct voxel as an anchor will bring greater contribution. Therefore, such an anchor sampling strategy makes contrastive learning more focused on edge difficult-to-predict correct voxels, providing more valuable segmentation-aware embedding.

[0076] S62, based on randomly selecting voxels in the edge area, to achieve positive and negative sample sampling. Specifically, positive and negative sample sampling is based on randomly selecting voxels in the edge area. In order to achieve this sampling process, a queue with a capacity of V is set, called memory storage, and it is initialized. The role of memory storage is to store positive and negative samples in the training process so that the model can effectively use these data for learning in subsequent iterations. At the beginning of training, in order to store positive and negative samples, for each class, in the minimum batch, a fixed number of voxels M are randomly selected from each image block, and these voxels are placed in the memory storage queue. In this way, a certain number of positive and negative samples are accumulated in the memory storage, providing initial data support for the training of the model. As the training progresses, the number of samples in the memory storage will gradually increase. When the total number of positive and negative samples exceeds the set capacity V, the memory storage is updated to remove some samples that are no longer needed to ensure that the samples in the queue are always the latest and most representative. The specific update strategy adopts the first-in-first-out principle to remove the samples that enter the queue earliest.

[0077] S7. Calculate the overall loss through the probability map and voxel embedding, and obtain the segmentation model through training. Specifically, the overall loss includes voxel-level cross entropy loss, voxel-level Dice loss, and voxel-level contrast loss.

[0078] Among them, voxel-level cross entropy loss: For the segmentation task, it can be regarded as a classification problem. Each voxel i in the image I is classified into a category c∈C, where C is the set of all possible classes. Each voxel i has a true label c i , which is the true class to which the voxel belongs, and the model predicted label y i , which is the model's predicted probability distribution of the class to which the voxel belongs. During training, the cross entropy loss is minimized so that y i As close to c as possible i The voxel-level cross entropy loss is defined as:

[0079]

[0080] Where N is the total number of voxels i, δ{c i =c} is the indicator function, when c i = c, returns 1, when ci ≠c, returns 0, which actually implements the one-hot encoding of the true label, c is the category to which voxel i is classified, C is the set of all possible categories, c i is the true label, y i Predict labels for the model;

[0081] Voxel-level Dice loss: Dice loss can measure the degree of overlap between two samples. In image segmentation, it is used to compare the similarity between model predictions and true labels. The voxel-level segmentation loss is defined as:

[0082]

[0083] In summary, combining the voxel-level cross entropy loss and the voxel-level Di ce loss, we get the loss of the segmentation part:

[0084] L SEG =L ce +λ1L dice ,

[0085] Among them, λ1 is an adjustable specific gravity parameter;

[0086] Voxel-level contrast loss: For voxel i, the true label c i , voxel i and other voxels belonging to c i The voxel is a positive sample voxel, and voxel i and other different voxels belong to c i The voxels of are negative sample voxels. In the context of full supervision, the voxel-level contrastive learning loss is defined as:

[0087]

[0088] Among them, voxel i is used as the anchor point, i + and i - represent positive sample voxels and negative sample voxels respectively, and They represent the voxel embedding sets of positive and negative samples of voxel i, respectively, and t is the temperature coefficient. The formula can borrow the method of learning embedding space to bring voxels of the same type closer and voxels of different types farther away.

[0089] Overall loss: Voxel-level cross entropy loss and voxel-level contrastive learning loss complement each other. The former allows the network to learn the features that distinguish voxels, while the latter learns the global semantic information of voxel relationships, improving the intra-class compactness and inter-class separability of the embedding space, thereby standardizing the embedding space. Therefore, the training objectives are:

[0090]

[0091] Among them, λ and λ2 are adjustable specific gravity parameters.

[0092] The present invention designs a contrast loss function so that the network minimizes the distance between voxels of the same category in the edge area during training, and maximizes the distance between voxels of different categories in the edge area, learns the subtle differences between different brain tissues, refines the edges of brain tissues, and improves the ability to extract brain tissue edge information.

[0093] S8. Input the data of the test set into the segmentation model to obtain the final segmentation result.

[0094] Different methods are used for multimodal medical image segmentation, and the Dice index of brain tissue segmentation accuracy is compared. The comparison of the Dice index of brain tissue segmentation accuracy is shown in Table 1. It can be concluded that the Dice index of brain tissue segmentation accuracy is better when the model proposed in the present invention is used for multimodal medical image segmentation.

[0095] Table 1 Comparison of Dice indicators for brain tissue segmentation accuracy

[0096]

[0097]

[0098] The present invention provides a multimodal medical image segmentation method based on contrastive learning. Multimodal medical image data is used in the input part of a deep learning network. Feature extraction is performed on the data of two modalities through convolution and dense convolution modules respectively, and then a feature splicing operation is performed to obtain a high-dimensional feature that integrates multimodal information. The high-dimensional feature is input into a segmentation module to obtain a probability map. On the other hand, the fused high-dimensional feature is input into a projection head. Based on the voxel embedding and the category in the true label, the voxels at the edge of the tissue are selected as samples, and anchor sampling is performed. A queue called memory storage is introduced to store the voxel embedding. The recognition ability of the edge of brain tissue is enhanced through voxel-level contrastive learning, thereby improving the accuracy and robustness of brain tissue segmentation.

[0099] Example 2

[0100] An electronic device, such as Figure 5 As shown, it includes: a memory on which program code is stored; a processor connected to the memory, and when the program code is executed by the processor, a multimodal medical image segmentation method based on contrast learning is implemented. For a detailed description of the method, reference can be made to the corresponding description in the above method embodiment, which will not be repeated here.

[0101] Example 3

[0102] A computer readable storage medium such as Figure 6As shown, program instructions are stored thereon, and when the program instructions are executed, a multimodal medical image segmentation method based on contrastive learning is implemented. For a detailed description of the method, reference may be made to the corresponding description in the above method embodiment, and no further description is given here.

[0103] The number of devices and processing scales described here are used to simplify the description of the present invention. Applications, modifications and variations of the present invention will be obvious to those skilled in the art.

[0104] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and implementation modes. They can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to the specific details and the illustrations shown and described herein.

[0105] The apparatus, electronic device, non-volatile computer storage medium and method provided in the embodiments of this specification correspond to each other, and therefore, the apparatus, electronic device and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, electronic device and non-volatile computer storage medium will not be repeated here.

[0106] Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, the controller can be made to implement the same function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software units for implementing the method and structures within the hardware component.

[0107] The systems, devices or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. For the convenience of description, the above devices are described separately by functions in various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or more software and / or hardware.

[0108] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0109] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0113] The specification may be described in the general context of computer-executable instructions executed by a computer, such as program units. Generally, program units include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program units may be located in local and remote computer storage media, including storage devices.

[0114] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0115] The above description is only an embodiment of this specification and is not intended to limit one or more embodiments of this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of one or more embodiments of this specification.

Claims

1. A multimodal medical image segmentation method based on contrastive learning, characterized in that: The following steps are involved: Acquire multimodal magnetic resonance image data and divide them into training sets and test sets; The data of the training set is input into the initial convolution module, and preliminary feature extraction is performed on the data of the two modalities respectively to obtain respective shallow features; The shallow features of the two modalities are input into the dense convolution module respectively to obtain the high-dimensional features of the two modalities; The high-dimensional features of the two modalities are concatenated to obtain high-dimensional features that integrate multi-modal information; The high-dimensional features integrating multimodal information are input into the segmentation module to obtain a probability map; Inputting high-dimensional features fused with multimodal information into a projection head, mapping the high-dimensional features into a feature embedding space, and obtaining voxel embedding; The overall loss is calculated by using the probability map and the voxel embedding, and a segmentation model is obtained by training; The data of the test set is input into the segmentation model to obtain the final segmentation result.

2. The multimodal medical image segmentation method based on contrastive learning according to claim 1, characterized in that: The dense convolution module processes the shallow features of the two modalities by the following steps: Receive shallow features from two modalities and perform concatenation operations; Normalize the concatenated features and then perform nonlinear transformation through the ReLU activation function; Feature extraction is performed through multiple dual-channel dense convolution structure modules to obtain high-dimensional features of two modalities.

3. The multimodal medical image segmentation method based on contrastive learning according to claim 1, characterized in that: The step of inputting the high-dimensional features of the fused multimodal information into the projection head, mapping the high-dimensional features into the feature embedding space, and obtaining the voxel embedding comprises the following steps: Use voxels that are difficult to predict as correct anchor points to achieve anchor point sampling; Voxels are randomly selected within the edge region to achieve positive and negative sample sampling.

4. The multimodal medical image segmentation method based on contrastive learning as claimed in claim 3, characterized in that: The anchor point sampling includes: If the true label of a voxel is not equal to the label predicted by the model, the voxel is difficult to predict correctly and the voxel is used as an anchor point.

5. The multimodal medical image segmentation method based on contrastive learning as claimed in claim 4, characterized in that: The positive and negative sample sampling comprises the following steps: Set up a queue with a preset capacity, record it as memory storage and perform initialization processing; At the beginning of training, for each class, a fixed number of voxels are randomly selected from each image patch in the mini-batch and put into the memory storage queue; When the total number of positive and negative samples exceeds the preset capacity, the memory storage is updated.

6. The multimodal medical image segmentation method based on contrastive learning according to claim 5, characterized in that: The overall loss includes voxel-level cross entropy loss, voxel-level Dice loss and voxel-level contrast loss.

7. The multimodal medical image segmentation method based on contrastive learning according to claim 6, characterized in that: The calculation of the voxel-level cross entropy loss includes: The voxel-level cross entropy loss is calculated by voxels, the actual labels of voxels and the model predicted labels. The formula is: Where N is the total number of voxels i, δ{c i =c} is the indicator function, c is the category to which voxel i is classified, C is the set of all possible categories, c i is the true label, y i Predict labels for the model; The calculation formula of the voxel-level Dice loss is: Combining the voxel-level cross entropy loss and the voxel-level Dice loss, the loss of the segmentation part is obtained: L SEG =L ce +λ1L dice , Among them, λ1 is an adjustable specific gravity parameter; The calculation formula of the voxel-level contrast loss is: Among them, voxel i is used as the anchor point, i + and i - represent positive sample voxels and negative sample voxels respectively, and They represent the voxel embedding sets of positive and negative samples of voxel i respectively, and t is the temperature coefficient.

8. The multimodal medical image segmentation method based on contrastive learning as claimed in claim 7, characterized in that: The calculation formula of the overall loss is: L TOTAL =L SEG +λ∑ i=1 L nce =L ce +λ1L dice +λ2∑ i=1 L nce , Among them, λ and λ2 are adjustable specific gravity parameters.

9. An electronic device, characterized in that: include: A memory having program code stored therein; A processor is connected to the memory, and when the program code is executed by the processor, the method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, characterized in that: Program instructions are stored thereon, and when the program instructions are executed, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Image processing method and device, electronic equipment, storage medium and program product

    CN119810472A

  • Hybrid supervision fusion method based on multi-modal medical data

    CN121121368A