CBCT image artifact correction system and method based on convolutional neural network

Through the U-shaped convolutional neural network based on the expansion and attention mechanism, the problem of insufficient extraction of deep semantic features in CBCT image artifact correction is solved, the image quality and accuracy are improved, the accuracy requirements of medical applications are met, and a wider range of Image-guided adaptive radiotherapy applications.

CN117409100BActive Publication Date: 2024-09-03SHENZHEN WEITU MEDICAL TECH CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202311724431.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2024-09-03
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

Existing CBCT image artifact correction methods cannot meet the strict requirements for scattering removal accuracy in medical applications, resulting in low CBCT image quality, especially in low contrast density resolution areas and image edge recognition difficulties.

Method used

Using a U-shaped convolutional neural network based on expansion and attention mechanisms, through image preprocessing, model training and image correction units, deep semantic feature maps are extracted to enhance the network's ability to perceive deep feature maps, combined with channel and spatial attention mechanisms. Improve the ability to restore local details and global edge information of images.

Benefits of technology

It significantly improves the quality and HU value accuracy of CBCT images, meets the application requirements of image-guided adaptive radiotherapy, achieves deeper feature map extraction and semantic difference reduction, has strong network robustness, and reduces checkerboard artifacts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117409100B
    Figure CN117409100B
Patent Text Reader

Abstract

The present invention relates to the technical field of medical image processing, and provides a CBCT image artifact correction system and method based on a convolutional neural network, wherein the system comprises an image preprocessing unit, a model training unit and an image correction unit. By introducing residual modules with different expansion rates in the model training unit, a wider and deeper feature extraction is achieved to capture the local details and global edge information of the image; between the shallow and deep feature extraction, a residual module with a channel and spatial attention mechanism is used for jump connection, which improves the perception and utilization of key features in the input image, while reducing the semantic difference between shallow and deep features. The present invention effectively corrects artifacts in CBCT images and improves image quality by accurately extracting multi-level features and expanding the receptive field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a CBCT image artifact correction system and method based on a convolutional neural network. Background Art

[0002] Cone beam computed tomography (CBCT) is a cone beam CT based on a two-dimensional large-area amorphous silicon digital X-ray detection plate. It has the advantages of light weight, small size, open architecture, and direct three-dimensional images. It can be directly installed on the accelerator. Since CBCT can realize tumor and tissue organ imaging, it is an effective tool for image-guided radiation therapy (IGRT) and has become a hot spot for IGRT development and research in recent years.

[0003] Although CBCT has played a vital role in IGRT, its biggest challenge is the low image quality, which also limits the application of CBCT in precision radiotherapy. The density resolution of CBCT images, especially the low-contrast density resolution area, is still somewhat different from that of conventional CT images. Due to the influence of scattered rays generated by external interference, there is a large amount of artifact noise in CBCT images, resulting in great noise interference in CBCT images, especially the weak edges of the image are almost unrecognizable. Therefore, there is an urgent need to improve the quality of CBCT images.

[0004] In recent years, in order to improve the quality of CBCT images, experts and scholars in this field have proposed a variety of CBCT artifact correction methods. These methods can be summarized into two categories: hardware correction and software correction. The hardware correction method changes the hardware design of the radiation system to reduce the scattered rays in the projection data acquisition process, but this also reduces the quantum efficiency of the radiation system, resulting in image information loss and decreased accuracy of reconstructed images. Common software correction methods are artifact correction methods based on deep learning models. Existing deep learning artifact correction and quality improvement methods mainly rely on convolutional neural networks (CNNs). Among them, U-net is a fully convolutional network with jump connections. Its network structure is U-shaped. Jump connections can help retain more contextual information and details and improve segmentation accuracy. Although U-net has achieved remarkable results in medical image processing, it still has some limitations in CBCT artifact correction and cannot meet the strict requirements for scatter removal accuracy in medical applications.

[0005] In summary, the existing CBCT image artifact correction methods all have certain defects, which cause certain difficulties in the clinical application of CBCT images. Therefore, it is urgent to provide a CBCT artifact correction system and method that can accurately extract local details and global edge information of the image. Summary of the invention

