PET-CT lung cancer image enhancement and restoration method based on deep learning

Through the UNet network and EMT super-resolution model combined with the N-MICCS method and the stripe window self-attention mechanism, the problem of the deep learning model's difficulty in capturing tiny lesions in PET-CT lung cancer images and the overfitting of traditional techniques has been solved, achieving high efficiency. Image enhancement and restoration improves lesion resolution and calculation efficiency.

CN118229530BActive Publication Date: 2024-09-10HANGZHOU PANORAMIC MEDICAL IMAGING DIAGNOSIS CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410500154.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-09-10
Estimated Expiration
2044-04-24

AI Technical Summary

Technical Problem

It is difficult for deep learning models to capture and distinguish tiny or early lung cancer lesions in PET-CT lung cancer images. Traditional image enhancement technology is prone to missing lesion information or over-fitting. Conventional attention mechanisms are computationally complex and have strong limitations, and local information mining is insufficient.

Method used

The UNet network combined with the N-MICCS method is used for data annotation and image segmentation, the EMT super-resolution model is used for image enhancement and restoration, and the stripe window self-attention mechanism is used to replace the conventional attention mechanism to reduce artifact interference and improve lesion resolution. .

Benefits of technology

It achieves precise tumor boundary delineation and lesion segmentation on PET-CT images, reduces artifact interference, improves the resolution of the lesion area, reduces computational complexity, and enhances the ability to capture local features.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229530B
    Figure CN118229530B
Patent Text Reader

Abstract

The present invention relates to the field of deep learning, and specifically refers to a PET-CT lung cancer image enhancement and restoration method based on deep learning, including data collection and preprocessing, image segmentation, training and optimization, image enhancement and restoration, model evaluation and verification, iterative improvement and continuous learning. The solution adopts a UNet network to perform data annotation on PET-CT images, and integrates an N-MICCS method into the UNet network, compares the feature differences of PET and CT images with different functional performances at the same anatomical position from multiple perspectives and scales, and realizes accurate tumor boundary delineation and lesion segmentation of PET-CT images; adopts an EMT super-resolution model to perform learning and training on PET-CT images of different clarity, and uses a stripe window self-attention instead of a conventional attention mechanism to solve the limitations of the model in processing local features, high computational complexity and insufficient local information mining.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning, and specifically refers to a PET-CT lung cancer image enhancement and restoration method based on deep learning. Background Art

[0002] Deep learning has played a significant role in the field of medical image processing, and its excellent feature extraction and pattern recognition capabilities have been widely demonstrated in the analysis of PET-CT lung cancer images. However, there are still several technical bottlenecks in this field that need to be overcome. Some small or early lung cancer lesions in PET-CT images may be difficult for deep learning models to capture and accurately distinguish due to their small size; when traditional image enhancement and restoration technologies are applied to PET-CT lung cancer images, they often face the problem of overfitting due to missing important lesion information or over-enhancing non-lesion areas during the enhancement process; at the same time, the conventional attention mechanism that some deep learning models rely on when performing image enhancement and restoration operations has limitations in processing local features, high computational complexity, and insufficient local information mining. Summary of the invention

[0003] In view of the above situation, the present invention provides a PET-CT lung cancer image enhancement and restoration method based on deep learning. For the problem that small or early lung cancer lesions in PET-CT images may be difficult to capture and accurately distinguish by deep learning models due to their small size, this solution uses the UNet network to annotate the PET-CT images and integrates the N-MICCS method into the UNet network. This method uses the CSS module to compare the feature differences of PET and CT images at the same anatomical position from multiple perspectives and scales, thereby achieving accurate tumor boundary delineation and lesion segmentation of PET-CT images; for the overfitting problem caused by omitting important lesion information or over-enhancing non-lesion areas during the enhancement process when traditional image enhancement and restoration technology is applied to PET-CT lung cancer images, this solution uses the EMT super-resolution model to learn and train PET-CT images of different clarity, in order to accurately reconstruct lesion details and reduce artifact interference. At the same time, the stripe window self-attention is used instead of the conventional attention mechanism to solve the limitations of the model in processing local features, high computational complexity and insufficient local information mining.

