Low-dose CT image denoising method and device based on neural network
By using the decomposition iteration strategy and specific network structure of neural networks in low-dose CT image processing, the problem of structural detail loss and computational complexity in low-dose CT image denoising is solved, and effective noise reduction and image details are achieved. of reservation.
Patent Information
- Application Number
- CN202310796944.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2043-06-30
AI Technical Summary
Existing technologies have problems with loss of structural details and computational complexity in low-dose CT image denoising processing, and convolutional neural networks lack interpretability and rely on high-capacity networks, making it difficult to effectively improve the denoising effect of low-dose CT images.
Adopt a decomposition iterative strategy based on neural networks, process low-frequency and high-frequency information of images through low-frequency networks and high-frequency networks respectively, use convolutional layers, PReLU activation functions, multi-channel residual blocks and residual structures to extract features, combined with the L1 loss function , charbonnier loss function and edge loss function for training to obtain the final noise reduction model.
It effectively improves the noise reduction effect of low-dose CT images, overcomes the problems of poor interpretability of neural networks and loss of image edge detail information, and achieves effective noise reduction of low-dose CT images with complex noise types and artifacts.
Smart Images

Figure CN116862790B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a low-dose CT image denoising method and device based on a neural network. Background Art
[0002] A lot of research has been done on high-quality low-dose CT image acquisition methods at home and abroad. These methods are usually divided into three categories: projection domain method, iterative reconstruction method and image post-processing method. The projection domain method believes that the reason for the poor low-dose image is the noise in the projection data. The projection quality is improved by removing noise in the projection domain, and the reconstruction finally obtains high-quality images. However, most CT manufacturers do not open source projection data. Data processing is only performed in the projection domain, which causes the reconstructed image to lose a lot of structural information in the spatial domain. These factors greatly limit the use of projection domain methods in scientific research and clinical practice. The iterative reconstruction method first initializes the image, then performs a forward projection operation on the initial value, and updates the image to be reconstructed according to the norm distance between the actual projection data and the estimated projection data, thereby gradually approaching the real target image. Although the iterative reconstruction method has made great progress in noise suppression, it still has problems such as loss of structural details and high computational complexity.
[0003] Deep learning technology maps low-dimensional shallow features to high-dimensional deep features through automatic learning of sample features, and has excellent ability to learn the essential features of data. With the construction of basic layers such as convolutional layers, pooling layers, activation functions, batch normalization, etc., the network training ability has been greatly improved. Methods based on convolutional neural networks have made great progress in image classification, target detection, image denoising, and image fusion. However, convolutional neural networks are more like black boxes, lack sufficient interpretability, and mostly rely on high-capacity networks originally designed for visual representation.
[0004] The basic idea of decomposing an image is to detect the low and high frequencies of an image by calculating the differential of a local area of the image to represent the change in the brightness of the image. Decomposing an image is essentially a filtering algorithm, and the difference lies in the choice of the filter. The classic filter is the Sobel operator. The Sobel image edge extraction operator is calculated based on the first-order derivative operator. It contains two 3×3 detection templates. One template is used to extract the edge in the horizontal direction of the image, and this template has a greater effect on the horizontal edge. The other is used to extract the edge in the vertical direction of the image, and it has a greater effect on the vertical edge. Summary of the invention
[0005] The object of the present invention is to provide a low-dose CT image denoising method and device based on a neural network, which can effectively improve the denoising processing effect of low-dose CT images.
[0006] Based on the same inventive concept, the present invention has two independent technical solutions:
[0007] 1. A low-dose CT image denoising method based on a neural network comprises the following steps:
[0008] Step 1: Preprocess the CT image dataset;
[0009] Step 2: Decompose the noisy CT image to obtain low-frequency information and high-frequency information of the image;
[0010] Step 3: Input the low-frequency information and high-frequency information of the image into the corresponding low-frequency network and high-frequency network respectively, and obtain the low-frequency information Ln and high-frequency information Hn after the nth denoising, where n is the number of iterations;
[0011] Step 4: The low-frequency information and high-frequency information after the nth denoising are subtracted from the initial image through the fusion network to obtain the residual image ΔZn; repeat steps 3 to 4 until the number of iterations is completed;
[0012] Step 5: Calculate the loss function and train the pre-model;
[0013] Step 6: Select a low-dose CT image dataset and perform preprocessing;
[0014] Step 7: Adjust the learning rate, train the pre-model, and obtain the final denoising model;
[0015] Step 8: Based on the final noise reduction model, the CT image is processed to obtain a noise-reduced CT image.
[0016] Furthermore, in step 3, the basic unit of the low-frequency network includes a convolutional layer, a PReLU activation function layer, a multi-channel residual block and a multi-scale residual block. The low-frequency network fuses the learning results of the multi-channel residual block and the multi-scale residual block to obtain low-frequency information.
[0017] Furthermore, in step 3, the multi-scale residual block obtains multi-scale features using average pooling operations with different kernel sizes and step sizes, fuses the multi-scale features and feeds them to the convolution layer + PReLU activation function layer and the convolution layer + PReLU activation function layer + convolution layer, and then adds the original input signal to learn the residual.
[0018] Furthermore, in step 3, the multi-channel residual block extracts shallow information through the convolution layer + PReLU activation function layer, and then performs channelization on the obtained information through three channel attention modules, and fuses the information obtained by the three channel attention modules and feeds it into the convolution layer + PReLU activation function layer + convolution layer, and then adds the original input signal to learn the residual, and the three channel attention modules correspond to three different numbers of convolution kernels.
[0019] Furthermore, in step 3, the basic unit of the high-frequency network is a residual structure, and multiple residual structures are connected step by step. The residual structure includes a first layer, a second layer, a third convolutional layer, and a third PReLU activation function layer. The first layer and the second layer are both composed of a convolutional layer and a PReLU activation function layer. The output of the first layer is connected to the output of the second layer and then enters the third convolutional layer. The output information of the third convolutional layer is added to the original input signal to learn the residual.
[0020] Furthermore, in step 4, the basic unit of the fusion network consists of a local residual block, a channel attention block, and a pixel attention block.
[0021] Furthermore, in step 5, the loss function is a composite loss function consisting of an L1 loss function, a charbonnier loss function and an edge loss function.
[0022] Furthermore, in step 6, the normal-dose CT image is used as a label, and the noise image is a simulated quarter-dose CT image in the data set.
[0023] Furthermore, in step 2, the noisy CT image is decomposed using the Hessian matrix.
[0024] 2. A low-dose CT image denoising device, used to execute the above method.
[0025] The present invention has the beneficial effects:
[0026] The present invention preprocesses a CT image data set; decomposes a noisy CT image to obtain low-frequency information and high-frequency information of the image; inputs the low-frequency information and high-frequency information of the image into a corresponding low-frequency network and a high-frequency network respectively to obtain low-frequency information Ln and high-frequency information Hn after the nth denoising, where n is the number of iterations; subtracts the low-frequency information and high-frequency information after the nth denoising from the initial image through a fusion network to obtain a residual image ΔZn; repeats the above steps until the number of iterations is completed; calculates a loss function and trains a pre-model; selects a low-dose CT image data set and preprocesses it; adjusts the learning rate, trains the pre-model, and obtains a final denoising model. The present invention proposes a method for low-dose CT image denoising using a purposeful and interpretable neural network under the guidance of a decomposition iteration strategy, which overcomes the shortcomings of poor interpretability of neural networks and most of the reliance on high-capacity networks originally designed for visual representation. At the same time, the decomposed image also makes up for the deficiencies of image edge detail information loss and image over-smoothing when the convolutional neural network is used for low-dose CT image denoising, and well completes the task of denoising low-dose CT images with complex noise types and accompanied by artifacts, effectively improving the denoising effect of low-dose CT images.
[0027] The basic unit of the low-frequency network of the present invention includes a convolution layer, a PReLU activation function layer, a multi-channel residual block and a multi-scale residual block. The low-frequency network fuses the learning results of the multi-channel residual block and the multi-scale residual block to obtain low-frequency information; the multi-scale residual block is to obtain multi-scale features by using the average pooling operation of different kernel sizes and step sizes, and the multi-scale features are fused and fed to the convolution layer + PReLU activation function layer and the convolution layer + PReLU activation function layer + convolution layer, and then the original input signal is added to learn the residual. The multi-channel residual block is to extract shallow information through the convolution layer + PReLU activation function layer, and then the obtained information is channelized through 3 channel attention modules, and the information obtained by the 3 channel attention modules is fused and fed to the convolution layer + PReLU activation function layer + convolution layer, and then the original input signal is added to learn the residual, and the 3 channel attention modules correspond to 3 different numbers of convolution kernels. The present invention further ensures the denoising effect of the decomposed low-frequency information through the low-frequency network through the specific setting of the above-mentioned low-frequency network.
[0028] The basic unit of the high-frequency network of the present invention is a residual structure, and multiple residual structures are connected step by step. The residual structure includes a first layer, a second layer, a third convolution layer, and a third PReLU activation function layer. The first layer and the second layer are both composed of a convolution layer and a PReLU activation function layer. The output of the first layer is connected to the output of the second layer and then enters the third convolution layer. The output information of the third convolution layer is added to the original input signal to learn the residual. The present invention further ensures the noise reduction effect of the decomposed high-frequency information through the high-frequency network through the specific setting of the above-mentioned high-frequency network.
[0029] The loss function of the training model of the present invention selects a composite loss function composed of an L1 loss function, a charbonnier loss function and an edge loss function, so as to further ensure the training effect of the model and thus ensure the denoising effect of the low-dose CT images.
[0030] In step 2 of the present invention, the noisy CT image is decomposed using the Hessian matrix. Since there is a certain correlation between noise / artifacts and inherent information, in order to suppress edges / textures in the iterative process, the present invention uses the Hessian matrix to realize the frequency distribution of the image, decomposing the LDCT image into high frequency and low frequency, effectively improving the model's ability to maintain low-frequency smoothness and reconstruct high-frequency details. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is an overall flow chart of the low-dose CT image denoising method based on the decomposition iteration strategy of the present invention.
[0032] Figure 2 It is a schematic diagram of the structure of the high-frequency network at each iteration in the present invention.
[0033] Figure 3 It is a schematic diagram of the structure of the low-frequency network at each iteration in the present invention.
[0034] Figure 4 It is a schematic diagram of the structure of the fusion network at each iteration in the present invention. DETAILED DESCRIPTION
[0035] The present invention is described in detail below in conjunction with the various embodiments shown in the accompanying drawings, but it should be noted that these embodiments are not limitations of the present invention, and any equivalent transformations or substitutions in functions, methods, or structures made by ordinary technicians in the field based on these embodiments are all within the scope of protection of the present invention.
[0036] Embodiment 1:
[0037] Low-dose CT image denoising method based on neural network
[0038] like Figure 1 As shown, the low-dose CT image denoising method based on neural network of the present invention comprises the following steps:
[0039] Step 1: Preprocess the CT image dataset.
[0040] Assume that the image size of the original dataset is A×A, and randomly crop several a×a-sized areas on the noisy image as training images, combined with other data augmentation operations to increase the dataset.
[0041] Step 2: Decompose the noisy CT image to obtain the low-frequency information and high-frequency information of the image. In implementation, the noisy CT image is decomposed using the Hessian matrix. The Hessian matrix is composed of second-order partial derivatives and is very sensitive to noise. The Hessian matrix is determined by the partial derivatives of the image in the horizontal and vertical directions.
[0042] Step 3: Input the low-frequency information and high-frequency information of the image into the corresponding low-frequency network and high-frequency network respectively to obtain the low-frequency information Ln and high-frequency information Hn after the nth denoising, where n is the number of iterations.
[0043] Under the initial conditions, the input of the network is the low-dose CT image Z to be processed. First, the input image is decomposed into low-frequency information L n and high frequency information H n Under the initial condition, △Z0=Z. For the current residual image △Z n , the residual component △L can be decomposed by image decomposition n ,△H n Therefore, it is necessary to add the original decomposed image to obtain complete low-frequency information and high-frequency information.
[0044] like Figure 3 As shown, the basic unit of the low-frequency network includes a convolution layer, a PReLU activation function layer, a multi-channel residual block and a multi-scale residual block. The low-frequency network fuses the learning results of the multi-channel residual block and the multi-scale residual block to obtain low-frequency information. The multi-scale residual block uses the average pooling operation of different kernel sizes and step sizes to obtain multi-scale features, fuses the multi-scale features and feeds them to the convolution layer + PReLU activation function layer and the convolution layer + PReLU activation function layer + convolution layer, and then adds the original input signal to learn the residual. The multi-channel residual block extracts shallow information through the convolution layer + PReLU activation function layer, and then performs channelization processing on the obtained information through three channel attention modules, fuses the information obtained by the three channel attention modules and feeds it to the convolution layer + PReLU activation function layer + convolution layer, and then adds the original input signal to learn the residual. The three channel attention modules correspond to three different numbers of convolution kernels.
[0045] Multi-scale residual blocks are used, that is, the concatenation of feature maps of different scales with residual blocks. First, average pooling operations with different kernel sizes and step sizes are used to obtain multi-scale features. After that, all scales are fused and fed into the convolution layer + PReLU and convolution layer + PReLU + convolution layer layers, and then the original input signal is added to learn the residual. Multi-scale residual blocks can learn features of different scales and fuse all different features to learn the main features. The average pooling layer, its function is to reduce the number of parameters by reducing the size of the feature map in the convolutional neural network, avoid overfitting, and improve the robustness of the model. Common pooling operations include maximum pooling and average pooling. Convolution layer + PReLU layer means convolution plus parameterized rectified linear unit, which is an activation function. Compared with the traditional ReLU activation function, it has better performance in the negative area. By introducing learnable parameters, the network can adapt to different feature distributions, thereby improving the performance of the model. Convolution layer + PReLU + convolution layer is a combination layer of three operations: convolution, parameterized rectified linear unit and convolution. Its function is to enhance the nonlinear expression ability of the model, while improving the accuracy and generalization of the model.
[0046] In addition, the attention mechanism is usually used to tilt the computing resources to important information, so a multi-channel residual block is proposed, which is a splicing between multiple channel attention modules and residual blocks. First, we extract shallow information through the convolution layer + PReLU layer, and then channelize the obtained information through three channel attention modules to obtain important low-frequency information. The information obtained by all channel attention modules is fused and fed into the convolution layer + PReLU + convolution layer, and then the original input signal is added to learn the residual. In this way, we get the result of processing low-frequency information. Multi-scale residual learning can extract features at different scales by introducing convolution kernels of different sizes; while multi-channel residual learning can process features on different channels by increasing the number of convolution kernels. These two residual learning results can be used to obtain low-frequency information processing results. Specifically, the results of multi-scale residual learning and multi-channel residual learning can be fused to obtain a more comprehensive feature map. Then, the low-frequency components in this feature map can be retained by low-pass filtering, thereby obtaining the low-frequency information processing result.
[0047] like Figure 2 As shown, the basic unit of the high-frequency network is a residual structure, and multiple residual structures are connected step by step. The residual structure includes a first layer, a second layer, a third convolutional layer, and a third PReLU activation function layer. The first layer and the second layer are both composed of a convolutional layer and a PReLU activation function layer. The output of the first layer is connected with the output of the second layer and then enters the third convolutional layer. The output information of the third convolutional layer is added to the original input signal to learn the residual.
[0048] The entire network first passes through the convolution layer to obtain the initial extracted information, and then passes through a residual structure block. It should be noted that the outputs of the first and second layers are connected and then sent to the second residual structure block. After such a cycle, the information obtained is added to the original input signal to learn the residual, and finally the high-frequency information is extracted through the convolution layer + PReLU + convolution layer. The meaning of C in the figure is connection. The output of the first convolution layer will be used as the input of the second convolution layer. This way of connecting two neural network layers can improve the expression ability and performance of the model. Convolution layer + PReLU + convolution layer, this layer is a common layer type in convolutional neural networks. PReLU stands for parameterized rectified linear unit, which is a type of activation function that can enhance the nonlinear expression ability of the model. The function of this layer is to extract features from the input image and propose important features through convolution operations. The PReLU function strengthens the nonlinear expression ability of the features. Finally, another convolution is performed to further improve the accuracy and robustness of feature extraction, laying the foundation for subsequent processing.
[0049] Step 4: The low-frequency information and high-frequency information after the nth denoising are subtracted from the initial image through the fusion network to obtain the residual image ΔZn; repeat steps 3 to 4 until the number of iterations is completed.
[0050] like Figure 4 As shown in the figure, the basic unit of the fusion network consists of a local residual block, a channel attention block, and a pixel attention block. Local residual learning allows bypassing some less important information in the image through multiple local residual connections, focusing mainly on effective information. Channel attention and pixel attention can provide additional flexibility in processing different types of information and can expand the representation ability of CNN. The key step is how to generate different weights for each channel and pixel feature. This allows a noise-free output to be obtained through the fusion network. Channel attention refers to weighting different channels of the input tensor in a convolutional neural network so that the feature map corresponding to each channel can better express the input information. The method for implementing channel attention is usually to calculate the respective weight coefficients through global average pooling and fully connected layers, and then multiply them with the original feature map to implement the attention mechanism on the channel and improve the performance of the model. Pixel attention refers to weighting each pixel in the input feature map to emphasize the key pixels for tasks such as classification or target detection. The method for implementing pixel attention can use various methods, such as using a convolutional layer to learn the correlation between pixels, and then performing corresponding weighted operations on each pixel to emphasize specific pixels, thereby improving the performance of the model.
[0051] Step 5: Calculate the loss function and train the pre-model.
[0052] The loss function uses a composite loss function composed of an L1 loss function, a charbonnier loss function, and an edge loss function, and linearly combines the loss functions of multiple iterations as the total loss function for back propagation, and saves the pre-model after the model is stable. (During implementation, the composite loss function used can be 0.85 times the L1 loss function, 0.1 times the charbonnier loss function, and 0.05 times the edge loss function).
[0053] Step 6: Select the low-dose CT image dataset and perform preprocessing.
[0054] The normal-dose CT images are used as labels, and the noise images are simulated quarter-dose CT images in the dataset. Assuming that the input low-dose CT image size is B×B, several a×a-sized regions are randomly cropped as training images, and combined with other data augmentation operations to increase the dataset.
[0055] Step 7: Adjust the learning rate, train the pre-model, and obtain the final denoising model.
[0056] The noise standard deviation σ is calculated by subtracting the corresponding normal-dose CT image from the low-dose CT image. Select an appropriate learning rate and continue training based on the pre-trained model to stabilize the model while shortening the training time and overcoming the problem of limited low-dose CT images. Observe the denoising results and loss function changes of the validation set, and save the final model when the model reaches the optimal value.
[0057] Step 8: Based on the final noise reduction model, the CT image is processed to obtain a noise-reduced CT image.
[0058] The test set images are processed to obtain the denoised CT images. During the test, assuming that the test image size is B×B, the test image is no longer cropped, and the test images are input into the network in sequence to output the denoised CT images.
[0059] The initial learning rate and number of training times in the pre-training and model fine-tuning stages can be adjusted according to the convergence of the network. According to the linear scaling rule, when the batch size batch_size increases to N times of the original, the learning rate should be increased to N times of the original (for example, when batch_size = 4, the learning rate of pre-training can be initialized to the range of [4e-5, 8e-5], the learning rate of the model fine-tuning stage can be initialized to the range of [1e-6, 2e-6], and the number of training times can be initialized to [20, 30] epochs and [10, 20] epochs respectively. Training can also be manually stopped according to the validation set indicators).
[0060] The network parameter update is implemented by: stochastic gradient descent algorithm (SGD algorithm), Adam algorithm, etc. During the training process, one or more of the learning rate, number of convolution kernels, size of convolution kernels, weights, number of network layers, etc. can be continuously adjusted according to the network convergence and test results.
[0061] Embodiment 2:
[0062] Low-dose CT image noise reduction device
[0063] The low-dose CT image denoising device is used to execute the above-mentioned low-dose CT image denoising method based on neural network.
[0064] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
[0065] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.
Claims
1. A low-dose CT image denoising method based on neural network, characterized in that: The steps include: Step 1: Preprocess the CT image dataset; Step 2: Decompose the noisy CT image to obtain low-frequency information and high-frequency information of the image; Step 3: Input the low-frequency information and high-frequency information of the image into the corresponding low-frequency network and high-frequency network respectively, and obtain the low-frequency information Ln and high-frequency information Hn after the nth denoising, where n is the number of iterations; Step 4: The low-frequency information and high-frequency information after the nth denoising are fused through a fusion network to obtain a fused image, and the fused image is subtracted from the n-1th fused image to obtain a residual image ΔZn; Steps 3 to 4 are repeated until the number of iterations is completed. When the low-frequency information and high-frequency information after the first denoising are fused through a fusion network to obtain a fused image, the fused image is subtracted from the initial image; Step 5: Calculate the loss function and train the pre-model; the loss function uses a composite loss function composed of L1 loss function, charbonnier loss function and edge loss function, and linearly combines the loss functions of multiple iterations as the total loss function for back propagation, and saves the pre-model after the model is stable; finally, a noise-free output is obtained through the fusion network; Step 6: Select a low-dose CT image dataset and perform preprocessing; Step 7: Adjust the learning rate, train the pre-model, and obtain the final denoising model; Step 8: Based on the final noise reduction model, the CT image is processed to obtain a noise-reduced CT image; In step 3, the basic unit of the low-frequency network includes a convolutional layer, a PReLU activation function layer, a multi-channel residual block and a multi-scale residual block. The low-frequency network fuses the learning results of the multi-channel residual block and the multi-scale residual block to obtain low-frequency information; In step 3, the basic unit of the high-frequency network is a residual structure, and multiple residual structures are connected step by step. The residual structure includes a first layer, a second layer, a third convolutional layer, and a third PReLU activation function layer. The first layer and the second layer are both composed of a convolutional layer and a PReLU activation function layer. The output of the first layer is connected to the output of the second layer and then enters the third convolutional layer. The output information of the third convolutional layer is added to the original input signal to learn the residual; In step 3, the multi-scale residual block obtains multi-scale features by using average pooling operations with different kernel sizes and step sizes, fuses the multi-scale features and feeds them into the convolution layer + PReLU activation function layer and the convolution layer + PReLU activation function layer + convolution layer, and then adds the original input signal to learn the residual; In step 3, the multi-channel residual block extracts shallow information through the convolution layer + PReLU activation function layer, and then performs channelization on the obtained information through three channel attention modules. The information obtained by the three channel attention modules is fused and fed into the convolution layer + PReLU activation function layer + convolution layer, and then the original input signal is added to learn the residual. The three channel attention modules correspond to three different numbers of convolution kernels.
2. The low-dose CT image denoising method based on neural network according to claim 1, characterized in that: In step 4, the basic unit of the fusion network consists of a local residual block, a channel attention block, and a pixel attention block.
3. The low-dose CT image denoising method based on neural network according to claim 1, characterized in that: In step 6, the normal-dose CT image is used as a label, and the noise image is a simulated quarter-dose CT image in the dataset.
4. The low-dose CT image denoising method based on neural network according to claim 1, characterized in that: In step 2, the noisy CT image is decomposed using the Hessian matrix.
5. A low-dose CT image noise reduction device, characterized in that: Used to execute the method according to any one of claims 1 to 4.