[0006] Based on this, the present invention provides a CBCT image artifact correction system and method based on a convolutional neural network, which is used for CBCT image artifact correction by training a U-shaped convolutional neural network based on expansion and attention mechanism to solve the problems existing in the prior art. The technical solution of the present invention can effectively solve the defect of insufficient extraction of deep semantic feature maps of images in the prior art, significantly improve the quality of CBCT images and the accuracy of HU values, so as to promote the wider application of CBCT images in image-guided adaptive radiation therapy (ART).

[0007] Specifically, the present invention adopts the following technical solutions:

[0008] In a first aspect, a CBCT image artifact correction system based on a convolutional neural network comprises: an image preprocessing unit, a model training unit and an image correction unit, wherein:

[0009] The image preprocessing unit is used to preprocess the original CBCT image and the reference CBCT image;

[0010] The model training unit is used to train a U-shaped convolutional neural network based on a dilation and attention mechanism based on the preprocessed original CBCT image and the reference CBCT image to obtain a CBCT image artifact correction model;

[0011] The image correction unit is used to input the actual CBCT image into the CBCT image artifact correction model to generate a corrected CBCT image.

[0012] In a possible implementation, the model training unit includes an encoder, a dilated convolution residual module, a skip connection module and a decoder, wherein:

[0013] The encoder is used to extract features at different resolutions by downsampling the original CBCT image layer by layer, and generate feature maps of four different scales;

[0014] The dilated convolution residual module is used to perform deeper feature extraction on the feature map of the last scale among the feature maps of the four different scales to obtain a deep feature map; and fuse the feature map of the last scale with the deep feature map to obtain a final deep feature map;

[0015] The skip connection module is used to fuse the feature maps between the encoder and the decoder at the same scale to obtain four shallow feature maps;

[0016] The decoder is used for image reconstruction, and generates a corrected original CBCT image by upsampling the final deep feature map layer by layer and the aggregated feature map of the shallow feature map at the same scale.

[0017] In a possible implementation, the encoder is composed of a first convolution module, a first pooling downsampling module, a second convolution module, a second pooling downsampling module, a third convolution module, a third pooling downsampling module, a fourth convolution module and a fourth pooling downsampling module connected in sequence;

[0018] The first convolution module, the second convolution module, the third convolution module and the fourth convolution module each include two 3×3 convolution kernels, a standardized BN layer and an activation function RELU.

[0019] In a possible implementation, the dilated convolution residual module includes five dilated convolution residual sub-modules connected in sequence and a first residual connection, and each of the dilated convolution residual sub-modules is composed of four 3×3 convolutions with different dilation rates connected in sequence, a standardized BN layer and an activation function RELU.

[0020] In a possible implementation, the skip-layer connection module is composed of a channel attention module, a spatial attention module and a second residual connection.

[0021] In a possible implementation, the decoder is composed of a first upsampling module, a fifth convolution module, a second upsampling module, a sixth convolution module, a third upsampling module, a seventh convolution module, a fourth upsampling module, an eighth convolution module and a 1×1 convolution layer connected in sequence;

[0022] The fifth convolution module, the sixth convolution module, the seventh convolution module and the eighth convolution module each include two convolution kernels of size 3×3, a standardized BN layer and an activation function RELU.

[0023] In a second aspect, according to the CBCT image artifact correction method of the CBCT image artifact correction system based on a convolutional neural network in the first aspect, the method comprises:

[0024] Preprocessing the original CBCT image and the reference CBCT image;

[0025] Inputting the original CBCT image and the reference CBCT image into a dilated and attention mechanism U-shaped convolutional neural network, and training to obtain a CBCT image artifact correction model;

[0026] The actual CBCT image is input into the CBCT image artifact correction model to generate a corrected CBCT image.

[0027] In a possible implementation, the preprocessing of the original CBCT image and the reference CBCT image includes:

[0028] Perform non-rigid registration of the original CBCT image and the reference CBCT image;

[0029] The original CBCT image and the reference CBCT image after non-rigid registration are converted from DICOM format to NII format to obtain 3D NII images of the original CBCT image and the reference CBCT image;

[0030] The 3D NII images of the original CBCT image and the reference CBCT image are sliced ​​and converted into 2D CBCT images of the original CBCT image and the reference CBCT image.

