Double-branch MRI (Magnetic Resonance Imaging) image reconstruction method and system based on contrast learning and storage medium
By decomposing and processing the low-frequency and high-frequency parts of MRI images through the contrastive learning dual-branch method, the problem of insufficient utilization of low-frequency and high-frequency information in the existing technology is solved, and high-quality MRI image reconstruction is achieved.
Patent Information
- Application Number
- CN202410908554.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-29
AI Technical Summary
Existing MRI reconstruction methods based on deep learning ignore the different characteristics of low-frequency and high-frequency information, resulting in missing or blurred image details, making it difficult to effectively utilize low-frequency and high-frequency information for reconstruction.
A dual-branch method based on contrastive learning is used to decompose MRI images into low-frequency and high-frequency parts, extract and process their respective features respectively, and distinguish and fuse low-frequency and high-frequency information through contrastive learning, and build a dual-branch reconstruction model to optimize the reconstruction process. .
It significantly improves the accuracy and quality of MRI image reconstruction, ensures full utilization of information in each frequency band, enhances the model's ability to identify different features, and improves the processing efficiency and accuracy of complex images.
Smart Images

Figure CN118864633A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and more specifically, to a dual-branch MRI image reconstruction method, system and storage medium based on contrast learning. Background Art
[0002] Magnetic resonance imaging (MRI) is becoming an indispensable tool for clinical diagnosis and medical research due to its radiation-free, high-resolution, and high-contrast characteristics. However, since MRI requires multiple radio frequency pulses to fill the k-space, it usually takes a longer acquisition time than other medical imaging methods such as X-rays or computed tomography, and is susceptible to motion artifacts. In order to improve the performance of MRI reconstruction, a variety of representative methods have been proposed in the past few decades, ranging from partial Fourier reconstruction, parallel imaging to sparse-driven compressed sensing and the recent deep learning-based models.
[0003] Partial Fourier reconstruction technology reduces acquisition time and artifacts by acquiring only part of the k-space data and reconstructing it using symmetry. However, this method has limited effect when processing images with high resolution and complex structures; parallel imaging technology uses multiple receiving coils to acquire data simultaneously and reconstructs it through specific algorithms, which effectively improves the acquisition speed and image quality. However, parallel imaging still has problems of noise enhancement and residual artifacts under high acceleration factors; compressed sensing technology can accurately reconstruct signals from a small amount of sampled data by utilizing the sparsity of signals. Compressed sensing methods are outstanding in reducing acquisition time, but are prone to image blurring and detail loss under high acceleration factors. In recent years, deep learning technology has made significant progress in medical image reconstruction. Deep learning-based methods, especially under high acceleration factors, have achieved faster reconstruction speeds and higher image quality through end-to-end training. For example, the deep unfolding model maps the steps of the traditional iterative reconstruction algorithm to the layers of the neural network, thereby achieving efficient image reconstruction.
[0004] Existing deep learning-based MRI reconstruction methods often ignore the different characteristics of low-frequency and high-frequency information and their importance in the reconstruction process. They are unable to optimize the low-frequency and high-frequency parts of the image separately, and it is difficult to effectively use the information of low-frequency and high-frequency images for reconstruction, which may lead to missing or blurred image details. Effective technical solutions are urgently needed to address the above problems. Summary of the invention
[0005] The purpose of the present invention is to provide a dual-branch MRI image reconstruction method, system and storage medium based on contrastive learning, which divides MRI images into low-frequency images and high-frequency images, optimizes them separately, and uses contrastive learning to distinguish the low-frequency and high-frequency parts, so as to better integrate the low-frequency and high-frequency information, thereby further improving the reconstruction effect and achieving high-quality MRI image reconstruction.
[0006] A first aspect of the present invention provides a dual-branch MRI image reconstruction method based on contrastive learning, comprising the following steps:
[0007] Acquire an undersampled image, wherein the undersampled image comprises an MRI image;
[0008] Extract the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image;
[0009] Establishing a dual-branch MRI reconstruction model based on a preset algorithm, and training the dual-branch MRI reconstruction model by using contrastive learning combined with image features of training images;
[0010] The under-sampled image is input into the trained dual-branch MRI reconstruction model to obtain a reconstructed image.
[0011] In this solution, obtaining an undersampled image specifically includes:
[0012] Acquire full-sample MRI images;
[0013] Performing a two-dimensional Fourier transform on the original single-channel two-dimensional image data of the full-sampling MRI image to obtain target frequency domain data in K space;
[0014] Randomly down-sample the target frequency domain data in the K space, retain the corresponding proportion of sampled data, and set the other position data to zero;
[0015] A two-dimensional inverse Fourier transform is performed on the randomly downsampled target frequency domain data to obtain a simulated under-sampled MRI image, which is used as the under-sampled image.
[0016] In this solution, extracting the undersampled image based on the feature extraction network to obtain the first feature and the second feature corresponding to the current image specifically includes:
[0017] Obtain the trained feature extraction network, wherein the feature extraction network is a deep neural network, the corresponding network structure includes multiple convolutional layers, pooling layers and fully connected layers, and the feature extraction network supports extracting image features of different frequency bands;
[0018] Based on the trained feature extraction network, feature extraction is performed on the undersampled image to obtain low-frequency band features and high-frequency band features, wherein the first feature corresponds to the low-frequency band feature, and the second feature corresponds to the high-frequency band feature.
[0019] In this solution, the dual-branch MRI reconstruction model is established based on a preset algorithm, specifically including:
[0020] Acquire a compressed sensing iterative algorithm to obtain the preset algorithm;
[0021] Obtaining a compressed sensing model based on the compressed sensing iterative algorithm;
[0022] Based on the compressed sensing model, the under-sampled image is subjected to gradient descent and proximal mapping processing to obtain a dual-branch MRI reconstruction model.
[0023] In this solution, the dual-branch MRI reconstruction model is trained by using contrastive learning in combination with the first feature and the second feature, specifically including:
[0024] Constructing positive and negative sample sets based on the image features of the training images, wherein the positive and negative sample sets include a positive sample set and a negative sample set;
[0025] Training the dual-branch MRI reconstruction model based on the positive and negative sample sets;
[0026] A target loss function is constructed, and model parameters are adjusted based on the target loss function.
[0027] In this solution, the constructed target loss function specifically includes a reconstruction loss function and a contrast loss function.
[0028] The second aspect of the present invention further provides a dual-branch MRI image reconstruction system based on contrastive learning, comprising a memory and a processor, wherein the memory comprises a dual-branch MRI image reconstruction method program based on contrastive learning, and when the dual-branch MRI image reconstruction method program based on contrastive learning is executed by the processor, the following steps are implemented:
[0029] Acquire an undersampled image, wherein the undersampled image comprises an MRI image;
[0030] Extract the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image;
[0031] Establishing a dual-branch MRI reconstruction model based on a preset algorithm, and training the dual-branch MRI reconstruction model by using contrastive learning combined with image features of training images;
[0032] The under-sampled image is input into the trained dual-branch MRI reconstruction model to obtain a reconstructed image.
[0033] In this solution, obtaining an undersampled image specifically includes:
[0034] Acquire full-sample MRI images;
[0035] Performing a two-dimensional Fourier transform on the original single-channel two-dimensional image data of the full-sampling MRI image to obtain target frequency domain data in K space;
[0036] Randomly down-sample the target frequency domain data in the K space, retain the corresponding proportion of sampled data, and set the other position data to zero;
[0037] A two-dimensional inverse Fourier transform is performed on the randomly downsampled target frequency domain data to obtain a simulated under-sampled MRI image, which is used as the under-sampled image.
[0038] In this solution, extracting the undersampled image based on the feature extraction network to obtain the first feature and the second feature corresponding to the current image specifically includes:
[0039] Obtain the trained feature extraction network, wherein the feature extraction network is a deep neural network, the corresponding network structure includes multiple convolutional layers, pooling layers and fully connected layers, and the feature extraction network supports extracting image features of different frequency bands;
[0040] Based on the trained feature extraction network, feature extraction is performed on the undersampled image to obtain low-frequency band features and high-frequency band features, wherein the first feature corresponds to the low-frequency band feature, and the second feature corresponds to the high-frequency band feature.
[0041] In this solution, the dual-branch MRI reconstruction model is established based on a preset algorithm, specifically including:
[0042] Acquire a compressed sensing iterative algorithm to obtain the preset algorithm;
[0043] Obtaining a compressed sensing model based on the compressed sensing iterative algorithm;
[0044] Based on the compressed sensing model, the under-sampled image is subjected to gradient descent and proximal mapping processing to obtain a dual-branch MRI reconstruction model.
[0045] In this solution, the dual-branch MRI reconstruction model is trained by using contrastive learning in combination with the first feature and the second feature, specifically including:
[0046] Constructing positive and negative sample sets based on the image features of the training images, wherein the positive and negative sample sets include a positive sample set and a negative sample set;
[0047] Training the dual-branch MRI reconstruction model based on the positive and negative sample sets;
[0048] A target loss function is constructed, and model parameters are adjusted based on the target loss function.
[0049] In this solution, the constructed target loss function specifically includes a reconstruction loss function and a contrast loss function.
[0050] The third aspect of the present invention provides a computer-readable storage medium, which includes a machine-readable dual-branch MRI image reconstruction method program based on contrast learning. When the dual-branch MRI image reconstruction method program based on contrast learning is executed by a processor, the steps of a dual-branch MRI image reconstruction method based on contrast learning as described in any one of the above items are implemented.
[0051] The present invention discloses a dual-branch MRI image reconstruction method, system and storage medium based on contrast learning, which has the following beneficial effects:
[0052] (1) By decomposing MRI images into low-frequency and high-frequency parts and extracting and processing their respective features, the information of each frequency band is fully utilized, thereby significantly improving the reconstruction accuracy;
[0053] (2) Use contrastive learning methods to construct positive and negative sample sets, distinguish and emphasize the differences between low-frequency and high-frequency parts, enhance the model's ability to identify different features, and further improve the reconstruction effect;
[0054] (3) A dual-branch structure is used to process low-frequency and high-frequency features respectively, which optimizes the feature extraction and information integration process, making the reconstruction model more efficient and accurate when processing complex images;
[0055] (4) By pre-training the feature extraction network, we ensure that the model has strong feature capture capabilities before formal training, thereby shortening the training time and improving the initial performance of the model;
[0056] (5) Fully utilizing the full-band information of MRI images, avoiding the limitations of single-band information processing, and ensuring that the information of each frequency band is effectively optimized and utilized during the reconstruction process;
[0057] (6) The technical solution is not only applicable to the reconstruction of MRI images, but can also be extended to other image processing fields that require high-precision reconstruction. It has strong adaptability and application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1A flowchart of a dual-branch MRI image reconstruction method based on contrast learning of the present invention is shown;
[0059] Figure 2 The structure diagram of the reconstruction model sub-network in a dual-branch MRI image reconstruction method based on contrast learning of the present invention is shown;
[0060] Figure 3 A block diagram of a dual-branch MRI image reconstruction system based on contrast learning of the present invention is shown. DETAILED DESCRIPTION
[0061] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0062] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0063] Figure 1 A flowchart of a dual-branch MRI image reconstruction method based on contrast learning of the present application is shown.
[0064] like Figure 1 As shown, the present application discloses a dual-branch MRI image reconstruction method based on contrast learning, comprising the following steps:
[0065] S102, acquiring an under-sampled image, wherein the under-sampled image includes an MRI image;
[0066] S104, extracting the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image;
[0067] S106, establishing a dual-branch MRI reconstruction model based on a preset algorithm, and training the dual-branch MRI reconstruction model by using contrastive learning combined with image features of training images;
[0068] S108, inputting the under-sampled image into the trained dual-branch MRI reconstruction model to obtain a reconstructed image.
[0069] It should be noted that, in this embodiment, a fully sampled MRI image is obtained, and a simulated undersampling preprocessing is performed on the fully sampled MRI image to obtain a simulated undersampling MRI image; a feature extraction network is constructed and trained, and correspondingly, the feature extraction network is used to extract low-frequency band features and high-frequency band features of the MRI image, wherein the low-frequency band features correspond to the first features, and the high-frequency band features correspond to the second features; a compressed sensing iterative algorithm is obtained, a dual-branch MRI reconstruction model is established based on the compressed sensing iterative algorithm, and contrast learning is used to distinguish low-frequency band and high-frequency band MRI training images, thereby optimizing the dual-branch MRI reconstruction model, and at the same time, during training, a target loss function corresponding to the dual-branch MRI reconstruction model is constructed, and when training the MRI reconstruction model, the target loss function is used to fine-tune the model parameters to obtain the trained dual-branch MRI reconstruction model; finally, the undersampling MRI image obtained in the first step is input into the trained dual-branch MRI reconstruction model to obtain the model output as the reconstructed image, wherein by using contrast learning to distinguish the low-frequency band part and the high-frequency band part of the MRI image, the information of different frequency bands of the image is more effectively utilized to achieve a higher quality reconstruction effect.
[0070] According to an embodiment of the present invention, obtaining an undersampled image specifically includes:
[0071] Acquire full-sample MRI images;
[0072] Performing a two-dimensional Fourier transform on the original single-channel two-dimensional image data of the full-sampling MRI image to obtain target frequency domain data in K space;
[0073] Randomly down-sample the target frequency domain data in the K space, retain the corresponding proportion of sampled data, and set the other position data to zero;
[0074] A two-dimensional inverse Fourier transform is performed on the randomly downsampled target frequency domain data to obtain a simulated under-sampled MRI image, which is used as the under-sampled image.
[0075] It should be noted that, in this embodiment, obtaining an undersampled image requires performing a Fourier transform on the fully sampled image, wherein the image is first subjected to a two-dimensional Fourier transform to obtain target frequency domain data in k-space, and the frequency domain data in k-space is randomly downsampled, with sampling ratios of "10%, 20%, 30%, 40%, 50%" respectively. The sampled data is retained, and data at other positions are set to zero. A two-dimensional inverse Fourier transform is performed on the downsampled frequency domain data to restore it to an image, thereby obtaining a simulated undersampled MRI image, which is used as the undersampled image.
[0076] According to an embodiment of the present invention, extracting the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image specifically includes:
[0077] Obtain the trained feature extraction network, wherein the feature extraction network is a deep neural network, the corresponding network structure includes multiple convolutional layers, pooling layers and fully connected layers, and the feature extraction network supports extracting image features of different frequency bands;
[0078] Based on the trained feature extraction network, feature extraction is performed on the undersampled image to obtain low-frequency band features and high-frequency band features, wherein the first feature corresponds to the low-frequency band feature, and the second feature corresponds to the high-frequency band feature.
[0079] It should be noted that, in this embodiment, a deep neural network is constructed as the feature extraction network, wherein the network structure includes multiple layers of convolutional layers, pooling layers and fully connected layers, so as to capture the low-frequency and high-frequency features of the image; a large amount of pre-labeled MRI training image data is used to pre-train the neural network so that it can effectively learn and extract image features of different frequency bands; after the pre-training is completed, the feature extraction network FENet is applied to the under-sampled MRI image to extract its low-frequency band features and high-frequency band features, respectively, to provide input data for the subsequent reconstruction optimization process.
[0080] According to an embodiment of the present invention, establishing a dual-branch MRI reconstruction model based on a preset algorithm specifically includes:
[0081] Acquire a compressed sensing iterative algorithm to obtain the preset algorithm;
[0082] Obtaining a compressed sensing model based on the compressed sensing iterative algorithm;
[0083] Based on the compressed sensing model, the under-sampled image is subjected to gradient descent and proximal mapping processing to obtain a dual-branch MRI reconstruction model.
[0084] It should be noted that, in this embodiment, a compressed sensing model is obtained, the compressed sensing iterative algorithm is analyzed, the MRI image x is divided into a low-frequency image x1 and a high-frequency image x2, and gradient descent and proximal mapping are performed on the low-frequency image x1 and the high-frequency image x2 in turn; wherein the compressed sensing model is expressed as:
[0085]
[0086] in, It indicates that the variables x1 and x2 are optimized, and the purpose is to find the best x1 and x2 to minimize the value of the objective function. is the data fidelity term, also known as the reconstruction error term, which is used to measure the error between the reconstructed signal Φ(x1+x2) and the observed data y. λ1‖ψx1‖1 and λ2‖ψx2‖1 are regularization terms used to introduce sparsity prior knowledge to achieve better signal reconstruction.
[0087] Furthermore, by performing gradient descent and proximal mapping on x1, we obtain:
[0088]
[0089] Performing gradient descent and proximal mapping on x2 yields:
[0090]
[0091] in, and Respectively represent the intermediate variables of the kth iteration of the low-frequency part and the high-frequency part, and Represent the updated estimated values of the low-frequency part and the high-frequency part in the kth iteration respectively.
[0092] According to an embodiment of the present invention, the training of the dual-branch MRI reconstruction model by using contrastive learning in combination with the first feature and the second feature specifically includes:
[0093] Constructing positive and negative sample sets based on the image features of the training images, wherein the positive and negative sample sets include a positive sample set and a negative sample set;
[0094] Training the dual-branch MRI reconstruction model based on the positive and negative sample sets;
[0095] A target loss function is constructed, and model parameters are adjusted based on the target loss function.
[0096] It should be noted that in this embodiment, two sub-networks Subnet1 and Subnet2 with the same structure and no shared parameters are established according to x1 and x2; x1 and x2 are updated alternately and iteratively using sub-networks Subnet1 and Subnet2 to obtain updated x1 and x2; and the low-frequency feature z1 of the low-frequency part x1 and the high-frequency feature z2 of the high-frequency part x2 are extracted through the pre-trained feature extraction network FENet. The feature extraction formula can be expressed as:
[0097] z i =FFENet(x i )
[0098] When the input data shape is [4, 1, 256, 256], the positive and negative sample sets are constructed, wherein the positive samples refer to sample pairs with similar or identical features, and the negative samples refer to sample pairs with large feature differences.
[0099] Specifically, when the anchor point sample is a MRI low-frequency image x 1_i When , the positive samples are defined as other low-frequency images x in the same batch of data. 1_j , negative samples are defined as high-frequency images x in the same batch of data 2_k .z i Represents the anchor sample x 1_i Through the low-frequency features extracted by FENet, z j Represents a positive sample x 1_j Through the low-frequency features extracted by FENet, z k Represents negative sample x 2_k High-frequency features extracted by FENet. i 、z j and z k Respectively expressed as:
[0100] z i =FENet(x 1_i )
[0101] z j =FENet(x 1_j )
[0102] z k =FENet(x 2_k )
[0103] When the anchor point sample is an MRI high-frequency image x 2_i When , the positive samples are defined as other high-frequency images x in the same batch of data. 2_j , negative samples are defined as low-frequency images x in the same batch of data 1_k .z i Represents the anchor sample x 2_i Through the high-frequency features extracted by FENet, z j Represents a positive sample x 2_j Through the high-frequency features extracted by FENet, z k Represents negative sample x 1_k Low-frequency features extracted by FENet. i 、z j and z k Respectively expressed as:
[0104] z i =FENet(x 2_i )
[0105] zj =FENet(x 2_j )
[0106] z k =FENet(x 1_k )
[0107] Use contrastive learning to distinguish the low-frequency part x1 and the high-frequency part x2, and use the contrast loss function in the target loss function to measure the difference between the low-frequency feature z1 and the high-frequency feature z2 to ensure that the feature extraction network can accurately capture and distinguish the information of these two different frequency bands; contrastive Add it to the target loss function and optimize it together with the reconstruction loss function, so that the model can reduce the reconstruction error during training while maintaining the accurate separation and utilization of low-frequency and high-frequency information; combine the updated x1 and x2 to obtain the reconstructed MRI image
[0108] Furthermore, it should be noted that the optimized dual-branch MRI reconstruction model has two sub-networks Subnet1 and Subnet2 with the same structure and no shared parameters. The structure diagram of the sub-networks Subnet1 and Subnet2 of the k-th stage of the MRI reconstruction method based on the optimized iterative algorithm of contrastive learning is shown in FIG. Figure 2 shown.
[0109] The processing flow of the Subnet1 network is as follows: inputs x1 and x2 are used to perform gradient descent and proximal mapping operations on x1. x1 is mapped to a specific transform domain through a forward transform. The forward transform consists of two linear convolution operators separated by a rectified linear unit (ReLU) to form a combination that realizes the mapping of the image from the spatial domain to the transform domain. In this transform domain, a soft threshold operation is applied. The soft threshold operation sets a threshold value. For values in the transform domain, values below the threshold value are set to zero, and values above the threshold value are subtracted from the threshold value, thereby effectively realizing denoising and deblurring. Finally, the transform domain data after soft threshold processing is mapped back to the spatial domain through a backward transform to obtain an optimized low-frequency image x1. The backward transform has a symmetrical structure with the forward transform and is also composed of two linear convolution operators separated by a rectified linear unit (ReLU).
[0110] Among them, the processing flow of the Subnet2 network is that the input x2 and the optimized x1 are used to perform gradient descent and proximal mapping operations on x2. x2 is mapped to a specific transform domain through a forward transform. The forward transform consists of two linear convolution operators, which are separated by a rectified linear unit (ReLU) to form a combination. This combination realizes the mapping of the image from the spatial domain to the transform domain; in this transform domain, a soft threshold operation is applied. The soft threshold operation sets a threshold. For values in the transform domain, values below the threshold are set to zero, and values above the threshold are subtracted from the threshold, thereby effectively realizing denoising and deblurring; finally, the transform domain data after soft threshold processing is mapped back to the spatial domain through a backward transform to obtain the optimized low-frequency image x2. The backward transform has a symmetrical structure with the forward transform and is also composed of two linear convolution operators separated by a rectified linear unit (ReLU). x1 and x2 are updated alternately in the subnets Subnet1 and Subnet2. After 9 rounds of alternating iterative updates, the updated and Will and Combined to obtain the reconstructed image
[0111] According to an embodiment of the present invention, the constructed target loss function specifically includes a reconstruction loss function and a contrast loss function.
[0112] It should be noted that, in this embodiment, the target loss function is defined as follows:
[0113] Loss total =w1Loss discrepancy +w2Loss contrastipe ,
[0114] Among them, w1 and w2 are Loss discrepancy and Loss contrastive The weight coefficient of .
[0115] Correspondingly, the reconstruction loss function is:
[0116]
[0117] Among them, x i represents the i-th pixel value of the fully sampled MRI image, represents the i-th pixel value of the reconstructed MRI image, and N represents the image block x i The number of pixels;
[0118] The contrast loss function is:
[0119]
[0120] Among them, z i 、z j and z k They represent the feature vectors extracted by the feature extraction network FENet for the anchor samples, positive samples and negative samples respectively. i ,z j ) represents z i and z j The similarity between them is usually measured using cosine similarity: τ is the temperature parameter used to scale the similarity value, and N is the total number of samples including positive and negative samples.
[0121] Furthermore, the structures of subnets Subnet1 and Subnet2 are the same as those of the original deep unfolding MRI reconstruction model, which are optimized through iterative algorithms and combined with neural networks to establish a dual-branch MRI reconstruction model. This model divides the undersampled MRI image x into two parts: a low-frequency image x1 and a high-frequency image x2, and gradually processes these two parts in independent subnets for updating and optimization. By processing the low-frequency and high-frequency parts separately, information in different frequency bands can be retained and extracted, and the information lost during the undersampling process can be restored more specifically, reducing information loss and improving the quality of the reconstructed image.
[0122] Furthermore, defining the positive sample set and negative sample set of the low-frequency and high-frequency parts respectively helps the model to better learn and distinguish the information features of different frequency bands, improves the effect of contrastive learning, and further optimizes the performance of the reconstruction model. In this embodiment, when the input data shape is [4,1,256,256], the positive sample of the low-frequency part x1 is defined as the other low-frequency parts in the same batch of data, and the negative sample is defined as the high-frequency part in the same batch of data; the positive sample of the high-frequency part x2 is defined as the other high-frequency parts in the same batch of data, and the negative sample is defined as the low-frequency part in the same batch of data;
[0123] Furthermore, we use the pre-trained feature extraction network to extract and The features of the low-frequency part and the high-frequency part are obtained by using the feature vectors z1 and z2. The contrast loss function Information Noise Contrastive Estimation (InfoNCE) is used to calculate the contrast loss Loss contrastive The contrast loss is introduced into the dual-branch MRI reconstruction model, combined with the difference loss, and the model is optimized by the gradient descent method to obtain the trained dual-branch MRI reconstruction model.
[0124] In practical applications, after obtaining the reconstructed image, the experimental results need to be evaluated. It should be noted that two indicators are used in the test process: peak signal-to-noise ratio (PSNR) and structural similarity (SSIM). Among them, PSNR is used to measure the difference between the reconstructed image and the original image. The larger its value, the higher the quality of the reconstructed image. Its expression is:
[0125]
[0126] Among them, MAX is the maximum value of the image pixels, and MSE is the mean square error, which is expressed as:
[0127]
[0128] Among them, I(i,j) and K(i,j) represent the pixel values of the original image and the reconstructed image at position (i,j), respectively, and m and n are the height and width of the image, respectively. SSIM is used to measure the structural similarity between two images, and its value is between "-1" and "1". The closer it is to "1", the more similar the image structures are. Its expression is:
[0129]
[0130] Among them, μ x and μ y are the average values of images x and y, respectively. and are the variances of images x and y, σ xy is the covariance between images x and y, and C1 and C2 are constants introduced to avoid the denominator being zero.
[0131] Figure 3 A block diagram of a dual-branch MRI image reconstruction system based on contrast learning of the present invention is shown.
[0132] like Figure 3 As shown, the present invention discloses a dual-branch MRI image reconstruction system based on contrastive learning, including a memory and a processor, wherein the memory includes a dual-branch MRI image reconstruction method program based on contrastive learning, and the dual-branch MRI image reconstruction method program based on contrastive learning is executed by the processor to implement the following steps:
[0133] Acquire an undersampled image, wherein the undersampled image comprises an MRI image;
[0134] Extract the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image;
[0135] Establishing a dual-branch MRI reconstruction model based on a preset algorithm, and training the dual-branch MRI reconstruction model by combining the first feature and the second feature using contrastive learning;
[0136] The under-sampled image is input into the trained dual-branch MRI reconstruction model to obtain a reconstructed image.
[0137] It should be noted that, in this embodiment, a fully sampled MRI image is obtained, and a simulated undersampling preprocessing is performed on the fully sampled MRI image to obtain a simulated undersampling MRI image; a feature extraction network is constructed and trained, and correspondingly, the feature extraction network is used to extract low-frequency band features and high-frequency band features of the MRI image, wherein the low-frequency band features correspond to the first features, and the high-frequency band features correspond to the second features; a compressed sensing iterative algorithm is obtained, a dual-branch MRI reconstruction model is established based on the compressed sensing iterative algorithm, and contrast learning is used to distinguish low-frequency band and high-frequency band MRI training images, thereby optimizing the dual-branch MRI reconstruction model, and at the same time, during training, a target loss function corresponding to the dual-branch MRI reconstruction model is constructed, and when training the MRI reconstruction model, the target loss function is used to fine-tune the model parameters to obtain the trained dual-branch MRI reconstruction model; finally, the undersampling MRI image obtained in the first step is input into the trained dual-branch MRI reconstruction model to obtain the model output as the reconstructed image, wherein by using contrast learning to distinguish the low-frequency band part and the high-frequency band part of the MRI image, the information of different frequency bands of the image is more effectively utilized to achieve a higher quality reconstruction effect.
[0138] According to an embodiment of the present invention, obtaining an undersampled image specifically includes:
[0139] Acquire full-sample MRI images;
[0140] Performing a two-dimensional Fourier transform on the original single-channel two-dimensional image data of the full-sampling MRI image to obtain target frequency domain data in K space;
[0141] Randomly down-sample the target frequency domain data in the K space, retain the corresponding proportion of sampled data, and set the other position data to zero;
[0142] A two-dimensional inverse Fourier transform is performed on the randomly downsampled target frequency domain data to obtain a simulated under-sampled MRI image, which is used as the under-sampled image.
[0143] It should be noted that, in this embodiment, obtaining an undersampled image requires performing a Fourier transform on the fully sampled image, wherein the image is first subjected to a two-dimensional Fourier transform to obtain target frequency domain data in k-space, and the frequency domain data in k-space is randomly downsampled, with sampling ratios of "10%, 20%, 30%, 40%, 50%" respectively. The sampled data is retained, and data at other positions are set to zero. A two-dimensional inverse Fourier transform is performed on the downsampled frequency domain data to restore it to an image, thereby obtaining a simulated undersampled MRI image, which is used as the undersampled image.
[0144] According to an embodiment of the present invention, extracting the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image specifically includes:
[0145] Obtain the trained feature extraction network, wherein the feature extraction network is a deep neural network, the corresponding network structure includes multiple convolutional layers, pooling layers and fully connected layers, and the feature extraction network supports extracting image features of different frequency bands;
[0146] Based on the trained feature extraction network, feature extraction is performed on the undersampled image to obtain low-frequency band features and high-frequency band features, wherein the first feature corresponds to the low-frequency band feature, and the second feature corresponds to the high-frequency band feature.
[0147] It should be noted that, in this embodiment, a deep neural network is constructed as the feature extraction network, wherein the network structure includes multiple convolutional layers, pooling layers and fully connected layers, so as to capture the low-frequency and high-frequency features of the image; a large amount of pre-labeled MRI training image data is used to pre-train the neural network so that it can effectively learn and extract image features of different frequency bands; after the pre-training is completed, the feature extraction network FENet is applied to the undersampled MRI image to extract its low-frequency band features and high-frequency band features respectively, so as to provide input data for the subsequent reconstruction optimization process.
[0148] According to an embodiment of the present invention, establishing a dual-branch MRI reconstruction model based on a preset algorithm specifically includes:
[0149] Acquire a compressed sensing iterative algorithm to obtain the preset algorithm;
[0150] Obtaining a compressed sensing model based on the compressed sensing iterative algorithm;
[0151] Based on the compressed sensing model, the under-sampled image is subjected to gradient descent and proximal mapping processing to obtain a dual-branch MRI reconstruction model.
[0152] It should be noted that, in this embodiment, a compressed sensing model is obtained, the compressed sensing iterative algorithm is analyzed, the MRI image x is divided into a low-frequency image x1 and a high-frequency image x2, and gradient descent and proximal mapping are performed on the low-frequency image x1 and the high-frequency image x2 in turn; wherein the compressed sensing model is expressed as:
[0153]
[0154] in, It indicates that the variables x1 and x2 are optimized, and the purpose is to find the best x1 and x2 to minimize the value of the objective function. is the data fidelity term, also known as the reconstruction error term, which is used to measure the error between the reconstructed signal Φ(x1+x2) and the observed data y. λ1‖ψx1‖1 and λ2‖ψx2‖1 are regularization terms used to introduce sparsity prior knowledge to achieve better signal reconstruction.
[0155] Furthermore, by performing gradient descent and proximal mapping on x1, we obtain:
[0156]
[0157] Performing gradient descent and proximal mapping on x2 yields:
[0158]
[0159] in, and Respectively represent the intermediate variables of the kth iteration of the low-frequency part and the high-frequency part, and Represent the updated estimated values of the low-frequency part and the high-frequency part in the kth iteration respectively.
[0160] According to an embodiment of the present invention, the training of the dual-branch MRI reconstruction model by using contrastive learning in combination with the first feature and the second feature specifically includes:
[0161] Constructing positive and negative sample sets based on the image features of the training images, wherein the positive and negative sample sets include a positive sample set and a negative sample set;
[0162] Training the dual-branch MRI reconstruction model based on the positive and negative sample sets;
[0163] A target loss function is constructed, and model parameters are adjusted based on the target loss function.
[0164] It should be noted that in this embodiment, two sub-networks Subnet1 and Subnet2 with the same structure and no shared parameters are established according to x1 and x2; x1 and x2 are updated alternately and iteratively using sub-networks Subnet1 and Subnet2 to obtain updated x1 and x2; and the low-frequency feature z1 of the low-frequency part x1 and the high-frequency feature z2 of the high-frequency part x2 are extracted through the pre-trained feature extraction network FENet. The feature extraction formula can be expressed as:
[0165] z i =FENet(x i )
[0166] When the input data shape is [4, 1, 256, 256], the positive and negative sample sets are constructed, wherein the positive samples refer to sample pairs with similar or identical features, and the negative samples refer to sample pairs with large feature differences.
[0167] Specifically, when the anchor point sample is a MRI low-frequency image x 1_i When , the positive samples are defined as other low-frequency images x in the same batch of data. 1_j , negative samples are defined as high-frequency images x in the same batch of data 2_k .z i Represents the anchor sample x 1_i Through the low-frequency features extracted by FENet, z j Represents a positive sample x 1_j Through the low-frequency features extracted by FENet, z k Represents negative sample x 2_k High-frequency features extracted by FENet. i 、z j and z k Respectively expressed as:
[0168] z i =FENet(x 1_i )
[0169] z j =FENet(x 1_j )
[0170] z k =FENet(x 2_k )
[0171] When the anchor point sample is an MRI high-frequency image x 2_i When , the positive samples are defined as other high-frequency images x in the same batch of data. 2_j , negative samples are defined as low-frequency images x in the same batch of data 1_k .z i Represents the anchor sample x 2_iThrough the high-frequency features extracted by FENet, z j Represents a positive sample x 2_j Through the high-frequency features extracted by FENet, z k Represents negative sample x 1_k Low-frequency features extracted by FENet. i 、z j and z k Respectively expressed as:
[0172] z i =FENet(x 2_i )
[0173] z j =FENet(x 2_j )
[0174] z k =FENet(x 1_k )
[0175] Use contrastive learning to distinguish the low-frequency part x1 and the high-frequency part x2, and use the contrast loss function in the target loss function to measure the difference between the low-frequency feature z1 and the high-frequency feature z2 to ensure that the feature extraction network can accurately capture and distinguish the information of these two different frequency bands; contrastive Add it to the target loss function and optimize it together with the reconstruction loss function, so that the model can reduce the reconstruction error during training while maintaining the accurate separation and utilization of low-frequency and high-frequency information; combine the updated x1 and x2 to obtain the reconstructed MRI image
[0176] Furthermore, it should be noted that the optimized dual-branch MRI reconstruction model has two sub-networks Subnet1 and Subnet2 with the same structure and no shared parameters. The structure diagram of the sub-networks Subnet1 and Subnet2 of the k-th stage of the MRI reconstruction method based on the optimized iterative algorithm of contrastive learning is shown in FIG. Figure 2 shown.
[0177] The processing flow of the Subnet1 network is as follows: inputs x1 and x2 are used to perform gradient descent and proximal mapping operations on x1. x1 is mapped to a specific transform domain through a forward transform. The forward transform consists of two linear convolution operators separated by a rectified linear unit (ReLU) to form a combination that realizes the mapping of the image from the spatial domain to the transform domain. In this transform domain, a soft threshold operation is applied. The soft threshold operation sets a threshold. For values in the transform domain, values below the threshold are set to zero, and values above the threshold are subtracted from the threshold, thereby effectively realizing denoising and deblurring. Finally, the transform domain data after soft threshold processing is mapped back to the spatial domain through a backward transform to obtain an optimized low-frequency image x1. The backward transform has a symmetrical structure with the forward transform and is also composed of two linear convolution operators separated by a rectified linear unit (ReLU).
[0178] Among them, the processing flow of the Subnet2 network is that the input x2 and the optimized x1 are used to perform gradient descent and proximal mapping operations on x2. x2 is mapped to a specific transform domain through a forward transform. The forward transform consists of two linear convolution operators, which are separated by a rectified linear unit (ReLU) to form a combination. This combination realizes the mapping of the image from the spatial domain to the transform domain; in this transform domain, a soft threshold operation is applied. The soft threshold operation sets a threshold. For values in the transform domain, values below the threshold are set to zero, and values above the threshold are subtracted from the threshold, thereby effectively realizing denoising and deblurring; finally, the transform domain data after soft threshold processing is mapped back to the spatial domain through a backward transform to obtain the optimized low-frequency image x2. The backward transform has a symmetrical structure with the forward transform and is also composed of two linear convolution operators separated by a rectified linear unit (ReLU). x1 and x2 are updated alternately in the subnets Subnet1 and Subnet2. After 9 rounds of alternating iterative updates, the updated and Will and Combined to obtain the reconstructed image
[0179] According to an embodiment of the present invention, the constructed target loss function specifically includes a reconstruction loss function and a contrast loss function.
[0180] It should be noted that, in this embodiment, the target loss function is defined as follows:
[0181] Loss total =w1Loss discrepancy +w2Loss contrastipe ;
[0182] Among them, w1 and w2 are Loss discrepancy and Loss contrastive The weight coefficient of .
[0183] Correspondingly, the reconstruction loss function is:
[0184]
[0185] Among them, x i represents the i-th pixel value of the fully sampled MRI image, represents the i-th pixel value of the reconstructed MRI image, and N represents the image block x i The number of pixels;
[0186] The contrast loss function is:
[0187]
[0188] Among them, z i 、z j and z k They represent the feature vectors extracted by the feature extraction network FENet for the anchor samples, positive samples and negative samples respectively. i ,z j ) represents z i and z j The similarity between them is usually measured using cosine similarity: τ is the temperature parameter used to scale the similarity value, and N is the total number of samples including positive and negative samples.
[0189] Furthermore, the structures of subnets Subnet1 and Subnet2 are the same as those of the original deep unfolding MRI reconstruction model, which are optimized through iterative algorithms and combined with neural networks to establish a dual-branch MRI reconstruction model. This model divides the undersampled MRI image x into two parts: a low-frequency image x1 and a high-frequency image x2, and gradually processes these two parts in independent subnets for updating and optimization. By processing the low-frequency and high-frequency parts separately, information in different frequency bands can be retained and extracted, and the information lost during the undersampling process can be restored more specifically, reducing information loss and improving the quality of the reconstructed image.
[0190] Furthermore, defining the positive sample set and negative sample set of the low-frequency and high-frequency parts respectively helps the model to better learn and distinguish the information features of different frequency bands, improves the effect of contrastive learning, and further optimizes the performance of the reconstruction model. In this embodiment, when the input data shape is [4,1,256,256], the positive sample of the low-frequency part x1 is defined as the other low-frequency parts in the same batch of data, and the negative sample is defined as the high-frequency part in the same batch of data; the positive sample of the high-frequency part x2 is defined as the other high-frequency parts in the same batch of data, and the negative sample is defined as the low-frequency part in the same batch of data;
[0191] Furthermore, we use the pre-trained feature extraction network to extract and The features of the low-frequency part and the high-frequency part are obtained by using the feature vectors z1 and z2. The contrast loss function Information Noise Contrastive Estimation (InfoNCE) is used to calculate the contrast loss Loss contrastive The contrast loss is introduced into the dual-branch MRI reconstruction model, combined with the difference loss, and the model is optimized by the gradient descent method to obtain the trained dual-branch MRI reconstruction model.
[0192] In practical applications, after obtaining the reconstructed image, the experimental results need to be evaluated. It should be noted that two indicators are used in the test process: peak signal-to-noise ratio (PSNR) and structural similarity (SSIM). Among them, PSNR is used to measure the difference between the reconstructed image and the original image. The larger its value, the higher the quality of the reconstructed image. Its expression is:
[0193]
[0194] Among them, MAX is the maximum value of the image pixels, and MSE is the mean square error, which is expressed as:
[0195]
[0196] Among them, I(i,j) and K(i,j) represent the pixel values of the original image and the reconstructed image at position (i,j), respectively, and m and n are the height and width of the image, respectively. SSIM is used to measure the structural similarity between two images, and its value is between "-1" and "1". The closer it is to "1", the more similar the image structures are. Its expression is:
[0197]
[0198] Among them, μ x and μ y are the average values of images x and y, respectively. and are the variances of images x and y, σ xy is the covariance between images x and y, and C1 and C2 are constants introduced to avoid the denominator being zero.
[0199] The third aspect of the present invention provides a computer-readable storage medium, which includes a dual-branch MRI image reconstruction method program based on contrast learning. When the dual-branch MRI image reconstruction method program based on contrast learning is executed by a processor, the steps of a dual-branch MRI image reconstruction method based on contrast learning as described in any one of the above items are implemented.
[0200] The invention discloses a dual-branch MRI image reconstruction method, system and storage medium based on contrastive learning. The method decomposes the MRI image into low-frequency and high-frequency parts, extracts and processes the respective features respectively, ensures that the information of each frequency band is fully utilized, thereby significantly improving the reconstruction accuracy; uses the contrastive learning method to construct positive sample and negative sample sets, distinguishes and emphasizes the difference between the low-frequency and high-frequency parts, enhances the model's recognition ability for different features, and further improves the reconstruction effect; adopts a dual-branch structure to process low-frequency and high-frequency features respectively, optimizes the feature extraction and information integration process, and makes the reconstruction model more efficient and accurate when processing complex images; through the pre-training feature extraction network, ensures that the model has a strong feature capture ability before formal training, thereby shortening the training time and improving the initial performance of the model; fully utilizes the full-band information of the MRI image, avoids the limitations of single-band information processing, and ensures that the information of each frequency band is effectively optimized and utilized during the reconstruction process; the technical solution is not only suitable for the reconstruction of MRI images, but can also be promoted and applied to other image processing fields that require high-precision reconstruction, and has strong adaptability and application prospects. The present invention effectively improves the accuracy and quality of MRI image reconstruction through an innovative dual-branch comparative learning method, overcomes the deficiencies in the prior art, and has significant technical advantages and application value.
[0201] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0202] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0203] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0204] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical disks, and other media that can store program codes.
[0205] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A dual-branch MRI image reconstruction method based on contrastive learning, characterized in that: The following steps are involved: Acquire an undersampled image, wherein the undersampled image comprises an MRI image; Extracting the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image; Establishing a dual-branch MRI reconstruction model based on a preset algorithm, and training the dual-branch MRI reconstruction model by using contrastive learning combined with image features of training images; The undersampled image is input into the trained dual-branch MRI reconstruction model to obtain a reconstructed image.
2. A dual-branch MRI image reconstruction method based on contrastive learning according to claim 1, characterized in that: The obtaining of the under-sampled image specifically comprises: Acquire full-sample MRI images; Performing a two-dimensional Fourier transform on the original single-channel two-dimensional image data of the full-sampling MRI image to obtain target frequency domain data in K space; Randomly down-sample the target frequency domain data in the K space, retain the corresponding proportion of sampled data, and set the other position data to zero; A two-dimensional inverse Fourier transform is performed on the randomly downsampled target frequency domain data to obtain a simulated under-sampled MRI image, which is used as the under-sampled image.
3. A dual-branch MRI image reconstruction method based on contrastive learning according to claim 2, characterized in that: The extracting the undersampled image based on the feature extraction network to obtain the first feature and the second feature corresponding to the current image specifically includes: Obtain the trained feature extraction network, wherein the feature extraction network is a deep neural network, the corresponding network structure includes multiple convolutional layers, pooling layers and fully connected layers, and the feature extraction network supports extracting image features of different frequency bands; Based on the trained feature extraction network, feature extraction is performed on the undersampled image to obtain low-frequency band features and high-frequency band features, wherein the first feature corresponds to the low-frequency band feature, and the second feature corresponds to the high-frequency band feature.
4. A dual-branch MRI image reconstruction method based on contrastive learning according to claim 3, characterized in that: The dual-branch MRI reconstruction model is established based on a preset algorithm, specifically comprising: Acquire a compressed sensing iterative algorithm to obtain the preset algorithm; Obtaining a compressed sensing model based on the compressed sensing iterative algorithm; Based on the compressed sensing model, the under-sampled image is subjected to gradient descent and proximal mapping processing to obtain a dual-branch MRI reconstruction model.
5. A dual-branch MRI image reconstruction method based on contrastive learning according to claim 4, characterized in that: The step of training the dual-branch MRI reconstruction model by using contrastive learning in combination with the first feature and the second feature specifically includes: Constructing positive and negative sample sets based on the image features of the training images, wherein the positive and negative sample sets include a positive sample set and a negative sample set; Training the dual-branch MRI reconstruction model based on the positive and negative sample sets; A target loss function is constructed, and model parameters are adjusted based on the target loss function.
6. A dual-branch MRI image reconstruction method based on contrastive learning according to claim 5, characterized in that: The constructed objective loss function specifically includes a reconstruction loss function and a contrast loss function.
7. A dual-branch MRI image reconstruction system based on contrastive learning, characterized in that: The invention comprises a memory and a processor, wherein the memory comprises a program of a dual-branch MRI image reconstruction method based on contrastive learning, and the program of the dual-branch MRI image reconstruction method based on contrastive learning is executed by the processor to implement the following steps: Acquire an undersampled image, wherein the undersampled image comprises an MRI image; Extracting the undersampled image based on a feature extraction network to obtain a first feature and a second feature corresponding to the current image; Establishing a dual-branch MRI reconstruction model based on a preset algorithm, and training the dual-branch MRI reconstruction model by combining the first feature and the second feature using contrastive learning; The undersampled image is input into the trained dual-branch MRI reconstruction model to obtain a reconstructed image.
8. A dual-branch MRI image reconstruction system based on contrastive learning according to claim 7, characterized in that: The obtaining of the under-sampled image specifically comprises: Acquire full-sample MRI images; Performing a two-dimensional Fourier transform on the original single-channel two-dimensional image data of the full-sampling MRI image to obtain target frequency domain data in K space; Randomly down-sample the target frequency domain data in the K space, retain the corresponding proportion of sampled data, and set the other position data to zero; A two-dimensional inverse Fourier transform is performed on the randomly downsampled target frequency domain data to obtain a simulated under-sampled MRI image, which is used as the under-sampled image.
9. A dual-branch MRI image reconstruction system based on contrastive learning according to claim 8, characterized in that: The extracting the undersampled image based on the feature extraction network to obtain the first feature and the second feature corresponding to the current image specifically includes: Obtain the trained feature extraction network, wherein the feature extraction network is a deep neural network, the corresponding network structure includes multiple convolutional layers, pooling layers and fully connected layers, and the feature extraction network supports extracting image features of different frequency bands; Based on the trained feature extraction network, feature extraction is performed on the undersampled image to obtain low-frequency band features and high-frequency band features, wherein the first feature corresponds to the low-frequency band feature, and the second feature corresponds to the high-frequency band feature.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a dual-branch MRI image reconstruction method program based on contrastive learning. When the dual-branch MRI image reconstruction method program based on contrastive learning is executed by a processor, the steps of a dual-branch MRI image reconstruction method based on contrastive learning as described in any one of claims 1 to 6 are implemented.