[0004] The technical solution adopted by the present invention is as follows: The present invention provides a PET-CT lung cancer image enhancement and restoration method based on deep learning, the method comprising the following steps:

[0005] Step S1: data collection and preprocessing, collecting a large amount of PET-CT lung cancer image data, including normal, abnormal and lung cancer lesion samples, and preprocessing the PET-CT lung cancer image data, including standardization, denoising, normalization and registration, to obtain preprocessed image data;

[0006] Step S2: Image segmentation: for pre-processed image data containing lung cancer lesions, the UNet network structure is used to perform image segmentation to obtain segmented image data, and the N-MICCS method is used to capture the long-distance dependency between the pre-processed image data to demarcate the lesion area;

[0007] Step S3: Model design and construction, designing an EMT super-resolution model suitable for image enhancement and restoration tasks, and combining the characteristics of PET and CT images to process the segmented image data;

[0008] Step S4: training and optimization, dividing the segmented image data into a training set, a validation set, and a test set, using the training set to train the EMT super-resolution model, and using an optimization algorithm to update the model parameters to obtain a trained EMT super-resolution model;

[0009] Step S5: image enhancement and restoration, using the trained EMT super-resolution model to process the PET-CT image, output the final PET-CT lung cancer image, and highlight the lesion area information in the PET-CT lung cancer image;

[0010] Step S6: Model evaluation and validation, using an independent test set to evaluate the performance of the EMT super-resolution model, and calculating the accuracy, recall, F1 value, and Dice coefficient;

[0011] Step S7: Iterative improvement and continuous learning: With the accumulation of PET-CT lung cancer image data and feedback from practical applications, the EMT super-resolution model is continuously adjusted and optimized for iterative upgrades.

[0012] Furthermore, in step S2, image segmentation specifically includes the following steps:

[0013] Step S21: MIC module design, designing the MIC module, using the traditional convolutional layer combined with the SSM to capture the long-distance dependency between the pre-processed image data and obtain the features processed by the MIC module;

[0014] Further, step S21 specifically includes the following steps:

[0015] Step S211: First, the input pre-processed image data is filtered using a conventional convolutional layer, where the conventional convolutional layer includes 1*1*1 convolution, batch normalization, and ReLU activation operations to obtain primary features;

[0016] Step S212: reshape the primary features into the form of B*C*L, where B represents the image batch size, C represents the number of channels, and L is the time step, to obtain reshaped features;

[0017] Step S213: Use SSM to capture the time series changes and spatial continuity features in the reshaped features, obtain the features processed by SSM, add the features processed by SSM to the primary features, and then use a set of convolutional layers to fuse them, and finally generate the features processed by the MIC module;

[0018] Step S22: CSS module initialization: initializing an SSM module with shared weights and calling it a CSS module to perform feature processing operations;

[0019] Step S23: feature extraction, using the CSS module to reshape the features processed by the MIC module and perform a dimension flipping operation to obtain flipped features, using the CSS module again on the flipped features to obtain CSS flipped features, and accumulating the CSS flipped features to the reshaped features to obtain enhanced features;

[0020] Step S24: construct a UNet-based network, incorporate the N-MICCS method to capture long-distance dependencies, and perform feature splicing. In the splicing stage, use the learning rate-regulated scaling strategy to optimize the encoder feature map in the UNet network, and use the SE module to extract key information;

[0021] Step S25: data labeling and segmentation, setting the image segmentation threshold and probability distribution value, labeling and segmenting the pre-processed image data based on the image segmentation threshold and probability distribution value based on the UNet network, identifying the suspicious tumor area in the pre-processed image data, and outputting the segmented image data;

[0022] Furthermore, in step S3, the model is designed and constructed, specifically including the following steps:

[0023] Step S31: shallow feature extraction, using a 3*3 convolutional layer as a shallow feature extraction unit SFEU, performs preliminary feature extraction on the segmented image data and generates a feature map F0. The formula used is as follows:

[0024] ;

[0025] In the formula, Represents the function of the shallow feature extraction unit SFEU, represents a low-resolution image, is the feature map F0;

