Multi-organ segmentation method based on self-supervised feature small sample learning

Through superpixel segmentation and self-supervised feature learning, a data set containing pseudo labels is generated and a self-supervised small sample learning segmentation network is constructed, which solves the problem of difficult target organ identification in medical images and improves segmentation accuracy and efficiency.

CN113706487BActive Publication Date: 2024-09-06XIDIAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110944404.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-17
Publication Date
2024-09-06
Estimated Expiration
2041-08-17

AI Technical Summary

Technical Problem

Existing medical image segmentation models perform poorly in terms of migration capabilities and cannot identify target organs in different data sets. Moreover, small sample learning methods are not effective in medical image applications and cannot effectively handle small single-channel pixel differences and the shape and size of target organs. Large differences.

Method used

Using a training set generation method based on superpixel segmentation and a self-supervised feature learning module, a self-supervised small sample learning segmentation network is constructed by generating a data set containing pseudo labels and self-supervised feature learning to improve the multi-objective processing capabilities of medical images.

Benefits of technology

It improves the recognition ability of small target organs, reduces background information interference, enhances texture feature learning, significantly improves the accuracy and efficiency of segmentation, and overcomes the under-segmentation and over-segmentation phenomena in other methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113706487B
    Figure CN113706487B
Patent Text Reader

Abstract

The present invention discloses a multi-organ segmentation method based on self-supervised feature small sample learning, which mainly solves the problem that the existing technology uses small sample learning segmentation method to perform multi-organ segmentation with poor effect. The scheme is: using superpixel segmentation method to generate a large amount of data containing pseudo labels from the initial data set, and select images and pseudo labels as support sets; using data enhancement method to generate query sets; using self-supervised feature learning to extract image features of support sets and query sets through pre-trained encoders, and then calculating the similarity between the two to obtain foreground information and prior probability auxiliary information feature maps; constructing a segmentation network to refine the features of foreground information to obtain a support set prototype; calculating the classification probability according to the support set prototype and the prior probability auxiliary information feature map to obtain the segmentation result. The present invention reduces the over-segmentation and under-segmentation phenomena of large target organs, improves the recognition of small target organs, and can be used for multi-organ segmentation of medical images to assist doctors in diagnosing diseases.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image processing, and mainly relates to a small sample adaptive multi-organ segmentation method, which can be used for multi-target medical image processing of a small amount of label data in a complex environment. Background Art

[0002] Multi-organ image segmentation is a very important research field in medical image processing and is widely used in clinical auxiliary diagnosis and automated medical image analysis. With the rapid development of deep learning technology in recent years, a large number of effective segmentation networks based on supervised learning have been applied to multi-organ segmentation tasks. At the same time, annotation results close to those of human experts have been achieved on many multi-organ segmentation datasets, which has greatly reduced the workload of clinicians and helped them analyze medical images efficiently.

[0003] The current medical image segmentation model has poor migration ability. Specifically, the segmentation performance of different data sets of the same organ segmentation task is reduced and the target organ cannot be identified. It cannot be applied to other organs without training, which is unacceptable in clinical auxiliary diagnosis. Because in actual application scenarios, the patient image data collected by doctors will change with the changes of instruments, patient scanning areas, and patient physical conditions. Even if the data of the same target area is collected, the data space distribution may be inconsistent due to changes in scanning time and scanning start and end positions, resulting in the unavailability of the segmentation model. At the same time, since the human body contains a large number of organs, training different segmentation algorithms for different organs requires a large number of manually accurately annotated data sets, and finally obtains a large number of trained models. Since the annotation requires a large amount of clinical expertise, cost and time, there is a lack of accurately annotated data sets; a large number of models also brings problems of equipment storage pressure and doctor operation convenience. In order to obtain the segmentation results of different organs, doctors need to switch between different tasks, which reduces the doctor's work efficiency, and it is impractical to train different networks for each organ. If a unified trained model is used, the training cost will increase and the accuracy of single organ segmentation will decrease due to the large number of target organs.

[0004] In recent years, few-shot learning methods have been used to address the problem of few-shot transfer segmentation of natural images. The key idea of ​​few-shot learning methods is to use the supervised information provided by the labeled support set to process the unlabeled query set for a set of learning tasks consisting of a support set and a query set. Ideally, the few-shot learning segmentation model trained on different segmentation tasks can achieve acceptable segmentation performance on new segmentation tasks with only one or a few labeled data. However, in the application of medical images, due to its characteristics different from natural images, the difference between single-channel pixel values ​​in different organs is smaller, resulting in less shape and size information extracted by the network, and the target organ shape and size have greater differences and diversity, which also makes it difficult for the supervised information of the support set to fully guide the segmentation of the query set, making it impossible to obtain good results with the direct application of small-shot learning. Summary of the invention

