A CT image processing method for tumor radiotherapy effect

By using adaptive feature selection and optimization modules in the CT image super-resolution model for tumor radiotherapy, combined with Euclidean distance weight calculation, the problem of poor image super-resolution effect in the existing technology is solved, and high-quality tumor radiotherapy is achieved. Effective CT image processing improves the accuracy and safety of treatment.

CN118397130BActive Publication Date: 2024-08-30SHANDONG RES INST OF TUMOUR PREVENTION TREATMENT
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410864735.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-08-30
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

Existing technology has shortcomings in capturing the complex degradation phenomena in tumor radiotherapy CT images, and it is difficult to fully simulate factors such as noise, blur, and compression artifacts, resulting in poor image super-resolution effects.

Method used

A CT image super-resolution model for tumor radiotherapy effect is proposed. Through the adaptive feature selection module, first-order feature optimization module and second-order feature optimization module, combined with the Gaussian distribution weight calculation method of Euclidean distance, features with high correlation are dynamically selected. And capture complex feature information to generate high-quality super-resolution images.

Benefits of technology

It significantly improves the clarity and detail visibility of images, enhances feature discrimination capabilities, enables more accurate assessment of tumor changes and treatment effects, reduces radiation exposure to patients, and improves the safety and effectiveness of radiotherapy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397130B
    Figure CN118397130B
Patent Text Reader

Abstract

This invention proposes a method for processing CT images of tumor radiotherapy effects, relating to the field of image super-resolution. The invention outlines a processing flow for CT images of tumor radiotherapy effects, including: CT image acquisition; construction of an EDSR feature extraction module; construction of an adaptive feature selection module; construction of a first-order feature optimization module; construction of a second-order feature optimization module; construction of a final optimized generation module; construction of a CT image super-resolution model for tumor radiotherapy effects; training of the CT image super-resolution model for tumor radiotherapy effects; and CT image processing for tumor radiotherapy effects. The invention also proposes a CT image super-resolution model for tumor radiotherapy effects, wherein the adaptive feature selection module enables the model to dynamically select highly relevant features for processing, the first-order feature optimization module further improves feature discrimination ability, the second-order feature optimization module can capture more complex and detailed features, and the final optimized generation module generates high-quality output features.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of image super-resolution, and in particular relates to a method for processing CT images of tumor radiotherapy effects. Background Art

[0002] During tumor radiotherapy, the quality and detail resolution of CT images are crucial for precise positioning and treatment. Through super-resolution technology, low-resolution CT images can be reconstructed into high-resolution images, significantly improving the clarity and detail visibility of the images. This helps doctors more accurately identify tumor boundaries, internal structures, and their relationship with surrounding tissues, thereby developing more precise treatment plans and improving the effectiveness and safety of radiotherapy.

[0003] Traditionally, in order to obtain high-resolution CT images, the radiation dose needs to be increased, which poses a certain risk to the patient's health. Super-resolution technology allows low-resolution images to be acquired at a low dose and high-resolution images to be reconstructed through algorithms, thereby reducing radiation exposure to patients. This not only improves the safety of CT imaging, but also enhances patient acceptance and the sustainability of treatment.

[0004] During tumor radiotherapy, regular monitoring and evaluation of treatment effects are key links. High-resolution CT images can more clearly show tumor changes and tissue responses before and after treatment. Through super-resolution technology, doctors can more accurately evaluate tumor volume changes and treatment effects, adjust treatment strategies in a timely manner, and optimize treatment plans. This is of great significance to improving the overall efficacy of radiotherapy and the prognosis of patients.

[0005] Currently, most arbitrary-scale image super-resolution methods typically rely on simulated data generated by simple synthetic degradation models (e.g., bicubic downsampling) at various continuous scales. However, these methods have significant deficiencies in capturing the complex degradation phenomena in real-world images, because the degradation process of real images often involves multiple factors, such as noise, blur, and compression artifacts, which are difficult to fully simulate in simple synthetic models. Summary of the invention