[0026] Step S32: deep feature extraction, using the deep feature extraction unit DFEU to process the feature map F0, the deep feature extraction unit DFEU internally contains n hybrid transformer blocks MTB, to obtain the feature map FD, the formula used is as follows:

[0027] ;

[0028] In the formula, Represents the function of the deep feature extraction unit DFEU, represents the nth hybrid converter block, represents the function of the nth hybrid transformer block MTB in DFEU, is the feature map FD;

[0029] Step S33: pixel mixing, using a pixel mixer PM to mix the feature map F0 and the feature map FD to obtain a mixed feature FP;

[0030] Step S34: pixel blending optimization, using stripe window self-attention to optimize step S33;

[0031] Furthermore, in step S34, pixel blending optimization specifically includes the following steps:

[0032] Step S341: reshape the input feature map F0 and the depth feature map FD to obtain a reshaped feature image ,in, Indicates the number of different windows in the stripe window self-attention;

[0033] Step S342: Linear transformation calculation, using weight matrix and Reshape feature image Perform linear transformation, calculate the query matrix and value matrix respectively, and obtain the results of the query matrix and value matrix. The formula used is as follows:

[0034] ;

[0035] ;

[0036] In the formula, and represents different weight matrices, To reshape the feature image , is the query matrix, is the value matrix;

[0037] Step S343: Multi-head attention calculation. In each stripe window self-attention, the multi-head attention mechanism is used to calculate the results of the query matrix and the value matrix to obtain the attention score matrix. The formula used is as follows:

[0038] ;

[0039] In the formula, is the activation function, For transposed , It is calculated and its transpose The dot product of represents the scaling factor, represents the attention score matrix;

[0040] Step S344: splice the window output, splice all the attention score matrices one by one, and obtain the final output feature map. The formula used is as follows:

[0041] F out =[ F 1 ; F m ] ;

[0042] In the formula, [ F 1 ; F m ] Represents the attention score matrix from arrive Put them together one by one, It is the feature map of the final output;

[0043] Step S35: feature reconstruction, reconstructing the mixed feature FP using the reconstruction unit RECU to generate a high-resolution image Isr;

[0044] Step S36: Loss function optimization, using the minimized L1 loss function to train the parameters of the EMT super-resolution model.

[0045] The beneficial results achieved by the present invention using the above scheme are as follows:

[0046] (1) For small or early lung cancer lesions in PET-CT images, deep learning models may have difficulty capturing and accurately distinguishing them due to their small size. This solution uses the UNet network to annotate PET-CT images and integrates the N-MICCS method into the UNet network. This method uses the CSS module to compare the different functional features of PET and CT images at the same anatomical location from multiple perspectives and scales, thereby achieving accurate tumor boundary delineation and lesion segmentation in PET-CT images.

[0047] (2) To address the overfitting problem caused by missing important lesion information or over-enhancing non-lesion areas during the enhancement process when traditional image enhancement and restoration technologies are applied to PET-CT lung cancer images, this scheme uses the EMT super-resolution model to learn and train PET-CT images of different resolutions, in order to accurately reconstruct lesion details and reduce artifact interference, thereby enhancing and restoring the resolution of lesion areas in PET-CT images.

[0048] (3) In view of the limitations of the conventional attention mechanism in processing local features, high computational complexity and insufficient local information mining, the stripe window self-attention is used to replace the conventional attention mechanism to achieve more efficient and detailed feature capture. The stripe window self-attention mechanism can achieve both the acquisition of global contextual information and the enhancement of local detail features while maintaining a low computational cost by designing an attention window that combines local and global features. It can deeply mine the lesion features hidden in low-contrast areas while reducing excessive attention to non-lesion areas. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram of the process of the deep learning-based PET-CT lung cancer image enhancement and restoration method provided by the present invention;

[0050] Figure 2 It is a flow chart of the MIC module;

[0051] Figure 3 This is a flowchart of the CSS module;

[0052] Figure 4 is a schematic diagram of the process of step S3;

[0053] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0054] The technical solutions 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 only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0055] Example 1, see Figure 1 The present invention provides a high-definition reconstruction method for PET-CT lung cancer images, which comprises the following steps:

[0056] Step S1: data collection and preprocessing, collecting a large amount of PET-CT lung cancer image data, including normal, abnormal and lung cancer lesion samples, and preprocessing the PET-CT lung cancer image data, including standardization, denoising, normalization and registration, to obtain preprocessed image data;

[0057] Step S2: Image segmentation: for pre-processed image data containing lung cancer lesions, the UNet network structure is used to perform image segmentation to obtain segmented image data, and the N-MICCS method is used to capture the long-distance dependency between the pre-processed image data to demarcate the lesion area;

[0058] Step S3: Model design and construction, designing an EMT super-resolution model suitable for image enhancement and restoration tasks, and combining the characteristics of PET and CT images to process the segmented image data;

[0059] Step S4: training and optimization, dividing the segmented image data into a training set, a validation set, and a test set, using the training set to train the EMT super-resolution model, and using an optimization algorithm to update the model parameters to obtain a trained EMT super-resolution model;

[0060] Step S5: Image enhancement and restoration: Use the trained EMT super-resolution model to process the PET-CT image, output the final PET-CT lung cancer image, highlight the lesion area information in the PET-CT lung cancer image, improve the spatial resolution of the image, and reveal tiny lesions;

[0061] Step S6: Model evaluation and validation, using an independent test set to evaluate the performance of the EMT super-resolution model, and calculating the accuracy, recall, F1 value, and Dice coefficient;

[0062] Step S7: Iterative improvement and continuous learning: With the accumulation of PET-CT lung cancer image data and feedback from practical applications, the EMT super-resolution model is continuously adjusted and optimized for iterative upgrades.

[0063] Example 2, see Figure 1 , Figure 2 and Figure 3 This embodiment is based on the above embodiment, and step S21 specifically includes the following steps:

[0064] Step S211: First, the input pre-processed image data is filtered using a conventional convolutional layer, where the conventional convolutional layer includes 1*1*1 convolution, batch normalization, and ReLU activation operations to obtain primary features;

[0065] Step S212: reshape the primary features into the form of B*C*L, where B represents the image batch size, C represents the number of channels, and L is the time step, to obtain reshaped features;

[0066] Step S213: Use SSM to capture the time series changes and spatial continuity features in the reshaped features, obtain the features processed by SSM, add the features processed by SSM to the primary features, and then use a set of convolutional layers to fuse them, and finally generate the features processed by the MIC module;

[0067] Step S22: CSS module initialization: initializing an SSM module with shared weights and calling it a CSS module to perform feature processing operations;

[0068] Step S23: feature extraction, using the CSS module to reshape the features processed by the MIC module and perform a dimension flipping operation to obtain flipped features, using the CSS module again on the flipped features to obtain CSS flipped features, and accumulating the CSS flipped features to the reshaped features to obtain enhanced features;

[0069] Step S24: construct a UNet-based network, incorporate the N-MICCS method to capture long-distance dependencies, and perform feature splicing. In the splicing stage, use the learning rate-regulated scaling strategy to optimize the encoder feature map in the UNet network, and use the SE module to extract key information;

[0070] Step S25: Data annotation and segmentation, setting the image segmentation threshold and probability distribution value, annotating and segmenting the pre-processed image data based on the image segmentation threshold and probability distribution value based on the UNet network, identifying suspicious tumor areas in the pre-processed image data, and outputting the segmented image data.

[0071] In order to solve the problem that small or early lung cancer lesions in PET-CT images are difficult to capture and accurately distinguish by deep learning models due to their small size, this solution uses the UNet network to annotate the PET-CT images and integrates the N-MICCS method into the UNet network. This method uses the CSS module to compare the different feature differences of PET and CT images at the same anatomical location from multiple perspectives and scales, thereby achieving accurate tumor boundary delineation and lesion segmentation in PET-CT images.

[0072] Example 3, see Figure 1 and Figure 4 This embodiment is based on the above embodiment. In step S3, the model is designed and constructed, specifically including the following steps:

[0073] Step S31: shallow feature extraction, using a 3*3 convolutional layer as a shallow feature extraction unit SFEU, performs preliminary feature extraction on the segmented image data and generates a feature map F0. The formula used is as follows:

[0074] ;

[0075] In the formula, Represents the function of the shallow feature extraction unit SFEU, represents a low-resolution image, is the feature map F0;