[0005] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose a multi-organ segmentation method based on self-supervised feature small sample learning to improve the effect of multi-target processing of medical images with small single-channel pixel differences, large differences in target organ shapes and sizes, and large environmental differences.

[0006] To achieve the above object, the technical solution of the present invention includes:

[0007] (1) Use superpixel segmentation methods to generate training sets and test sets for small sample learning from raw data;

[0008] (1a) Using a multi-organ segmentation image dataset as the original data, an unsupervised training data category generation method based on superpixel segmentation is used to generate a large amount of data containing pseudo labels in the original training data, and the generated data is divided into a training set and a test set in a ratio of 4:1;

[0009] (1b) Randomly select an image and pseudo-label from the training set and test set as their respective support sets, and transform the support set images to generate their respective query set images;

[0010] (1c) The pseudo labels corresponding to the support set images are used as support set labels, and the pseudo labels corresponding to the support set images are converted together with the images into the segmentation truth values ​​of the query set;

[0011] (1d) The support set images and labels in the training set and the query set images and labels generated by them together form the small sample learning training set;

[0012] (1e) The support set images and labels in the test set and the query set images and labels generated by them together form the small sample learning test set;

[0013] (2) Use the self-supervised feature learning module to obtain foreground features and prior probability auxiliary information feature maps from the support set and query set;

[0014] (2a) Use the encoder E loaded with pre-trained weights to extract features from the images in the support set and query set, extract the image feature map, and obtain the support set feature map F S and query set feature graph F q ;

[0015] (2b) Downsample the support set labels to F s Dimensions, and then s Convolve with the support set label to get the foreground feature F gs ;

[0016] (2c) For the query set feature graph F q Perform self-supervised feature learning to obtain the prior probability auxiliary information feature map F′ q ;

[0017] (3) Construct a self-supervised small sample learning segmentation network S to obtain segmentation classification probability from foreground information and prior probability auxiliary information;

[0018] (3a) Use the segmentation network in the SSFs small sample learning segmentation method to segment the foreground feature F gs and the prior probability auxiliary information feature map F′ of the query set q Perform similarity matching to obtain the similarity matching result graph R, and then use the softmax function to convert the value of each pixel in the similarity matching result graph R into a standard classification probability to obtain the output result of the segmentation network;

[0019] (3b) Using the segmentation truth value of the query set in the training set and the output result of the segmentation network, the loss function of the segmentation network is calculated, and the network parameters are iteratively updated by back propagation until 100,000 iterations are performed to obtain the trained self-supervised small sample learning segmentation network S;

[0020] (4) The support set and query set in the test set are input into the trained segmentation model to obtain the multi-organ segmentation results of the query set.

[0021] Compared with the prior art, the present invention has the following advantages:

[0022] 1. The present invention generates training data containing a large number of categories as training tasks by introducing a training set generation method based on superpixel segmentation and a data enhancement conversion method, thereby solving the problem that other small sample learning cannot be trained for this task.

[0023] 2. The present invention extracts the foreground features of the support set by introducing self-supervised feature learning, so that the subsequent segmentation network can focus on learning the foreground feature information, reduce the interference of background information on the recognition of small target organs, and improve the recognition ability of small target organs.

[0024] 3. The present invention introduces a self-supervised feature learning to calculate the self-supervised prior probability map between the support set and the query set, thereby providing prior information guidance to the segmentation network, strengthening the segmentation network's learning of texture features, effectively reducing the phenomenon of under-segmentation of large target organs, and improving the accuracy of segmentation. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flowchart of the implementation process of the present invention.

[0026] Figure 2 It is a comparison diagram between the pseudo labels generated by the method of the present invention and the original labels.

[0027] Figure 3 This is a comparison diagram of the segmentation results of the three organs, the left lung, the heart and the spinal cord, using the existing algorithm and the method of the present invention.

[0028] FIG4 is a comparison diagram of the segmentation results of the left lung, heart and spinal cord using the self-supervised feature learning of the present invention for different segmentation models. DETAILED DESCRIPTION

[0029] The embodiments and effects of the present invention are further described in detail with reference to the accompanying drawings.

[0030] Reference Figure 1 The implementation steps of this example include the following:

[0031] Step 1: Use superpixel segmentation method to generate training set and test set for small sample learning from the original data.

