Atrial fibrillation auxiliary analysis method based on semi-supervised learning
Through the auxiliary analysis method of atrial fibrillation based on semi-supervised learning, the image segmentation model is used to extract the left atrial segmentation prediction map and calculate clinical indicators, which solves the problems in the existing technology of low accuracy of atrial fibrillation diagnosis and the inability of the two-dimensional segmentation method to utilize three-dimensional information. , achieving more efficient diagnosis and lower model uncertainty.
Patent Information
- Application Number
- CN202210563074.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-05-18
AI Technical Summary
Existing technologies have problems in diagnosing atrial fibrillation, such as low accuracy, high cost, long diagnosis cycle, and susceptibility to the subjective influence of doctors. The two-dimensional segmentation method cannot fully utilize the pathological information in three-dimensional cardiac magnetic resonance images.
Using an auxiliary analysis method for atrial fibrillation based on semi-supervised learning, by building an image segmentation model, including the convolution module of the encoder and decoder and the multi-layer perceptron module, and combining the loss function of supervised loss and unsupervised uncertainty loss, the extraction Left atrial segmentation prediction map, calculates left atrial volume, strain, strain rate and ejection fraction to assist doctors in diagnosing atrial fibrillation.
It improves the accuracy and efficiency of atrial fibrillation diagnosis, reduces dependence on labeled data, reduces model uncertainty, enhances the generalization ability of the model, and can better utilize three-dimensional image information for diagnosis.
Smart Images