[0006] The present invention provides a method for processing a CT image of tumor radiotherapy effect, aiming to propose a super-resolution model of the CT image of tumor radiotherapy effect, wherein an adaptive feature selection module adaptively selects features according to the similarity between a query point and a feature point, so that the model can dynamically select features with higher correlation for processing, a first-order feature optimization module further improves the feature discrimination ability by calculating the spatial weight matrix of the query point and feature optimization, a second-order feature optimization module further processes the first-order optimized features, and can capture more complex and detailed feature information, and a final optimization generation module adopts a Gaussian distribution weight calculation method based on Euclidean distance to optimize the final features and generate high-quality super-resolution CT images of tumor radiotherapy effect.

[0007] The present invention aims to propose a tumor radiotherapy effect CT image super-resolution model and provide a tumor radiotherapy effect CT image processing method, comprising the following steps:

[0008] S1. Acquisition of CT images of tumor radiotherapy effects. At different time points during the tumor radiotherapy process, high-resolution CT images of tumor radiotherapy effects are collected, converted into low-resolution CT images of tumor radiotherapy effects using a downsampling algorithm, and saved as training pairs. All training pairs are saved as super-resolution CT images of tumor radiotherapy effects training sets.

[0009] S2, constructing an EDSR feature extraction module, including multiple residual blocks;

[0010] S3, building an adaptive feature selection module, including a cosine similarity function;

[0011] S4, construct a first-order feature optimization module, including convolution operation;

[0012] S5. Build a second-order feature optimization module, including the ReLU activation function;

[0013] S6, construct the final optimization generation module, including calculating the optimization weight;

[0014] S7, constructing a tumor radiotherapy effect CT image super-resolution model, which is composed of input, EDSR feature extraction module, adaptive feature selection module, first-order feature optimization module, second-order feature optimization module, final optimization generation module and full connection layer in sequence;

[0015] S8. Training a super-resolution model for CT images of tumor radiotherapy effects, using a super-resolution CT image training set for tumor radiotherapy effects to train a super-resolution model for CT images of tumor radiotherapy effects;

[0016] S9. Process the tumor radiotherapy effect CT image to obtain the tumor radiotherapy effect CT image that needs to be super-resolution operated, input it into the tumor radiotherapy effect CT image super-resolution model, and obtain the super-resolution tumor radiotherapy effect CT image.

[0017] Preferably, in step S2, for the EDSR feature extraction module, a low-resolution tumor radiotherapy effect CT image is input , , , and 3 represents The height, width and channels of , , and are the weights and biases of the convolutional layer, is the ReLU activation function, which converts the initial features The preprocessed features are obtained by connecting 4 residual blocks in series. , , , It is a residual block, which contains convolutional layers, activation functions and skip connections, and preprocesses features. is the output feature of the EDSR feature extraction module, , compared to , the channel changes from 3 to , the height is increased to twice the height, and the width is increased to twice the width.

[0018] Preferably, in step S3, the preprocessed features obtained by the EDSR feature extraction module are input to the adaptive feature selection module. , , , and represent The height, width and channel of the feature The N query points corresponding to the N positions of , let one of the query points be , whose eigenvector is , the feature vector set of N query points is , calculate the position association , , Indicates location With query point The correlation between represents the cosine similarity function, Indicates location The characteristic vector of Indicates the query point The feature vector is then calculated by the position correlation threshold Select location set , , Indicates the selected and query points The correlation exceeds the threshold The position set of , and set the number of positions to LNum, Indicates location , Represents the threshold of association, and then generates query points Local marking , , Represents a connection operation, Represents the decompression operation, which calculates the local labels and positions of all query points as the output of the adaptive feature selection module.

[0019] Preferably, in step S4, for the first-order feature optimization module, the local labels and position sets of all query points obtained by the adaptive feature selection module are input, and the query points are selected by Local marking and location collection , calculate the query point The position weight matrix , , represents the fully connected layer, is the ReLU activation function, represents the spatial attention mechanism, and then calculates the query point The first-order optimization characteristics , ,in represents transpose, It is the query point The corresponding position weight matrix, represents splicing along the last dimension, Represents a fully connected layer in series with a ReLu activation function and equipped with a skip connection. represents a 3×3 convolution operation, It represents element-by-element addition and calculates the first-order optimization features of all query points as the output of the first-order feature optimization module.