[0032] The training set and test set data of small sample learning are divided by task, and the data of each task includes a support set and a query set. Specifically in the multi-organ segmentation problem, each task is actually the segmentation of a single organ, and the training tasks for single organ segmentation conversion are relatively few, which cannot meet the training requirements of small sample learning methods. To address this problem, the specific implementation of this step is as follows:

[0033] 1.1) Using the unsupervised training data category generation method based on superpixel segmentation, for each image data in the two-dimensional training data, a large number of superpixel blocks with similar pixel values ​​are generated by clustering local pixels based on Gaussian mixture model and graph cut, so as to cut the whole image into several blocks of different sizes, and each cut image block is used as a different category, corresponding to different training tasks in small sample learning segmentation, to obtain a large amount of data containing pseudo labels, and use the obtained large amount of data containing pseudo labels as new data, and divide the generated new data into initial training set and initial test set in a ratio of 4:1. Compared with the original training data, the number of data categories in these data sets has greatly increased;

[0034] 1.2) Randomly select an image and pseudo label from the initial training set and the initial test set as their respective support sets, and generate their respective query set images through geometric transformation and intensity transformation of the support set images;

[0035] The geometric transformation includes rotation and scaling;

[0036] The intensity transformation includes increasing contrast and changing the overall intensity value distribution;

[0037] When using the support set image to generate the query set image, one or several methods are randomly selected from the geometric transformation and intensity transformation methods for generation. The query set image obtained by using these transformations to generate the query set method can be guaranteed to belong to the same segmentation task as the support set image, and at the same time, it can also be guaranteed to have a certain difference from the support set image, which can meet the data requirements of the small sample learning segmentation task;

[0038] 1.3) The pseudo-labels corresponding to the support set images are used as the support set labels, and the pseudo-labels corresponding to the support set images are converted together with the support set images into the segmentation truth values ​​of the query set in the same way as the support set images are converted into the query set images to ensure the accuracy of the segmentation truth values;

[0039] 1.4) The support set images, query set images, support set pseudo labels and segmentation truth values ​​of the initial training set are used to form a training set for small-sample learning; the support set images, query set images, support set pseudo labels and segmentation truth values ​​of the initial test set are used to form a test set for small-sample learning.

[0040] Step 2: Use self-supervised feature learning to obtain foreground features and prior probability auxiliary information feature maps from the support set and query set.

[0041] In the small sample learning segmentation task, the test segmentation task is not involved in the training segmentation task, and in the test task, only one support set image and target area label are used to guide a large number of different query sets to perform new segmentation tasks. If the traditional small sample learning segmentation method is used, the supervision information of the target area provided by the support set will be insufficient. Because of the difference between the support set and the query set, and the diversity of the query set itself, the segmentation method cannot give full play to the guidance ability of the support set, resulting in poor query set segmentation results. Therefore, the present invention uses self-supervised feature learning, that is, by calculating prior probability auxiliary information and extracting foreground features, the guidance of the support set to the query set is strengthened, providing more information for the segmentation of the query set.

[0042] This step is specifically implemented as follows:

[0043] 2.1) Use the encoder network E loaded with pre-trained weights to extract features from the support set and query set images in the training set and test set, respectively, extract the image feature map, and obtain the support set feature map F s and query set feature graph F q :

[0044] Define the image support set of the few-shot learning segmentation task as I s , the image of the query set is I q , the support set image I s Input to the encoder network E to get the support set feature map: F s =E(I s );

[0045] The query set image I q Input the encoder network E and get the query set feature map: F q =E(I q );

[0046] The support set images and query set images share the same encoder network, which ensures that the feature dimensions of the obtained feature maps are consistent and the feature maps are distributed in the same vector space;

[0047] 2.2) Label the support set L s Downsample to the support set feature map F s The dimension of the support set feature map F s With support set label L s Perform convolution to obtain foreground features:

[0048] For the feature map of the support set, the feature information of the foreground area is usually extracted using the label for the next step of processing. However, due to the feature map F s The label size is inconsistent with the original data, so it needs to be downsampled first and then convolved;

[0049] 2.3) Calculate the feature map F of each pixel query set q Pixel value and foreground feature F gs The cosine similarity p of each pixel value in sq (i, j)(h, w):

[0050]

[0051] Among them, F q (i, j) is the query set feature graph F q The pixel value at the point with coordinates (i, j), F gs (h, w) is the foreground feature F gs The pixel value of the point with coordinates (h, w), p sq (i, j)(h, w) is F q The (i, j) point in F gs Cosine similarity between the midpoints (h, w);