[0076] Step S32: deep feature extraction, using the deep feature extraction unit DFEU to process the feature map F0, the deep feature extraction unit DFEU internally contains n hybrid transformer blocks MTB, to obtain the feature map FD, the formula used is as follows:

[0077] ;

[0078] In the formula, Represents the function of the deep feature extraction unit DFEU, represents the nth hybrid converter block, represents the function of the nth hybrid transformer block MTB in DFEU, is the feature map FD;

[0079] Step S33: pixel mixing, using a pixel mixer PM to mix the feature map F0 and the feature map FD to obtain a mixed feature FP;

[0080] Step S34: pixel blending optimization, using stripe window self-attention to optimize step S33;

[0081] In step S34, pixel blending optimization specifically includes the following steps:

[0082] Step S341: reshape the input feature map F0 and the depth feature map FD to obtain a reshaped feature image ,in, Indicates the number of different windows in the stripe window self-attention;

[0083] Step S342: Linear transformation calculation, using weight matrix and Reshape feature image Perform linear transformation, calculate the query matrix and value matrix respectively, and obtain the results of the query matrix and value matrix. The formula used is as follows:

[0084] ;

[0085] ;

[0086] In the formula, and represents different weight matrices, To reshape the feature image , is the query matrix, is the value matrix;

[0087] Step S343: Multi-head attention calculation. In each stripe window self-attention, the multi-head attention mechanism is used to calculate the results of the query matrix and the value matrix to obtain the attention score matrix. The formula used is as follows:

[0088] ;

[0089] In the formula, is the activation function, For transposed , It is calculated and its transpose The dot product of represents the scaling factor, represents the attention score matrix;

[0090] Step S344: splice the window output, splice all the attention score matrices one by one, and obtain the final output feature map. The formula used is as follows:

[0091] F out =[ F 1 ; F m ] ;

[0092] In the formula, [ F 1 ; F m ] Represents the attention score matrix from arrive Put them together one by one, It is the feature map of the final output;

[0093] Step S35: feature reconstruction, reconstructing the mixed feature FP using the reconstruction unit RECU to generate a high-resolution image Isr;

[0094] Step S36: Loss function optimization, using the minimized L1 loss function to train the parameters of the EMT super-resolution model.

[0095] In order to solve the overfitting problem caused by missing important lesion information or over-enhancing non-lesion areas during the enhancement process when traditional image enhancement and restoration technologies are applied to PET-CT lung cancer images, this scheme uses the EMT super-resolution model to learn and train PET-CT images of different clarity, in order to accurately reconstruct lesion details and reduce artifact interference, and enhance and restore the resolution of lesion areas in PET-CT images;

[0096] In view of the limitations of conventional attention mechanisms in processing local features, high computational complexity and insufficient local information mining, stripe window self-attention is used instead of the conventional attention mechanism to achieve more efficient and detailed feature capture. The stripe window self-attention mechanism, by designing an attention window that combines local and global elements, can take into account the acquisition of global contextual information and the enhancement of local detail features while maintaining a low computational cost, deeply explore the lesion features hidden in low-contrast areas, and at the same time reduce excessive attention to non-lesion areas.

[0097] Embodiment 4: This embodiment is based on the above embodiment. In step S33, the pixel mixing is performed. The input feature map F0 and feature map F are collectively referred to as Y, and are converted into output Y′ through a series of shift operations. The specific shift rule operation is as follows:

[0098] Y[[0:H−n]:[H−n:H],0:W,0:βC]→Y′[[H−n:H]:[0:H−n],0:W,3βC:4βC]

[0099] Y[0:H,[0:W−n]:[W−n:W],βC:2β]→Y′[0:H,[W−n:W]:[0:W−n],0:βC]

[0100] Y[0:H,[0:n]:[n:W],2βC:3βC]→Y′[0:H,[n:W]:[0:n],βC:2βC]

[0101] Y[[0:n]:[n:H],0:W,3βC:4βC]→Y′[[n:H]:[0:n],0:W,2βC:3βC]

[0102] Y[0:H,0:W,4βC:C]→Y′[0:H,0:W,4βC:C],