[0020] Preferably, in step S5, the first-order optimization features of all query points obtained by the first-order feature optimization module are input to the second-order feature optimization module, and the query points are The first-order optimization characteristics , calculate the query point The second-order optimization characteristics of , , Represents a location set The corresponding RGB value, Representatives will and Concatenate along the last dimension, represents the fully connected layer, is the ReLU activation function, is the GeLU activation function, represents a 1×1 convolution operation, It represents element-by-element addition and calculates the second-order optimization features of all query points as the output of the second-order feature optimization module.

[0021] Preferably, in step S6, for the final optimization generation module, the second-order optimization features of all query points obtained by the second-order feature optimization module are obtained, and the query points are The corresponding second-order optimization feature , calculate the query point The corresponding final optimized feature , , Represents the optimization weight, according to the query point and each coordinate The distance between them is used to optimize the weight calculation. , Indicates the query point and each coordinate The Euclidean distance between represents the standard deviation of the controlling Gaussian distribution, Represents the query point The number of positions in the position set is calculated, and the final optimization features of all query points are calculated as the output of the final optimization generation module.

[0022] Preferably, in step S7, for the tumor radiotherapy effect CT image super-resolution model, the low-resolution tumor radiotherapy effect CT image is input into the EDSR feature extraction module, the preprocessing features are obtained and input into the adaptive feature selection module, the local labels and position sets of all query points are obtained and input into the first-order feature optimization module, the first-order optimization features of all query points are obtained and input into the second-order feature optimization module, the second-order optimization features of all query points are obtained and input into the final optimization generation module, the final optimization features of all query points are obtained and input into the fully connected layer, and the super-resolution tumor radiotherapy effect CT image is obtained.

[0023] Compared with the prior art, the present invention has the following technical effects:

[0024] The technical solution provided by the present invention proposes a super-resolution model of tumor radiotherapy effect CT images, wherein an adaptive feature selection module adaptively selects features according to the similarity between query points and feature points, so that the model can dynamically select features with higher correlation for processing, and a first-order feature optimization module further improves the feature discrimination ability by calculating the spatial weight matrix and feature optimization of query points, and a second-order feature optimization module further processes the first-order optimized features to capture more complex and detailed feature information, and a final optimization generation module adopts a Gaussian distribution weight calculation method based on Euclidean distance to optimize the final features and generate high-quality super-resolution tumor radiotherapy effect CT images. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of CT image processing of tumor radiotherapy effect provided by the present invention.

[0026] Figure 2 It is a structural diagram of the EDSR feature extraction module provided by the present invention.

[0027] Figure 3 This is a structural diagram of the tumor radiotherapy effect CT image super-resolution model provided by the present invention.

[0028] Figure 4 This is a low-resolution tumor radiotherapy effect CT image provided by the present invention.

[0029] Figure 5 This is a super-resolution tumor radiotherapy effect CT image provided by the present invention. DETAILED DESCRIPTION

[0030] The present invention aims to propose a method for processing CT images of tumor radiotherapy effects, and proposes a super-resolution model of CT images of tumor radiotherapy effects, wherein an adaptive feature selection module adaptively selects features according to the similarity between query points and feature points, so that the model can dynamically select features with higher correlation for processing, and a first-order feature optimization module further improves the feature discrimination ability by calculating the spatial weight matrix of the query points and feature optimization, and a second-order feature optimization module further processes the first-order optimized features to capture more complex and detailed feature information, and a final optimization generation module adopts a Gaussian distribution weight calculation method based on Euclidean distance to optimize the final features and generate high-quality super-resolution CT images of tumor radiotherapy effects.

[0031] See also Figure 1 As shown, a method for processing CT images of tumor radiotherapy effects in an embodiment of the present application is as follows:

[0032] S1. Acquisition of CT images of tumor radiotherapy effects. During the process of tumor radiotherapy, the overall acquisition time is two months. High-resolution tumor radiotherapy effect CT images are collected every five days and converted into low-resolution tumor radiotherapy effect CT images using a downsampling algorithm. The height and width of the high-resolution tumor radiotherapy effect CT images are 3000 and 4000, and the height and width of the low-resolution tumor radiotherapy effect CT images are 1500 and 2000. The images are saved as training pairs accordingly. All training pairs are saved as a super-resolution tumor radiotherapy effect CT image training set, which contains 120 training pairs in total.