[0052] 2.4) The cosine similarity p between all points sq Mid-foreground feature F gs The maximum value of the dimension is used as the query set feature map F q With foreground feature F gs The similarity probability of , and the global similarity probability graph p′ is obtained sq :

[0053]

[0054] Among them, p′ sq (i, j) is the similarity probability at point (i, j). Since the pixel value at each position only represents the local feature information of the image, it is necessary to take the maximum value among the similarities of all points to represent the query set feature map F q With foreground feature F gs Similarity probability of the whole image;

[0055] 2.5) For p′ sq (i, j) is normalized, and the maximum and minimum value normalization method is used here, and p′ sq (i, j) is normalized to the range of 0-1 to facilitate subsequent operations on the feature map, and F is obtained. q About F gs The similarity self-supervised prior probability M sq (i, j):

[0056]

[0057] This normalization operation solves the problem of obtaining the global similarity probability map p′ sqThe problem of the large value interval of the value in (i, j) can be solved by calculating the similarity self-supervised prior probability and making full use of the supervision information of the support set, which can solve the problem of poor segmentation effect of some query sets due to insufficient supervision information of the target area in small sample learning segmentation;

[0058] 2.6) Transform the query set feature graph F q With foreground feature F gs The similarity self-supervised prior probability M of each point sq (i, j), according to the coordinates (i, j) in the query set feature map F q The positions in the graph are connected to form a similarity self-supervised prior probability graph M sq ;

[0059] 2.7) Using the self-supervised prior probability map M sq and query set feature graph F q , calculate the prior probability auxiliary information feature map F′ of the query set q :

[0060] F′ q =F q +F q ×M sq

[0061] In using the generated similarity self-supervised prior probability map M sq When , the original query set feature graph F needs to be retained as much as possible. q At the same time, auxiliary prior information is introduced to generate the similarity self-supervised prior probability map M sq , since it is only the similarity calculation result of the feature map extracted by the pre-trained encoder, it is not completely related to the actual segmentation task. Therefore, the similarity self-supervised prior probability map M sq It cannot be used as the final prediction result, but only as the prior information of the query set. At the same time, due to the similarity self-supervised prior probability map M sq In the calculation, only the maximum cosine similarity information is considered as the similarity result of each position. Some detailed information is lost during the calculation process, so it cannot be directly applied to the original query set feature map F. q Otherwise, it will damage the subsequent segmentation results, so it is necessary to use the self-supervised prior probability map M sq Calculate the prior probability auxiliary information feature map.

[0062] Step 3: construct a self-supervised small sample learning segmentation network S to obtain the segmentation classification probability from the foreground information and prior probability auxiliary information.

[0063] The segmentation network in the SSFs small sample learning segmentation method is used to segment the foreground feature F gsand the prior probability auxiliary information feature map F′ of the query set q Perform similarity matching to obtain the similarity matching result graph R, and then use the softmax function to convert the value of each pixel in the similarity matching result graph R into a standard classification probability to obtain the output result of the segmentation network. The specific implementation is as follows:

[0064] 3.1) Through the pooling operation, from the foreground feature F gs Extract the most representative information of each category and get the support set prototype P representing a certain type of feature information s :

[0065] P s =maxpooling(F gs )=max(F gs (h, w)

[0066] Among them, F gs (h, w) is the foreground feature F gs Each pixel in the support set has the feature information F gs It contains a lot of information, so it is necessary to extract representative information through pooling operation. Pooling operation is only performed in the length and width dimensions of the feature map, and no pooling is performed in the feature channel dimension to retain the feature information extracted by the encoder;

[0067] 3.2) Calculate the prior probability auxiliary information feature map F′ q With the support set prototype P s The similarity of each category in the , with similarity representing the degree of matching, obtains the prior probability auxiliary information feature map F′ q The similarity matching result R(h,w) of each pixel for each category:

[0068]

[0069] Among them, F′ q (h, w) is the prior probability auxiliary information feature map F′ q The pixel value at point (h, w) is matched with the similarity result R(h, w) of each class according to the prior probability auxiliary information feature map F′ of the coordinate (h, w) q The positions in the graph form a similarity matching result graph R;

[0070] 3.3) Concatenate the similarity matching result map R of each category according to the category channel to obtain the category probability map R c , use the softmax function to calculate the category probability map R c The standard classification probability Y q :

[0071] Y q=softmax(R c ),

[0072] R c The probability that each pixel belongs to each category is included in it. Since each category is calculated separately, the sum of the probabilities of each pixel belonging to each category is not equal to 1, so the standard classification probability needs to be converted;

[0073] 3.4) Use the segmentation truth value of the query set in the training set and the output result of the segmentation network to calculate the loss function of the segmentation network. The formula is as follows:

[0074]

[0075] Among them, L q (h, w) is the true value of the segmentation of the query set at point (h, w), Y q (h, w) is the classification probability at the point (h, w) output by the network, H and W are the length and width of the query set image, is the loss function value obtained;

[0076] 3.5) Use back propagation to iteratively update the network parameters until 100,000 iterations are performed to obtain the trained self-supervised small sample learning segmentation network S.

[0077] Step 4: Input the support set and query set in the test set into the trained segmentation model to obtain the multi-organ segmentation results of the query set.

[0078] The effect of the present invention can be further illustrated by the following simulation.

[0079] 1. Simulation conditions:

[0080] The simulation platform of this experiment is a desktop computer with an Intel Core i7-9700K CPU and 32GB of memory. The operating system is Ubuntu 18.04. Python 3.6 and Pytorch 1.4 are used to build and train the neural network model. NVIDIA 2080Ti GPU and CUDA 10.0 are used for acceleration.

[0081] The dataset used in the simulation is a multi-organ segmentation CT image dataset, which comes from the MICCAI 2019 StructSeg segmentation multi-organ segmentation competition dataset. The competition dataset contains 50 labeled training data and 10 unlabeled test data. The test data did not participate in this simulation because it had no label information. The labeled organs in this dataset include the left lung, right lung, heart, esophagus, trachea, and spinal cord. Since there are certain differences in the resolution and data distribution of the data in the dataset, which may affect the training results of the network, the dataset is first preprocessed. Through the analysis of the data, the resolution of the data is first resampled to 1mm×1mm×5mm to ensure that the spatial resolution of all data is consistent, so that the same organ has a certain proportion in the space; secondly, in view of the differences in data distribution in the dataset, this simulation uses histogram normalization to process the pixel grayscale distribution of all data to ensure that the pixel grayscale distribution of all data is consistent. In this experiment, 50 groups of data are divided into 4:1, 40 groups are used as the initial training set, and 10 groups are used as the initial test set.

[0082] The segmentation performance evaluation indicators used in the simulation include the Dyss similarity coefficient DSC, the precision PPV and the average surface distance ASD. The specific calculation formulas are as follows:

[0083]

[0084]

[0085]

[0086] Where A represents the true label, B represents the predicted result, TP represents the number of points in the image that are actually positive and are actually classified as positive, TN represents the number of points in the image that are actually positive but are actually classified as negative, FP represents the number of points in the image that are actually negative but are actually classified as positive, S(A) represents the surface pixels of the true label, S(B) represents the surface pixels of the predicted result, and d(s A , S(B)) represents the shortest distance from any pixel of the true label to the pixel on the surface of the predicted result, d(s B ,S(A)) represents the shortest distance from any pixel of the prediction result to the pixel on the surface of the true label.

[0087] The existing image segmentation networks used in the simulation include: prototype mixture model PMMs, prior guided feature enhancement network PFENet, small sample segmentation model SSFs based on superpixel self-supervision, prototype mixture model PMMs-SSL with self-supervised feature learning strategy, and prior guided feature enhancement network PFENet-SSL with self-supervised feature learning strategy.

[0088] 2. Simulation content

[0089] In simulation 1, pseudo-label data is generated from the original dataset using superpixel segmentation method, such as Figure 2 As shown, Figure 2 (a) is the organ segmentation label in the original data, Figure 2 (b) is the label generated using the superpixel segmentation method, where each color represents a separate label. Figure 2 It can be seen that compared with the original labels, the generated pseudo-label categories are more and can meet the training requirements of small sample learning.

[0090] In simulation 2, the existing PMMs, PFENet, SSFs segmentation methods and the present invention are used to perform segmentation tests on the divided initial test set, and the segmentation results of the left lung, heart and spinal cord of these methods are obtained, as shown in FIG. Figure 3 As shown. Figure 3 The first row is the segmentation truth value, the second row is the segmentation result of PMMs, the third row is the segmentation result of PFENet, the fourth row is the segmentation result of SSFs, and the fifth row is the segmentation result of the present invention.

[0091] Depend on Figure 3 It can be seen that compared with the PFENet method, the present invention has less under-segmentation phenomenon; compared with the PMM and SSFs methods, it has less over-segmentation phenomenon; compared with the PMM, SSFs and PFENet methods, it is more accurate in identifying small organs, overcoming the problem that other algorithms cannot identify small organs.

[0092] The quantitative indicators DSC, PPV, and ASD of the existing PMMs, PFENet, SSFs segmentation methods and the present invention are calculated for the segmentation test of the divided initial test set, and the results are shown in Tables 1, 2, and 3.