[0031] In a possible implementation, the original CBCT image and the reference CBCT image are input into a dilation and attention mechanism U-shaped convolutional neural network, and a CBCT image artifact correction model is obtained by training, including:

[0032] The original CBCT image is input to an encoder, and the encoder extracts feature maps of different scales from the original CBCT image to obtain feature maps of four different scales;

[0033] Inputting the feature map of the last scale among the feature maps of the four different scales into the dilated convolution residual module, performing deeper feature map extraction on the feature map of the last scale to obtain a deep feature map; fusing the feature map of the last scale with the deep feature map through a first residual connection to obtain a final deep feature map;

[0034] The final deep feature map is input into a decoder, and the first upsampling module upsamples the final deep feature map by 2 times to obtain a first upsampled map;

[0035] Inputting the feature map of the same scale as the first up-sampled map obtained by the encoder into the skip connection module to extract feature map information, and fusing the extracted feature map information with the feature map of the same scale as the first up-sampled map obtained by the encoder by the second residual connection to obtain a first shallow feature map; aggregating the first shallow feature map with the first up-sampled map to obtain a first aggregated feature map;

[0036] The first aggregated feature map is upsampled by 2 times by the second upsampling module after passing through the fifth convolution module to obtain a second upsampling map;

[0037] Inputting the feature map of the same scale as the second up-sampled image obtained by the encoder into the skip connection module to extract feature map information, and fusing the extracted feature map information with the feature map of the same scale as the second up-sampled image obtained by the encoder by the second residual connection to obtain a second shallow feature map; aggregating the second shallow feature map with the second up-sampled image to obtain a second aggregated feature map;

[0038] The second aggregated feature map is upsampled by 2 times by the third upsampling module after passing through the sixth convolution module to obtain a third upsampling map;

[0039] Inputting the feature map of the same scale as the third up-sampled map obtained by the encoder into the skip connection module to extract feature map information, and fusing the extracted feature map information with the feature map of the same scale as the third up-sampled map obtained by the encoder by the second residual connection to obtain a third shallow feature map; aggregating the third shallow feature map with the third up-sampled map to obtain a third aggregated feature map;

[0040] The third aggregated feature map is upsampled by 2 times by the fourth upsampling module after passing through the seventh convolution module to obtain a fourth upsampling map;

[0041] Inputting the feature map of the same scale as the fourth up-sampled image obtained by the encoder into the skip connection module to extract feature map information, and fusing the extracted feature map information with the feature map of the same scale as the fourth up-sampled image obtained by the encoder by the second residual connection to obtain a fourth shallow feature map; aggregating the fourth shallow feature map with the fourth up-sampled image to obtain a fourth aggregated feature map of the same size as the original CBCT image;

[0042] Inputting the fourth aggregated feature map into the 1×1 convolution layer via an eighth convolution module, and finally obtaining a corrected original CBCT image;

[0043] Calculating a loss value between the corrected original CBCT image and a reference CBCT image;

[0044] If the loss value drops to less than 100 and does not drop after 10 epochs, the U-shaped convolutional neural network based on the expansion and attention mechanism is the CBCT image artifact correction model, and the training of the CBCT image artifact correction model is completed; otherwise, repeat the above steps until the loss value drops to less than 100 and does not drop after 10 epochs.

[0045] According to a third aspect, an electronic device includes:

[0046] processor;

[0047] Memory;

[0048] And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes any one of the methods described in the second aspect.

[0049] The present invention constructs a U-shaped convolutional neural network, which has the ability to enhance the network's perception of deep semantic feature maps and improve the ability to restore spatial details. At the same time, the present invention introduces the channel space attention mechanism into the field of CBCT image artifact correction, and the channel space attention mechanism has obvious advantages in capturing global and local details. In addition, considering the shortcomings of the underlying network in extracting deep feature maps, the present invention also introduces a dilated residual convolution module to enhance the performance of the network model. The combined effect of these innovations improves the CBCT image artifact correction effect of the technical solution disclosed in the present invention.

[0050] Compared with the prior art, the present invention has the following beneficial effects:

[0051] (1) Achieve deeper feature map extraction. The present invention adds a convolutional residual module with a dilation rate at the bottom of the U-shaped network to further extract the feature map of the input image to extract local details and global edge information.

