Consistency regularization semi-supervised medical image segmentation method based on frequency domain perception
By employing a frequency-domain-aware consistency regularization semi-supervised method, combined with weak data augmentation and strong frequency-domain data augmentation, the problem of scarce labeled data in medical image segmentation is solved, achieving high-precision image segmentation results applicable to various medical image segmentation tasks.
Patent Information
- Application Number
- CN202411019034.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-07-29
Smart Images

Figure CN118644677B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of medical image segmentation in practical applications, and in particular addresses the segmentation problem where medical image annotation data is extremely scarce. Background Technology
[0002] With the continuous development of medical imaging technology, medical images have become essential data for disease diagnosis and treatment planning. Among the fundamental and key technologies of medical image analysis, medical image segmentation plays a crucial role. Medical image segmentation refers to identifying organ or lesion pixels from medical images such as CT or MRI. It is one of the most challenging tasks in medical image analysis, aiming to convey and extract key information about the shape and volume of these organs or tissues. Traditional supervised learning methods typically rely on large amounts of labeled data to train deep learning models to achieve accurate medical image segmentation. However, in the medical field, acquiring large-scale, high-quality labeled data is extremely expensive and time-consuming. This leads to data scarcity, limiting the widespread application of traditional supervised learning methods in practice and posing a significant challenge to these methods.
[0003] Semi-supervised learning aims to enhance the performance of supervised learning models by utilizing unlabeled data. In medical image segmentation, semi-supervised learning methods attempt to improve the model's generalization ability and segmentation accuracy by combining a small amount of labeled data with a large amount of unlabeled data. This method can significantly reduce the dependence on the amount of labeled data, thus making it more feasible in practical medical applications. Consistency regularization is one of the commonly used techniques in semi-supervised learning. Its core idea is to improve the model's stability and generalization ability by forcing similar points in the input space to have similar outputs. In medical image segmentation, consistency regularization can be implemented in various forms, including data augmentation, feature space constraints, and output space consistency constraints. Meanwhile, in semi-supervised medical image segmentation, data augmentation strategies are a common consistency regularization method. It generates synthetic labeled samples by applying controlled perturbations to unlabeled data, thereby improving the model's ability to learn data distributions. Common data augmentation techniques include geometric transformations (such as flipping and rotation), color transformations (such as brightness and contrast adjustment), and spatial transformations (such as scaling and cropping). However, the data augmentation strategies used in existing consistency regularization methods are either not strong enough, resulting in insufficient utilization of image information and little effect; or too strong, which may change the original feature space distribution of the data. At the same time, most data augmentation strategies are manually set, which may introduce learning bias and cause the model to fail to learn.
[0004] Another way to alleviate the lack of image annotation data is to fully utilize the inherent feature information of the image. One method is to utilize frequency domain information. In recent years, research on image segmentation using frequency domain information has gradually increased. Frequency domain information can help decompose an image into components of different frequencies, typically including low-frequency and high-frequency information. Compared to the original pixel values in the spatial domain, in the frequency domain, the low-frequency components usually contain the smooth structure of an object, while the high-frequency components mainly describe the outline or contour structure of the object. This unique characteristic of the frequency domain reduces information redundancy. Both low-frequency and high-frequency information are useful for learning good features. However, in current deep learning models, there are still very few studies that utilize frequency domain information in medical image segmentation. Summary of the Invention
[0005] To overcome the shortcomings of the existing technology, this invention provides a semi-supervised medical image segmentation method based on frequency domain awareness and consistency regularization, aiming to improve the accuracy and segmentation effect of medical image segmentation, thereby solving the medical image segmentation problem caused by the severe lack of annotation information in the field of medical images.
[0006] To achieve the above-mentioned objectives, the present invention adopts the following technical solution:
[0007] The present invention provides a semi-supervised medical image segmentation method based on frequency domain awareness and consistency regularization, characterized by the following steps:
[0008] Step 1: Train the U-Net network model on the medical image labeling dataset to obtain the trained medical image segmentation model:
[0009] Step 1.1: After preprocessing the given set of medical image labeled datasets, the preprocessed medical image labeled dataset is obtained. And divide Divide into equal parts, denoted as: ,in, This represents the medical image labeling dataset. The k-th labeled subset in, and has ,in, They represent the k-th labeled subset. The first in One sample, Let C represent the medical image of the nth sample, where C is the number of channels in the medical image, H is the height of the medical image, and R is the width of the medical image. Let represent the true segmentation label of the nth sample, and y k , n L = [ s h , r L ] h = 1 , r = 1 H , R ,in, express The category of the pixel in the h-th row and r-th column; , N represents the number of samples in the labeled subset;
[0010] Step 1.2: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require The data is input into the U-Net network for processing to obtain the k-th predicted label set, and then the k-th first cross-entropy loss is constructed using Equation (1). :
[0011] (1)
[0012] In equation (1), express Predicted labels;
[0013] Step 1.3: Train the U-Net network using backpropagation and calculate the first cross-entropy loss to update the parameters of the U-Net network, thus obtaining the trained medical image segmentation model;
[0014] Step 2: For each image in the label-free medical image dataset, use a weak data augmentation strategy to obtain a weakly augmented image, and use a strong data augmentation strategy to obtain a low-frequency strongly augmented image and a high-frequency strongly augmented image respectively:
[0015] Step 2.1: After preprocessing the given set of unlabeled medical image datasets, the preprocessed unlabeled medical image dataset is obtained. And divide Divide into equal parts, denoted as: , , express The q-th unlabeled subset in the set, and has ,in, express The g-th unlabeled medical image in the middle, G represents the number of samples in the unlabeled subset;
[0016] Step 2.2: Using weak data augmentation strategies Low-frequency strong data augmentation strategy High-frequency strong data augmentation strategy To each The processing yields the g-th weakly enhanced image. The g-th low-frequency strongly enhanced image and the g-th high-frequency strongly enhanced image ;
[0017] Step 3: Utilize the coding layers in the trained medical image segmentation model to respectively... , and After processing, the g-th weakly enhanced coding feature is obtained. The g-th low-frequency strongly enhanced coding feature With the g-th high-frequency strongly enhanced coding feature ;
[0018] Step 4: and After fusion, the g-th encoded fusion feature is obtained. ,based on and Construct the q-th mean squared error loss function Therefore, the coding layer in the trained medical image segmentation model is trained based on the backpropagation mechanism, and the mean squared error loss function is calculated to update the parameters of the coding layer, thus obtaining the updated coding layer.
[0019] Step 5: and The input is processed by the decoding layer of the trained medical image segmentation model to obtain the g-th weakly enhanced decoding feature. fused with the g-th decoding feature ,based on and Construct the q-th second cross-entropy loss function Therefore, the decoding layer in the trained medical image classification model is trained based on the backpropagation mechanism, and the second cross-entropy loss function is calculated to update the parameters of the decoding layer, thus obtaining the updated decoding layer.
[0020] Step 6: The updated encoding layer and the updated decoding layer form the optimal medical image segmentation model, which is used to perform segmentation prediction on the medical image test set.
[0021] The characteristic of the frequency domain-aware consistency regularization semi-supervised medical image segmentation method described in this invention is that step 2.2 is performed according to the following steps:
[0022] Step 2.2: The weak data augmentation strategy First to conduct The image is rotated, then flipped horizontally and vertically. Finally, the flipped image is randomly scaled and cropped to obtain the g-th weakly enhanced image. ,in, Indicates the angle of rotation, and ;
[0023] The low-frequency strong data augmentation strategy is First, use Fourier grayscale image transformation to... The image is transformed from the spatial domain to the frequency domain, and then a low-pass filter is used to remove all high-frequency information from the transformed frequency domain image, leaving only low-frequency information, thus obtaining the g-th low-frequency enhanced image.
[0024] The high-frequency strong data enhancement strategy First, use Fourier grayscale image transformation to... The image is transformed from the spatial domain to the frequency domain, and then a high-pass filter is used to remove all low-frequency information from the transformed frequency domain image, retaining only the high-frequency information, thus obtaining the g-th high-frequency enhanced image.
[0025] Step 4 includes:
[0026] Step 4.1: Use convolution operations on and Dimensionality reduction is performed to obtain the g-th dimensionality-reduced low-frequency strongly enhanced coding feature. High-frequency strongly enhanced coding features after dimensionality reduction of the g-th dimension ;
[0027] Will and A stacking operation is performed along the channel dimension to obtain the g-th stacked feature. Then, a convolution downsampling operation is performed on the g-th stacked feature to obtain the g-th downsampled feature. Finally, a bilinear interpolation upsampling operation is performed on the g-th downsampled feature to obtain the g-th encoded fusion feature. ;
[0028] Step 4.2: Construct the q-th mean squared error loss function using equation (5) :
[0029] (5)
[0030] Step 4.3: Based on the mean square error loss The coding layer in the trained medical image classification model is updated to obtain the updated coding layer.
[0031] In step 5, the second cross-entropy loss function of the qth term is constructed using equation (6). :
[0032] (6)
[0033] In equation (6), It is the threshold for pseudo-labels.
[0034] Step 6 includes:
[0035] Step 6.1: After preprocessing the given medical image test set, obtain the preprocessed medical image test set. ,in, express The first in A medical test image, , express The total number of test samples in the sample;
[0036] Step 6.2: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require The image is input into the optimal medical image classification model for processing, and then... Predicted label probability and from The index value corresponding to the highest probability is selected as the channel dimension. Predicted labels , where the channel dimension represents the number of categories to be segmented.
[0037] The present invention provides an electronic device, including a memory and a processor, wherein the memory is used to store a program that supports the processor in executing the medical image segmentation method, and the processor is configured to execute the program stored in the memory.
[0038] The present invention discloses a computer-readable storage medium on which a computer program is stored, wherein the computer program is executed by a processor to perform the steps of the medical image segmentation method.
[0039] Compared with existing technologies, the beneficial effects of this invention are as follows:
[0040] 1. This invention takes into account the learning bias that may be caused by the artificial design of data augmentation and the information of scarce labeled images. It uses the frequency domain as data augmentation. On the one hand, it can be used as data augmentation to ensure the strength of data augmentation while avoiding the learning bias problem caused by artificially designed data augmentation. On the other hand, it can make full use of the inherent information of the image - frequency domain information - to fully learn, thereby alleviating the problem of insufficient medical image labeled data affecting the segmentation effect and segmentation accuracy.
[0041] 2. This invention addresses the data augmentation problem of consistency regularization: insufficient data augmentation strength fails to fully utilize image information, while excessive data augmentation strength may alter the original feature distribution of the data, leading to model learning failure. By utilizing weakly augmented data and supervising the strongly augmented data during the Encoder stage of the model, both the strength of data augmentation and a stable learning process are ensured, thereby improving segmentation accuracy.
[0042] 3. This invention utilizes a semi-supervised method based on consistency regularization, providing a general framework. The specific model used can be replaced and extended according to the application scenario. For example, for more complex medical images, the model can be applied as a Transformer-like model to achieve greater spatial awareness; for simple tasks, the classic U-Net model can be used to reduce model and computational complexity. Furthermore, the data augmentation used is universally applicable to most scenarios, has few hyperparameters, and achieves a "plug-and-play" effect.
[0043] 4. This invention utilizes the frequency domain for strong data augmentation and adds supervision to the Encoder layer, using weakly augmented data to supervise the strongly augmented data. These operations can fully utilize medical image data, including both labeled and unlabeled data, thereby improving the accuracy and performance of medical image segmentation. Attached Figure Description
[0044] Figure 1 This is a flowchart of the present invention;
[0045] Figure 2 This is an overall framework diagram of the present invention;
[0046] Figure 3 This is a diagram of the fusion module of the present invention. Detailed Implementation
[0047] In this embodiment, a frequency-domain-aware consistency regularization-based semi-supervised medical image segmentation method can be applied to the field of medical image segmentation containing only a small number of labeled images and a large number of unlabeled images, such as organ and tissue segmentation, lesion and pathological segmentation, blood vessel and nerve segmentation, and cell and tissue slice segmentation. In these scenarios, labeled data is often expensive and difficult to obtain, while unlabeled data is easy to obtain. This method can make full use of unlabeled data to improve the segmentation ability of the model. Specifically, for example... Figure 1 As shown, the procedure is as follows:
[0048] Step 1: Train the U-Net network model on the medical image labeling dataset to obtain the trained medical image segmentation model:
[0049] Step 1.1: After preprocessing the given set of medical image labeled datasets, the preprocessed medical image labeled dataset is obtained. And divide Divide into equal parts, denoted as: ,in, This represents the medical image labeling dataset. The k-th labeled subset in, and has ,in, They represent the k-th labeled subset. The first in One sample, Indicates the first Medical images of a sample, The number of channels in a medical image. For high-quality medical images, For the width of medical images, Indicates the first The true segmentation labels of each sample, and y k , n L = [ s h , r L ] h = 1 , r = 1 H , R ,in, express The category of the pixel in the h-th row and r-th column; , N represents the number of samples in the labeled subset;
[0050] In medical image segmentation, such as CT and MRI images, the images are typically processed as two-dimensional images. The original image is sliced, and the shapes are usually... Where c is the number of color channels, h is the image height, and w is the image width. For grayscale images, c=1, and for color images, c=3, and the corresponding labels... This removes the channel dimension, and the shape is consistent with the input image, i.e. The value of each pixel is typically an integer, representing the category label at that location. Generally, the background category is 0, and the other categories are... C is the total number of classes. Typically, each iteration uses a batch for simultaneous training, accumulating gradients across multiple samples; that is, the smallest training unit in one iteration is... 'b' represents the batch size. Common batch sizes range from 16 to 256 or even larger, typically depending on hardware resources and task requirements.
[0051] Step 1.2: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require The data is input into the U-Net network for processing to obtain the k-th predicted label set, and then the k-th first cross-entropy loss is constructed using Equation (1). :
[0052] (1)
[0053] In equation (1), express Predicted labels;
[0054] Step 1.3: Train the U-Net network using backpropagation and calculate the first cross-entropy loss to update the parameters of the U-Net network, obtaining the trained medical image segmentation model; parameter updates are performed using stochastic gradient descent. An epoch is defined as traversing the entire dataset once. Therefore, one epoch has... Number of iterations, It rounds up, and the specific number of epochs depends on factors such as the size and complexity of the dataset.
[0055] In this embodiment, the changes in dimensionality when using labeled data for training are shown in Table 1:
[0056] Table 1. Dimensionality variations of training data
[0057]
[0058] Step 2: For each image in the label-free medical image dataset, use a weak data augmentation strategy to obtain a weakly augmented image, and use a strong data augmentation strategy to obtain a low-frequency strongly augmented image and a high-frequency strongly augmented image respectively:
[0059] Step 2.1: After preprocessing the given set of unlabeled medical image datasets, the preprocessed unlabeled medical image dataset is obtained. And divide Divide into equal parts, denoted as: , , express The q-th unlabeled subset in the set, and has ,in, express The g-th unlabeled medical image in the middle, , This represents the number of samples in the unlabeled subset.
[0060] Step 2.2: Using weak data augmentation strategies Low-frequency strong data augmentation strategy High-frequency strong data augmentation strategy To each The processing yields the g-th weakly enhanced image. The g-th low-frequency strongly enhanced image and the g-th high-frequency strongly enhanced image ;
[0061] In practice, weak data augmentation strategies It is rotation: rotating the image The rotation, in which, Flip: Flips the image horizontally or vertically; Scaling and cropping: Performs random scaling and cropping operations on the image, changing its size and area.
[0062] Low-frequency strong data enhancement This is an operation that removes frequency domain information, removing all high-frequency information from the image and retaining only the low-frequency information.
[0063] High-frequency strong data augmentation This process removes all low-frequency information from an image, retaining only the high-frequency information.
[0064] These two strong data augmentations first involve the operation of transforming an image from the spatial domain to the frequency domain in the fields of deep learning and image processing, that is, using Fourier grayscale image transformation, and then using filters to remove frequencies: It uses a low-pass filter to allow low-frequency components to pass through while suppressing high-frequency components. This is accomplished using a high-pass filter, which allows high-frequency components to pass through while suppressing low-frequency components.
[0065] Step 3: Utilize the coding layers in the trained medical image segmentation model to respectively... , and After processing, the g-th weakly enhanced coding feature is obtained. The g-th low-frequency strongly enhanced coding feature With the g-th high-frequency strongly enhanced coding feature ;
[0066] In this embodiment, the model is divided into an encoding layer. and decoding layer Typically, the encoding layer encodes the input image data into a representation in the latent space, progressively transforming it into a high-dimensional feature representation. These features capture the distribution and information of the input data. The decoding layer, on the other hand, receives the encoder's output to generate the target result, decoding the representation in the latent space into a reconstruction of the original input data. In medical image segmentation, the classic network U-Net consists of encoding and decoding layers. Specifically, the encoding layer usually has multiple layers, each including two convolutional operations, a ReLU activation function, and a downsampling operation using max pooling. Through the encoding layer of the constructed U-Net network model, respectively... , and Encoding the g-th weakly enhanced coding feature The g-th low-frequency strongly enhanced coding feature With the g-th high-frequency strongly enhanced coding feature .
[0067] Step 4: and After fusion, the g-th encoded fusion feature is obtained. ,based on and Construct the q-th mean squared error loss function Therefore, the coding layer in the trained medical image segmentation model is trained based on the backpropagation mechanism, and the mean squared error loss function is calculated to update the parameters of the coding layer, thus obtaining the updated coding layer.
[0068] Step 4.1: The model contains a fusion module. ,like Figure 3 As shown, through ,Will and After fusion, the g-th encoded fusion feature is obtained. . and First, through a convolution operation, using... The convolution kernel has a stride of 1 and padding of 1 to ensure... and The number of channels remains unchanged, but the number of channels is halved. Then, a stacking operation is performed along the channel dimension. To further fuse features, two downsampling operations are used, employing convolutional operations for downsampling. Specifically, the convolution kernel is selected as... The stride is 2 to ensure no overlapping areas. After two downsampling operations, the resulting dimension is... Then, two upsampling operations are performed to restore the feature map while further fusing low-frequency and high-frequency information. Specifically, bilinear interpolation is used for the upsampling. After these two upsampling operations, the dimensionality of the feature map is restored. The g-th encoded fusion feature is obtained. .
[0069] Step 4.2: Construct the q-th mean squared error loss function using equation (5) :
[0070] (5)
[0071] Step 4.3: Based on the mean square error loss The coding layer in the trained medical image classification model is updated to obtain the updated coding layer;
[0072] In this example, , , , The feature dimensions are shown in Table 2:
[0073] Table 2. Feature Changes in the Encoder Layer
[0074]
[0075] Step 5: and The input is processed in the decoding layer of the trained medical image segmentation model. Each layer of the decoding layer includes upsampling operation of nearest neighbor interpolation, skip connections, two convolution operations, and an activation function, resulting in the g-th weakly enhanced decoding feature. fused with the g-th decoding feature ,based on and The second cross-entropy loss function of the qth iteration is constructed using equation (6). Therefore, the decoding layer in the trained medical image classification model is trained based on the backpropagation mechanism, and the second cross-entropy loss function is calculated to update the parameters of the decoding layer, thus obtaining the updated decoding layer.
[0076] (6)
[0077] In equation (6), It is the threshold for pseudo-labels.
[0078] In this embodiment, similar to using labeled data, unlabeled data is also repeatedly used iteratively. Each iteration involves forward propagation, loss calculation, backpropagation, and parameter updates. The significant difference is that labeled data only uses cross-entropy loss for loss calculation in the final prediction, i.e., the decoding layer, while unlabeled data undergoes MSE loss calculation not only in the encoding layer but also in the decoding layer.
[0079] In this example, , The feature dimensions are shown in Table 3.
[0080] Table 3 Decoder Feature Dimensions
[0081]
[0082] like Figure 2 The diagram shown is an overall framework diagram of the present invention, which is a framework specifically designed for unlabeled medical image data. For any single image in the unlabeled medical image data... First, perform weak data augmentation. Low-frequency strong data enhancement With high-frequency strong data enhancement To obtain weak data augmentation data Low-frequency strong data augmentation data Enhanced data with high-frequency strong data After passing through the model's encoding layer, weak data augmentation encoding features are obtained respectively. Low-frequency strong data enhancement coding features Enhancing coding features with high-frequency strong data Then, it is fused with the fusion module to obtain the fused features. The loss is calculated using mean squared error; finally, the weakly enhanced data decoding features are obtained by passing the model's decoding layer. With fusion decoding features The loss is calculated using cross-entropy loss.
[0083] Step 6: The updated encoding layer and the updated decoding layer form the optimal medical image segmentation model, which is used to perform segmentation prediction on a medical image test set.
[0084] Step 6.1: After preprocessing the given medical image test set, obtain the preprocessed medical image test set. ,in, express The first in A medical test image, , express The total number of test samples in the sample;
[0085] Step 6.2: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require The image is input into the optimal medical image classification model for processing, and then... Predicted label probability and from The index value corresponding to the highest probability is selected as the channel dimension. Predicted labels , where the channel dimension represents the number of categories to be segmented.
[0086] In this embodiment, an electronic device includes a memory and a processor. The memory stores a program that supports the processor in executing the methods described above, and the processor is configured to execute the program stored in the memory.
[0087] In this embodiment, a computer-readable storage medium stores a computer program, which is executed by a processor to perform the steps of the above method.
Claims
1. A semi-supervised medical image segmentation method based on frequency domain awareness and consistency regularization, characterized in that, The procedure is as follows: Step 1: Train the U-Net network model on the medical image labeling dataset to obtain the trained medical image segmentation model: Step 1.1: After preprocessing the given set of medical image labeled datasets, the preprocessed medical image labeled dataset is obtained. And divide Divide into equal parts, denoted as: ,in, This represents the medical image labeling dataset. The k-th labeled subset in, and has ,in, They represent the k-th labeled subset. The first in One sample, Indicates the first Medical images of a sample, The number of channels in a medical image. For high-quality medical images, For the width of medical images, Indicates the first The true segmentation labels of each sample, and ,in, express The category of the pixel in the h-th row and r-th column; , N represents the number of samples in the labeled subset; Step 1.2: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require The data is input into the U-Net network for processing to obtain the k-th predicted label set, and then the k-th first cross-entropy loss is constructed using Equation (1). : (1) In equation (1), express Predicted labels; Step 1.3: Train the U-Net network using backpropagation and calculate the first cross-entropy loss to update the parameters of the U-Net network, thus obtaining the trained medical image segmentation model; Step 2: For each image in the label-free medical image dataset, use a weak data augmentation strategy to obtain a weakly augmented image, and use a strong data augmentation strategy to obtain a low-frequency strongly augmented image and a high-frequency strongly augmented image respectively: Step 2.1: After preprocessing the given set of unlabeled medical image datasets, the preprocessed unlabeled medical image dataset is obtained. And divide Divide into equal parts, denoted as: , , express The q-th unlabeled subset in the set, and has ,in, express The g-th unlabeled medical image in the middle, , This represents the number of samples in the unlabeled subset; Step 2.2: Using weak data augmentation strategies Low-frequency strong data augmentation strategy High-frequency strong data augmentation strategy To each The processing yields the g-th weakly enhanced image. The g-th low-frequency strongly enhanced image and the g-th high-frequency strongly enhanced image ; Step 3: Utilize the coding layers in the trained medical image segmentation model to respectively... , and After processing, the g-th weakly enhanced coding feature is obtained. The g-th low-frequency strongly enhanced coding feature With the g-th high-frequency strongly enhanced coding feature ; Step 4: and After fusion, the g-th encoded fusion feature is obtained. ,based on and Construct the q-th mean squared error loss function Therefore, the coding layer in the trained medical image segmentation model is trained based on the backpropagation mechanism, and the mean squared error loss function is calculated to update the parameters of the coding layer, thus obtaining the updated coding layer. Step 5: and The input is processed by the decoding layer of the trained medical image segmentation model to obtain the g-th weakly enhanced decoding feature. fused with the g-th decoding feature ,based on and Construct the q-th second cross-entropy loss function Therefore, the decoding layer in the trained medical image classification model is trained based on the backpropagation mechanism, and the second cross-entropy loss function is calculated to update the parameters of the decoding layer, thus obtaining the updated decoding layer. Step 6: The updated encoding layer and the updated decoding layer form the optimal medical image segmentation model, which is used to perform segmentation prediction on the medical image test set.
2. The medical image segmentation method based on frequency domain awareness and consistency regularization semi-supervised method according to claim 1, characterized in that, Step 2.2 is performed as follows: Step 2.2: The weak data augmentation strategy First to conduct The image is rotated, then flipped horizontally and vertically. Finally, the flipped image is randomly scaled and cropped to obtain the g-th weakly enhanced image. ,in, Indicates the angle of rotation, and ; The low-frequency strong data augmentation strategy is First, use Fourier grayscale image transformation to... The image is transformed from the spatial domain to the frequency domain, and then a low-pass filter is used to remove all high-frequency information from the transformed frequency domain image, leaving only low-frequency information, thus obtaining the g-th low-frequency enhanced image. The high-frequency strong data enhancement strategy First, use Fourier grayscale image transformation to... The image is transformed from the spatial domain to the frequency domain, and then a high-pass filter is used to remove all low-frequency information from the transformed frequency domain image, retaining only the high-frequency information, thus obtaining the g-th high-frequency enhanced image.
3. The medical image segmentation method based on frequency domain awareness and consistency regularization semi-supervised method according to claim 1, characterized in that, Step 4 includes: Step 4.1: Use convolution operations on and Dimensionality reduction is performed to obtain the g-th dimensionality-reduced low-frequency strongly enhanced coding feature. High-frequency strongly enhanced coding features after dimensionality reduction of the g-th dimension ; Will and A stacking operation is performed along the channel dimension to obtain the g-th stacked feature. Then, a convolution downsampling operation is performed on the g-th stacked feature to obtain the g-th downsampled feature. Finally, a bilinear interpolation upsampling operation is performed on the g-th downsampled feature to obtain the g-th encoded fusion feature. ; Step 4.2: Construct the q-th mean squared error loss function using equation (5) : (5) Step 4.3: Based on the mean square error loss The coding layer in the trained medical image classification model is updated to obtain the updated coding layer.
4. The medical image segmentation method based on frequency domain awareness and consistency regularization semi-supervised method according to claim 1, characterized in that, In step 5, the second cross-entropy loss function of the qth term is constructed using equation (6). : (6) In equation (6), It is the threshold for pseudo-labels.
5. The medical image segmentation method based on frequency domain awareness and consistency regularization semi-supervised method according to claim 1, characterized in that, Step 6 includes: Step 6.1: After preprocessing the given medical image test set, obtain the preprocessed medical image test set. ,in, express The first in A medical test image, , express The total number of test samples in the sample; Step 6.2: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require The image is input into the optimal medical image classification model for processing, and then... Predicted label probability and from The index value corresponding to the highest probability is selected as the channel dimension. Predicted labels , where the channel dimension represents the number of categories to be segmented.
6. An electronic device, comprising a memory and a processor, characterized in that, The memory is used to store a program that supports the processor in executing the medical image segmentation method according to any one of claims 1-5, the processor being configured to execute the program stored in the memory.
7. A computer-readable storage medium storing a computer program thereon, characterized in that, The computer program, when run by a processor, performs the steps of the medical image segmentation method according to any one of claims 1-5.
Citation Information
Patent Citations
Semi-supervised medical image segmentation method based on data enhancement strategy
CN117710681A
Method and system for machine learning from imbalanced data with noisy labels
US20230169332A1