[0093] Table 1 DSC results of different methods for multi-organ segmentation

[0094] method Left lung Right lung heart esophagus trachea spinal cord PMMs 0.50±0.07 0.59±0.04 0.29±0.04 0.04±0.02 0.00±0.00 0.02±0.02 PFENet 0.70±0.12 0.57±0.05 0.41±0.06 0.03±0.02 0.06±0.03 0.28±0.07 SSFs 0.73±0.07 0.65±0.06 0.50±0.03 0.08±0.04 0.09±0.06 0.16±0.08 The present invention 0.75±0.06 0.69±0.07 0.48±0.06 0.11±0.03 0.32±0.08 0.34±0.07

[0095] Table 2 PPV results of different methods for multi-organ segmentation

[0096]

[0097]

[0098] Table 3 ASD results of different methods for multi-organ segmentation

[0099] method Left lung Right lung heart esophagus trachea spinal cord PMMs 11.9±3.52 7.48±1.01 3.11±0.34 23.4±2.82 3.16±9.47 15.6±13.5 PFENet 4.02±2.34 3.21±1.02 3.06±1.70 16.5±8.75 20.0±6.90 7.13±3.94 SSFs 3.66±1.32 2.64±0.42 3.20±0.62 12.1±5.74 20.3±5.89 30.0±4.98 The present invention 3.23±1.64 2.06±0.35 2.55±0.39 9.41±3.92 13.4±5.29 19.8±3.74

[0100] As can be seen from Table 1, in terms of the DSC index, the present invention has an improvement of more than 0.10 in the DSC index of trachea segmentation results compared with other methods, and also has obvious DSC index improvements in other organs.

[0101] It can be seen from Table 2 and Table 3 that the present invention can achieve the best or close to the best results in terms of PPV and ASD indicators for most organ segmentation tasks.

[0102] The above comparison shows that the present invention can accurately identify small organs and obtain accurate segmentation results.

[0103] Simulation 3, using the existing PMMs, PFENet, SSFs segmentation methods and the PFENet-SSL, PMMs-SSL segmentation methods after adding self-supervised feature learning and the present invention to perform segmentation tests on the divided initial data set, the segmentation results of the left lung, heart and spinal cord of these methods are obtained, as shown in Figure 4. Among them:

[0104] Figure 4(a) shows the segmentation result of the left lung.

[0105] Figure 4(b) shows the segmentation result of the heart.

[0106] Figure 4(c) shows the segmentation result of the spinal cord.

[0107] For the segmentation results of each organ, the first row is the segmentation results of the present invention, the second row is the segmentation results of PMMs-SSL, the third row is the segmentation results of PFENet-SSL, the fourth row is the segmentation results of SSFs, the fifth row is the segmentation results of PMMs, and the sixth row is the segmentation results of PFENet.

[0108] As shown in FIG4( a ), for the larger lung organs, different methods can identify the target area, but the PMMs-SSL, PFENet-SSL methods and the present invention produce less over-segmentation and better segmentation results.

[0109] As can be seen from FIG4( b ), for the heart organ which is easily confused with the surrounding tissues, the present invention has less over-segmentation and better segmentation effect than PMMs, PMMs-SSL, PFENet, PFENet-SSL and SSFs.

[0110] As can be seen from Figure 4(c), PMMs-SSL, PFENet-SSL and the present invention can detect the spinal cord area more accurately than PMMs, PFENet and SSFs.

[0111] The quantitative indicators DSC, PPV, and ASD of the segmentation test of the existing PMMs, PFENet, and SSFs segmentation methods, the PFENet-SSL and PMMs-SSL segmentation methods after adding self-supervised feature learning, and the present invention are calculated on the divided initial data set. The results are shown in Tables 4, 5, and 6.

[0112] Table 4 DSC results of multi-organ segmentation in simulation three

[0113] method Left lung Right lung heart esophagus trachea spinal cord PMMs 0.50±0.07 0.59±0.04 0.29±0.04 0.04±0.02 0.00±0.00 0.02±0.02 PMMs-SSL 0.74±0.07 0.70±0.03 0.38±0.05 0.05±0.05 0.08±0.05 0.31±0.05 PFENet 0.70±0.12 0.57±0.05 0.41±0.06 0.03±0.02 0.06±0.03 0.28±0.07 PFENet-SSL 0.70±0.12 0.61±0.04 0.41±0.05 0.02±0.01 0.05±0.03 0.29±0.06 SSFs 0.73±0.07 0.65±0.06 0.50±0.03 0.08±0.04 0.09±0.06 0.16±0.08 The present invention 0.75±0.06 0.69±0.07 0.48±0.06 0.11±0.03 0.32±0.08 0.34±0.07