[0033] S2, construct the EDSR feature extraction module, which includes 4 residual blocks;

[0034] S3, building an adaptive feature selection module, including a cosine similarity function;

[0035] S4, construct a first-order feature optimization module, including convolution operation;

[0036] S5. Build a second-order feature optimization module, including the ReLU activation function;

[0037] S6, construct the final optimization generation module, including calculating the optimization weight;

[0038] S7. Construct a super-resolution model of CT images of tumor radiotherapy effects. Its structure is as follows: Figure 3 As shown, it consists of an input, an EDSR feature extraction module, an adaptive feature selection module, a first-order feature optimization module, a second-order feature optimization module, a final optimization generation module and a fully connected layer.

[0039] S8. Training a super-resolution model for CT images of tumor radiotherapy effects, using a super-resolution CT image training set to train a super-resolution model for CT images of tumor radiotherapy effects, wherein the super-resolution CT image training set is divided into training and testing in a ratio of 7 to 30;

[0040] S9. Process the tumor radiotherapy effect CT image to obtain the tumor radiotherapy effect CT image that needs to be super-resolution operated, input it into the tumor radiotherapy effect CT image super-resolution model, and obtain the super-resolution tumor radiotherapy effect CT image.

[0041] Further, in step S2, for the EDSR feature extraction module, its structure is as follows Figure 2 As shown, the input is a low-resolution CT image of the tumor radiotherapy effect , , 1500, 2000 and 3 represent The height, width and channels of , , and are the weights and biases of the convolutional layer, is the ReLU activation function, which converts the initial features The preprocessed features are obtained by connecting 4 residual blocks in series. , , , It is a residual block, which contains convolutional layers, activation functions and skip connections, and preprocesses features. is the output feature of the EDSR feature extraction module, , compared to , the number of channels increases from 3 to 128, the height increases to 3000, and the width increases to 4000.

[0042] Further, in step S3, the preprocessed features obtained by the EDSR feature extraction module are input into the adaptive feature selection module. , , 3000, 4000 and 128 represent The height, width and channel of the feature The N query points corresponding to the N positions of , whose eigenvector is , the feature vector set of N query points is , calculate the position association , , Indicates location With query point The correlation between represents the cosine similarity function, Indicates location The characteristic vector of Indicates the query point The feature vector is then calculated by the position correlation threshold Select location set , , Indicates the selected and query points The correlation exceeds the threshold The position set of , and set the number of positions to LNum, Indicates location , represents the threshold of correlation, here The value of is 0.75, and then generate the query point Local marking , , Represents a connection operation, Represents the decompression operation, which calculates the local labels and positions of all query points as the output of the adaptive feature selection module.

[0043] Further, in step S4, for the first-order feature optimization module, the local labels and position sets of all query points obtained by the adaptive feature selection module are input, and the query points Local marking and location collection , calculate the query point The position weight matrix , , represents the fully connected layer, is the ReLU activation function, represents the spatial attention mechanism, and then calculates the query point The first-order optimization characteristics , ,in represents transpose, It is the query point The corresponding position weight matrix, represents splicing along the last dimension, Represents a fully connected layer in series with a ReLu activation function and equipped with a skip connection. represents a 3×3 convolution operation, It represents element-by-element addition and calculates the first-order optimization features of all query points as the output of the first-order feature optimization module.

[0044] Further, in step S5, the first-order optimization features of all query points obtained by the first-order feature optimization module are input to the second-order feature optimization module, and the query points are The first-order optimization characteristics , calculate the query point The second-order optimization characteristics of , , Represents a location set The corresponding RGB value, Representatives will and Concatenate along the last dimension, represents the fully connected layer, is the ReLU activation function, is the GeLU activation function, represents a 1×1 convolution operation, It represents element-by-element addition and calculates the second-order optimization features of all query points as the output of the second-order feature optimization module.

