Three-path Fourier-time domain modulation network framework for high-precision intra-operative navigation
Through the three-path Fourier-time domain modulation network framework, multi-path feature information is integrated to solve the problem of insufficient performance of the deep learning network in segmenting the detail structure of fundus OCT images, achieving high-precision segmentation and reconstruction of fundus lesions, and reducing the cost of Reliance on annotated data and improves clinical application value.
Patent Information
- Application Number
- CN202410688468.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-30
AI Technical Summary
Existing deep learning networks perform insufficiently in segmenting detailed structures in fundus OCT images, especially the segmentation performance of diabetic edema and macular holes. They are also sensitive to noise and bias, and require a large amount of annotated data for training.
A three-path Fourier-time domain modulation network framework is proposed. By fusing the features of the spatial domain, frequency domain and spatiotemporal domain, multi-path image detail feature information fusion and multi-level feature enhancement are used to construct a high-precision intraoperative navigation. The fundus lesion segmentation and reconstruction model uses unlabeled data as a pre-training set, and performs image enhancement and pre-processing. It combines MAE, Fourier transform and discrete wavelet transform to design a feature re-modulation mechanism and a multi-level feature reconstruction module.
It improves the segmentation performance of choroid, retina, edema and macular hole in fundus OCT images, reduces the dependence on annotated data, improves the training efficiency and segmentation accuracy of the model, and provides an intuitive three-dimensional structure map through 3D reconstruction, enhancing clinical application value.
Smart Images