[0114] Table 5 PPV results of multi-organ segmentation in simulation three

[0115]

[0116]

[0117] Table 6 ASD results of multi-organ segmentation in simulation three

[0118] method Left lung Right lung heart esophagus trachea spinal cord PMMs 11.9±3.52 7.48±1.01 3.11±0.34 23.4±2.82 3.16±9.47 15.6±13.5 PMMs-SSL 3.55±1.34 2.36±0.45 1.99±0.37 16.0±3.15 19.2±5.50 21.0±4.56 PFENet 4.02±2.34 3.21±1.02 3.06±1.70 16.5±8.75 20.0±6.90 7.13±3.94 PFENet-SSL 4.03±2.30 2.36±0.92 3.15±0.87 12.8±7.80 17.6±7.48 3.71±2.61 SSFs 3.66±1.32 2.64±0.42 3.20±0.62 12.1±5.74 20.3±5.89 30.0±4.98 The present invention 3.23±1.64 2.06±0.35 2.55±0.39 9.41±3.92 13.4±5.29 19.8±3.74

[0119] As can be seen from Table 4, by comparing the PMMs-SSL, PFENet-SSL methods and the present invention with the PMMs, PFENet and SSFs methods, the DSC index is improved to a certain extent, and the improvement for some smaller organs is obvious. Among them, compared with the SSFs method, the present invention has a DSC improvement of more than 0.10 in the segmentation of trachea and spinal cord.

[0120] It can be seen from Tables 5 and 6 that the present invention is superior to other methods in terms of PPV and ASD indicators for most organ segmentation.

[0121] The comparison of the above indicators shows that the use of self-supervised feature learning proposed in the present invention can improve the segmentation performance and strengthen the detection of small target organs.

Claims

