Image segmentation method based on cross-domain category-aware graph convolutional alignment
Through the cross-domain category-aware graph convolution alignment method, the inter-domain category awareness and prototype mutual information modules are used to generate pseudo labels, which solves the problem of difficulty in applying deep learning knowledge in cross-domain transfer and realizes efficient unsupervised domain adaptive pancreas. segmentation.
Patent Information
- Application Number
- CN202410536882.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-30
AI Technical Summary
Deep learning is difficult to directly apply knowledge to other fields during cross-domain transfer, and requires massive labeled information, making it difficult to obtain high-quality labeled image data.
Using a method based on cross-domain category-aware graph convolution alignment, pseudo-labels of the target domain are generated through inter-domain category-aware graph convolution, prototype mutual information module and confidence correction module, and the cross-domain pancreas of the unsupervised domain adaptive network is realized. segmentation.
It effectively reduces the dependence on label information during cross-domain migration, improves the accuracy and efficiency of image segmentation, and reduces the need for annotation data.
Smart Images

Figure CN118115507B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image segmentation, and specifically to an image segmentation method based on cross-domain category-aware graph convolution alignment. Background Art
[0002] With the continuous development and progress of medical imaging technology, computer tomography (CT) and magnetic resonance imaging (MRI) have become indispensable means in modern medical diagnosis. For humans, it is not difficult to transfer knowledge and data from one field to another. However, for deep neural networks, there are large style differences between different fields, which makes it impossible for them to directly apply knowledge learned from one field to another. To achieve similar cross-domain knowledge and data migration, a large amount of label information is often required to train the cross-domain migration model. Just a patient's abdominal CT / MR image requires dozens to hundreds of slices to be accurately labeled. This process is time-consuming and makes it very difficult to obtain a large amount of accurately labeled image data. This method uses the unsupervised domain adaptation network (UDA) method to achieve cross-domain pancreas segmentation. The unsupervised domain adaptation network is a deep learning model used to solve domain adaptation problems. In practical applications, due to the different data distributions in different fields, directly applying the model trained in the source domain to the target domain may result in performance degradation. Unsupervised adaptive networks aim to achieve performance improvement on the target domain by learning the data distribution differences between the source domain and the target domain without the need for labeled data in the target domain.
[0003] Previous shallow unsupervised domain adaptation methods transfer inter-domain knowledge by reconstructing samples in the source domain or learning a shared and invariant feature space, but these methods usually have limited expressive power. In recent years, more and more deep unsupervised domain adaptation methods have emerged. These methods all assume that there is a deep feature space shared by the source domain and the target domain, in which labeled source domain images and unlabeled target domain images are better segmented or classified. Therefore, domain adaptation can be better achieved by matching the deep features of the source domain and the target domain. Maximum Mean Discrepancy (MMD) is a common domain difference metric used to measure the similarity between two distributions. The smaller the MMD value, the smaller the difference between the two domains. However, the MMD of a specific category requires a large number of samples to estimate the MMD of each category, which makes it difficult to learn using deep models. Conditional adversarial generative networks may have mode collapse and training instability. Other methods introduce additional entropy regularization to extract category information from the target domain. However, entropy regularization only considers the category information of a single sample and ignores the category information of the overall distribution. This approach may lead to model degradation. The key is how to effectively measure the difference between the feature distributions of the two domains and use deep models to extract category information of unlabeled data.
[0004] Therefore, a new cross-domain graph convolution operation is urgently needed, which provides an additional information transfer path when crossing domains, and combines the category relationship between the two domains. After generating the graph features of the source domain and the target domain, they are mapped to the kernel Hilbert space through the Gaussian kernel function to align them. On this basis, a prototype mutual information module (PMI) alignment method is proposed, which is divided into a priori prototype mutual information module and a posterior prototype mutual information module. The posterior prototype with category information guides the prior prototype to train the prototype mutual information module to extract the category information of samples from different domains. The extracted intra-domain category information is added to the graph convolution process, so that the graph features generated by the graph convolution have the category information of the samples for better alignment. Finally, with the assistance of the source domain label, the generated source domain graph features and target domain graph features are used to generate the pseudo-label of the target domain through the method of inter-domain category detection, and the generated target domain pseudo-label is used to realize the adaptive optimization of the segmentation network. Summary of the invention
[0005] In view of the above-mentioned problems, the present invention is proposed.
[0006] Therefore, the technical problem solved by the present invention is: for deep learning, it is difficult to directly apply existing knowledge to other fields because the learning methods in different fields are very different. In the process of cross-domain migration, to achieve similar cross-domain knowledge migration, a large amount of labeled information is usually required. For only one patient's CT / MR image, dozens to hundreds of slices are often accurately labeled, which is time-consuming and labor-intensive, and it is difficult to obtain massive high-quality labeled image data. This chapter uses the unsupervised domain adaptation network (UDA) method to solve the problem of cross-domain pancreatic segmentation.
[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: an image segmentation method based on cross-domain category-aware graph convolution alignment, comprising:
[0008] Input the source domain image and the target domain image into the encoder Encode to generate source domain deep features and target domain deep features , through the inter-domain category-aware graph convolution, the features of the two domains are mixed to generate the source domain graph features and target domain graph features , the generated graph features are implicitly mapped into the kernel Hilbert space through the Gaussian kernel function. Alignment;
[0009] Using pixel-level feature matching methods, the source domain image features are combined with the target domain image features and the source domain labels, and pixel-level matching is performed to generate target domain pseudo labels to constrain target domain predictions.
[0010] The prototype mutual information module uses the posterior prototype with in-domain category information Guiding Priori Prototypes , train the prototype mutual information module to extract category information, and extract the source domain prototype and the target domain prototype They are respectively embedded into the graph convolution process, so that the graph features generated by the graph convolution have the category information of the segmentation target;
[0011] The designed confidence correction module generates the in-domain category confidence as the weight by combining the prototype with the in-domain category information with the deep features generated by the encoder.
[0012] As a preferred solution of the image segmentation method based on cross-domain category-aware graph convolution alignment described in the present invention, wherein: the inter-domain category-aware graph convolution includes using cosine similarity to calculate the similarity between each element and other elements to generate an adjacency matrix, and the adjacency matrix contains the similarity and position relationship between each element and other elements, that is, the overall structural relationship, expressed as,
[0013] ;
[0014] in, , They represent the source domain depth features. The first element, Represents the generated adjacency matrix No. element, Represent the height and width of the depth feature respectively.
[0015] As a preferred solution of the image segmentation method based on cross-domain category-aware graph convolution alignment described in the present invention, wherein: the generating of the adjacency matrix includes flattening the deep features into a set of one-dimensional vectors after obtaining the adjacency matrix, combining the obtained vectors and the adjacency matrix with a trainable adaptive weight to generate the graph features in the target domain respectively. , source domain internal graph features , expressed as,
[0016] ;
[0017] ;
[0018] in, is a diagonal matrix with diagonal elements , represents the element in the i-th row and i-th column of a diagonal matrix, represents the element in the i-th row and j-th column of the adjacency matrix, represents the normalized adjacency matrix, Represents the deep features of the source and target domains, is a trainable adaptive weight shared by the source domain and the target domain, It is a nonlinear operation;
[0019] After obtaining the graph features of the source domain and the target domain, in order to transfer the relevant intra-domain structural information and inter-domain category information to the corresponding domain, the category relationship between the graph features of the two domains is established, which is expressed as:
[0020] ;
[0021] ;
[0022] in, , They represent the first Elements and source domain features element, represents the cosine similarity, Represents the target domain graph feature Elements and source domain features The class relationship of the elements, Represents the source domain graph feature Elements and target domain graph features The category relationship of elements;
[0023] After obtaining the inter-domain category relationship, the cross-domain graph convolution operation is used to ensure that the distribution features of the two domains are mixed while retaining the intra-domain structural information and the inter-domain category relationship to the greatest extent, which is expressed as:
[0024] ;
[0025] ;
[0026] in, , Represent the target domain graph features and source domain graph features respectively, and denote the adaptive mixing layer parameters of the target domain and the source domain, respectively.
[0027] As a preferred solution of the image segmentation method based on cross-domain category-aware graph convolution alignment described in the present invention, wherein: the cross-domain graph convolution operation is used to ensure that the distribution features of the two domains are mixed while retaining the intra-domain structural information and the inter-domain category relationship to the greatest extent, including implicitly mapping the Gaussian kernel function into the kernel Hilbert space after obtaining the mixed domain features. Alignment,As the difference between the two mixed domain features is minimized, the inter-domain category information is exploited and propagated, denoted as,
[0028] ;
[0029] ;
[0030] ;
[0031] in, is the Gaussian kernel function, , They represent the first Elements and source domain features element, Indicates the window width, and Represent the target domain category confidence and source domain category confidence respectively, Indicates the target domain The element is the first The class relationship of the elements, Indicates the source domain The element of the target domain The class relationship of the elements, is the relationship threshold.
[0032] As a preferred solution of the image segmentation method based on cross-domain category-aware graph convolution alignment described in the present invention, wherein: the pixel-level feature matching method is used to match the source domain graph features. and target domain graph features The cosine similarity calculation is expressed as,
[0033] ;
[0034] in, represents the i-th element of the target domain graph feature, represents the jth element of the source domain graph feature, represents the kth element of the source domain graph feature, represents cosine similarity;
[0035] In the matching matrix, each row represents An element in The similarity of all elements in , in this cosine similarity matrix, if the The maximum value of the row is in Column, indicating No. Elements and No. The element similarity is the largest, and the categories of the two elements are judged to be the same. Each row is compared to obtain the pseudo label of the target domain, which is expressed as,
[0036] ;
[0037] ;
[0038] ;
[0039] in, represents the index of the maximum value of the i-th row in the similarity matrix, express Middle Elements and Middle The most similar elements, Represents an upsampling operation.
[0040] As a preferred solution of the image segmentation method based on cross-domain category-aware graph convolution alignment described in the present invention, wherein: the pseudo label of the target domain is obtained by converting the source domain label The value of the element is assigned to the target domain element, obtain the target domain pseudo label, and use the nearest neighbor interpolation method to generate the target domain pseudo label Upsampling To the same size as the decoder's prediction, the required target domain pseudo label is obtained After that, the source domain label and the target domain label are determined, and the source domain label is used Source predictions generated by the decoder As cross entropy loss and target domain pseudo label The target domain prediction generated by the decoder As cross entropy loss, structure-aware feature refinement is achieved, expressed as,
[0041] ;
[0042] ;
[0043] in, The first Line The elements of the column, represents the pseudo label of the target domain Line List, represents the source domain prediction Line List, represents the first Line List, , Respectively represent the width and height of the image;
[0044] The overall loss function is expressed as,
[0045] ;
[0046] in, Represents weight.
[0047] As a preferred solution of the image segmentation method based on cross-domain category-aware graph convolution alignment described in the present invention, the prototype mutual information module is divided into a priori prototype mutual information module and the posterior prototype mutual information module ; The source domain and the target domain are mixed by the style mixing method to obtain the intermediate domain image , the style mixture is expressed as,
[0048] ;
[0049] ;
[0050] ;
[0051] in, Is a weight matrix that maintains the mixture balance, with a size of , is the number of channels of the input image , , , Respectively represent the source domain image, the target domain image, and the intermediate domain image after the two are mixed. , Respectively represent the global average and global variance operations on the image , Indicates the number of images in a batch;
[0052] After obtaining the intermediate domain image, use it as The intermediate domain image is superimposed with the source domain label to obtain the intermediate domain image with posterior information as Input;
[0053] The prototype mutual information module downsamples the intermediate domain image four times to obtain the deep features, which are mapped to the latent space through their respective fully connected layers. The latent space conforms to the normal distribution, and the two vectors obtained are the mean vectors of the input image fitted by the network. With the variance vector , the distribution parameters of the input image are obtained as domain information, and the required prototype is obtained by sampling through the reparameterization technique.
[0054] As a preferred solution of the image segmentation method based on cross-domain category-aware graph convolution alignment described in the present invention, the reparameterized skill sampling includes sampling a random vector from a standard normal distribution. , and then use the mean vector obtained by the encoder With the variance vector Combined to get prototype , expressed as,
[0055] ;
[0056] in, Indicates the first The middle domain image, represents the prototype extracted by the prototype mutual information module from the intermediate domain image. represents a random vector, represents the mean vector, represents the variance vector;
[0057] The posterior prototype adds the label of the source domain in the input stage, and the resulting prototype , which means the first The input of the intermediate domain image combined with the source domain label contains the category information of the input image at the same time due to the addition of the source domain label, thus obtaining a prototype with intermediate domain distribution information. and prototypes with both intermediate domain distribution information and category information , based on mutual information loss, using prototypes with intermediate domain distribution information and category information Guiding Prototype , the ability of training the prior prototype mutual information module in extracting category information is expressed as,
[0058] ;
[0059] in, and Respectively and The entropy of Represents the first sample in a batch The posterior prototype is generated by combining the intermediate domain image with the source domain label as the input of the posterior prototype mutual information. Indicates the first The intermediate domain image is used as the input of the prior prototype mutual information module to generate the prior prototype. Indicates the number of images in a batch;
[0060] Under the constraint of mutual information loss, prototype mutual information can extract the prototype of the category information possessed by any style image, using the extracted source domain prior prototype and the target domain prior prototype Source domain deep features generated by the backbone network encoder and target domain deep features Combined with the generated domain category confidence, the category confidence is added as a weight to the subsequent Gaussian kernel function alignment loss In, it is expressed as,
[0061] ;
[0062] ;
[0063] in, represents the prior prototype generated by the target domain image as the input of the prior prototype mutual information module, Represents the deep features of the target domain element, Represents the deep features of the target domain element, Represents the generated category confidence element, represents the prior prototype generated by the source domain image as the input of the prior prototype mutual information module, Represents the deep features of the source domain element, Represents the deep features of the source domain element, Represents the generated category confidence element.
[0064] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the image segmentation method based on cross-domain category-aware graph convolution alignment as described above are implemented.
[0065] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the image segmentation method based on cross-domain category-aware graph convolution alignment as described above.
[0066] Beneficial effects of the present invention: For deep learning, the image segmentation method based on cross-domain category-aware graph convolution alignment provided by the present invention is difficult to directly apply existing knowledge to other fields because the learning methods of different fields are very different. In the process of cross-domain migration, to achieve similar cross-domain knowledge migration, a large amount of labeled information is usually required. For only one patient's CT / MR image, dozens to hundreds of slices are often accurately labeled, which is time-consuming and labor-intensive, and it is difficult to obtain massive high-quality labeled image data. This chapter uses the unsupervised domain adaptation network (UDA) method to solve the problem of cross-domain pancreatic segmentation. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0068] Figure 1 An overall framework diagram of an image segmentation method based on cross-domain category-aware graph convolutional alignment provided by an embodiment of the present invention.
[0069] Figure 2 A flowchart of training a prototype mutual information module in an image segmentation method based on cross-domain category-aware graph convolutional alignment provided by an embodiment of the present invention.
[0070] Figure 3 A diagram of the extraction process of a priori prototype mutual information module of an image segmentation method based on cross-domain category-aware graph convolution alignment provided by an embodiment of the present invention.
[0071] Figure 4 An image segmentation method based on cross-domain category-aware graph convolution alignment provided by an embodiment of the present invention is based on an inter-domain category-aware graph convolution structure diagram of joint features. DETAILED DESCRIPTION
[0072] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0073] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0074] Example 1
[0075] Reference Figure 1-Figure 4 , is an embodiment of the present invention, and provides an image segmentation method based on cross-domain category-aware graph convolution alignment, comprising:
[0076] like Figure 1 As shown, first, the source domain image and the target domain image are input into the encoder to generate the source domain deep features. and target domain deep features , through the inter-domain category-aware graph convolution, the features of the two domains are mixed to generate the source domain graph features and target domain graph features , the generated graph features are implicitly mapped to the kernel Hilbert space through the Gaussian kernel function and aligned ( ). Then, the pixel-level feature matching method (PLFM) is used to match the source domain graph convolution features and labels with the target domain graph convolution features to generate target domain pseudo labels to constrain the target domain prediction. Finally, the prototype mutual information module (PMI) is used to obtain the posterior prototype with domain category information ( ) guides the prior prototype ( ) to train the prototype mutual information module to extract category information, and extract the source domain prototype and the target domain prototype They are embedded into the graph convolution process respectively, so that the graph features generated by the graph convolution have the category information of the segmentation target for better alignment. The encoder and decoder in the figure are parameter-shared. At the same time, a confidence rectification module is designed, which combines the prototype with the in-domain category information with the deep features generated by the encoder to generate the in-domain category confidence as The weight of is used to reduce the domain degradation phenomenon caused by the distortion of the category structure in the domain during the graph feature generation process.
[0077] Prototype mutual information module:
[0078] The present invention proposes a prototype mutual information module method (PMI) independent of the backbone network, which can not only extract the category information of the sample, but also the distribution information of the sample. PMI maps the sample into a latent space, which has the real distribution information of the sample. The prototype sampled from the latent space is added to the alignment process of the prototype space, which can ensure the stability of the category information in the domain. The training process is as follows: Figure 2 shown.
[0079] The prototype mutual information module is divided into a priori prototype mutual information module and the posterior prototype mutual information module .
[0080] First, the source domain and the target domain are mixed by the style mixing method to obtain the intermediate domain image. , the specific definition of style mixing is as follows:
[0081] ;
[0082] in, Is a weight matrix that maintains the mixture balance, with a size of , is the number of channels of the input image, . Respectively represent the source domain image, the target domain image, and the intermediate domain image after the two are mixed. They represent the global average and global variance operations on the image respectively. Indicates the number of images in a batch.
[0083] After obtaining the intermediate domain image, it is used as The intermediate domain image is superimposed with the source domain label to obtain the intermediate domain image with posterior information as The process of extracting prototypes by the prior prototype mutual information module is as follows: Figure 3 shown.
[0084] The prototype mutual information module downsamples the intermediate domain image four times to obtain deep features, and then maps the obtained deep features to the latent space through their respective fully connected layers. Generally, the latent space conforms to the normal distribution, so the two vectors obtained are the mean vectors of the input image fitted by the network. With the variance vector , thus we get the distribution parameters of the input image, that is, the domain information. Finally, we get the required prototype by sampling through the reparameterization technique.
[0085] The reparameterization trick is a method for handling random sampling that allows end-to-end backpropagation by differentiating the deterministic part of the network. Sampling a random vector from a standard normal distribution , and then use the mean vector obtained by the encoder With the variance vector Combined to get prototype , the specific formula is as follows:
[0086] ;
[0087] in, Indicates the first The middle domain image, represents the prototype extracted by the prototype mutual information module from the intermediate domain image. represents a random vector, represents the mean vector, represents the variance vector;
[0088] The process of the posterior prototype is basically the same as that of the prior prototype, but the source domain label is added in the input stage, and the prototype obtained is , ( Indicates the first The input is a combination of an intermediate domain image and a source domain label (the source label also contains the category information of the input image due to the addition of the source domain label).
[0089] This results in a prototype with intermediate domain distribution information and prototypes with both intermediate domain distribution information and category information The goal of this invention is to enable the prototype mutual information module to extract the category information of the input image without labels, so a mutual information loss is designed to use the prototype with intermediate domain distribution information and category information. Guiding Prototype , to train the ability of the prior prototype mutual information module to extract category information, which is specifically defined as follows:
[0090] ;
[0091] in, and Respectively and The entropy of Represents the first sample in a batch The posterior prototype is generated by combining the intermediate domain image with the source domain label as the input of the posterior prototype mutual information. Indicates the first The intermediate domain image is used as the input of the prior prototype mutual information module to generate the prior prototype. Indicates the number of images in a batch.
[0092] Under the constraint of mutual information loss, prototype mutual information can extract the prototype of the category information possessed by any style image, using the extracted source domain prior prototype and the target domain prior prototype Source domain deep features generated by the backbone network encoder and target domain deep features Combined with the generated domain category confidence, the category confidence is added as a weight to the subsequent Gaussian kernel function alignment loss The specific formula is as follows:
[0093] ;
[0094] in, represents the prior prototype generated by the target domain image as the input of the prior prototype mutual information module, Represents the deep features of the target domain element, Represents the deep features of the target domain element, represents the generated target domain category confidence element. represents the prior prototype generated by the source domain image as the input of the prior prototype mutual information module, Represents the deep features of the source domain element, Represents the deep features of the source domain element, Represents the generated source domain category confidence element.
[0095] Inter-domain Category-aware Graph Convolution Based on Joint Features:
[0096] Deep feature-level UDA methods generally assume that there is a deep feature space shared by the source domain and the target domain, that is, a domain-invariant space. In this feature space, both source domain samples and target domain samples can be well classified or segmented. This shared feature space satisfies two characteristics. One is that the feature space of each category should be domain-invariant, that is, the distribution of features is aligned. If the source domain and the target domain have the same feature distribution, the decoder trained on the source domain can correctly segment the samples of the target domain. The second is that the feature space should be able to extract category information of the source domain and the target domain at the same time, which will help alleviate overfitting on the source domain and thus learn a generalized prediction model. At present, the exploration of deep feature space is mainly carried out through two methods. One is to find the shared feature space of the two domains through adversarial learning, and the other is to minimize the maximum mean difference (MMD) to align the feature distribution of the source domain and the target domain so that the features of both are close to the domain-invariant space. This chapter uses the MMD method to align the feature distribution of the source domain and the target domain so that the features of both are close to the domain invariant space. However, if the distribution difference between the two domains is too large, the difference measurement method is directly used to align the domain features generated by the encoder. During the alignment, the network will pay too much attention to the distribution information between the domains, which will distort the category information between the domains. For this reason, a feature transformation method based on domain-aware graph convolution of joint features is designed to combine the deep features between the two domains while retaining the category information between the two domains to the greatest extent. At the same time, after the prototype mutual information module can well extract the prototype with the domain category information of the input image, the obtained prototype is added to the graph convolution process to ensure the stability of the category during the feature conversion process. The entire structure is as follows: Figure 4 shown.
[0097] First, the cosine similarity is used to calculate the similarity between each element and other elements to generate an adjacency matrix, which contains the similarity and position relationship between each element and other elements, that is, the overall structural relationship. Its specific definition is as follows:
[0098] ;
[0099] in, , They represent the source domain depth features. The first element, Represents the generated adjacency matrix No. element, Represent the height and width of the depth feature respectively.
[0100] After obtaining the adjacency matrix, the deep features Flattened into a set of one-dimensional vectors, the resulting vectors and adjacency matrix are combined with a trainable adaptive weight to generate the target domain in-graph features , source domain internal graph features , which is specifically defined as follows:
[0101] ;
[0102] in, is a diagonal matrix with diagonal elements , represents the element in the i-th row and i-th column of a diagonal matrix, represents the element in the i-th row and j-th column of the adjacency matrix, represents the normalized adjacency matrix, Represents the deep features of the source and target domains, is a trainable adaptive weight shared by the source domain and the target domain, It is a nonlinear operation;
[0103] After obtaining the graph features of the source domain and the target domain, in order to transfer the relevant intra-domain structural information and inter-domain category information to the corresponding domain, it is first necessary to establish the category relationship between the graph features of the two domains. For this purpose, the present invention designs the following formula:
[0104] ;
[0105] in, , They represent the first Elements and source domain features element, Represents cosine similarity. Represents the target domain graph feature Elements and source domain features The class relationship of the elements, Represents the source domain graph feature Elements and target domain graph features The category relationship of the element.
[0106] After obtaining the inter-domain category relationship, the present invention proposes a cross-domain graph convolution operation to ensure that the distribution features of the two domains are mixed while retaining the intra-domain structural information and the inter-domain category relationship to the greatest extent. The specific definition is as follows:
[0107] ;
[0108] in, Represent the target domain graph features and source domain graph features respectively, and denote the adaptive mixing layer parameters of the target domain and the source domain, respectively.
[0109] After obtaining the mixed domain features, they are implicitly mapped to the kernel Hilbert space through the Gaussian kernel function and aligned ( ), as the difference between the two mixed domain features is minimized, the inter-domain category information is also well utilized and propagated. The specific formula is as follows:
[0110] ;
[0111] in, is the Gaussian kernel function, , They represent the first Elements and source domain features element, Indicates the window width, and Represent the target domain category confidence and source domain category confidence respectively, Indicates the target domain The element is the first The class relationship of the elements, Indicates the source domain The element is the first The class relationship of the elements, is the relationship threshold, which is set to 0.65 in the present invention.
[0112] Pseudo label generation based on pixel-level feature matching:
[0113] The segmentation network is generally composed of a feature extractor (encoder) and a classifier (decoder). The feature extractor is responsible for extracting the semantic features of each element in the image, and the classifier is responsible for classifying these semantic features and finally predicting the segmentation result. However, in complex tasks, especially unsupervised domain adaptation tasks, due to the distribution difference between the source domain and the target domain, the same set of encoders and decoders cannot correctly classify data with different distributions. In the previous section, the domain-aware graph convolution method based on joint features was used to extract the mixed domain between the source domain and the target domain. When the difference between the two mixed domain features is small enough, they are considered to be aligned to the same intermediate domain. On this basis, a pixel-level feature matching is designed to match the intermediate domain features generated by the labeled source domain image with the intermediate domain features generated by the unlabeled target domain image, and then use the source domain label as category information to help the target domain generate its own pseudo label. The pseudo label generation process will be described in detail below.
[0114] The first thing we get is the source domain generated and After several rounds of parameter updates, the distribution states of the two graph features have become consistent, and they can be regarded as features of the same domain. and target domain graph features The cosine similarity calculation is performed, and its specific definition is as follows:
[0115] ;
[0116] in, represents the i-th element of the target domain graph feature, represents the jth element of the source domain graph feature, Represents the kth element of the source domain graph feature. represents cosine similarity;
[0117] In this matching matrix, each row represents An element in In this cosine similarity matrix, if the first The maximum value of the row is in Column, it means No. Elements and No. The element similarity is the largest, so it is considered that the categories of the two elements are the same. Each row is compared, so that the pseudo label of the target domain can be obtained. The specific operation is as follows:
[0118] ;
[0119] in, represents the index of the maximum value of the i-th row in the similarity matrix, express Middle Elements and Middle The most similar elements, Represents an upsampling operation.
[0120] So the source domain label The value of the element is assigned to the target domain elements, thus obtaining the target domain pseudo label. However, because the pixel-level matching is done on the deep features, the size of the generated target domain pseudo label is consistent with the size of the deep features. At the same time, because the label is a binary image, the present invention finally uses the nearest neighbor interpolation method to convert the generated target domain pseudo label ( )Upsampling( ) to the same size as the decoder's prediction. Get the required target domain pseudo label ( ), the present invention has both the source domain label and the target domain label, so the source domain label ( ) and the source domain prediction generated by the decoder ( ) as the cross entropy loss and the target domain pseudo label ( ) and the target domain prediction generated by the decoder ( ) as the cross entropy loss to achieve structure-aware feature refinement. The specific formula is as follows:
[0121] ;
[0122] in, The first Line The elements of the column, represents the pseudo label of the target domain Line List, represents the source domain prediction Line List, represents the first Line List, Respectively represent the width and height of the image;
[0123] To sum up, the overall loss function formula is as follows:
[0124] ;
[0125] Because the semantic segmentation loss of the target domain uses pseudo labels, a weight needs to be added to it , the weight increases with the increase of epoch to ensure that the pseudo-label is added to the network as a constraint only when it is credible enough.
[0126] Example 2
[0127] An embodiment of the present invention is different from the first embodiment in that:
[0128] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0129] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0130] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0131] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0132] Example 3
[0133] As an embodiment of the present invention, an image segmentation method based on cross-domain category-aware graph convolution alignment is provided. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through simulation experiments.
[0134] The data used by the method proposed in the present invention comes from a hospital, including 3D abdominal CT images of 97 pancreatic cancer patients and 3D abdominal MR images of 97 pancreatic cancer patients. The present invention uniformly uses cross-sectional slices of CT and MR images as data sets. The size of CT slices is 512×512, and there are two different sizes of MR slices, 512×512 and 320×260. In order to maintain the consistency of image size in the data set, the image is uniformly downsampled to a size of 256×256. Due to the different acquisition methods of CT images and MR images and individual differences between patients, the number of CT image slices ranges from [30,100], and the number of MR image slices ranges from [20,50]. All data are accurately manually annotated under the guidance of professional doctors, and the pixels in the pancreatic area are marked as 1, and other areas are marked as 0. Since the purpose of the present invention is to perform cross-domain segmentation of images, the style of the images in the two domains must first be transferred, and for this purpose, the number of images in the two domains must be consistent. The CT images were divided into three subsets. The first subset contained 766 slices from 32 patients, the second subset contained 760 slices from 32 patients, and the third subset contained 816 slices from 33 patients. The MR images were also divided into three subsets. The first subset contained 766 slices from 32 patients, the second subset contained 760 slices from 32 patients, and the third subset contained 816 slices from 33 patients. The CT data were truncated to an intensity interval of [-100, 240] and normalized to a mean of 0 and a variance of 1. For the MR data, the original intensity values of the images were truncated to a suitable interval and normalized. In addition, data enhancement operations such as random horizontal and vertical flipping and random rotation within [-10, 10] degrees were performed on the CT and MR images.
[0135] All experiments in this method adopt a three-fold cross-validation strategy to avoid the overfitting problem caused by fixed training, validation, and test sets. The network in the experiment is The training was performed under the deep learning framework, and the NVIDIA GeForce RTX 3090 graphics card with a memory size of 24G was used to accelerate the network training. In the training phase of the contrast alignment method, the Adam optimization algorithm was used, and the learning rate Set to 0.0001, during training Set to 4. In the image segmentation stage of the two-part experiment, the Stochastic GraPMInt Descent (SGD) optimization algorithm is used, in which the optimizer momentum and the regularization coefficient They are set to 0.9 and 0.0001 respectively. A multivariate learning rate strategy is used during training, and the learning rate formula is as follows:
[0136] ;
[0137] in is the current cycle number, the total cycle number Set to 120, the basic learning rate Set to 0.01, the reduction exponent power is set to 0.9, and the training Set to 4.
[0138] In order to measure the effect of the method proposed in this invention, the segmentation results are compared with the labels using the following four evaluation indicators commonly used in the field of image segmentation: Dice Similarity Coefficient (DSC), Precision, Jac coefficient (Jaccard similarity coefficient), and Recall. The calculation formula is as follows:
[0139] ;
[0140] Among them, TP (True Positive) represents the number of true positive pixels, FP (False Positive) represents the number of false positive pixels, and FN (False Negative) represents the number of false negative pixels. DSC is one of the important evaluation indicators in image segmentation tasks, which is used to measure the similarity between the prediction result and the label. The closer its value is to 1, the higher the similarity. Jac represents the intersection-over-union ratio between the prediction result and the label. Precision measures the proportion of pixels predicted correctly by the network as foreground pixels, and recall measures the proportion of foreground pixels in the label that are correctly predicted by the network.
[0141] Ablation experiments were conducted on the proposed pancreatic segmentation method based on cross-domain category-aware graph convolution alignment, proving that the proposed domain alignment method based on cross-domain graph convolution features, pseudo-label generation method based on pixel-level feature matching, prototype mutual information module, and intra-domain category confidence adding Gaussian alignment loss can improve the accuracy of cross-domain pancreatic segmentation. AGC is the result of adding the domain alignment method of cross-domain graph convolution features to Baseline, PLEF is the pseudo-label generation method of adding pixel-level feature matching to AGC, PMI is the result of adding the prototype mutual information module to the previous one, and the final Conf is the result of adding the intra-domain category confidence to Gaussian alignment loss.
[0142] CT images are used as the source domain and MR images are used as the target domain. The results of the ablation experiment on the proposed adaptive cross-domain pancreas segmentation method based on conditional prototype extraction are shown in Table 1. AGC improves Prec, Rec, DSC, and Jac by 6.3, 2.19, 4.58, and 3.94, respectively, compared with Baseline. PLEF is added on the basis of AGC, and then Prec, Rec, DSC, and Jac are improved by 0.67, 1.22, 1.08, and 2.68, respectively. PMI is added on the basis of PLEF, and then Rec, DSC, and Jac are improved by 5.94, 2.65, and 2.62, respectively, but Prec is reduced by 2.1. Finally, Conf is added, and Rec, DSC, and Jac are improved by 1.75, 0.64, and 0.52, respectively, based on PMI, but Prec is reduced by 0.62. After adding Conf, Prec, Rec, DSC, and Jac are improved by 4.87, 11.1, 8.95, and 9.76 respectively compared with the Baseline.
[0143] Table 1 CT->MR ablation experimental results
[0144]
[0145] Then, MR images were used as the source domain and CT images were used as the target domain. The results of the ablation experiment on the proposed adaptive cross-domain pancreatic segmentation method based on conditional prototype extraction are shown in Table 2. AGC improved Prec, DSC, and Jac by 4.69, 1.63, and 1.87, respectively, compared with Baseline, but Rec decreased by 3.21. PLEF was added on the basis of AGC, and then Prec, DSC, and Jac increased by 9.72, 1.52, and 1.69, respectively, but Rec decreased by 4.67. PMI was added on the basis of PLEF, and then Rec, DSC, and Jac increased by 11.18, 3.09, and 2.64, respectively, but Prec decreased by 8.8. Finally, Conf was added, and Rec, DSC, and Jac increased by 1.82, 1.00, and 2.64, respectively, based on PMI, and Prec was almost the same. After adding Conf, the method proposed in this chapter is used. Prec, Rec, DSC, and Jac are improved by 5.59, 5.12, 7.24, and 7.34 respectively compared with the Baseline.
[0146] Table 2 MR->CT ablation experimental results
[0147]
[0148] In order to verify the superiority of the proposed pancreas segmentation method based on cross-domain category-aware graph convolution alignment in cross-domain pancreas segmentation, it is compared with some commonly used cross-domain segmentation methods. Specifically, they include AdaptPatch, AdaptSeg, Advent, CyCADA, CycleGAN, DDFseg, DSAN, PnP-AdaNet, Prior-SIFA, SASAN, SIFA, SynSeg-Net and UESM. Among them, AdaptPatch uses a segmentation network to extract and predict features of labeled source domain images and unlabeled target domain images, and implements the segmentation network to segment the target domain image by adversarial learning at the feature level. Unlike AdaptPatch, AdaptSeg implements the segmentation of the target domain image by adversarial learning on the prediction results of the segmentation network. Advent is built on the basis of AdaptSeg. Its core idea is to calculate the entropy value of the target domain prediction graph, and implement the segmentation network to segment the target domain image in two ways: directly minimizing the entropy value and minimizing the entropy value by adversarial learning. CycleGAN transfers labeled source domain images into images with the style of target domain images, and uses the transferred images and source domain labels to train a segmentation network to achieve the segmentation of target domain images. CyCADA introduces an additional network to predict and extract features from target domain images and pseudo target domain images generated by CycleGAN, and performs adversarial learning at the feature level to achieve segmentation of target domain images. DDFseg decomposes each domain into domain-invariant features and domain-specific features, iterates the decomposed features twice through an iterative encoder-decoder, and uses the source domain features and domain-invariant features to train a segmentation network suitable for target images. DSAN introduces a bidirectional alignment scheme based on two translated self-networks, which uses a shared encoder and two private decoders to simultaneously align the features from the source domain to the target domain and from the target domain to the source domain, which can effectively alleviate the differences between domains. PnP-AdaNet aligns the feature spaces of the source and target domains through graph supervision to solve significant domain shifts. SASAN proposes a learnable self-attention space normalization for deep convolutional generator networks based on adversarial learning. Prior SIFA uses a shared encoder to extract features from the target domain image and the generated pseudo target domain image, then achieves alignment at the image level and feature level through adversarial learning, and finally uses this shared encoder to segment the target domain image. Compared with Prior SIFA, SIFA introduces a deep supervision mechanism based on adversarial learning. SynSeg-Net proposes an end-to-end training strategy that uses the migrated images to train the segmentation network while transferring the image style. UESM proposes a new mutual knowledge distillation scheme to make full use of modality shared knowledge to promote the segmentation of the target modality.
[0149] Table 3 shows the experimental results using CT images as the source domain and MR images as the target domain. As can be seen from the table, when the segmentation model of the source domain is directly used to test the target domain, the segmentation accuracy has a huge drop. The commonly used cross-domain segmentation methods have a good improvement in segmentation accuracy. The proposed adaptive cross-domain pancreas segmentation method based on conditional prototype extraction has the highest accuracy on DSC and Jac, reaching 76.64 and 65.49 respectively.
[0150] Table 3 Comparative experimental results of different cross-domain segmentation algorithms for CT->MR
[0151]
[0152] Table 4 shows the experimental results using MR images as the source domain and CT images as the target domain. As can be seen from the table, when the segmentation model of the source domain is directly used to test the target domain, the segmentation accuracy has a huge drop. The commonly used cross-domain segmentation methods have a good improvement in segmentation accuracy. The proposed adaptive cross-domain pancreas segmentation method based on conditional prototype extraction has the highest accuracy on DSC and Jac, reaching 71.32 and 59.38 respectively.
[0153] Table 4 Comparative experimental results of different cross-domain segmentation algorithms for MR->CT
[0154]
[0155] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. An image segmentation method based on cross-domain category-aware graph convolution alignment, characterized in that: include: Input the source domain image and the target domain image into the encoder Encode to generate the source domain deep feature feat s And the target domain deep feature feat t , through the inter-domain category-aware graph convolution, the features of the two domains are mixed to generate the source domain graph features feat gs And the target domain graph feature feat gt , implicitly map the generated graph features into the kernel Hilbert space through the Gaussian kernel function and use loss gka Alignment; Using pixel-level feature matching methods, the source domain image features are combined with the target domain image features and the source domain labels, and pixel-level matching is performed to generate target domain pseudo labels to constrain target domain predictions. The prototype mutual information module uses the posterior prototype with in-domain category information Guiding Priori Prototypes The prototype mutual information module is trained to extract category information. and the target domain prototype They are respectively embedded into the graph convolution process, so that the graph features generated by the graph convolution have the category information of the segmentation target; The confidence correction module is designed to generate the in-domain category confidence as the loss by combining the prototype with the in-domain category information with the deep features generated by the encoder. gka The weight of The inter-domain category-aware graph convolution includes using cosine similarity to calculate the similarity between each element and other elements to generate an adjacency matrix, which contains the similarity and position relationship between each element and other elements, that is, the overall structural relationship, expressed as: in, denote the i-th element of the source domain deep feature and the j-th element of the target domain deep feature, respectively. i,j represents the i-th and j-th elements of the generated adjacency matrix A, h and w represent the height and width of the depth feature respectively; The generating of the adjacency matrix includes flattening the deep features into a set of one-dimensional vectors after obtaining the adjacency matrix, combining the obtained vectors and the adjacency matrix with a trainable adaptive weight to generate the target domain intra-graph features G_feat t , source domain internal graph feature G_feat s , expressed as, Here, θ is a diagonal matrix with diagonal elements θ ii =∑ j A ij ,θ ii represents the element in the i-th row and i-th column of the diagonal matrix, A ij represents the element in the i-th row and j-th column of the adjacency matrix, represents the normalized adjacency matrix, feat t ,feat. s represents the deep features of the source domain and the target domain, w gcn is a trainable adaptive weight shared by the source domain and the target domain, It is a nonlinear operation; After obtaining the graph features of the source domain and the target domain, in order to transfer the relevant intra-domain structural information and inter-domain category information to the corresponding domain, the category relationship between the graph features of the two domains is established, which is expressed as: in, They represent the i-th element of the target domain graph feature and the j-th element of the source domain graph feature, sim represents the cosine similarity, and Tra t Tra represents the category relationship between the i-th element of the target domain graph feature and the j-th element of the source domain graph feature. s Represents the category relationship between the i-th element of the source domain graph feature and the j-th element of the target domain graph feature; After obtaining the inter-domain category relationship, the cross-domain graph convolution operation is used to ensure that the distribution features of the two domains are mixed while retaining the intra-domain structural information and the inter-domain category relationship to the greatest extent, which is expressed as: Among them, G_feat t , G_feat s Represent the target domain graph features and source domain graph features respectively, and denote the adaptive mixing layer parameters of the target domain and the source domain respectively; The cross-domain graph convolution operation is used to ensure that the distribution features of the two domains are mixed while retaining the intra-domain structural information and the inter-domain category relationship to the greatest extent. After obtaining the mixed domain features, the loss is implicitly mapped to the kernel Hilbert space through the Gaussian kernel function. gka Alignment,As the difference between the two mixed domain features is minimized, the inter-domain category information is exploited and propagated, denoted as, in, is the Gaussian kernel function, denote the i-th element of the target domain graph feature and the j-th element of the source domain graph feature, σ h Indicates window width, conf t and conf s Represent the target domain category confidence and source domain category confidence respectively, represents the category relationship between the i-th element of the target domain and the j-th element of the source domain, It represents the category relationship between the i-th element in the source domain and the j-th element in the target domain, and τ is the relationship threshold.
2. The image segmentation method based on cross-domain category-aware graph convolution alignment as claimed in claim 1, characterized in that: The pixel-level feature matching method is used to match the source domain image features feat gs And the target domain graph feature feat gt The cosine similarity calculation is expressed as, in, represents the i-th element of the target domain graph feature, represents the jth element of the source domain graph feature, represents the kth element of the source domain graph feature, and cos(·) represents the cosine similarity; In the matching matrix, each row represents feat gt An element and feat gs The similarity of all elements in the cosine similarity matrix. If the maximum value of the i-th row is in the j-th column, it means that feat gt The i-th element of feat gs The j-th element of has the largest similarity, and the categories of the two elements are judged to be the same. Each row is compared to obtain the pseudo label of the target domain, which is expressed as, index i =Argmax(matching_matrix i ) y t =Upsample(label t ) Among them, Argmax(matching_matrix i ) represents the index of the maximum value of the i-th row in the similarity matrix, index i Indicates feat gt The i-th element and feat gs Index i The elements are most similar, and Upsample represents an upsampling operation.
3. The image segmentation method based on cross-domain category-aware graph convolution alignment as claimed in claim 2, characterized in that: The pseudo label of the target domain is obtained by adding the source domain label index i The value of the element is assigned to the i-th element of the target domain to obtain the target domain pseudo label. The generated target domain pseudo label label is then interpolated using the nearest neighbor method. t Upsample to the same size as the decoder’s prediction to get the required target domain pseudo label y t After that, the source domain label and the target domain label are determined, and the source domain label y s and the source domain prediction p generated by the decoder s As cross entropy loss and target domain pseudo label y t and the target domain prediction p generated by the decoder t As cross entropy loss, structure-aware feature refinement is achieved, expressed as, in, The element in row i and column j represents the source domain label, represents the i-th row and j-th column of the target domain pseudo label, represents the i-th row and j-th column of the source domain prediction, represents the i-th row and j-th column of the target domain prediction, W and H represent the width and height of the image respectively; The overall loss function is expressed as, Among them, w represents the weight.
4. The image segmentation method based on cross-domain category-aware graph convolution alignment as claimed in claim 3, characterized in that: The prototype mutual information module is divided into a priori prototype mutual information module PMI pr and the posterior prototype mutual information module PMI po ; The source domain and the target domain are mixed by the style mixing method to obtain the intermediate domain image The style mixture is expressed as, a=λσ(img s )+(1-λ)σ(img t ) β=λμ(img s )+(1-λ)μ(img t ) Among them, λ is a weight matrix that maintains the mixture balance, with a size of 1×C×1×1, C is the number of channels of the input image, and λ i ∈(0,1),img s ,img t ,img mix Respectively represent the source domain image, the target image, and the intermediate domain image after the two are mixed, μ, σ represent the global average and global variance operations on the image, i∈(0,B), B represents the number of images in a batch; After obtaining the intermediate domain image, use it as PMI pr The intermediate domain image is superimposed with the source domain label to obtain the intermediate domain image with posterior information as PMI po Input; The prototype mutual information module downsamples the intermediate domain image four times to obtain the deep features, which are mapped to the latent space through their respective fully connected layers. The latent space conforms to the normal distribution, and the two vectors obtained are the mean vectors of the input image fitted by the network. With the variance vector The distribution parameters of the input image are obtained as domain information, and the required prototype is obtained by sampling through the reparameterization technique.
5. The image segmentation method based on cross-domain category-aware graph convolution alignment as claimed in claim 4, characterized in that: The reparameterization technique sampling involves sampling a random vector ε from a standard normal distribution and then using the mean vector obtained by the encoder With the variance vector Combined to get prototype It is expressed as, in, represents the i-th intermediate domain image in a batch of samples, represents the prototype extracted by the prototype mutual information module from the intermediate domain image, ε represents a random vector, represents the mean vector, represents the variance vector; The posterior prototype adds the label of the source domain in the input stage, and the resulting prototype The input of the i-th intermediate domain image in a batch of samples combined with the source domain label contains the category information of the input image due to the addition of the source domain label, thus obtaining a prototype with intermediate domain distribution information. and prototypes with both intermediate domain distribution information and category information Based on mutual information loss, prototypes with intermediate domain distribution information and category information are used Guiding Prototype The ability of training the prior prototype mutual information module to extract category information is expressed as, in, and Respectively and The entropy of represents the posterior prototype generated by combining the i-th intermediate domain image and the source domain label in a batch of samples as the input of the posterior prototype mutual information, represents the prior prototype generated by the i-th intermediate domain image in a batch of samples as the input of the prior prototype mutual information module, and B represents the number of images in a batch; Under the constraint of mutual information loss, prototype mutual information can extract the prototype of the category information possessed by any style image, using the extracted source domain prior prototype and the target domain prior prototype The source domain deep features feat generated by the backbone network encoder s And the target domain deep feature feat t Combined with the generated domain category confidence, the category confidence is added as a weight to the subsequent Gaussian kernel function alignment loss loss gka In, it is expressed as, in, represents the prior prototype generated by the target domain image as the input of the prior prototype mutual information module, represents the i-th element of the deep feature of the target domain, represents the kth element of the deep feature of the target domain, represents the i-th element of the generated category confidence, represents the prior prototype generated by the source domain image as the input of the prior prototype mutual information module, represents the i-th element of the deep feature of the source domain, represents the kth element of the deep feature of the source domain, Represents the i-th element of the generated category confidence.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the image segmentation method based on cross-domain category-aware graph convolution alignment described in any one of claims 1 to 5 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the image segmentation method based on cross-domain category-aware graph convolution alignment described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Domain adaptive semantic segmentation method based on similarity space alignment
CN110322446A
Feature reconstruction-based unsupervised domain adaptive OCT image segmentation method and system
CN116823851A
Cross-domain remote sensing image semantic segmentation method based on adaptation and self-training in iteration domain
WO2023201772A1