Figure CN114820573B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical image segmentation, and in particular to an atrial fibrillation auxiliary analysis method based on semi-supervised learning. Background Art
[0002] Atrial fibrillation is the most common arrhythmia and a heart disease that originates in the atria. It is estimated that more than 30 million people worldwide are affected by it. Although the risk of disease can be reduced through appropriate treatment, atrial fibrillation is usually hidden and difficult to diagnose and intervene in time. The current diagnostic methods for atrial fibrillation mainly include cardiac palpation, optical plethysmography, blood pressure monitoring vibration method and electrocardiogram. Since most patients mainly suffer from paroxysmal atrial fibrillation, these four diagnostic methods may not accurately capture the onset of atrial fibrillation, and the diagnostic cycle is long, the cost is high, the accuracy is low, and it is easily affected by the doctor's subjective influence.
[0003] The anatomical structure of the left atrium provides important information for the study of atrial fibrillation pathology. The volume, strain, strain rate and ejection fraction of the left atrium are all independent factors for predicting atrial fibrillation. Compared with the healthy group, the volume of the left atrium of patients with atrial fibrillation is significantly increased, the strain and strain rate are reduced, and the ejection fraction is reduced. At present, these four clinical indicators are mainly used in clinical practice to evaluate atrial fibrillation, which is of great significance for the preliminary evaluation of atrial fibrillation. The accuracy of the calculation of these clinical indicators depends on the accurate depiction of the left atrial contour. With the development of deep learning, researchers have proposed many methods to segment the left atrium, but most of them use two-dimensional segmentation methods. Most clinical data are three-dimensional. The two-dimensional method cannot use the information between slices when training the model, and some pathological information will be lost. The three-dimensional segmentation method can not only use the information within the slice, but also use the anatomical structure information between slices. It is usually a necessary condition for medical diagnosis, patient stratification and clinical treatment.
[0004] The convolutional neural network (CNN) segmentation method mainly uses convolution kernels or filters to continuously extract features. Many studies have shown that the actual receptive field of the feature is much smaller than the theoretical receptive field, which is not conducive to fully utilizing context information for feature capture. However, CNN has advantages in processing local features. The fully connected layer of the multi-layer perceptron (MLP) is generally better at capturing global context information and spatial anatomical relationships, but is not good at capturing local features. The MLP model has better parameters and computational efficiency than the CNN of the same period, and there is no need to make too many trade-offs between performance and efficiency. Summary of the invention
[0005] In view of the deficiencies in the prior art, the technical problem that the present invention intends to solve is to propose an auxiliary analysis method for atrial fibrillation based on semi-supervised learning; first, an image segmentation model is used to obtain a left atrial segmentation prediction map, and then four clinical indicators, namely left atrial volume, strain, strain rate and ejection fraction, are calculated based on the left atrial segmentation prediction map, and then compared with the normal reference range to assist doctors in diagnosing whether a patient has atrial fibrillation.
[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0007] A method for assisting analysis of atrial fibrillation based on semi-supervised learning, characterized in that the method comprises the following contents:
[0008] 1) Building an image segmentation model, the image segmentation model includes an encoder and a decoder, the encoder and the decoder each include three convolution modules and two multi-layer perceptron modules, and the corresponding modules of the encoder and the decoder are jump-connected; the convolution module includes a convolution layer, a normalization layer, and an activation function layer, and the multi-layer perceptron module includes a multi-layer perceptron with a moving window in the width direction, a multi-layer perceptron with a moving window in the height direction, a multi-layer perceptron with a moving window in the depth direction, a normalization layer, an activation function layer, and a random inactivation layer; the multi-layer perceptron module moves the feature map in the width, height, and depth directions, thereby expanding the multi-layer perceptron to a three-dimensional direction;
[0009] 2) Designing a loss function to train the image segmentation model, the loss function includes supervised loss and unsupervised uncertainty loss, inputting the cardiac magnetic resonance image into the trained image segmentation model, and obtaining a left atrium segmentation prediction map;
[0010] 3) Based on the left atrial segmentation prediction map, four clinical indicators, namely left atrial volume, strain, strain rate and ejection fraction, are calculated to assist doctors in analyzing atrial fibrillation according to whether the clinical indicators are within the normal reference range;
[0011] The formula for calculating the left atrial volume is:
[0012]
[0013] Wherein, L represents the distance from the posterior wall of the left atrium to the attachment point of the mitral valve, A1 and A2 represent the slice area of the left atrium in the two-chamber long axis view and the four-chamber view, respectively. The slice area is obtained by multiplying the number of pixels by the spatial resolution.
[0014] Draw a curve of the change of left atrial volume over time and calculate the gradient of the curve. The time period when the gradient is less than 0 indicates that the left atrium is in continuous contraction. Therefore, the starting time point when the gradient is less than 0 is taken as the end of diastole, and the ending time point when the gradient is less than 0 is taken as the end of systole.
[0015] Calculate the strain, strain rate and ejection fraction of the left atrium. The strain includes circumferential strain, total strain, passive strain and active strain. The strain rate is the derivative of strain with respect to time. The calculation formula is:
[0016]
[0017]
[0018]
[0019]
[0020]
[0021] Among them, L t represents the contour perimeter of the left atrium segmentation prediction map at time t, L0 represents the contour perimeter of the left atrium segmentation prediction map at the initial time, LA EDV represents the left atrial end-diastolic volume, LA ESV represents the left atrial end-systolic volume, LA Vpre It represents the volume of the left atrium before contraction;
[0022] The four clinical indicators of left atrial volume, strain, strain rate and ejection fraction were compared with the normal reference range to assist in the analysis of atrial fibrillation.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] 1. The present invention extracts a left atrial segmentation prediction map through an image segmentation model, and then calculates four clinical indicators of left atrial volume, strain, strain rate and ejection fraction based on the left atrial segmentation prediction map, compares these indicators with the normal value range, assists doctors in diagnosing atrial fibrillation, intervenes in the treatment of patients, and improves the understanding of atrial fibrillation symptoms and clinical diagnosis. It is of great significance in clinical practice and is conducive to the development of medical automatic diagnosis technology from laboratory to clinical application.
[0025] 2. The image segmentation model of the present invention is composed of a convolution module and a multi-layer perceptron module, which makes full use of the characteristics that CNN is good at capturing local information and MLP is good at capturing global information; the multi-layer perceptron module includes a multi-layer perceptron with moving windows in width, height and depth directions, and moves the feature map in the three directions of width, height and depth, and then expands the multi-layer perceptron to the three-dimensional direction, which enables MLP to better learn global semantic relationships, while reducing the number of parameters and computational complexity, producing better representation, and constructing a lightweight image segmentation model to assist segmentation.
[0026] 3. The original cardiac magnetic resonance images are preprocessed, including traditional data enhancement and image hybrid enhancement, to perform data enhancement. Data enhancement plays a vital role in preventing model overfitting and enhancing the generalization ability of neural networks. Traditional data enhancement methods have limited improvement on model performance, and due to the low contrast, blurred boundaries, and complex left atrial structure of cardiac magnetic resonance images, traditional data enhancement methods are not fully applicable to cardiac magnetic resonance images. Therefore, the images after traditional data enhancement are hybrid enhanced. The hybrid images can provide more information to promote model training.
[0027] 4. During the model training process, the uncertainty of the left atrial segmentation prediction map is calculated, the quality of the left atrial segmentation prediction map is estimated by using the uncertainty, the unreliable left atrial segmentation prediction map is filtered out, and the model is retrained using the screened left atrial segmentation prediction map, so that the model learns the most reliable information, thereby reducing the overall uncertainty of the model.
[0028] 5. Semi-supervised learning is a method that combines supervised learning and unsupervised learning. Semi-supervised learning uses a small number of labeled images and a large number of labeled images, reducing the model's dependence on labeled images and greatly alleviating the difficulty of data annotation. The segmentation performance of semi-supervised learning is comparable to that of supervised segmentation. In order to supervise labeled images and unlabeled images at the same time, a loss function combining supervised loss and unsupervised uncertainty loss is proposed to better evaluate the segmentation quality of the network model and optimize the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is the overall flow chart of the present invention;
[0030] Figure 2 It is the image preprocessing flow chart of the present invention;
[0031] Figure 3 A flowchart of image hybrid enhancement of the present invention;
[0032] Figure 4 It is a framework diagram of the image segmentation model of the present invention;
[0033] Figure 5 It is a structural diagram of the convolution module of the present invention;
[0034] Figure 6 is a structural diagram of a multi-layer perceptron module of the present invention;
[0035] Figure 7 A structural diagram of a multilayer perceptron with a moving window according to the present invention;
[0036] Figure 8 The flowchart of atrial fibrillation analysis of the present invention is shown in FIG. DETAILED DESCRIPTION
[0037] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods, but the protection scope of the present application is not limited thereto.
[0038] The present invention is a method for assisting analysis of atrial fibrillation based on semi-supervised learning (hereinafter referred to as method, see Figure 1-8 ), including the following steps:
[0039] S1. Prepare a data set, which consists of several original cardiac magnetic resonance images and preprocessed cardiac magnetic resonance images;
[0040] Obtaining original cardiac magnetic resonance images, preprocessing the original cardiac magnetic resonance images to achieve data expansion; the preprocessing includes traditional data enhancement and image hybrid enhancement, and the traditional data enhancement includes random flipping, center cropping, and contrast enhancement;
[0041] Image mixing enhancement is to mix two cardiac magnetic resonance images that have undergone traditional data enhancement to obtain a mixed cardiac magnetic resonance image and a corresponding label; first, randomly select an original cardiac magnetic resonance image Image1 for traditional data enhancement, and the label of the original cardiac magnetic resonance image Image1 is Label1, and obtain an enhanced cardiac magnetic resonance image Image1', label Label1'; then, randomly select another original cardiac magnetic resonance image Image2 for traditional data enhancement, and the label of the original cardiac magnetic resonance image Image2 is Label2, and obtain an enhanced cardiac magnetic resonance image Image2', label Label2'; finally, the enhanced cardiac magnetic resonance images Imagel′ and Image2′ are mixed, that is, the pixel values of the enhanced cardiac magnetic resonance images Image1′ and Image2′ are averaged to obtain a mixed cardiac magnetic resonance image Mixed Image and a corresponding label Mixed Label;
[0042] S2. Build an image segmentation model for left atrium segmentation;
[0043] like Figure 4As shown, the image segmentation model is based on the VNet network, including an encoder and a decoder. The encoder includes three convolution modules and two multi-layer perceptron modules, and the decoder also includes three convolution modules and two multi-layer perceptron modules. The corresponding modules of the encoder and the decoder are skipped. The encoder is a compression path and the decoder is a decompression path. The encoder uses convolution for downsampling to reduce the resolution of the feature map to half of the input image resolution. The decoder block uses transposed convolution for upsampling to increase the resolution of the compressed feature map by 2 times. The convolution module includes a convolution layer, a normalization layer and an activation function layer, and the multi-layer perceptron module includes a multi-layer perceptron with a moving window, a normalization layer, an activation function layer and a random inactivation (dropout) layer.
[0044] The encoder modules use convolution with stride=2 and filters=2×2×2 for downsampling, halving the resolution of the feature map, and using convolution instead of pooling to make the model training occupy less memory; the decoder modules use transposed convolution with stride=2 and filters=2×2×2 for upsampling, doubling the resolution of the compressed feature map; the modules with the same resolution in the encoding path are transferred to the decoding path through skip connections to provide the original high-resolution feature map for the corresponding modules in the decoder; the encoder's three convolution modules include 1, 2, and 3 convolution layers, respectively, and the convolution kernel of each convolution layer is filters=5×5×5. The input image is forward propagated at different stages of the compression path, and the semantic distinction characteristics of the feature map are enhanced layer by layer, and the resolution is gradually reduced; the decoder's three convolution modules include 3, 2, and 1 convolution layers, respectively; the normalization layer uses the GroupNorm (GN) function instead of the BatchNorm function, which solves the problem of the BatchNorm function for smaller batch sizes (batchNorm). size) has poor effect; the activation function layer uses GELU function instead of ReLU function. This is because GELU function introduces the idea of random regularization based on ReLU function, which makes the image segmentation model have better generalization ability;
[0045] The multilayer perceptron module includes a multilayer perceptron with a moving window in the width direction, a multilayer perceptron with a moving window in the height direction, and a multilayer perceptron with a moving window in the depth direction. The feature map is moved in the width, height, and depth directions, thereby extending the multilayer perceptron (MLP) to the three-dimensional direction, which enables the MLP to better learn global semantic relationships.
[0046] First, the feature map X is moved in the width direction, and the moved feature map X shift Mapped to separate feature map T W , and then use the multi-layer perceptron to separate the feature map TW After processing, the processed feature map is passed to a multilayer perceptron with a moving window in the height direction through a depth-separable convolution (DWConv) to obtain a feature map Y; the feature map Y is moved in the height direction, and the moved feature map Y shift Mapped to separate feature map T H , separate feature map T H After being processed by the multilayer perceptron, it is passed to the multilayer perceptron with a moving window in the depth direction to obtain the feature map Z; the feature map Z is moved in the depth direction, and the moved feature map Z is mapped to the separation feature map T D , separate feature map T D After being processed by the multi-layer perceptron, it passes through the normalization layer, activation function layer and random dropout layer in turn, and then performs residual connection to obtain the output feature map of the multi-layer perceptron module, which is passed to the next module; the expression of the multi-layer perceptron module is:
[0047]
[0048] Y=f(DWConv(MLP(T W ))) (2)
[0049]
[0050] Z=f(MLP(T H )) (4)
[0051]
[0052] Y=f(T+dropout(GELU(GN(MLP(T D ))))) (6)
[0053] Among them, T represents the separation feature map, Shift W (·),Shift H (·) and Shift D (·) represents the shift function in width, height and depth respectively, W represents width, H represents height, D represents depth, Tokenize(·) represents the function of mapping to separate feature maps, MLP(·) represents the multi-layer perceptron processing function, f(·) represents the transfer function, GN(·) represents the normalization function, GELU(·) represents the GELU activation function, and dropout(·) represents the overfitting processing function;
[0054] S3. Design a loss function to train the image segmentation model, input the cardiac magnetic resonance image into the trained image segmentation model, and obtain a left atrium segmentation prediction map; calculate the uncertainty of the left atrium segmentation prediction map, the lower the uncertainty, the better the effect of the left atrium segmentation prediction map, filter out the left atrium segmentation prediction map with an uncertainty higher than the uncertainty threshold, use the left atrium segmentation prediction map with an uncertainty lower than the uncertainty threshold to retrain the image segmentation model, obtain the trained image segmentation model, and use the trained image segmentation model to obtain the left atrium segmentation prediction map;
[0055] The prediction entropy is selected as the metric to approximate the uncertainty, and the formula is shown in equations (7) and (8);
[0056]
[0057]
[0058] in, represents the probability that the kth prediction is the cth category, P c represents the probability of predicting the cth class, K represents the number of predictions; P represents the uncertainty, which is estimated at the voxel level, {P}∈R H*W*D ;
[0059] The loss function includes supervised loss and unsupervised uncertainty loss. The loss function is shown in formula (9);
[0060] L=L S +λL C (9)
[0061] Among them, L S represents the supervision loss, L C represents the unsupervised uncertainty loss, λ represents the coefficient that controls the balance between the supervised loss and the unsupervised uncertainty loss;
[0062] The expression of supervision loss is:
[0063]
[0064] Among them, cross_entroy represents cross entropy loss, Dice_loss represents Dice loss;
[0065] The expression of unsupervised uncertainty loss is:
[0066]
[0067] Among them, g(·) represents the indicator function, f v 、f' vThey represent the predictions of the image segmentation model at the vth voxel before and after adding perturbations, respectively. v represents the uncertainty at the vth voxel, and slice represents the uncertainty threshold;
[0068] The time-dependent Gaussian function λ(t′) is used to control the balance between the supervised loss and the unsupervised uncertainty loss. This design ensures that the loss function is dominated by the supervised loss at the beginning and avoids the degradation of the image segmentation model. The expression is:
[0069]
[0070] Among them, t′ represents the current training step, t max represents the maximum training step;
[0071] S4. Based on the left atrial segmentation prediction map, four clinical indicators, namely left atrial volume, strain, strain rate and ejection fraction, are calculated. Based on whether the clinical indicators are within the normal reference range, the doctor is assisted in analyzing atrial fibrillation.
[0072] Medically, the time from left atrium diastole to contraction is defined as a complete cardiac cycle. Correctly identifying the time points of left atrium end-diastole and end-systole is the key to atrial fibrillation analysis. Common sense tells us that the volume of the human left atrium reaches its maximum value at the end-diastole and its minimum value at the end-systole. Therefore, by calculating the volume of the left atrium and analyzing its trend over time, the time points of left atrium end-diastole and end-systole can be accurately determined.
[0073] The formula for calculating the left atrial volume is:
[0074]
[0075] Wherein, L represents the distance from the posterior wall of the left atrium to the attachment point of the mitral valve, A1 and A2 represent the slice area of the left atrium in the two-chamber long axis view and the four-chamber view, respectively. The slice area is obtained by multiplying the number of pixels by the spatial resolution.
[0076] Draw a curve of the change of left atrial volume over time, and use Gaussian filtering to smooth the curve and remove the local minimum and maximum values in the curve; calculate the gradient of the curve. The time period when the gradient is less than 0 indicates that the left atrium is in continuous contraction. Therefore, the starting time point when the gradient is less than 0 is taken as the end of diastole, and the ending time point when the gradient is less than 0 is taken as the end of systole;
[0077] After determining the time points of the left atrial end-diastolic and end-systolic phases, the left atrial end-diastolic volume LA is read from the left atrial volume change curve over time. EDV LA, left atrial end-systolic volume ESV and left atrial presystolic volume LA Vpre, used to calculate the strain, strain rate and ejection fraction of the left atrium; strain includes circumferential strain, total strain, passive strain and active strain, and strain rate is the derivative of strain with respect to time; ejection fraction is a clinical index related to the end-systolic volume and end-diastolic volume of the left atrium; the calculation formula is:
[0078]
[0079]
[0080]
[0081]
[0082]
[0083] Among them, L t represents the contour circumference of the left atrium segmentation prediction map at time t, and L0 represents the contour circumference of the left atrium segmentation prediction map at the initial moment;
[0084] Doctors compare the four clinical indicators of left atrial volume, strain, strain rate and ejection fraction with the normal reference range, and combine experience to diagnose whether the patient has atrial fibrillation, thereby assisting in the analysis of atrial fibrillation.
[0085] Any matters not described in the present invention are applicable to the prior art.
Claims
1. A method for auxiliary analysis of atrial fibrillation based on semi-supervised learning, characterized in that: The method includes the following: 1) Building an image segmentation model, the image segmentation model includes an encoder and a decoder, the encoder and the decoder each include three convolution modules and two multi-layer perceptron modules, and the corresponding modules of the encoder and the decoder are jump-connected; the convolution module includes a convolution layer, a normalization layer, and an activation function layer, and the multi-layer perceptron module includes a multi-layer perceptron with a moving window in the width direction, a multi-layer perceptron with a moving window in the height direction, a multi-layer perceptron with a moving window in the depth direction, a normalization layer, an activation function layer, and a random inactivation layer; the multi-layer perceptron module moves the feature map in the width, height, and depth directions, thereby expanding the multi-layer perceptron to a three-dimensional direction; 2) Designing a loss function to train the image segmentation model, the loss function includes supervised loss and unsupervised uncertainty loss, inputting the cardiac magnetic resonance image into the trained image segmentation model, and obtaining a left atrium segmentation prediction map; 3) Based on the left atrial segmentation prediction map, four clinical indicators, namely left atrial volume, strain, strain rate and ejection fraction, are calculated to assist doctors in analyzing atrial fibrillation according to whether the clinical indicators are within the normal reference range; The formula for calculating the left atrial volume is: Wherein, L represents the distance from the posterior wall of the left atrium to the attachment point of the mitral valve, A1 and A2 represent the slice area of the left atrium in the two-chamber long axis view and the four-chamber view, respectively; Draw a curve of the change of left atrial volume over time and calculate the gradient of the curve. The time period when the gradient is less than 0 indicates that the left atrium is in continuous contraction. Therefore, the starting time point when the gradient is less than 0 is taken as the end of diastole, and the ending time point when the gradient is less than 0 is taken as the end of systole. Calculate the strain, strain rate and ejection fraction of the left atrium. The strain includes circumferential strain, total strain, passive strain and active strain. The strain rate is the derivative of strain with respect to time. The calculation formula is: Among them, L t represents the contour perimeter of the left atrium segmentation prediction map at time t, L0 represents the contour perimeter of the left atrium segmentation prediction map at the initial time, LA EDV represents the left atrial end-diastolic volume, LA ESV represents the left atrial end-systolic volume, LA Vpre It represents the volume of the left atrium before contraction; The four clinical indicators of left atrial volume, strain, strain rate and ejection fraction were compared with the normal reference range to assist in the analysis of atrial fibrillation.
2. The atrial fibrillation auxiliary analysis method based on semi-supervised learning according to claim 1, characterized in that: The processing of the multilayer perceptron module is: First, the feature map X is moved in the width direction, and the moved feature map X shift Mapped to separate feature map T W , and then use the multi-layer perceptron to separate the feature map T W After processing, the processed feature map is passed to a multilayer perceptron with a moving window in the height direction through a depth-separable convolution (DWConv) to obtain a feature map Y; the feature map Y is moved in the height direction, and the moved feature map Y shift Mapped to separate feature map T H , separate feature map T H After being processed by the multilayer perceptron, it is passed to the multilayer perceptron with a moving window in the depth direction to obtain the feature map Z; the feature map Z is moved in the depth direction, and the moved feature map Z is mapped to the separation feature map T D , separate feature map T D After being processed by the multi-layer perceptron, it passes through the normalization layer, activation function layer and random dropout layer in turn, and then performs residual connection to obtain the output feature map of the multi-layer perceptron module, which is passed to the next module; the expression of the multi-layer perceptron module is: Y=f(DWConv(MLP(T W ))) (2) Z=f(MLP(T H )) (4) Y=f(T+dropout(GELU(GN(MLP(T D ))))) (6) Among them, Shift W (·),Shift H (·) and Shift D (·) represents the shift function in width, height and depth directions respectively, W represents width, H represents height, D represents depth, Tokenize(·) represents the function mapped to separation feature map, MLP(·) represents the multi-layer perceptron processing function, f(·) represents the transfer function, GN(·) represents the normalization function, GELU(·) represents the GELU activation function, dropout(·) represents the overfitting processing function, and T represents the separation feature map.
3. The atrial fibrillation auxiliary analysis method based on semi-supervised learning according to claim 1 or 2, characterized in that: The encoder modules use convolution with a stride of 2 and a convolution kernel of 2×2×2 for downsampling; the decoder modules use transposed convolution with a stride of 2 and a convolution kernel of 2×2×2 for upsampling; the encoder’s three convolution modules include 1, 2, and 3 convolution layers respectively, and the decoder’s three convolution modules include 3, 2, and 1 convolution layers respectively. The convolution kernels of the convolution layers of the encoder and decoder are both 5×5×5.
4. The method for assisting analysis of atrial fibrillation based on semi-supervised learning according to claim 1, characterized in that: The image segmentation model training process also includes calculating the uncertainty of the left atrium segmentation prediction map, filtering the left atrium segmentation prediction maps with uncertainties higher than the uncertainty threshold, and retraining the image segmentation model using the left atrium segmentation prediction maps with uncertainties lower than the uncertainty threshold to obtain a trained image segmentation model; The prediction entropy is selected as the metric to approximate the uncertainty, as shown in equations (7) and (8); in, represents the probability that the kth prediction is the cth category, P c represents the probability of predicting the cth category, K represents the number of predictions, and P represents uncertainty.
5. The method for assisting analysis of atrial fibrillation based on semi-supervised learning according to claim 1, characterized in that: The method also includes acquiring an original cardiac magnetic resonance image, preprocessing the original cardiac magnetic resonance image, and realizing data expansion; the preprocessing includes traditional data enhancement and image hybrid enhancement, and the traditional data enhancement includes random flipping, center cropping, and contrast enhancement; Image mixing enhancement is to average the pixel values of two cardiac magnetic resonance images that have undergone traditional data enhancement and mix them to obtain a mixed cardiac magnetic resonance image and corresponding labels.