[0103] Where n is the shift step size, which is 1 pixel in this embodiment, β is a parameter that controls the channel shift ratio, which is 1 / 5 in this embodiment, and H, W, and C represent the height, width, and number of channels of the input feature, respectively;

[0104] Embodiment 5: This embodiment is based on the above embodiment. The core code in this embodiment is as follows:

[0105] import torch

[0106] class PixelMixer(torch.nn.Module):

[0107] def __init__(self):

[0108] super().__init__()

[0109] #Shift rule table

[0110] self.rule = [[-1, 0], [0, 1], [0, -1],

[0111] [1, 0], [0, 0]]

[0112] def forward(self, x):

[0113] groups = torch.split(x, [x.shape[1] / / 5] * 5, dim=1)

[0114] # Each group uses a different shift rule

[0115] groups = [torch.roll(group, shifts=rule, dims=(2, 3))

[0116] for group, rule in zip(groups, self.rule)]

[0117] return torch.cat(groups, dim=1)

[0118] Embodiment 6, this embodiment is based on the above embodiment, all models are trained on an NVIDIA V100 GPU equipped with 24GB of memory, the adopted framework is based on PyTorch 2.0.1 version and CUDA 11.6 environment, for the image segmentation task, the Adam optimizer is used with a learning rate of 0.002, a batch size of 4, 1000 training rounds and a weight decay of 0.001 for training, and Dice, NSD and HD95 are used as evaluation indicators, and AUC, accuracy and F1 score are used as evaluation indicators; for model training and optimization, peak signal-to-noise ratio and structural similarity index metrics are used as evaluation indicators, where RGB is first converted to YCbCr format, and then the indicators are calculated on the Y channel;

[0119] In this embodiment, in the EMT super-resolution model, the channel input is set to 60, the number of MTBs in the DFEU structure is set to six, each MTB consists of six layers, including two global feature conversion layers and four local feature conversion layers, the number of multi-head attention mechanisms is set to three, and the mutually vertical window sizes are ((32,8), (8,32)); during the training process, data enhancement technology is used, including randomly rotating the image by 90°, 180° and 270° and horizontal flipping operations, the batch size is set to 64, and the size of the input image block is 64×64 pixels.

[0120] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. A deep learning-based PET-CT lung cancer image enhancement and restoration method, characterized by: The method comprises the following steps: Step S1: Data collection and preprocessing: a large amount of PET-CT lung cancer image data is collected, including normal, abnormal, and lung cancer lesion samples, and the PET-CT lung cancer image data is preprocessed, including standardization, denoising, normalization, and registration, to obtain preprocessed image data; Step S2: Image segmentation: For pre-processed image data containing lung cancer lesions, the UNet network structure is used to perform image segmentation to obtain segmented image data. The N-MICCS method is used to capture the long-range dependencies between the pre-processed image data and demarcate the lesion area. Step S3: Model design and construction: design an EMT super-resolution model suitable for image enhancement and restoration tasks, and process the segmented image data in combination with the characteristics of PET and CT images; Step S4: training and optimization, dividing the segmented image data into a training set, a validation set, and a test set, using the training set to train the EMT super-resolution model, and using the optimization algorithm to update the model parameters to obtain a trained EMT super-resolution model; Step S5: Image enhancement and restoration: Use the trained EMT super-resolution model to process the PET-CT image and output the final PET-CT lung cancer image, highlighting the lesion area information in the PET-CT lung cancer image; Step S6: Model evaluation and validation: Use an independent test set to evaluate the performance of the EMT super-resolution model and calculate the accuracy, recall, F1 value, and Dice coefficient. Step S7: Iterative improvement and continuous learning: With the accumulation of PET-CT lung cancer image data and feedback from practical applications, the EMT super-resolution model is continuously adjusted and optimized, and iterative upgrades are performed; In step S3, the model is designed and constructed, which specifically includes the following steps: Step S31: Shallow feature extraction. A 3*3 convolutional layer is used as a shallow feature extraction unit (SFEU) to perform preliminary feature extraction on the segmented image data and generate a feature map F0. The formula used is as follows: ; Where, Represents the function of the shallow feature extraction unit SFEU, represents a low-resolution image, is the feature map F0; Step S32: Deep feature extraction, using the deep feature extraction unit DFEU to process the feature map F0. The deep feature extraction unit DFEU contains n hybrid transformer blocks to obtain the feature map FD. The formula used is as follows: ; Where, Represents the function of the deep feature extraction unit DFEU, represents the nth hybrid converter block, represents the functionality of the nth hybrid transformer block in DFEU, is the feature map FD; Step S33: pixel mixing, using a pixel mixer PM to mix the feature map F0 and the feature map FD to obtain a mixed feature FP; Step S34: pixel blending optimization, using stripe window self-attention to optimize step S33; Step S35: feature reconstruction, reconstructing the mixed feature FP using the reconstruction unit RECU to generate a high-resolution image Isr; Step S36: Loss function optimization, using the minimized L1 loss function to train the parameters of the EMT super-resolution model; In step S34, pixel blending optimization specifically includes the following steps: Step S341: Reshape the input feature map F0 and depth feature map FD to obtain a reshaped feature image ,in, Indicates the number of different windows in the stripe window self-attention; Step S342: Linear transformation calculation, using weight matrix and Reshape the feature image Perform linear transformation, calculate the query matrix and value matrix respectively, and obtain the results of the query matrix and value matrix. The formula used is as follows: ; ; Where, and Represents different weight matrices, To reshape the feature image , is the query matrix, is the value matrix; Step S343: Multi-head attention calculation. In each stripe window self-attention, the multi-head attention mechanism is used to calculate the results of the query matrix and the value matrix to obtain the attention score matrix. The formula used is as follows: ; Where, is the activation function, Transposed , It is calculated and its transpose The dot product of represents the scaling factor, represents the attention score matrix; Step S344: Splice the window outputs and splice all the attention score matrices together one by one to obtain the final output feature map. The formula used is as follows: ; Where, Indicates that the attention score matrix is ​​transformed from arrive Put them together one by one, is the final output feature map.