[0045] Further, in step S6, for the final optimization generation module, the second-order optimization features of all query points obtained by the second-order feature optimization module are obtained, and the query points are The corresponding second-order optimization feature , calculate the query point The corresponding final optimized feature , , Represents the optimization weight, according to the query point and each coordinate The distance between them is used to optimize the weight calculation. , Indicates the query point and each coordinate The Euclidean distance between represents the standard deviation of the controlling Gaussian distribution, Represents the query point The number of positions in the position set is calculated, and the final optimization features of all query points are calculated as the output of the final optimization generation module.

[0046] Further, in step S7, for the tumor radiotherapy effect CT image super-resolution model, the height and width of the low-resolution tumor radiotherapy effect CT image are 1500 and 2000, and the low-resolution tumor radiotherapy effect CT image is input into the EDSR feature extraction module, the preprocessing features are obtained and input into the adaptive feature selection module, the local labels and position sets of all query points are obtained and input into the first-order feature optimization module, the first-order optimization features of all query points are obtained and input into the second-order feature optimization module, the second-order optimization features of all query points are obtained and input into the final optimization generation module, the final optimization features of all query points are obtained and input into the fully connected layer, and the super-resolution tumor radiotherapy effect CT image is obtained, and the height and width of the super-resolution tumor radiotherapy effect CT image are 3000 and 4000.

[0047] Further, if Figure 4 As shown, Figure 4 The low-resolution CT images of the effects of tumor radiotherapy are shown, such as Figure 5 As shown, Figure 5 The super-resolution CT images of tumor radiotherapy effects obtained by processing with the super-resolution model of CT images of tumor radiotherapy effects are shown.

[0048] Furthermore, the tumor radiotherapy effect CT image super-resolution model was trained using Python language, Pytorch framework, and NVIDIA GPU 3090 with 200 training rounds.

[0049] The above are only preferred embodiments of the present invention. It should be pointed out that a person skilled in the art can make several modifications and improvements without departing from the inventive concept of the present invention, and these all fall within the protection scope of the present invention.

Claims