[0052] (2) Ability to reduce semantic gap. The present invention replaces simple skip connections with residual modules with channel and spatial attention mechanisms to extract feature map information lost by pooling operations at each scale, combines shallow feature maps containing detailed information with deep feature maps, and reduces the semantic gap between shallow feature maps and deep feature maps.

[0053] (3) The network is robust. The present invention uses bilinear interpolation upsampling, followed by 3 3 convolutions, which helps to reduce the checkerboard artifacts caused by the transposed convolution operation in the output image. At the same time, in order to ensure the nonlinearity of the complex network, the present invention also adds a rectified linear unit (RELU) activation layer to each convolution layer. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 A structural block diagram of a CBCT image artifact correction system based on a convolutional neural network provided in an embodiment of the present invention;

[0056] Figure 2 A schematic diagram of a flow chart of a CBCT image artifact correction method based on a convolutional neural network provided in an embodiment of the present invention;

[0057] Figure 3A comparison diagram of the original CBCT image, the reference CBCT image and the corrected CBCT image provided in an embodiment of the present invention;

[0058] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0060] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example 1

[0061] This embodiment provides a CBCT image artifact correction system based on a convolutional neural network. For details, please refer to Figure 1 The structure block diagram of a CBCT image artifact correction system based on a convolutional neural network provided according to an embodiment of the present invention is shown, and the system includes an image preprocessing unit 101, a model training unit 102, and an image correction unit 103.

[0062] The image preprocessing unit 101 is used to preprocess the original CBCT image and the reference CBCT image.

[0063] Furthermore, the CBCT image preprocessing includes: performing non-rigid registration on the original CBCT image and the reference CBCT image; converting the original CBCT image and the reference CBCT image after non-rigid registration from DICOM format to NII format to obtain 3D NII images of the original CBCT image and the reference CBCT image; slicing the 3DNII images of the original CBCT image and the reference CBCT image to convert them into 2D CBCT images of the original CBCT image and the reference CBCT image.

[0064] The model training unit 102 is used to train a U-shaped convolutional neural network based on a dilation and attention mechanism based on the preprocessed original CBCT image and the reference CBCT image to obtain a CBCT image artifact correction model.

[0065] The image correction unit 103 is used to input the actual CBCT image into the CBCT image artifact correction model to generate a corrected CBCT image.

[0066] It should be noted that the original CBCT image and the reference CBCT image are both CBCT images obtained from the same patient during a previous irradiation process, wherein the original CBCT image is a CBCT image with artifacts, and the reference CBCT image is a CBCT image without artifacts. The original CBCT image and the reference CBCT image are used by the model training unit 102 to train a CBCT image artifact correction model. The actual CBCT image refers to an image obtained from the same patient during the CBCT image acquisition period that requires artifact correction. This distinction is very important for understanding and implementing CBCT image artifact correction.

[0067] The model training unit 102 includes an encoder, a dilated convolution residual module, a skip connection module and a decoder. Specifically:

[0068] The encoder is used to extract feature maps at different resolutions by downsampling the original CBCT image layer by layer, and generate four feature maps of different scales.

[0069] In this embodiment, the encoder is composed of a first convolution module, a first pooling downsampling module, a second convolution module, a second pooling downsampling module, a third convolution module, a third pooling downsampling module, a fourth convolution module and a fourth pooling downsampling module connected in sequence. Each convolution module contains two 3×3 convolution kernels, a standardized BN layer and an activation function RELU. The output feature map of the last pooling downsampling module is used as the input of the dilated convolution residual module. This helps to improve the diversity and performance of feature map extraction.

[0070] The feature map of the last scale among the four feature maps of different scales corresponds to the case with the lowest resolution, that is, the case with the smallest feature map size.

[0071] The dilated convolution residual module is used to extract a deeper feature map from the feature map of the last scale among the feature maps of the four different scales to obtain a deep feature map; and to fuse the feature map of the last scale with the deep feature map through the first residual connection to obtain a final deep feature map. This helps to capture a wider and deeper semantic feature map of the input image, extract local details and global edge information, and thus improve the image quality of artifact correction and the accuracy of HU value.