2. The deep learning-based PET-CT lung cancer image enhancement and restoration method according to claim 1, characterized in that: In step S2, image segmentation specifically includes the following steps: Step S21: MIC module design: Design the MIC module, use the traditional convolutional layer combined with the SSM to capture the long-range dependency between the pre-processed image data and obtain the features processed by the MIC module; Step S22: CSS module initialization: initializing an SSM module with shared weights, which is called a CSS module, to perform feature processing operations; Step S23: Feature extraction: Use the CSS module to reshape the features processed by the MIC module and perform a dimension flip operation to obtain flipped features. The CSS module is used again on the flipped features to obtain CSS flipped features. The CSS flipped features are accumulated to the reshaped features to obtain enhanced features. Step S24: Build a UNet-based network, incorporate the N-MICCS method to capture long-range dependencies, and perform feature splicing. During the splicing phase, use a learning rate-regulated scaling strategy to optimize the encoder feature map in the UNet network, and use the SE module to extract key information. Step S25: Data annotation and segmentation: setting the image segmentation threshold and probability distribution value, annotating and segmenting the preprocessed image data based on the image segmentation threshold and probability distribution value based on the UNet network, identifying suspicious tumor areas in the preprocessed image data, and outputting the segmented image data.

3. The deep learning-based PET-CT lung cancer image enhancement and restoration method according to claim 2, characterized in that: Step S21 specifically includes the following steps: Step S211: First, a conventional convolutional layer is used to filter the input pre-processed image data. The conventional convolutional layer includes 1*1*1 convolution, batch normalization and ReLU activation operations to obtain primary features; Step S212: reshape the primary features into the form of B*C*L, where B represents the image batch size, C represents the number of channels, and L is the time step, to obtain the reshaped features; Step S213: Use SSM to capture the time series changes and spatial continuity features in the reshaped features to obtain the SSM-processed features, and add the SSM-processed features to the primary features, and then use a set of convolutional layers to fuse them, and finally generate the features processed by the MIC module.

Citation Information

Cited By

  • Lung cancer PET-CT fusion segmentation method and system based on multi-modal feature contrast learning

    CN120411031A

  • A lung cancer PET-CT fusion segmentation method and system based on multimodal feature comparison learning

    CN120411031B