1. A method for processing CT images of tumor radiotherapy effects, It is characterized in that The following steps are involved: S1. Acquisition of CT images of tumor radiotherapy effects. At different time points during the tumor radiotherapy process, high-resolution CT images of tumor radiotherapy effects are collected, converted into low-resolution CT images of tumor radiotherapy effects using a downsampling algorithm, and saved as training pairs. All training pairs are saved as super-resolution CT images of tumor radiotherapy effects training sets. S2, constructing an EDSR feature extraction module, including multiple residual blocks; S3, construct an adaptive feature selection module, including a cosine similarity function; specifically, for the adaptive feature selection module, input the preprocessing feature F obtained by the EDSR feature extraction module AFSIn , 2H, 2W and C 1 Represents F AFSIn The height, width and channel of feature F AFSIn The N query points corresponding to the N positions of q , Its eigenvector is The feature vector set of N query points is Calculate the position correlation R i , R i Represents the position i and the query point x q The correlation between them, sim represents the cosine similarity function, represents the feature vector at position i, Represents the query point x q The feature vector of , and then select the position set C through the position association threshold θ i , C i ={x i |R i >θ},C i Represents the selected query point x q The set of positions whose correlation exceeds the threshold θ, and the number of positions is set to LNum, x i represents the position i, θ represents the threshold of association, and then generates the query point x q The local labeling AFS(x q ), Λ represents the connection operation, unsqueeze represents the decompression operation, and the local labels and position sets of all query points are calculated as the output of the adaptive feature selection module; S4, construct a first-order feature optimization module, including convolution operation; specifically: for the first-order feature optimization module, input the local mark and position set of all query points obtained by the adaptive feature selection module, through the query point x q The local labeling AFS(x q ) and the location set C i , calculate the query point x q The position weight matrix W, W = Spital (ReLU (FC (C i ))), FC stands for fully connected layer, ReLU is the ReLU activation function, Spital stands for spatial attention mechanism, and then calculates the query point x q The first-order optimization feature OF1(x q ), OF1(x q )=AFS(x q )+(Conv((AFS(x q ) T +MLP(Concat(AFS(x q ) T , W)))) T , where T represents transpose and W is the query point x q The corresponding position weight matrix, COncat represents concatenation along the last dimension, MLP represents a fully connected layer in series with a ReLu activation function, and is equipped with a skip connection, Conv represents a 3×3 convolution operation, + represents element-by-element addition, and the first-order optimization features of all query points are calculated as the output of the first-order feature optimization module; S5. Construct a second-order feature optimization module, including a ReLU activation function. Specifically, for the second-order feature optimization module, input the first-order optimization features of all query points obtained by the first-order feature optimization module, and q The first-order optimization feature OF1(x q ), calculate the query point x q The second-order optimization feature OF2(x q ), Representative position set C i The corresponding RGB value, Representatives will and OF1(x q ) is concatenated along the last dimension, FC represents the fully connected layer, ReLU is the ReLU activation function, GeLU is the GeLU activation function, COnv1 represents the 1×1 convolution operation, + represents element-by-element addition, and the second-order optimization features of all query points are calculated as the output of the second-order feature optimization module; S6. Construct the final optimization generation module, including calculating the optimization weights. Specifically, for the final optimization generation module, obtain the second-order optimization features of all query points obtained by the second-order feature optimization module, and calculate the optimization weights by the query point x. q The corresponding second-order optimization feature OF2(x q ), calculate the query point x q The corresponding final optimized feature I(x q ), w i Represents the optimization weight, according to the query point x q And each coordinate V i * The distance between them is used to optimize the weight calculation. ||x q -V i * || represents the query point x q And each coordinate V i * The Euclidean distance between them, σ represents the standard deviation of the control Gaussian distribution, and LNum represents the query point x q The number of positions in the position set is calculated, and the final optimization features of all query points are calculated as the output of the final optimization generation module; S7, constructing a tumor radiotherapy effect CT image super-resolution model, which is composed of input, EDSR feature extraction module, adaptive feature selection module, first-order feature optimization module, second-order feature optimization module, final optimization generation module and full connection layer in sequence; S8. Training a super-resolution model for CT images of tumor radiotherapy effects, using a super-resolution CT image training set for tumor radiotherapy effects to train a super-resolution model for CT images of tumor radiotherapy effects; S9. Process the tumor radiotherapy effect CT image to obtain the tumor radiotherapy effect CT image that needs to be super-resolution operated, input it into the tumor radiotherapy effect CT image super-resolution model, and obtain the super-resolution tumor radiotherapy effect CT image.

2. A method for processing CT images of tumor radiotherapy effects according to claim 1, It is characterized in that In step S2, the EDSR feature extraction module is fed with a low-resolution tumor radiotherapy effect CT image I LR , I LR ∈R H×W×3 , H, W and 3 represent I LR The height, width and channel of the first generate the initial feature F 0 , F 0 =ReLU(W 0 *I LR +b 0 ), W 0 and b 0 is the weight and bias of the convolutional layer, ReLU is the ReLU activation function, which converts the initial feature F 0 After 4 series of residual blocks, the preprocessed feature F is obtained 4 , F i =ResidualBlock(F i-1 ), 0≤i≤4, ResidualBlock is a residual block, including convolutional layers, activation functions and skip connections, preprocessing features F 4 is the output feature of the EDSR feature extraction module, F 4 Compared to I LR , channel changes from 3 to C 1 , the height is increased to twice the height, and the width is increased to twice the width.

3. The method for processing CT images of tumor radiotherapy effects according to claim 1, It is characterized in that In step S7, for the tumor radiotherapy effect CT image super-resolution model, the low-resolution tumor radiotherapy effect CT image is input into the EDSR feature extraction module, the preprocessing features are obtained and input into the adaptive feature selection module, the local labels and position sets of all query points are obtained and input into the first-order feature optimization module, the first-order optimization features of all query points are obtained and input into the second-order feature optimization module, the second-order optimization features of all query points are obtained and input into the final optimization generation module, the final optimization features of all query points are obtained and input into the fully connected layer, and the super-resolution tumor radiotherapy effect CT image is obtained.

Citation Information

Patent Citations

  • Image super-resolution reconstruction method based on fused attention mechanism residual network

    CN111192200A

  • Lightweight X-ray image super-resolution reconstruction method

    CN115239557A