1. A multi-organ segmentation method based on self-supervised feature small sample learning, characterized in that: include: (1) Use superpixel segmentation methods to generate training sets and test sets for small sample learning from raw data; (1a) Using a multi-organ segmentation image dataset as the original data, an unsupervised training data category generation method based on superpixel segmentation is used to generate a large amount of data containing pseudo labels in the original training data, and the generated data is divided into a training set and a test set in a ratio of 4:1; (1b) Randomly select an image and pseudo-label from the training set and test set as their respective support sets, and transform the support set images to generate their respective query set images; (1c) The pseudo labels corresponding to the support set images are used as support set labels, and the pseudo labels corresponding to the support set images are converted together with the images into the segmentation truth values ​​of the query set; (1d) The support set images and labels in the training set and the query set images and labels generated by them together form the small sample learning training set; (1e) The support set images and labels in the test set and the query set images and labels generated by them together form the small sample learning test set; (2) Use the self-supervised feature learning module to obtain foreground features and prior probability auxiliary information feature maps from the support set and query set; (2a) Use the encoder E loaded with pre-trained weights to extract features from the images in the support set and query set, extract the image feature map, and obtain the support set feature map F s and query set feature graph F q ; The implementation is as follows: (2a1) Let the support set image of the small sample learning segmentation task be I s , the image of the query set is I q , (2a2) The support set image I s Input network E and get support set feature map F s : F s =E(I s ) (2a3) The query set image I q Input network E and get query set feature graph F q : F q =E(I q ); (2b) Downsample the support set labels to F s Dimensions, and then for F s Convolve with the support set label to get the foreground feature F gs ; (2c) For the query set feature graph F q Perform self-supervised feature learning to obtain the prior probability auxiliary information feature map F′ q ; The implementation is as follows: (2c1) Calculate the query set feature graph F q With foreground feature F gs The cosine similarity between them is maximized and normalized to obtain the self-supervised prior probability map M sq , implemented as follows: (2c1a) Calculate the feature map F of each pixel query set q Pixel value and foreground feature F gs The cosine similarity p of each pixel value in sq (i,j)(h,w): Among them, F q (i,j) is the query set feature graph F q The pixel value of the point with coordinates (i, j), F gs (h,w) is the foreground feature F gs The pixel value of the point with coordinates (h, w), p sq (i,j)(h,w) is F q The (i,j) point in F gs Cosine similarity between (h,w) points; (2c1b) The cosine similarity p between all points sq Mid-foreground feature F gs The maximum value of the dimension is used as the query set feature map F q With foreground feature F gs The similarity probability of , and the global similarity probability graph p′ is obtained sq : Among them, p′ sq (i,j) is the similarity probability at point (i,j); (2c1c) Use the maximum and minimum normalization method to transform the global similarity probability map p′ sq Normalized to the range of 0-1, we get the query set feature map F(q) and the foreground feature map F s The similarity self-supervised prior probability M of each point sq (i,j): (2c1d) The query set feature graph F q With foreground feature F gs The similarity self-supervised prior probability M of each point sq (i, j), according to the coordinates (i, j) in the query set feature map F q The positions in the graph are connected to form a similarity self-supervised prior probability graph M sq ; (2c2) Using the prior probability map M sq and query set feature graph F q , calculate the prior probability auxiliary information feature map F′ of the query set q : F′ q =F q +F q ×M sq ; (3) Construct a self-supervised small sample learning segmentation network S to obtain segmentation classification probability from foreground information and prior probability auxiliary information; (3a) Use the segmentation network in the SSFs small sample learning segmentation method to segment the foreground feature F gs and the prior probability auxiliary information feature map F′ of the query set q Perform similarity matching to obtain the similarity matching result map R, and then use the softmax function to convert the value of each pixel in the similarity matching result map R into a standard classification probability to obtain the output result of the segmentation network; the segmentation network based on the SSFs small sample learning segmentation method is used to segment the foreground feature F gs and the prior probability auxiliary information feature map F′ of the query set q Perform similarity matching and obtain the similarity matching result graph R, which is implemented as follows: (3a1) Through the pooling operation, from the foreground feature F gs Extract the most representative information of each category and get the support set prototype P representing a certain type of feature information s : P s =maxpooling(F gs )=max(F gs (,w)) Among them, F gs (,w) is the foreground feature F gs Each pixel in ; (3a2) Calculate the prior probability auxiliary information feature map F′ q With the support set prototype P s The similarity of each category in the , with similarity representing the degree of matching, obtains the prior probability auxiliary information feature map F′ q The similarity matching result R(h,w) of each pixel for each category: Among them, F′ q (,w) is the prior probability auxiliary information feature map F′ q The pixel value at point (,w); (3a3) The similarity matching results R(h,w) of each category are matched according to the coordinate (,w) prior probability auxiliary information feature map F′ q The positions in the graph form a similarity matching result graph R; (3b) Using the segmentation truth value of the query set in the training set and the output result of the segmentation network, the loss function of the segmentation network is calculated, and the network parameters are iteratively updated by back propagation until 100,000 iterations are performed to obtain the trained self-supervised small sample learning segmentation network S; (4) The support set and query set in the test set are input into the trained segmentation model to obtain the multi-organ segmentation results of the query set.

2. The method according to claim 1, characterized in that In (1a), a large amount of data containing pseudo labels is generated from the original training data using an unsupervised training data category generation method based on superpixel segmentation, which is implemented as follows: (1a1) For each image data in the two-dimensional training data, a large number of superpixel blocks with similar pixel values ​​are generated by clustering local pixels based on a Gaussian mixture model and graph cuts, so as to cut the entire image into several blocks of different sizes; (1a2) Each cut image block is treated as a different category, corresponding to different training tasks in small sample learning segmentation, and a large amount of data containing pseudo labels is obtained.

3. The method according to claim 1, characterized in that: In (1b), the support set images are transformed to generate respective query set images. Multiple query set images are generated from the selected support set images by means of geometric transformation and intensity transformation. The geometric transformation includes rotation and scaling, and the intensity transformation includes increasing contrast and changing the overall intensity value distribution.

4. The method according to claim 1, characterized in that: In (1c), the pseudo-label corresponding to the support set image is converted into the segmentation truth value of the query set together with the image. The label is transformed using the same transformation method as the support set image corresponding to the selected label to obtain the corresponding segmentation truth value of the query set.

5. The method according to claim 1, characterized in that (3a) uses the softmax function to convert the value of each pixel in the similarity matching result map R into a standard classification probability, which is implemented as follows: (3a4) The similarity matching result map R of each category is spliced ​​according to the category channel to obtain the category probability map R c ; (3a5) Use the softmax function to calculate the category probability map R c The standard classification probability Y q : Y q =softmax(R c )。 6. The method according to claim 1, characterized in that (3b) uses the segmentation truth of the query set in the training set and the output of the segmentation network to calculate the loss function of the segmentation network. The formula is as follows: Among them, L q (h,w) is the true value of the segmentation of the query set at point (h,w), Y q (h,w) is the segmentation result output by the network at point (h,w), H and W are the length and width of the query set image, and L is the loss function value obtained.