Figure CN118570423A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical image processing technology, and in particular to a three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation, which is mainly used for the segmentation and reconstruction of fundus lesions in high-precision intraoperative navigation. Background Art
[0002] OCT uses a light beam generated by a low-coherence light source (such as a superfluorescent diode or a femtosecond laser) to illuminate the tissue surface and receive light reflected from different depths of the tissue. By processing the interference signal, a tomographic image of the tissue can be obtained. The resolution of OCT can usually reach the micron level, which is difficult to match with traditional imaging technologies (such as ultrasound and MRI).
[0003] Although optical coherence tomography (OCT) technology has significant advantages in the field of medical imaging, it also has some defects and limitations, such as limited depth penetration, limited field of view, and sensitivity to motion. In addition, the large number of fundus OCT images is too large for ophthalmologists with limited resources. How to efficiently use OCT images for efficient diagnosis is a major challenge facing today.
[0004] Therefore, it is very necessary to apply deep learning to the segmentation of fundus OCT images. It can not only assist doctors in analyzing retinal layers and locating macular hole areas, but also help study the morphological information of fundus blood vessels, retinitis pigmentosa and arteriosclerosis. At the same time, it can provide doctors with personalized treatment plans in the directions of drug therapy, laser therapy, photocoagulation therapy and vision rehabilitation therapy.
[0005] At present, deep learning performs well in automatically detecting and segmenting eye diseases (such as macular degeneration, diabetic retinopathy, etc.), but it is not good enough in segmenting detailed structures such as diabetic edema and macular holes. By training deep learning models to analyze a large number of OCT images, the lesion area can be effectively identified and segmented with high precision. This subversive approach greatly reduces the workload of doctors and improves the accuracy of diagnosis. However, traditional deep learning networks often require a large amount of high-quality labeled data for training, and the model is very sensitive to noise and bias in the training data.
[0006] Therefore, it is very necessary to invent a deep learning network framework that does not rely on a large amount of labeled data and can accurately segment the structural details in the image. Summary of the invention
[0007] In view of the shortcomings of current technology, the present invention provides a three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation, aiming to improve the segmentation performance of deep learning networks for choroid, retina, edema and macular hole in fundus OCT images.
[0008] The present invention innovatively integrates the key features of spatial domain branches, frequency domain branches and spatiotemporal domain branches, and improves the efficiency of network training through multi-path image detail feature information fusion and multi-level feature enhancement.
[0009] The technical solution included in the present invention to solve the technical problem includes the following steps:
[0010] S1: Unlabeled fundus OCT images of patients collected from major hospitals as pre-training dataset;
[0011] S2: Collect the annotated fundus OCT images of the patient and organize and divide the collected data into a training set and a test set;
[0012] S3: applying image enhancement to the fundus OCT image of step S2;
[0013] S4: uniformly transforming and preprocessing the fundus OCT image of step S2;
[0014] S5: Construct a three-path Fourier-time domain modulation network model for high-precision intraoperative navigation;
[0015] S6: Input the data in the training set into the model for training and obtain weights;
[0016] S7: Apply the trained weights to the test set to evaluate the segmentation effect. The evaluation indicators include but are not limited to Dice coefficient (Dice Coefficient), intersection over Union (IoU), Matthews Correlation Coefficient (Matthews Correlation Coefficient, MCC), Geometric Mean (Geometric Mean, G-Mean) and Kappa Coefficient (Kappa Coefficient), and perform ablation experiments;
[0017] S8: Apply the segmentation results of the test set to 3D reconstruction to reconstruct a complete fundus OCT stereoscopic structure image.
[0018] The beneficial effects of the present invention are as follows:
[0019] Based on the deep learning framework, the present invention takes into account the problem that the traditional deep learning framework cannot adequately express the detailed features of fundus OCT images, and thus constructs a three-path Fourier-time domain modulation network framework for fundus lesion segmentation and reconstruction for high-precision intraoperative navigation to perform high-precision segmentation of fundus OCT images. It is extremely difficult to obtain annotated fundus OCT images, so a large amount of unlabeled fundus OCT image data is introduced as our pre-training data set. In addition, the present invention also performs 3D reconstruction of fundus OCT images, further enhancing its application value in clinical practice and providing doctors with an intuitive and stereoscopic three-dimensional model. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flow chart of a three-path Fourier-time domain modulation network framework in an embodiment of the present invention;
[0021] Figure 2 It is an overall framework diagram of a three-path Fourier-time domain modulation network framework in an embodiment of the present invention;
[0022] Figure 3 is a framework diagram of a three-path spectrum layered encoder in an embodiment of the present invention;
[0023] Figure 4 is a framework diagram of a feature remodulation mechanism in a three-path Fourier-time domain modulation network framework in an embodiment of the present invention;
[0024] Figure 5 It is a multi-level feature reconstruction module in the three-path Fourier-time domain modulation network framework in the embodiment of the present invention;
[0025] Figure 6(a) , 6(b) , 6(c), 6(d) are comparison diagrams of the results of the three-path Fourier-time domain modulation network framework in the embodiment of the present invention on the OIMHS dataset with other existing methods;
[0026] Figure 7(a) , 7(b) 7(c) and 7(d) are the ablation experimental results of the spatial domain branch in the three-path spectrum layered encoder of the three-path Fourier-time domain modulation network framework on the OIMHS dataset in the example of the present invention;
[0027] Figure 8(a) , 8(b) , 8(c), 8(d) are the ablation experiment results of the three-path Fourier-time domain modulation network framework in the example of the present invention on the OIMHS dataset to verify the rationality of each proposed module in the framework;
[0028] Fig. 9It is a comparison diagram of the segmentation results of the three-path Fourier-time domain modulation network framework on the OIMHS data set in the example of the present invention and the manual annotation;
[0029] Fig.10 This is a diagram showing the effect of 3D reconstruction of an image segmented by a three-path Fourier-time domain modulation network framework in an example of the present invention. DETAILED DESCRIPTION
[0030] The present invention is further explained below with reference to the embodiments.
[0031] like Figure 1 and 2 As shown, the present invention proposes a three-path Fourier-time domain modulation network method. The purpose is to segment fundus OCT images, which specifically includes the following steps:
[0032] Step 1: Collect fundus OCT images of patients from major hospitals. These images may be unlabeled. The present invention uses the collected fundus OCT images as a pre-training data set to extract prior features.
[0033] Step 2, collect the OIMHS (OCT Image Macular Hole Segmentation Dataset) data set as training data. OIMHS consists of hundreds to thousands of high-resolution retinal OCT images, which are acquired through optical coherence tomography technology and are mainly used for macular hole segmentation tasks. Each image is equipped with a binary mask label annotated by a professional doctor to mark the specific location and shape of the macular hole. The data set usually comes from an ophthalmology clinic or hospital, aiming to assist doctors in making more accurate diagnoses and tracking disease progression, while providing support for ophthalmic research. The present invention divides the OIMHS data set into a training set and a test set, with 2,000 training sets and 1,800 test sets, respectively.
[0034] Step 3: Perform geometric transformation, random noise addition, filtering and other image enhancement methods on the fundus OCT image in step 2, which significantly increases the complexity of the data, avoids overfitting of the network, and also helps the model to have better generalization ability.
[0035] Step 4: Preprocess the fundus OCT image from step 2 and uniformly transform it to 480*480 pixels.
[0036] Step 5: The constructed model includes a three-path spectral layered encoder, a new feature remodulation mechanism, and a new multi-level feature reconstruction module.
[0037] Among them, the three-path spectrum layered encoder, such as Figure 3As shown, the input in the figure is an original image of a fundus OCT image in the training set divided by the present invention, which combines the information of MAE (Mask Auto Encoder), Fourier frequency domain branch and discrete wavelet transform time-space domain branch.
[0038] As an MAE evolved from the Transformer architecture, it has a very good effect on image reconstruction tasks. The specific principle is that MAE first partially masks the input image, and then inputs the masked image into the encoder, which is usually a deep neural network based on the VisionTransformer architecture. The encoder is responsible for processing the unmasked part and generating a feature representation. Since some image blocks are masked, the encoder needs to extract meaningful features from the remaining visible parts and reconstruct them through the decoder. In the present invention, the encoder is used as a spatial domain feature extractor, and unsupervised training is first performed on the unlabeled data set obtained in step 1. Then the obtained prior features are used as spatial domain branches, and are input into the model in parallel with the frequency domain branch and the spatiotemporal domain branch. The specific formula is as follows:
[0039] Input image X in The size is C×H×W, where C is the number of channels, H and W are the height and width of the image respectively. After the image enters MAE, a certain proportion of image pixels are randomly selected for masking. The present invention sets this proportion to p. These masked image pixels will not participate in the input of the encoder, and the remaining (1-p) image pixels are used for training. The encoder will then process the remaining (1-p) pixels and extract features from them. This process is represented by function E, and the final output feature is Figure X convout It is C′×H′×W′.
[0040] X convout =E((1-M)⊙X in
[0041] Among them, ⊙ represents the element product, E represents the encoder function, and M is the in Masking matrix of the same dimension.
[0042] The frequency domain branch is the original image that is separated into high-frequency and low-frequency parts in the frequency domain space after Fourier transformation, and the attention mechanism is performed on the high-frequency and low-frequency parts respectively. The high-frequency and low-frequency parts are then merged, transformed back to the spatial domain through inverse Fourier transformation, and the real part is taken. Converting the image to the frequency domain for processing can extract the periodic features and global structural information in the image, and can filter out the noise in the fundus OCT image due to image blur. The specific formula is as follows:
[0043] First, the original input image X inPerform FFT transformation to obtain the result X fftin , and calculate the amplitude A and phase Φ, and perform frequency domain feature reduction function X on A reduced Then get A reduced :
[0044] X fftin =FFT(X in )
[0045] A reduced =X reduced (A)
[0046] Then the high and low frequencies are masked respectively and attention mechanism 1 and attention mechanism 2 are applied:
[0047] A high =A reduced ·M high ·σ(α high )
[0048] A low =A reduced ·M low ·σ(α low )
[0049] Among them, M high and M low Represent the masks of high-frequency and low-frequency areas respectively, σ is the Sigmoid function used to adjust the amplitude value, α high Represents the scaling factor of the high frequency part, α low Indicates the scaling factor of the low-frequency part, A high Represents the amplitude of the image in the high-frequency part, A low Indicates the amplitude of the image in the low-frequency part.
[0050] The attention mechanism 1 is the same as the attention mechanism 2, which is simply a process of matrix multiplication of the reduced-dimensional phase, the mask of the high- and low-frequency regions, and the scaling coefficient.
[0051] The high frequency amplitude A high and low frequency amplitude A low After merging, we get A scaled , and obtain X by inverse Fourier transform (IFFT) out , and output X out The real part of :
[0052] A scaled =A high +A low
[0053] X fftout =IFFT(re iθ (A scaled , Φ))
[0054] Among them, iθ represents the real part function;
[0055] The spatiotemporal branch is to decompose the original image in the spatiotemporal domain after the discrete wavelet transform, and apply the attention mechanism. Processing images in the spatiotemporal domain can not only capture the instantaneous changes and local information in the image, but also extract the multi-scale features of the fundus OCT image. The specific formula is as follows:
[0056] Discrete wavelet transform (DWT) first transforms the input image X in Convert from the time domain to a joint domain containing time domain and frequency domain information, obtain low-frequency component L and high-frequency component H respectively, and merge the high and low-frequency components in the channel dimension to obtain the output X dwtin :
[0057] L=X in [:,:,0::2,0::2]
[0058] H=X in [:,:,1::2,1::2]
[0059] X dwtin =concat(L,H)
[0060] Then through channel attention, such as Figure 3 The attention mechanism in 3 can recalibrate different frequency components to highlight the frequency features that are more critical to a specific task. The low-frequency part usually contains the main structural information of the image, while the high-frequency part contains details such as edges and textures. dwtin Through average pooling, fully connected layers, nonlinear activation functions and Sigmoid functions, we get the scaling factor, which is applied to the output X of the previous layer. dwtin On top, feature recalibration is achieved:
[0061] Y=GAP(X dwtin )·view(b,c)
[0062] S=σ(R(FC re d uced (Y)))
[0063] X output =X dwtin *S
[0064] Among them, GAP is average pooling, σ is the Sigmoid function, R is the ReLU function, FC reducedis a dimensionality reduction function, and S is a scaling factor. view(b, c) refers to reshaping a tensor into a tensor of size (b, c), where b refers to the batch size and c refers to the number of channels.
[0065] Finally, from the combined output X output Separate the low-frequency components and high-frequency components from the image, rearrange L and H in the spatial domain to reconstruct the image of the original size to obtain X dwtout :
[0066] L=X output [:,:c,:,:]
[0067] H=X output [:,c:,:,:]
[0068] X dwtout =L+H
[0069] Among them,: c means taking X output The first c channels in the channel dimension, and c: means taking X output The cth and all subsequent channels in the channel dimension.
[0070] The outputs of the three branches X convout , X fftout and X dwtout They are concatenated together and processed through a convolution to reduce the dimension as the first feature map C1 of the model.
[0071] X out =concat(X convout , X fftout , X dwtout )
[0072] C1=(C 1×1 (X out ))
[0073] At the same time, Convnext-Tiny is used as the backbone to extract the remaining four feature maps C2, C3, C4, and C5, as shown in Figure 1 As shown in Figure 2, the feature remodulation mechanism remodulates the deep feature map through four sub-units: parameterized spatial alignment, dual-path pooling attention, cascaded spatial-channel attention, and adaptive feature modulation, as shown in Figure 2. Figure 4 For patients with macular edema, edema is often presented in the form of dense, high-noise dots in OCT images. Traditional deep learning frameworks are not capable enough to focus on details such as edema in OCT images. Therefore, the present invention designs a new feature remodulation mechanism to enhance the framework's feature learning and expression of image details.
[0074] The parameterized spatial alignment unit obtains a radial transformation parameter through convolution, normalization and activation function. Then a transformed output feature map is obtained to ensure the enhancement and accuracy of spatial relationships. The specific formula is as follows:
[0075] Special processing is performed on the deep feature map C5 with high-level semantic information. First, C5 is input into the parameterized spatial alignment unit and then subjected to convolution, normalization, and activation function to obtain the affine transformation parameter θ:
[0076] θ=W2(W1(GAP(C5)))
[0077] Among them, θ is the transformation matrix parameter, which is used to control the spatial transformation of the image. W1 and W2 are the learned weight matrices used to generate suitable affine transformation parameters. Then a transformed output is obtained:
[0078] X psa =G(C5,θ)
[0079] Among them, X psa is the transformed output feature map. G is the function that uses θ to perform affine transformation on the deep feature map C5.
[0080] The dual-path pooling attention unit extracts features through maximum pooling and average pooling, and fuses them with a fully connected layer to generate dynamic attention weights to weighted enhance the input deep feature map C5. The specific formula is as follows:
[0081] S′=σ(GAP(X)+GMP(X))
[0082] X bpa =C5·S′
[0083] Among them, S′ is the dynamic attention weight, which is obtained by combining the global average pooling GAP and the global maximum pooling GMP, and is normalized by the activation function Sigmoid and multiplied by the input deep feature map C5 to output X bpa .
[0084] The cascaded spatial-channel attention unit reduces the dimension of the deep feature map C5 processed by the parameterized spatial alignment unit from C×W×H to C×1×1, extracts the global information of the feature map, and then generates channel attention weights through a series of convolution operations. The channel attention weights are multiplied by the input deep feature map C5 channel by channel to obtain the weighted feature map G. The channels of the feature map G are then divided into multiple groups, and the channel order is rearranged in each group. The channels of all groups are recombined into a new feature map F. Finally, the new feature map F is subjected to a spatial attention to extract the information of the feature map in the spatial dimension, and the final weighted feature map d5 with rich semantic information is obtained.
[0085] The adaptive feature modulation unit adaptively fuses deep features to enhance the accuracy and diversity of feature expression details. The specific formula is as follows:
[0086] The output X obtained by the above parameterized spatial alignment unit and the dual-path pooling attention unit psa and X bpa They are input into the adaptive feature modulation unit together, and after splicing, they are used to extract and refine important features through cascaded spatial-channel attention units:
[0087] X afm =concat(X psa , X bpa )
[0088] Among them, X afm It is a fusion of the feature map processed by the parameterized spatial alignment unit and the dual-path pooling attention unit, X afm Input into the cascaded space-channel attention unit, and obtain the feature map Y after the channel attention mechanism through pooling and Sigmoid function ca :
[0089] Y ca =σ(GAP(X afm ))·X afm
[0090] The obtained feature map Y ca Channel reorganization is performed, and channel reorganization is represented by Z. The spatial attention weight is obtained through maximum pooling and average pooling, and Y is obtained. sa :
[0091] Y re =Z(Y ca )
[0092] Y sa =σ(GMP(Y re )+GAP(Y re ))
[0093] Finally, the obtained Y ca and Y sa Multiply to get the final output features Figure X out , that is Figure 4 The weighted feature map d5 in:
[0094] X out =Y ca ·Y sa
[0095] like Figure 5As shown in the figure, the multi-level feature reconstruction module contains two submodules, namely the detail feature block and the dilated convolution block. The detail feature block maps the feature map to different dimensions through two 1×1 convolution feature encoders to obtain a feature map with weights, and then multiplies the two to obtain a fused feature. The fused feature is again passed through a 1×1 feature re-encoder to re-encode the features at the detail level. The feature map is then passed through a dilated convolution block to expand the receptive field to retain more boundary information after the upsampling process. The specific formula is as follows:
[0096] The feature map d after upsampling of the detail feature block i Encode twice to get the weighted feature maps C_feats and S_feats:
[0097] C_feats=R(N(C 1×1 (d i )))
[0098] S_feats=R(N(C 1×1 (d i )))
[0099] Multiply C_feats and S_feats, reduce the dimension by the dimensionality reduction function ∑, and normalize using the Sigmoid function to obtain the output fusion feature R_feats:
[0100] R_feats=σ(∑(C_feats.S_feats))
[0101] Again, the upsampled feature map d i Recode and get P_feats:
[0102] P_feats=R(N(C 1×1 (d i )))
[0103] Finally, the fused feature R_feats obtained above is multiplied by the re-encoded feature P_feats to obtain the final refined feature map d i-1 :
[0104] d′ i-1 =R_feats·P_feats
[0105] The output of the detail feature block is passed through the dilated convolution block to obtain the final module output d i-1 :
[0106]
[0107] Among them, the value of i is 2, 3, 4, 5.
[0108] Step 6. Import the training set divided in step 2 and its annotated images as training data into the main function for supervised learning. Use a three-way Fourier-time modulation network framework with a training cycle of 100. Use distributed training to obtain weights on a server with two NVIDIA Geforce RTX 3080 10GB graphics cards and 128GB of memory.
[0109] Step 7: Apply the trained weights to the test set to evaluate the segmentation effect, such as Figure 6(a) , 6(b) , 6(c), 6(d). We take the main and key evaluation indicators to evaluate the model, which are Dice coefficient (Dice Coefficient), Intersection over Union (IoU), Matthews Correlation Coefficient (Matthews Correlation Coefficient, MCC), Geometric Mean (Geometric Mean, G-Mean) and Kappa Coefficient (Kappa Coefficient). It can be seen that the three-way Fourier-time domain modulation network framework of the present invention has reached the highest in all indicators of almost all categories. It can be concluded that the three-way Fourier-time domain modulation network framework is extremely competitive in the segmentation of fundus OCT images.
[0110] Table 1 Edema
[0111] Model MCC Dice IoU G_Mean Kappa U-Net+AttGate 43.6±41.7 69.9±30.7 60.6±29.2 47.7±45.1 69.8±30.7 DUNet 43.6±42.2 73.0±28.9 63.6±27.7 46.8±44.9 72.9±28.9 DconnNet 44.3±42.5 74.0±28.4 64.8±27.5 46.7±44.6 73.9±28.4 DeepLab 45.3±43.1 76.4±27.5 67.7±26.9 48.0±45.3 76.3±27.5 FCN-8s 36.4±37.3 60.0±29.5 48.3±26.2 42.9±42.8 59.8±29.5 GCN 38.9±38.8 57.8±33.7 47.7±29.9 44.5±43.5 57.7±33.7 ICNet 35.1±37.2 58.5±30.4 47.1±27.1 38.4±40.1 58.4±30.3 LEDNet 35.0±37.2 57.6±31.2 46.4±27.5 39.5±41.3 57.5±31.2 PSANet 38.8±39.1 65.4±28.7 54.2±26.8 43.5±42.8 65.3±28.7 PSPNet 38.7±39.3 65.3±29.4 54.3±27.3 42.8±42.7 65.2±29.4 R2U-Net+AttGate 44.6±42.1 74.4±27.0 64.8±26.6 48.3±44.9 74.3±27.0 R2U-Net 45.1±42.2 74.2±27.5 64.8±27.0 49.4±45.6 74.1±27.5 U-Net 46.3±43.3 75.3±29.2 67.0±28.4 48.9±45.5 75.3±29.2 TriFTM-Net 46.2±43.7 78.4±26.5 70.1±26.2 48.1±45.2 78.4±26.5
[0112] Table 1 above shows the segmentation results of the three-path Fourier-time modulation network framework for the edema category in the OIMHS dataset. TriFTM-Net is the proposed framework. From the data, it can be seen that TriFTM-Net ranks first in all evaluation indicators. The Dice coefficient is 2.0% higher than the previous traditional deep learning framework and 2.4% higher in IoU.
[0113] Table 2 Macular hole
[0114] Model MCC Dice IoU G_Mean Kappa U-Net+AttGate 21.0±36.9 74.6±28.7 65.8±28.2 23.6±40.9 74.5±28.6 DUNet 21.1±37.0 74.7±28.9 66.0±28.3 23.9±41.3 74.5±28.9 DconnNet 21.0±37.2 77.6±26.4 69.0±26.3 23.4±40.9 77.5±26.4 DeepLab 21.1±37.1 77.5±25.5 68.6±25.9 23.9±41.4 77.4±25.5 FCN-8s 19.7±35.5 71.2±29.9 61.9±28.7 21.7±38.8 71.1±29.8 GCN 20.3±36.3 50.4±41.8 44.2±38.1 22.5±39.8 50.3±41.7 ICNet 19.6±35.9 71.1±31.7 62.4±30.1 20.9±38.1 71.0±31.6 LEDNet 19.7±35.7 69.7±32.0 60.8±30.2 22.2±40.0 69.5±31.9 PSANet 21.1±37.3 78.0±26.5 69.5±26.4 23.3±40.7 77.8±26.4 PSPNet 21.0±37.1 76.7±27.0 68.0±26.9 23.6±41.1 76.6±27.0 R2U-Net+AttGate 21.3±37.5 75.8±29.4 67.7±28.7 23.6±41.1 75.7±29.4 R2U-Net 21.3±37.5 75.3±29.7 67.3±29.1 23.4±40.8 75.2±29.7 U-Net 20.7±36.6 74.5±28.2 65.4±27.4 23.4±40.9 74.3±28.2 TriFTM-Net 21.5±37.4 79.6±23.1 70.6±23.9 24.1±41.5 79.4±23.1
[0115] Table 2 above shows the segmentation results of the three-path Fourier-time modulation network framework for the macular hole category in the OIMHS dataset. TriFTM-Net is the proposed framework. From the data, it can be seen that TriFTM-Net ranks first in all evaluation indicators. The Dice coefficient is 1.6% higher than the previous traditional deep learning framework and 1.1% higher in IoU.
[0116] Figure 7(a) ,7(b) 7(c) and 7(d) reflect the ablation experiment of the spatial domain branch in the three-path spectrum layered encoder in the three-path Fourier-time domain modulation network framework. Figure 8(a) , 8(b) , 8(c), and 8(d) reflect the rationality and effectiveness of the frequency domain branches and spatiotemporal domain branches, the feature remodulation mechanism, and the multi-level feature reconstruction module of the three-path spectral layered encoder in the three-way Fourier-time domain modulation network framework.
[0117] To verify the effectiveness of the three-path spectral hierarchical encoder, feature remodulation mechanism, and multi-level feature reconstruction module in our proposed three-path Fourier-time modulation network framework, we conducted extensive ablation experiments.
[0118] Table 3 Edema
[0119]
[0120]
[0121] Table 4 Macular hole
[0122] Masking rate MCC Dice IoU G_Mean Kappa 15% 21.0±37.1 74.7±29.4 66.2±28.4 23.7±41.4 74.6±29.3 30% 21.0±37.0 75.1±28.7 66.4±27.9 23.8±41.4 75.0±28.7 45% 21.1±37.2 75.4±28.8 66.9±28.1 23.7±41.3 75.3±28.8 60% 21.2±37.3 77.0±27.0 68.4±26.7 23.9±41.5 76.9±26.9 90% 21.0±37.0 75.3±28.5 66.6±27.7 23.8±41.4 75.2±28.5 75% 21.5±37.4 79.6±23.1 70.6±23.9 24.1±41.5 79.4±23.1
[0123] In order to explore the impact of the convolution branch in the three-path spectral layered encoder on the overall segmentation performance, different masking rates will affect the effect of the model in extracting features. The above two tables show the segmentation performance of the three-path Fourier-time modulation network framework under MAE at different masking rates. We set the initial value of the masking rate to 15%, and increase it by 15% each time, up to 90%. We found that when the MAE masking rate was 75%, the segmentation performance of the model was optimal, and the improvement was particularly obvious in the two detail categories of edema in Table 3 and macular hole in Table 4, which were 0.9% and 2.2% higher respectively.
[0124] In order to explore the impact of the frequency domain branches and spatiotemporal domain branches, the feature remodulation mechanism, and the multi-level feature reconstruction module in the three-path spectral layered encoder on the overall segmentation performance, we conducted extensive ablation experiments to verify the rationality of each module.
[0125] Table 5 Edema
[0126]
[0127] Table 5 Macular hole
[0128]
[0129] The results of this ablation experiment are shown in the two figures above. When the frequency domain branch in the three-path spectral layered encoder is removed, the model does not fully capture the global information of the image due to the lack of frequency domain information of the image. When the time-frequency domain branch in the three-path spectral layered encoder is removed, the multi-scale features of the image cannot be fully expressed, resulting in a decrease in model performance, and the Dice score of macular hole decreased by 3.3%. When both the frequency domain branch and the time-frequency domain branch are removed at the same time, pure self-supervised learning only obtains simple edge and structural information of the image, and cannot fully understand the details of the image, and the Dice score of edema decreases by 1.1%. In addition, we focus on removing the feature remodulation mechanism of image detail information, and the model cannot fully analyze the deep feature map, and the Dice score of edema decreases by 3.6%. Finally, we removed the multi-level feature reconstruction module that enhanced feature expression. When the decoder restored the feature map, it lost the enhancement of the potential features. As the decoder process gradually lost contextual information, the segmentation performance decreased. The largest drop in Dice scores among all categories was for macular holes, reaching 2.9%.
[0130] like Fig. 9 As shown in the figure, in order to further demonstrate the segmentation performance of the three-way Fourier-time modulation network framework on fundus OCT images, we selected four representative segmentation result images. The first row is the original image, the second row is the manually annotated result image, and the third row is the segmentation result of the three-way Fourier-time modulation network framework. It can be seen from the results that the three-way Fourier-time modulation network framework has extremely high segmentation performance.
[0131] Step 8. In order to further enhance the clinical value of this framework, the present invention performs 3D reconstruction on the image segmented by the three-way Fourier-time domain modulation network framework. The 3D reconstruction can reveal subtle changes in the retina and choroid, and can quantify and accurately measure the thickness of each layer of the retina, which is helpful for early detection of lesions such as epiretinal membrane, retinal holes and macular area. Secondly, the 3D model can observe tiny vesicles and holes that are difficult to identify in planar images, which is helpful for early intervention and treatment. For postoperative evaluation, through the postoperatively reconstructed 3D model, the doctor can observe the recovery of the retina in detail, such as the disappearance of edema and the degree of recovery of the retinal layers, so as to use the medicine more accurately.
[0132] In practice, we selected three patients’ fundus OCT image sequences for 3D reconstruction. We named these three sequences A, B, and C, which contain 37, 34, and 49 images respectively. The specific reconstruction results are as follows: Fig.10 shown.
[0133] The above contents are only preferred implementation modes of the present invention and do not limit the protection scope of the present invention. It should be emphasized that any minor adjustments and improvements made by technicians in this field without departing from the basic principles of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation, It is characterized in that The framework integrates the key features of the spatial domain branch, the frequency domain branch, and the spatiotemporal domain branch, and improves the efficiency of network training by fusing multi-path image detail feature information and multi-level feature enhancement. Specifically, it includes the following steps: S1: Unlabeled fundus OCT images of patients collected from major hospitals are used as pre-training datasets to extract prior features; S2: Collect the annotated fundus OCT images of the patient and organize and divide the collected data into a training set and a test set; S3: applying image enhancement to the fundus OCT image of step S2; S4: uniformly transforming and preprocessing the fundus OCT image of step S2; S5: Construct a three-path Fourier-time domain modulation network model for high-precision intraoperative navigation; S6: Input the data in the training set into the model for training and obtain weights; S7: Apply the trained weights to the test set to evaluate the segmentation effect; S8: Apply the segmentation results of the test set to 3D reconstruction to reconstruct a complete fundus OCT stereoscopic structure image.
2. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 1, It is characterized in that The model constructed in step S5 includes a three-path spectrum layered encoder, a new feature remodulation mechanism and a new multi-level feature reconstruction module.
3. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 1, It is characterized in that The implementation of the three-path spectral hierarchical encoder combines MAE, Fourier frequency domain branch and discrete wavelet transform spatiotemporal domain branch, and the input of the three-path spectral hierarchical encoder is the original image of a fundus OCT image in the training set; MAE first partially masks the input image, and then inputs the masked image into the encoder. The encoder is used as a spatial domain feature extractor, and unsupervised training is first performed on the unlabeled data set obtained in step 1. Then the obtained prior features are used as the spatial domain branch and are input into the model in parallel with the frequency domain branch and the spatiotemporal domain branch. The specific formula is as follows: Input image X in After entering MAE, randomly select image pixels of proportion p for masking. The masked image pixels will not participate in the input of the encoder. The remaining (1-p) image pixels are used for training. Then the encoder will extract features from the remaining (1-p) pixels. This process is represented by function E, and finally the feature map X is output. convout ; X convout =E((1-M)⊙X in Among them, ⊙ represents the element product, E represents the encoder function, and M is the in Masking matrix of the same dimension.
4. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 3, It is characterized in that The frequency domain branch is to separate the high-frequency and low-frequency parts of the image in the frequency domain space after Fourier transform, and perform attention mechanism on the high-frequency and low-frequency parts respectively, then merge the high-frequency and low-frequency parts, transform them back to the spatial domain through inverse Fourier transform and take the real part. The specific formula is as follows: First, the original input image X in Perform FFT transformation to obtain the result X fftin , and calculate the amplitude A and phase Φ, and perform frequency domain feature reduction function X on A reduced Then get A reduced : X fftin =FFT(X in ) A reduced =X reduced (A) Then the high and low frequencies are masked respectively and attention mechanism 1 and attention mechanism 2 are applied: A high =A reduced ·M high ·s(a high ) A low =A reduced ·M low ·s(a low ) Among them, M high and M low Represent the masks of high-frequency and low-frequency areas respectively, σ is the Sigmoid function used to adjust the amplitude value, α high Represents the scaling factor of the high-frequency part, α low Indicates the scaling factor of the low-frequency part, A high Represents the amplitude of the image in the high-frequency part, A low Indicates the amplitude of the image in the low-frequency part; The high frequency amplitude A high and low frequency amplitude A low After merging, we get A scaled , and obtain X through inverse Fourier transform IFFT out , and output X out The real part of : A scaled =A high +A low X fftout =IFFT(re iθ (A scaled ,Φ)) Among them, iθ Represents the real part function.
5. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 4, It is characterized in that The spatiotemporal branch is to decompose the image in the spatiotemporal domain after the image is transformed by discrete wavelet transform, and apply the attention mechanism. The specific formula is as follows: Discrete wavelet transform first transforms the input image X in Convert from the time domain to a joint domain containing time domain and frequency domain information, obtain low-frequency component L and high-frequency component H respectively, and merge the high and low-frequency components in the channel dimension to obtain the output X dwtin : L=X in [:,:,0∷2,0∷2] H=X in [:,:,1∷2,1∷2] X dwtin =concat(L,H) Then, the output X is obtained through channel attention. dwtin Through average pooling, fully connected layers, nonlinear activation functions and Sigmoid functions, we get the scaling factor, which is applied to the output X of the previous layer. dwtin On top, feature recalibration is achieved: Y=GAP(X dwtin )·view(b,c) S=σ(R(FC reduced (Y))) X output =X dwtin *S Among them, GAP is average pooling, σ is the Sigmoid function, R is the ReLU function, FC reduced is a dimensionality reduction function, S is a scaling factor; view(b,c) refers to reshaping a tensor into a tensor of size (b,c), where b refers to the batch size and c refers to the number of channels; Finally, from the combined output X output Separate the low-frequency components and high-frequency components from the image, rearrange L and H in the spatial domain to reconstruct the image of the original size to obtain X dwtout : L=X output [:,:c,:,:] H=X output [:,c:,:,:] X dwtout =L+H Among them, :c means taking X output The first c channels in the channel dimension, and c: means taking X output The cth and all subsequent channels in the channel dimension; The outputs of the three branches X convout , X fftout and X dwtout Spliced together, the dimensionality is reduced through a convolution as the first feature map C of the model 1 ; X out =concat(X convout ,X fftout ,X dwtout ) C 1 =(C 1×1 (X out )) At the same time, Convnext-Tiny is used as the backbone to extract the remaining four feature maps C 2 , C 3 , C 4 , C 5 .
6. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 5, It is characterized in that The feature remodulation mechanism remodulates the deep feature map through four sub-units: parameterized spatial alignment, dual-path pooling attention, cascaded spatial-channel attention, and adaptive feature modulation; The parameterized spatial alignment unit obtains a radiation transformation parameter through convolution, normalization and activation function; then obtains a transformed output feature map, the specific formula is as follows: First, the deep feature map C 5 The input is sent to the parameterized space alignment unit and then goes through convolution, normalization, and activation function to obtain the affine transformation parameter θ: θ=W 2 (W 1 (GAP(C 5 ))) Among them, θ is the transformation matrix parameter, which is used to control the spatial transformation of the image; W 1 and W 2 is the learned weight matrix used to generate suitable affine transformation parameters; then a transformed output is obtained: X psa =G(C 5 ,i) Among them, X psa is the transformed output feature map; G is the deep feature map C using θ 5 Functions that perform affine transformations.
7. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 6, It is characterized in that The dual-path pooling attention unit extracts features through maximum pooling and average pooling, and fuses them with a fully connected layer to generate a deep feature map C of the input with dynamic attention weights. 5 Perform weighted enhancement, the specific formula is as follows: S'=σ(GAP(X+GMP(X)) X bpa =C 5 ·S' Among them, S' is the dynamic attention weight, which is obtained by combining the global average pooling GAP and the global maximum pooling GMP, and is normalized by the activation function Sigmoid and then combined with the input deep feature map C 5 After multiplication, the output is X bpa .
8. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 7, It is characterized in that The cascaded spatial-channel attention unit passes the deep feature map C processed by the parameterized spatial alignment unit. 5 Dimensionality reduction, extracting the global information of the feature map, and then generating channel attention weights through a series of convolution operations, which are combined with the input deep feature map C 5 Multiply each channel to get the weighted feature map G, then divide the channels of the feature map G into multiple groups, rearrange the channel order in each group, recombine the channels of all groups into a new feature map F, and finally use a spatial attention to extract the information of the feature map in the spatial dimension to get the final weighted feature map d containing rich semantic information 5 .
9. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 8, It is characterized in that The adaptive feature modulation unit adaptively fuses deep features to enhance the accuracy and diversity of feature expression details. The specific formula is as follows: The output X obtained by the above parameterized spatial alignment unit and the dual-path pooling attention unit psa and X bpa They are input into the adaptive feature modulation unit together, and after splicing, they are used to extract and refine important features through cascaded spatial-channel attention units: X afm =concat(X psa ,X bpa ) Among them, X afm is a fusion of feature maps processed by parameterized spatial alignment units and dual-path pooling attention units, X afm Input into the cascaded space-channel attention unit, and obtain the feature map Y after the channel attention mechanism through pooling and Sigmoid function ca : Y ca =σ(GAP(X afm ))·X afm The obtained feature map Y ca Channel reorganization is performed, and channel reorganization is represented by Z. The spatial attention weight is obtained through maximum pooling and average pooling, and Y is obtained. sa : AND re =Z(Y ca ) AND sa =σ(GMP(Y re )+GAP(Y re )) Finally, the obtained Y ca and Y sa Multiply to get the final output feature map X out , which is the weighted feature map d in Figure 4 5 : X out =And ca ·AND sa 。 10. The three-path Fourier-time domain modulation network framework for high-precision intraoperative navigation according to claim 6, It is characterized in that The multi-level feature reconstruction module consists of two submodules, namely the detail feature block and the dilated convolution block. The detail feature block maps the feature map to different dimensions through the convolution feature encoder to obtain a feature map with weights, and then multiplies the two to obtain a fused feature. The fused feature is again passed through a feature re-encoder to re-encode the features at the detail level. The obtained feature map is then passed through a dilated convolution block to expand the receptive field to retain more boundary information after the upsampling process. The specific formula is as follows: The feature map d after upsampling of the detail feature block i Encode twice to get the weighted feature maps C_feats and S_feats: C_feats=R(N(C 1×1 (d i ))) S_feats=R(N(C 1×1 (d i ))) Multiply C_feats and S_feats, reduce the dimension by the dimensionality reduction function ∑, and normalize using the Sigmoid function to obtain the output fusion feature R_feats: R_feats=σ(∑(C_feats·S_feats)) Again, the upsampled feature map d i Recode and get P_feats: P_feats=R(N(C 1×1 (d i ))) Finally, the above-obtained fusion feature R_feats is multiplied by the re-encoded feature P_feats to obtain the final refined feature map d i-1 : d' i-1 =R_feats·O_feats The output of the detail feature block is passed through the dilated convolution block to obtain the final module output d i-1 : Among them, the value of i is 2, 3, 4, 5.
Citation Information
Patent Citations
Choroidal neovascularization image segmentation method based on hybrid convolutional network
CN115330807A
Self-attention medical image segmentation device based on edge high-frequency texture features
CN115661084A
Target tracking method and device, computer equipment and storage medium
CN117237604A
Enhancement processing method and system for aerial image of unmanned aerial vehicle
CN117911908A
Apparatus and computer implemented method in marine vessel data system for training neural network
US20210387706A1
Cited By
Visual language navigation method based on self-adaptive prompt information during testing
CN119048767A
Cross-view geographic positioning method based on spatial frequency domain attention model
CN119169466A
A cross-view geolocalization method based on spatial-frequency attention model
CN119169466B
OCT image segmentation method based on fast Fourier transform and SKAttention mechanism
CN119338840A
An OCT image segmentation method based on fast Fourier transform and SKAttention mechanism
CN119338840B
