A choroid segmentation system and method for OCT images based on domain adaptation
By using Fourier transform and adversarial learning in the OCT image segmentation system, combined with the two-stage optimization module, the problem of performance degradation caused by differences between different domains of OCT images is solved, and higher choroidal segmentation accuracy and stability are achieved.
Patent Information
- Application Number
- CN202310124231.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-02-16
AI Technical Summary
The existing OCT image choroid segmentation network model performs unstable under different image quality conditions, especially when the image quality difference between the source domain and the target domain is large, the performance drops significantly, and the traditional domain adaptation method has feature errors, reduced discriminability and The problem of excessive calculation amount.
An OCT image choroid segmentation system based on domain adaptation is adopted, including a preprocessing module, a segmenter module, a discriminator module and a two-stage optimization module to reduce domain differences through Fourier transform, adversarial learning to reduce feature differences, and utilize high confidence The target domain data optimizes the segmenter model.
It improves the accuracy and generalization performance of cross-domain data segmentation, improves the performance of choroid segmentation, and significantly improves the segmentation effect of target domain images, which is better than other domain adaptive methods.
Smart Images

Figure CN116206108B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image segmentation, and in particular to a domain-adaptive OCT (Optical Coherence Tomography) image choroid segmentation system and method. Background Art
[0002] Automatic segmentation of the choroid in optical coherence tomography images is used for automatic quantitative analysis of the choroid, which is of great significance for the diagnosis and treatment of fundus lesions such as high myopia and age-related macular degeneration. In recent years, a variety of automatic choroid segmentation network models have been proposed, among which the deep learning network model based on convolutional neural network has performed well in this task. However, OCT images may come from different instruments, and their image quality varies greatly. When the trained network model is used for images of different quality, the performance of the network model drops sharply. It is usually necessary to retrain on new data to obtain better performance, and this process requires manual annotation of the new data, so multiple annotations are time-consuming and labor-intensive.
[0003] Traditional domain adaptation network models use the loss function to constrain the network. By calculating the maximum mean difference between the features of the source domain and the target domain in the same feature space as the constraint measure of the network, the problem of reduced model generalization performance caused by the difference in data distribution between the two domains is solved. Based on the loss function constraint, adversarial learning is also introduced to solve this type of problem. Cycle-consistent adversarial domain adaptation achieves local and global structural consistency through pixel cycle consistency and semantic loss, further optimizing the process of domain adaptation. In addition, there are also some non-adversarial methods: curriculum learning infers important attributes of the target image based on the source sample and guides the model to segment the corresponding area of the target image; self-training methods based on non-adversarial models transfer semantic representations by continuously optimizing the pseudo-labels of the target image generated during the training process. At the same time, some scholars have explored the intermediate domain between the source domain and the target domain through domain flow conversion, and performed semantic segmentation work in it. Although these network models or methods have achieved certain results, there are still the following shortcomings:
[0004] (1) The choroid segmentation network model based on general deep learning is trained in the source domain and tested in the target domain. When there is a difference in the image quality between the source domain and the target domain, the performance decreases significantly.
[0005] (2) Feature unsupervised domain adaptation methods align the features extracted from the network between the source domain and the target domain. Although they align the marginal distributions, they do not enforce any semantic consistency, which may lead to errors in feature mapping.
[0006] (3) Although the adversarial unsupervised domain adaptation network model reduces the distribution differences of different data in the feature space, thereby enhancing the transferability of features, it also sacrifices the discriminability of features.
[0007] (4) Although the unsupervised domain adaptation network model based on distance metric can effectively utilize data, its computational complexity increases exponentially with the increase in data volume.
[0008] Therefore, there is an urgent need for a network model and method that can accurately segment the choroid in OCT images. Summary of the invention
[0009] The technical problem to be solved by the present invention is that, in view of the large differences in noise distribution, contrast and resolution between OCT images acquired by different instruments or the same instrument using different scanning methods, a domain-adaptive OCT image choroidal segmentation system and method are proposed, with the aim of reducing the cross-domain OCT data distribution differences, training with source domain images and their gold standard without the need for a target domain image gold standard, and obtaining higher choroidal segmentation performance on the target domain image.
[0010] In order to solve the above problems, an embodiment of the present invention provides an OCT image choroid segmentation system based on domain adaptation, which includes a preprocessing module, a segmenter module, a discriminator module and a two-stage optimization module;
[0011] Different OCT images are collected to construct a data set, and the data set is divided into source domain image data and target domain image data. The preprocessing module is used to preprocess the source domain image and the target domain image; the segmenter module is connected to the preprocessing module, and the segmenter module includes a feature encoder and a feature decoder; the segmenter module is connected to the discriminator module, and the segmenter module and the discriminator module are used to perform adversarial training on source domain data features and target domain data features to obtain a target domain image prediction probability map; the two-stage optimization module is used to re-train the segmenter module based on the target domain image prediction probability map to obtain an updated segmenter model.
[0012] Preferably, the preprocessing module is used to preprocess the source domain image and the target domain image, specifically including:
[0013] Perform Fourier transform on the source domain image and the target domain image to obtain the amplitude spectrum and phase spectrum of the source domain image and the target domain image; select the center of the source domain amplitude spectrum, take the low-frequency part of the image with a range size of a set multiple of the width and height and exchange it to the target domain, retain the target domain phase spectrum and reconstruct the target domain image to obtain the target domain image after style transformation.
[0014] Preferably, the feature encoder comprises four layers, each layer is composed of convolution kernel, batch normalization and Relu activation; downsampling starts once after each layer, and the number of channels doubles. Downsampling is performed 4 times in total, and the number of output channels is 64, 128, 256, and 512 respectively.
[0015] Preferably, the feature decoder includes four layers, each layer is composed of a convolution kernel and a deconvolution, and the feature decoder concatenates the upsampled deep feature map and the jump-connected shallow feature map, and then obtains the output feature map of the layer, and the output feature map size and number of channels are the same as those of the shallow feature map.
[0016] Preferably, the discriminator module comprises four layers of convolution, each layer of convolution kernel size is 4×4, and the step size is 1, 2, 2, 1 respectively. Finally, the discriminator module outputs a 32×32 matrix
[0017] Preferably, the segmenter module and the discriminator module adopt an adversarial learning method to perform adversarial training on source domain data features and target domain data features through the constraints of a loss function.
[0018] Preferably, in adversarial learning, the segmenter module and the discriminator module respectively use different loss functions, wherein the segmenter module loss function is defined as:
[0019] L S =L seg (x s ,y s )+αL adv (D(S(x t )))
[0020]
[0021]
[0022] The discriminator module loss function is defined as:
[0023]
[0024] Among them, α is the weight coefficient, which is set to 0.001, t i Represents the segmentation label y of the source domain input image s The value of the i-th pixel in i Represents the source domain input image x S The value of the i-th pixel in the model prediction result, N represents the total number of pixels in the source domain label image, D(S(x t )) represents the target domain image x t The output matrix after the segmentation module S and the discriminator module D, D m (S(x t)) represents the matrix D(S(x t )) in the mth element value, D(S(x s )) represents the source domain image x s The output matrix after the segmentation module S and the discriminator module D, D m (S(x s )) represents the matrix D(S(x s )) The value of the mth element in X t represents the target domain image set, X s represents the source domain image set, |X t | represents the total number of target domain images, |X s | represents the total number of source domain images, and M represents the number of elements in the output matrix of the discriminator module D.
[0025] Preferably, the two-stage optimization module is used to retrain the segmenter module based on the prediction result of the segmenter module, specifically comprising:
[0026] First, the information entropy of the target domain image prediction probability map is calculated, and the calculation formula is as follows:
[0027]
[0028] Among them, P xt is the predicted probability map of the target domain image, h and w are the row and column numbers of the pixel points in the image respectively;
[0029] Then, low-entropy, i.e., high-confidence target domain data within a set range is selected, and the segmentation result obtained by the segmenter module is used as the segmentation label. The segmenter model is further trained to obtain an updated segmenter model to further optimize the system's ability to segment the target data.
[0030] The embodiment of the present invention further provides a method for segmenting choroid in an OCT image based on domain adaptation, the method comprising:
[0031] S1: Collect different OCT images to construct a dataset, and divide the dataset into source domain image data and target domain image data;
[0032] S2: construct any of the domain adaptive OCT image choroid segmentation systems described above;
[0033] S3: inputting the source domain image data and the target domain image data into the system for training to obtain a trained domain adaptive OCT image based choroid segmentation system;
[0034] S4: Input the image to be segmented into the trained domain adaptive OCT image based choroid segmentation system to obtain a choroid segmentation map.
[0035] An embodiment of the present invention further provides a computer storage medium storing a computer software product. The computer software product includes several instructions for enabling a computer device to execute the above-mentioned domain adaptive OCT image-based choroidal segmentation method.
[0036] It can be seen from the above technical solutions that the present invention has the following advantages:
[0037] The embodiment of the present invention provides a choroidal segmentation system and method based on domain adaptive OCT images. The present invention constructs a system including a preprocessing module, a segmenter module, a discriminator module, and a two-stage optimization module. First, Fourier coefficient replacement is used in the preprocessing module to reduce domain differences at the image level, and then adversarial learning is used in the segmenter module and the discriminator module to reduce domain differences at the feature level. Finally, the segmentor is retrained with high-confidence target domain data and its preliminary segmentation results in the two-stage optimization module to further optimize the system's ability to segment target data, improve the system's generalization performance, and improve the accuracy of cross-domain data segmentation. The present invention effectively improves the performance of choroidal segmentation and shows superiority compared with other existing domain adaptive segmentation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the implementation cases of the present invention or the technical solutions in the prior art, the following is a brief description of the drawings required for use in the embodiments. By referring to the drawings, the features and advantages of the present invention will be more clearly understood. The drawings are schematic and should not be understood as limiting the present invention in any way. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0039] Figure 1 is a structural schematic diagram of a domain adaptive OCT image choroid segmentation system provided in an embodiment;
[0040] Figure 2 is a schematic diagram of a choroid segmentation method based on domain adaptive OCT images provided in an embodiment;
[0041] Figure 3 A diagram showing the choroidal comparison experiment segmentation results of different networks provided in the embodiments;
[0042] Figure 4 Graph showing segmentation results of choroidal ablation experiments using different networks provided in the embodiments. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] like Figure 1 As shown, an embodiment of the present invention proposes a choroid segmentation system based on domain adaptive OCT images, the system includes a preprocessing module, a segmenter module, a discriminator module and a two-stage optimization module;
[0045] Different OCT images are collected to construct a data set, and the data set is divided into source domain image data and target domain image data. The preprocessing module is used to preprocess the source domain image and the target domain image; the segmenter module is connected to the preprocessing module, and the segmenter module includes a feature encoder and a feature decoder; the segmenter module is connected to the discriminator module, and the segmenter module and the discriminator module are used to perform adversarial training on source domain data features and target domain data features to obtain a target domain image prediction probability map; the two-stage optimization module is used to re-train the segmenter module based on the target domain image prediction probability map to obtain an updated segmenter model.
[0046] The embodiment of the present invention provides a choroidal segmentation system based on domain adaptive OCT images. The present invention constructs a system including a preprocessing module, a segmenter module, a discriminator module, and a two-stage optimization module. First, Fourier coefficient replacement is used in the preprocessing module to reduce domain differences at the image level. Then, adversarial learning is used in the segmenter module and the discriminator module to reduce domain differences at the feature level. Finally, the segmenter is retrained with high-confidence target domain data and its preliminary segmentation results in the two-stage optimization module to further optimize the system's ability to segment target data, improve the system's generalization performance, and improve the accuracy of cross-domain data segmentation. The present invention effectively improves the performance of choroidal segmentation and shows superiority compared with other existing domain adaptive segmentation methods.
[0047] Specifically, in the preprocessing module, Fourier transform is performed on the source domain and target domain images to obtain the amplitude spectrum and phase spectrum of the source domain image and the target domain image; the center of the source domain amplitude spectrum is selected, and the low-frequency part with a range of 0.01 times the width and height of the image is exchanged to the target domain, the target domain phase spectrum is retained and the target domain image is reconstructed to obtain the target domain image after style transformation.
[0048] Furthermore, the segmenter module adopts the traditional U-shaped network structure, including a feature encoder and a feature decoder. The encoder consists of four layers, each of which consists of a 3×3 convolution kernel with a step size of 1, batch normalization, and Relu activation; downsampling begins after each layer, and the number of channels doubles. Downsampling is performed 4 times in total, and the number of output channels is 64, 128, 256, and 512 respectively. In order to effectively reconstruct the high-resolution feature map, each decoder concatenates the upsampled deep feature map and the shallow feature map of the jump connection to obtain the output feature map of the layer, and the feature map size and number of channels are the same as the shallow feature map.
[0049] Furthermore, the discriminator module includes four layers of convolution, each layer has a convolution kernel size of 4×4, and the step sizes are 1, 2, 2, and 1 respectively. Finally, the discriminator module outputs a 32×32 matrix. The cross entropy loss is calculated for the output of the discriminator module and used as a constraint for the segmentation module to improve the robustness of the segmentation model.
[0050] The segmenter module and the discriminator module adopt the adversarial learning method, and conduct adversarial training on the source domain data features and the target domain data features through the constraints of the loss function. The segmenter module extracts features similar to the source domain from the target domain data as much as possible, so that the discriminator module cannot distinguish the differences in cross-domain data distribution; while the discriminator module improves its own identification ability as much as possible. In this way, by adversarially training the source domain and target domain data features in the feature space, the distribution of the source domain and target domain data is brought closer at the feature level.
[0051] In adversarial learning, the segmenter module and the discriminator module use different loss functions, where the segmenter module loss function is defined as:
[0052] L S =L seg (x s ,y s )+αL adv (D(S(x t )))
[0053]
[0054]
[0055] The discriminator module loss function is defined as:
[0056]
[0057] Among them, α is the weight coefficient, which is set to 0.001, t i Represents the segmentation label y of the source domain input image s The value of the i-th pixel in i Represents the source domain input image xs The value of the i-th pixel in the model prediction result, N represents the total number of pixels in the source domain label image, D(S(x t )) represents the target domain image x t The output matrix after the segmentation module S and the discriminator module D, D m (S(x t )) represents the matrix D(S(x t )) in the mth element value, D(S(x s )) represents the source domain image x s The output matrix after the segmentation module S and the discriminator module D, D m (S(x s )) represents the matrix D(S(x s )) The value of the mth element in X t represents the target domain image set, X s represents the source domain image set, |X t | represents the total number of target domain images, |X s | represents the total number of source domain images, and M represents the number of elements in the output matrix of the discriminator module D.
[0058] Furthermore, the two-stage optimization module has the same network structure as the segmentation module. In the two-stage optimization module, the information entropy of the target domain image prediction probability map obtained after the target data passes through the trained segmentation module is first calculated, and the calculation formula is as follows:
[0059]
[0060] Among them, P xt is the predicted probability map of the target domain image, h and w are the row and column numbers of the pixel points in the image respectively;
[0061] Then, the first 70% of the target domain data with low entropy and high confidence are selected, and the segmentation results obtained by the segmenter module are used as segmentation labels. The segmenter model is further trained to obtain an updated segmenter model to further optimize the system's ability to segment target data and improve the system's generalization performance.
[0062] like Figure 2 As shown, an embodiment of the present invention further provides a method for segmenting choroid in an OCT image based on domain adaptation, the method comprising:
[0063] S1: Collect different OCT images to construct a dataset, and divide the dataset into source domain image data and target domain image data;
[0064] S2: construct any of the domain adaptive OCT image choroid segmentation systems described above;
[0065] S3: inputting the source domain image data and the target domain image data into the system for training to obtain a trained domain adaptive OCT image based choroid segmentation system;
[0066] S4: Input the image to be segmented into the trained domain adaptive OCT image based choroid segmentation system to obtain a choroid segmentation map.
[0067] The method is based on the above-designed domain-adaptive OCT image choroid segmentation system to achieve automatic segmentation of the choroid in OCT images. In order to avoid redundancy, it will not be described here.
[0068] The advantages of the method of the present invention will be described below through specific experiments.
[0069] 1. Dataset
[0070] The dataset used in this experiment comes from the First People's Hospital Affiliated to Shanghai Jiao Tong University. The dataset distinguishes between source domain and target domain, which are collected from the same scanner but with different scanning methods. Among them, the source domain training set is collected from Topcon DRI-1 with 12-line radial scanning, containing a total of 501 fundus OCT images, and the target domain training set and test set are both collected from Topcon DRI-1 with 256-line 3D scanning, containing 1320 and 330 fundus OCT images, respectively. In order to reduce training time and video memory usage, we downsampled the images to 512×512. In order to increase the diversity of training data and prevent model overfitting, random left and right and up and down flipping, random brightness, random contrast, and random Gaussian blur are used as online data augmentation. In order to objectively evaluate the performance of the method of the present invention, four evaluation indicators, including intersection over union (IoU), Dice coefficient, sensitivity (Sens) and specificity (Spec), are used.
[0071] 2. Experimental Setup
[0072] The model is trained and tested based on the public platform PyTorch and a GeForce GTX 2080Ti GPU with 11GB memory. For the segmenter, the stochastic gradient descent algorithm is applied to optimize the network, the initial value of the learning rate is set to 0.01, the momentum parameter is set to 0.9, and the learning rate decay value is set to 0.0001. For the discriminator, the Adam algorithm is used to optimize the network, and the initial value of the learning rate is set to 0.001. A total of 60 rounds of training are performed, with an input image batch size of 2, and the segmenter and discriminator are updated alternately in each round.
[0073] 3. Experimental results and analysis
[0074] Table 1 shows the results and comparison of the comparative experiment and ablation experiment for choroid segmentation.
[0075] Table 1
[0076]
[0077] In the ablation experiment, U-Net was used as the basic network baseline, and the Fourier transform, adversarial learning, and two-stage optimization method used in the present invention were added to the basic network baseline. The Dice coefficient and intersection over union (IoU) of the target data were significantly improved. The Dice and IoU coefficients of the present invention are 6.46% and 8.34% higher than those of the baseline without domain adaptation, respectively, indicating that the two-stage domain adaptation algorithm proposed in the present invention can effectively solve the problem of model performance degradation caused by domain offset.
[0078] In comparative experiments, the performance of the system proposed by the present invention surpasses other classical systems. Figure 3 and Figure 4 The choroid comparison experiment segmentation results and choroid ablation experiment segmentation results of different networks are shown respectively. Figure 3 In the figure, the first column: original image; the second column: gold standard image; the third column: segmentation result of AdaptSeg; the fourth column: segmentation result of Advent; the fifth column: segmentation result of MaxSquare; the sixth column: segmentation result of the present invention. Figure 3 In the figure, the first column: original image; the second column: gold standard image; the third column: segmentation result of Baseline; the fourth column: segmentation result of Baseline+FDA; the fifth column: segmentation result of Baseline+GAN; the sixth column: segmentation result of Baseline+FDA+GAN; the seventh column: segmentation result of the present invention. Figure 3 and Figure 4 It can be seen that the present invention achieves good cross-domain segmentation performance for the choroid in OCT images, which effectively verifies the superiority of the domain-adaptive OCT image choroid segmentation system and method proposed in the present invention.
[0079] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
[0080] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0081] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0082] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0083] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A choroid segmentation system based on domain adaptive OCT images, It is characterized in that It includes a preprocessing module, a segmenter module, a discriminator module, and a two-stage optimization module; Collect different OCT images to construct a data set, divide the data set into source domain image data and target domain image data, and the preprocessing module is used to preprocess the source domain image and the target domain image; The segmenter module is connected to the preprocessing module, and the segmenter module includes a feature encoder and a feature decoder; the segmenter module is connected to the discriminator module, and the segmenter module and the discriminator module are used to perform adversarial training on source domain data features and target domain data features to obtain a target domain image prediction probability map; the two-stage optimization module is used to retrain the segmenter module based on the target domain image prediction probability map to obtain an updated segmenter model; The two-stage optimization module is used to retrain the segmenter module based on the target domain image prediction probability map to obtain an updated segmenter model, which specifically includes: First, the information entropy of the target domain image prediction probability map is calculated, and the calculation formula is as follows: Among them, P xt is the predicted probability map of the target domain image, h and w are the row and column numbers of the pixel points in the image respectively; Then, low-entropy, i.e., high-confidence target domain data within a set range is selected, and the segmentation result obtained by the segmenter module is used as the segmentation label. The segmenter model is further trained to obtain an updated segmenter model to further optimize the system's ability to segment the target data.
2. The domain adaptive OCT image choroid segmentation system according to claim 1, It is characterized in that The preprocessing module is used to preprocess the source domain image and the target domain image, specifically including: Perform Fourier transform on the source domain image and the target domain image to obtain the amplitude spectrum and phase spectrum of the source domain image and the target domain image; select the center of the source domain amplitude spectrum, take the low-frequency part of the image with a range size of a set multiple of the width and height and exchange it to the target domain, retain the target domain phase spectrum and reconstruct the target domain image to obtain the target domain image after style transformation.
3. The domain adaptive OCT image choroid segmentation system according to claim 1, It is characterized in that The feature encoder includes four layers, each of which is composed of a convolution kernel, batch normalization and ReLU activation; downsampling starts once after each layer, the number of channels doubles, and downsampling is performed 4 times, and the output channel numbers are 64, 128, 256, and 512 respectively.
4. The domain adaptive OCT image choroid segmentation system according to claim 1, It is characterized in that The feature decoder includes four layers, each of which is composed of a convolution kernel and a deconvolution kernel. The feature decoder concatenates the upsampled deep feature map and the jump-connected shallow feature map to obtain the output feature map of the layer. The size and number of channels of the output feature map are the same as those of the shallow feature map.
5. The domain adaptive OCT image choroid segmentation system according to claim 1, It is characterized in that The discriminator module includes four layers of convolution, each layer has a convolution kernel size of 4×4, and the step sizes are 1, 2, 2, and 1 respectively. Finally, the discriminator module outputs a 32×32 matrix.
6. The domain adaptive OCT image choroid segmentation system according to claim 1, It is characterized in that The segmenter module and the discriminator module adopt an adversarial learning method to perform adversarial training on source domain data features and target domain data features through the constraints of the loss function.
7. The domain adaptive OCT image choroid segmentation system according to claim 6, It is characterized in that In adversarial learning, the segmenter module and the discriminator module use different loss functions, where the segmenter module loss function is defined as: L S =L seg (x s ,y s )+αL adv (D(S(x t ))) The discriminator module loss function is defined as: Among them, α is the weight coefficient, which is set to 0.001, t i Represents the segmentation label y of the source domain input image s The value of the i-th pixel in i Represents the source domain input image x s The value of the i-th pixel in the model prediction result, N represents the total number of pixels in the source domain label image, D(S(x t )) represents the target domain image x t The output matrix after the segmentation module S and the discriminator module D, D m (S(x t )) represents the matrix D(S(x t )) in the mth element value, D(S(x s )) represents the source domain image x s The output matrix after the segmentation module S and the discriminator module D, D m (S(x s )) represents the matrix D(s(x s )) The value of the mth element in X t represents the target domain image set, X s represents the source domain image set, |X t | represents the total number of target domain images, |X s | represents the total number of source domain images, and M represents the number of elements in the output matrix of the discriminator module D.
8. A choroidal segmentation method based on domain adaptive OCT images, It is characterized in that include: S1: Collect different OCT images to construct a dataset, and divide the dataset into source domain image data and target domain image data; S2: constructing the domain adaptive OCT image choroid segmentation system according to any one of claims 1 to 7; S3: inputting the source domain image data and the target domain image data into the system for training to obtain a trained domain adaptive OCT image based choroid segmentation system; S4: Input the image to be segmented into the trained domain adaptive OCT image based choroid segmentation system to obtain a choroid segmentation map.
9. A computer storage medium, It is characterized in that The computer storage medium stores a computer software product, and the computer software product includes several instructions for enabling a computer device to execute the domain adaptive OCT image choroid segmentation method according to claim 8.