[0072] The dilated convolution residual module includes five dilated convolution residual sub-modules connected in sequence and a first residual connection, wherein each of the dilated convolution residual sub-modules is composed of four 3×3 convolutions with different dilation rates connected in sequence, a standardized BN layer and an activation function RELU.

[0073] Preferably, the dilation rates of the four 3×3 convolutions with different dilation rates are 1, 2, 3, and 5. This helps to optimize the performance of the artifact correction model and obtain the best model performance.

[0074] It should be noted that after the deep feature image is processed with compressed resolution, each pixel in the feature map represents the information of a region. Extracting the deep feature map will obtain the feature map information of any region or its adjacent regions. Although these feature map information is relatively less detailed, they contain rich semantic information, covering the underlying structures such as bones, soft tissues and air cavities.

[0075] The skip connection module is used to fuse the feature maps between the encoder and the decoder at the same scale to reduce the semantic difference between the shallow feature map and the deep feature map and the spatial information lost due to the pooling operation. The skip connection allows the convolutional neural network to transfer information between different resolution layers, helping to restore richer image details.

[0076] The skip connection module consists of a channel attention module (CAM), a spatial attention module (SAM) and a second residual connection.

[0077] The channel attention module adaptively scales the feature map of each channel by learning a weight vector on each channel, thereby enhancing the relationship between channels. The spatial attention module emphasizes important spatial positions by adaptively scaling the feature map at each spatial position. By introducing the channel attention module (CAM) and the spatial attention module (SAM), the feature maps at the jump connection can be weighted to emphasize the feature maps that are more critical and useful for artifact correction, thereby enhancing the network's ability to perceive and utilize important feature maps of the input image, and improving the performance and effect of the CBCT image artifact correction task.

[0078] The second residual connection is used to fuse the feature map before the input skip layer connection module and the feature map after the channel space attention module. The second residual connection can achieve effective aggregation of the local texture feature map and the global feature map, thereby obtaining more representative information.

[0079] The decoder is used for image reconstruction, and generates a corrected original CBCT image by upsampling the final deep feature map layer by layer and the aggregated feature map of the shallow feature map at the same scale.

[0080] The decoder consists of a first upsampling module, a fifth convolution module, a second upsampling module, a sixth convolution module, a third upsampling module, a seventh convolution module, a fourth upsampling module, an eighth convolution module and a 1×1 convolution layer connected in sequence. Each of the four convolution modules contains two 3×3 convolution kernels, a standardized BN layer and an activation function RELU. In the upsampling process, bilinear interpolation upsampling is used, followed by a 3×3 convolution operation, instead of using transposed convolution to improve the spatial resolution of the feature map in the decoder. This helps to reduce the checkerboard artifacts caused by the transposed convolution operation in the output image, and ultimately achieves the restoration of the artifact-corrected CBCT image. Finally, the corrected CBCT image is output after a 1×1 convolution layer. Example 2

[0081] This embodiment provides a CBCT image artifact correction method based on a convolutional neural network. Figure 2 , is a flow chart of a CBCT image artifact correction method based on a convolutional neural network provided by an embodiment of the present invention. A CBCT image artifact correction method based on a convolutional neural network comprises the following steps:

[0082] S1: Data preprocessing stage, preprocessing the original CBCT image and the reference CBCT image. Specifically:

[0083] The original CBCT images and the reference CBCT images are non-rigidly registered. This is because the original CBCT images and the reference CBCT images of the same patient are usually not obtained at the same time, so there is a certain inconsistency between them in quantity and space. By performing a preliminary registration, matching images can be obtained, thereby reducing the difficulty of model training. This step is very important to ensure the effective training of the model.

[0084] The original CBCT image and the reference CBCT image after non-rigid registration are converted from DICOM format to NII format to obtain 3D NII images of the original CBCT image and the reference CBCT image. Converting CBCT images from DICOM format to NII format can improve data management efficiency, make analysis and processing easier, and increase data interoperability and standardization.

[0085] The 3D NII images of the original CBCT image and the reference CBCT image are sliced ​​and converted into 2D CBCT images of the original CBCT image and the reference CBCT image. The obtained patient image data is 3D, and the network model of the embodiment of the present invention processes 2D, so the 3D NII image is sliced ​​to facilitate the training and learning of the network model.

[0086] S2: Image artifact correction stage, the original CBCT image and the reference CBCT image are input into the dilation and attention mechanism U-shaped convolutional neural network, and the CBCT image artifact correction model is trained. Specifically:

[0087] S21: the original CBCT image is input to the encoder, and the encoder extracts feature maps of different scales from the original CBCT image to obtain four feature maps of different scales for learning by the neural network, thereby realizing mapping from image to channel and space;

[0088] S22: inputting the feature map of the last scale among the feature maps of the four different scales into the dilated convolution residual module, performing deeper feature map extraction on the feature map of the last scale to obtain a deep feature map, and fusing the feature map of the last scale with the deep feature map through a first residual connection to obtain a final deep feature map;

[0089] S23: inputting the final deep feature map into the decoder, and the first upsampling module upsamples the final deep feature map by 2 times to obtain a first upsampled map;

[0090] S24: Input the feature map of the same scale as the first up-sampled image obtained by the encoder into the skip connection module, perform channel and spatial weighting on the feature map in turn through the channel attention module and the spatial attention module to extract feature map information, and fuse the extracted feature map information with the feature map of the same scale as the first up-sampled image obtained by the encoder by the second residual connection to obtain a first shallow feature map; aggregate the first shallow feature map with the first up-sampled image to obtain a first aggregated feature map, so as to ensure that the restored image has not only details but also context information;

[0091] S25: The first aggregated feature map is upsampled by 2 times by the second upsampling module after passing through the fifth convolution module to obtain a second upsampling map;

[0092] S26: Input the feature map of the same scale as the second up-sampled image obtained by the encoder into the skip connection module, perform channel and spatial weighting on the feature map in turn through the channel attention module and the spatial attention module to extract feature map information, and the second residual connection fuses the extracted feature map information with the feature map of the same scale as the second up-sampled image obtained by the encoder to obtain a second shallow feature map; aggregate the second shallow feature map with the second up-sampled image to obtain a second aggregated feature map;

[0093] S27: the second aggregated feature map is upsampled by 2 times by the third upsampling module after passing through the sixth convolution module to obtain a third upsampling map;

[0094] S28: Inputting the feature map of the same scale as the third up-sampled image obtained by the encoder into the skip connection module, performing channel and spatial weighting on the feature map in turn through the channel attention module and the spatial attention module to extract feature map information, and the second residual connection fuses the extracted feature map information with the feature map of the same scale as the third up-sampled image obtained by the encoder to obtain a third shallow feature map; aggregating the third shallow feature map with the third up-sampled image to obtain a third aggregated feature map;

[0095] S29: the third aggregated feature map is upsampled by 2 times by the fourth upsampling module after passing through the seventh convolution module to obtain a fourth upsampling map;

[0096] S210: inputting the feature map obtained by the encoder and having the same scale as the fourth up-sampled image into the skip connection module, performing channel and spatial weighting on the feature map in turn through the channel attention module and the spatial attention module to extract feature map information, and the second residual connection fuses the extracted feature map information with the feature map obtained by the encoder and having the same scale as the fourth up-sampled image to obtain a fourth shallow feature map; aggregating the fourth shallow feature map with the fourth up-sampled image to obtain a fourth aggregated feature map having the same size as the original CBCT image;

[0097] S211: inputting the fourth aggregated feature map into the 1×1 convolution layer via the eighth convolution module, and finally obtaining a corrected original CBCT image;

[0098] S212, calculating a loss value between the corrected original CBCT image and the reference CBCT image, wherein the smaller the loss value, the better the model robustness;

[0099] S213, if the loss value drops to within 100 and does not drop after 10 epochs, the U-shaped convolutional neural network based on the expansion and attention mechanism is the CBCT image artifact correction model, and the training of the CBCT image artifact correction model is completed; otherwise, repeat steps S21-212 until the loss value drops to within 100 and does not drop after 10 epochs.

[0100] S3: Image generation stage: The actual CBCT image is input into the CBCT image artifact correction model to generate a corrected CBCT image.

[0101] See also Figure 3, which is a comparison diagram of the original CBCT image, the reference CBCT image and the corrected CBCT image provided by the embodiment of the present invention. Among them, the leftmost figure is the original CBCT image, the middle figure is the corrected CBCT image generated by the system and method provided by the present invention, and the rightmost figure is the reference CBCT image. By comparison, it can be clearly seen that the corrected CBCT image generated by the system and method provided by the present invention is very similar to the reference CBCT image, which proves the effectiveness of the system and method provided by the present invention. Example 3

[0102] Reference Figure 4 , is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, the electronic device 400 may include: a processor 401, a memory 402 and a communication unit 403. These components communicate via one or more buses. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not limit the embodiments of the present application, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0103] The communication unit 403 is used to establish a communication channel so that the electronic device can communicate with other devices. It is a bridge for information exchange between devices, supports wireless and wired communications, and is one of the key components.

[0104] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 402, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 401 can include only a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0105] The memory 402 is used to store the execution instructions of the processor 401. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0106] When the execution instructions in the memory 402 are executed by the processor 401 , the electronic device 400 is enabled to execute part or all of the steps in the above method embodiment.

[0107] Corresponding to the above embodiment, the embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, wherein when the program is running, the device where the computer-readable storage medium is located may be controlled to execute some or all of the steps in the above method embodiment. In a specific implementation, the computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0108] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above-mentioned method embodiment.

[0109] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0110] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0112] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0113] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A CBCT image artifact correction system based on convolutional neural network, characterized in that: The system comprises: an image preprocessing unit, a model training unit and an image correction unit, wherein: The image preprocessing unit is used to preprocess the original CBCT image and the reference CBCT image; The model training unit is used to train a U-shaped convolutional neural network based on a dilation and attention mechanism based on the preprocessed original CBCT image and the reference CBCT image to obtain a CBCT image artifact correction model; The image correction unit is used to input the actual CBCT image into the CBCT image artifact correction model to generate a corrected CBCT image; The model training unit includes an encoder, a dilated convolution residual module, a skip connection module and a decoder, wherein: The encoder is used to extract features at different resolutions by downsampling the original CBCT image layer by layer, and generate feature maps of four different scales; The encoder is composed of a first convolution module, a first pooling downsampling module, a second convolution module, a second pooling downsampling module, a third convolution module, a third pooling downsampling module, a fourth convolution module and a fourth pooling downsampling module connected in sequence; the first convolution module, the second convolution module, the third convolution module and the fourth convolution module each include two 3×3 convolution kernels, a standardized BN layer and an activation function RELU; The dilated convolution residual module is used to perform deeper feature extraction on the feature map of the last scale among the feature maps of the four different scales to obtain a deep feature map; the feature map of the last scale is fused with the deep feature map to obtain a final deep feature map; the dilated convolution residual module includes five dilated convolution residual submodules connected in sequence and a first residual connection, each of the dilated convolution residual submodules is composed of four 3×3 convolutions with different dilation rates connected in sequence, a standardized BN layer and an activation function RELU; The skip connection module is used to fuse the feature maps between the encoder and the decoder at the same scale to obtain four shallow feature maps; the skip connection module is composed of a channel attention module, a spatial attention module and a second residual connection; The decoder is used for image reconstruction, and generates a corrected original CBCT image by upsampling the final deep feature map and the aggregated feature map of the shallow feature map at the same scale layer by layer; the decoder is composed of a first upsampling module, a fifth convolution module, a second upsampling module, a sixth convolution module, a third upsampling module, a seventh convolution module, a fourth upsampling module, an eighth convolution module and a 1×1 convolution layer connected in sequence; the fifth convolution module, the sixth convolution module, the seventh convolution module and the eighth convolution module all contain two 3×3 convolution kernels, a standardized BN layer and an activation function RELU.

2. A CBCT image artifact correction method based on the CBCT image artifact correction system based on a convolutional neural network according to claim 1, characterized in that: The method comprises: Preprocessing the original CBCT image and the reference CBCT image; Inputting the original CBCT image and the reference CBCT image into a dilated and attention mechanism U-shaped convolutional neural network, and training to obtain a CBCT image artifact correction model; Inputting the actual CBCT image into the CBCT image artifact correction model to generate a corrected CBCT image; The original CBCT image and the reference CBCT image are input into a dilation and attention mechanism U-shaped convolutional neural network, and a CBCT image artifact correction model is obtained by training, including: S21: the original CBCT image is input to an encoder, and the encoder extracts feature maps of different scales from the original CBCT image to obtain feature maps of four different scales; S22: inputting the feature map of the last scale among the feature maps of the four different scales into the dilated convolution residual module, performing a deeper feature map extraction on the feature map of the last scale to obtain a deep feature map; fusing the feature map of the last scale with the deep feature map through a first residual connection to obtain a final deep feature map; S23: inputting the final deep feature map into the decoder, and the first upsampling module upsamples the final deep feature map by 2 times to obtain a first upsampled map; S24: Inputting the feature map of the same scale as the first up-sampled image obtained by the encoder into the skip connection module to extract feature map information, and fusing the extracted feature map information with the feature map of the same scale as the first up-sampled image obtained by the encoder by the second residual connection to obtain a first shallow feature map; aggregating the first shallow feature map with the first up-sampled image to obtain a first aggregated feature map; S25: The first aggregated feature map is upsampled by 2 times by the second upsampling module after passing through the fifth convolution module to obtain a second upsampling map; S26: Input the feature map of the same scale as the second up-sampled image obtained by the encoder into the skip connection module to extract feature map information, and the second residual connection fuses the extracted feature map information with the feature map of the same scale as the second up-sampled image obtained by the encoder to obtain a second shallow feature map; aggregate the second shallow feature map with the second up-sampled image to obtain a second aggregated feature map; S27: the second aggregated feature map is upsampled by 2 times by the third upsampling module after passing through the sixth convolution module to obtain a third upsampling map; S28: Inputting the feature map of the same scale as the third up-sampled image obtained by the encoder into the skip connection module to extract feature map information, and fusing the extracted feature map information with the feature map of the same scale as the third up-sampled image obtained by the encoder by the second residual connection to obtain a third shallow feature map; aggregating the third shallow feature map with the third up-sampled image to obtain a third aggregated feature map; S29: the third aggregated feature map is upsampled by 2 times by the fourth upsampling module after passing through the seventh convolution module to obtain a fourth upsampling map; S210: Inputting the feature map of the same scale as the fourth up-sampled image obtained by the encoder into the skip connection module to extract feature map information, and fusing the extracted feature map information with the feature map of the same scale as the fourth up-sampled image obtained by the encoder by the second residual connection to obtain a fourth shallow feature map; aggregating the fourth shallow feature map with the fourth up-sampled image to obtain a fourth aggregated feature map of the same size as the original CBCT image; S211: inputting the fourth aggregated feature map into the 1×1 convolution layer via an eighth convolution module, and finally obtaining a corrected original CBCT image; S212: Calculating a loss value between the corrected original CBCT image and a reference CBCT image; S213: If the loss value drops to within 100 and does not drop after 10 epochs, the U-shaped convolutional neural network based on the expansion and attention mechanism is the CBCT image artifact correction model, and the training of the CBCT image artifact correction model is completed; otherwise, repeat steps S21-S212 until the loss value drops to within 100 and does not drop after 10 epochs.

3. The CBCT image artifact correction method according to claim 2, characterized in that: The preprocessing of the original CBCT image and the reference CBCT image comprises: Perform non-rigid registration of the original CBCT image and the reference CBCT image; The original CBCT image and the reference CBCT image after non-rigid registration are converted from DICOM format to NII format to obtain 3D NII images of the original CBCT image and the reference CBCT image; The 3D NII images of the original CBCT image and the reference CBCT image are sliced ​​and converted into 2D CBCT images of the original CBCT image and the reference CBCT image.

4. An electronic device, characterized in that: include: processor; Memory; And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 2 to 3.

Citation Information

Patent Citations

  • Fast magnetic resonance imaging method based on residual U-net convolutional neural network

    CN109993809A

  • CT projection metal trace complementing metal artifact correction method based on U-net

    CN111292386A

  • Low-dose cone beam CT image reconstruction method based on deep learning

    CN112348936A

  • Multi-scale feature generative adversarial network for suppressing artifact noise in low-dose CT image

    CN112598759A

  • System and method for synthesizing MR image into CT image based on residual Transform generative adversarial network

    CN115546334A