CT image noise reduction method and device based on iterative knowledge migration and style generalization learning, and medium
Through iterative knowledge transfer and style generalization learning methods, the problem of increased noise in low-dose CT images is solved. It combines supervised and unsupervised learning to achieve effective denoising in different scenarios and improves the quality of medical X-ray images. Denoising performance and robustness.
Patent Information
- Application Number
- CN202410761905.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-06
AI Technical Summary
The increase in image noise in low-dose CT imaging leads to a decrease in image quality. Existing supervised and unsupervised methods show performance differences when noise patterns change in different imaging scenarios, making it difficult to effectively denoise.
A method based on iterative knowledge transfer and style generalization learning is adopted to determine the source domain and target domain through medical image data sets, use pre-trained source domain models and non-pre-trained target domain models for knowledge transfer, and learn through style generalization The model synthesizes images with similar content but different noise patterns, expands the data set, and optimizes the denoising process by combining distillation loss and content loss functions.
It achieves effective image denoising in different imaging scenarios, combines the advantages of supervised and unsupervised learning, improves the denoising performance of medical X-ray images, solves the problem of domain adaptation, and improves the robustness and robustness of the denoising model. Generalization ability.
Smart Images

Figure CN118608418A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital image processing, and in particular to a CT image denoising method, device and medium based on iterative knowledge transfer and style generalization learning. Background Art
[0002] Computed tomography (CT) is a widely used medical imaging technique that provides detailed structural information, making it highly valuable in clinical diagnosis. However, the potential risks of radiation exposure cannot be ignored. Since the ionizing radiation involved in the CT scanning process can lead to an increased risk of cancer, the use of low-dose CT (LDCT) imaging in clinical diagnosis has become increasingly common to address these issues. However, as the radiation dose decreases, the image artifacts and noise increase, resulting in a decrease in image quality. The LDCT denoising task faces significant challenges in real-world imaging scenarios. Because there is no paired training data, supervised methods encounter difficulties in real-world scenarios. In addition, when supervised methods are applied to datasets with different noise patterns, these methods may degrade in performance due to domain differences. In contrast, unsupervised methods do not require paired data and can be trained directly on real-world data. However, they often show inferior performance compared to supervised methods. To address this issue, it is necessary to leverage the advantages of these supervised and unsupervised methods and address the challenge of varying noise patterns in different imaging scenarios. Summary of the invention
[0003] In order to achieve the above-mentioned purpose and other advantages of the present invention, the first purpose of the present invention is to provide a CT image denoising method based on iterative knowledge transfer and style generalization learning, comprising the following steps:
[0004] Determine the source domain and target domain through medical image datasets;
[0005] Pre-training a source domain model using data from the source domain;
[0006] Inputting the target domain image into a pre-trained source domain model and a non-pre-trained target domain model in parallel;
[0007] The output result of the source domain model is used as a pseudo label, and the target domain model is learned under the guidance of the pseudo label;
[0008] Synthesize images with similar content but slightly different noise patterns from the input through the style generalization learning model, and augment the synthesized images to the input dataset;
[0009] The image to be tested is input into the denoising network for low-dose image denoising.
[0010] Furthermore, the medical image dataset includes an AAPM-Mayo dataset, a bright peak synthetic dataset, a bright peak phantom dataset, and a Siemens clinical dataset.
[0011] Furthermore, determining the source domain and the target domain through the medical image dataset comprises the following steps:
[0012] The AAPM-Mayo dataset is used as the source domain;
[0013] The bright peak synthetic dataset, the bright peak phantom dataset, and the Siemens clinical dataset are used as target domains.
[0014] Furthermore, the source domain model adopts a UNet network structure.
[0015] Furthermore, the process of learning the target domain model under the guidance of the pseudo-labels is optimized by minimizing the distillation loss:
[0016]
[0017] ζ feature =‖Gr(E t (x t ))-Gr(E s (x t ))‖ F ,
[0018] ζ distill =ζ L1 +ζ feature ,
[0019] in, represents the output of the target domain model, represents the output of the source domain model, ζ L1 represents L1 loss, E s and E t Represent the encoders of the source domain model and the target domain model respectively, Gr represents Gram transform, ‖·‖ F represents the Frobenius norm, ζ feature represents the feature loss, ζ distill Represents distillation loss.
[0020] Furthermore, after the step of using the output of the source domain model as a pseudo label and learning the target domain model under the guidance of the pseudo label, the following steps are also included:
[0021] The source domain model is updated with the target domain model as a reference using an average teacher mechanism.
[0022] Furthermore, in the step of updating the source domain model with reference to the target domain model, for each round of training, the source domain model is updated to:
[0023] θ(φ s )=αθ(φ s ')+(1-α)θ(φ t ),
[0024] Among them, α is the smoothing coefficient hyperparameter, and θ(·) represents the parameter that needs to be updated.
[0025] Furthermore, the method of synthesizing an image with similar content but slightly different noise pattern from the input through the style generalization learning model and expanding the synthesized image into the input data set also includes the following steps:
[0026] The original data is input into the style generalization learning model and constrained by the content loss function:
[0027]
[0028] Among them, ω content is the content weight, and the features are extracted using the pre-trained VGG network. i = 2 represents the second layer extracted from the VGG network;
[0029] Use perceptual loss to measure the style gap between the synthesized image and the original data:
[0030]
[0031] Among them, ω style is the style weight, i represents the i-th layer extracted from the VGG network, x t Represents the original data, represents the synthesized LDCT image;
[0032] The synthesized LDCT image is appended to the original data, and when the denoising framework processes the synthesized LDCT image, the denoising process is optimized by minimizing the distillation loss:
[0033]
[0034] in, and yes L1 loss function and feature loss function.
[0035] The second object of the present invention is to provide an electronic device, comprising: a memory on which a program code is stored; a processor connected to the memory and implementing the above method when the program code is executed by the processor.
[0036] A third object of the present invention is to provide a computer-readable storage medium having program instructions stored thereon, wherein the program instructions implement the above method when executed.
[0037] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0038] The present invention provides a CT image denoising method, device and medium based on iterative knowledge transfer and style generalization learning, and proposes a new domain adaptive denoising framework, which combines the advantages of supervised learning and unsupervised learning, solves the challenge of noise pattern changes in different imaging scenes, and can achieve accurate denoising of various medical X-ray images. The present invention fully utilizes the advantages of iterative knowledge transfer and style generalization learning, and can well solve the domain adaptation problem that is prevalent in medical X-ray image denoising tasks.
[0039] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. The specific implementation of the present invention is given in detail by the following embodiments and their accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0041] Figure 1 The CT image denoising method based on iterative knowledge transfer and style generalization learning of Example 1 is as follows Figure 1 ;
[0042] Figure 2 The CT image denoising method based on iterative knowledge transfer and style generalization learning of Example 1 is as follows Figure 2 ;
[0043] Figure 3 This is a network structure diagram of Example 1;
[0044] Figure 4 This is a schematic diagram of the denoising result of Example 1 on a bright peak synthetic dataset image;
[0045] Figure 5 It is a schematic diagram of the denoising result of Example 1 on the bright peak phantom dataset image;
[0046] Figure 6 This is a schematic diagram of the denoising results of Example 1 on the Siemens clinical dataset image;
[0047] Figure 7 is a schematic diagram of an electronic device of Example 2;
[0048] Figure 8 This is a schematic diagram of the storage medium of Example 3. DETAILED DESCRIPTION
[0049] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0050] In the following description, suffixes such as "component" or "unit" used to indicate elements are used only to facilitate the description of the present invention, and have no specific meanings by themselves. Therefore, "component" or "unit" may be used mixedly.
[0051] Example 1
[0052] CT image denoising method based on iterative knowledge transfer and style generalization learning is used for medical X-ray image denoising, such as Figure 1-Figure 3 As shown, the method comprises the following steps:
[0053] S1, source domain model pre-training;
[0054] S100, determining a source domain and a target domain through a medical image dataset;
[0055] In some embodiments, the medical image dataset uses four medical image datasets, namely, the AAPM-Mayo dataset, the bright peak synthetic dataset, the bright peak phantom dataset, and the Siemens clinical dataset. This embodiment uses the AAPM-Mayo dataset as the source domain, and uses the bright peak synthetic dataset, the bright peak phantom dataset, and the Siemens clinical dataset as the target domain.
[0056] It should be noted that the medical image datasets include but are not limited to the above four medical image datasets, and a suitable medical image dataset can be selected according to actual needs.
[0057] S200: Use the data of the source domain to pre-train a model as a source domain model, which can also be used as a teacher model in subsequent knowledge transfer.
[0058] In some embodiments, the source domain model adopts a UNet network structure, with an initial learning rate of 1.0×10-4, and the learning rate decays to half of the previous one every 15 rounds, with a total of 60 rounds of training.
[0059] S2, knowledge transfer;
[0060] S300. Input the image of the target domain into the pre-trained source domain model and the unpre-trained target domain model in parallel; since the target domain model has not been pre-trained, it will only adapt to the current data domain. For the source domain model, its parameters are fixed, so it can only provide a result that is inferior to the gold standard, which can also be called a pseudo-label. Therefore, the target model must play the role of a student and learn under the guidance of the pseudo-label. S400. The result output by the source domain model is used as a pseudo-label, and the target domain model learns under the guidance of the pseudo-label. This process is optimized by minimizing the following distillation loss:
[0061]
[0062] ζ feature =‖Gr(E t (x t ))-Gr(E s (x t ))‖ F ,
[0063] ζ distill =ζ L1 +ζ feature ,
[0064] in, represents the output of the target domain model, represents the output of the source domain model, ζ L1 represents L1 loss, E s and E t Represent the encoders of the source domain model and the target domain model respectively, Gr represents Gram transform, ‖·‖ F represents the Frobenius norm, ζ feature represents the feature loss, ζ distill Represents distillation loss.
[0065] The L1 loss makes the target domain model produce outputs similar to the pseudo-labels. The Frobenius distance encourages the target domain encoder to create a high-level feature similar to that generated by the source domain encoder. Through this loss function, the target domain model can acquire knowledge from the source domain model in a distillation manner and adjust it to the target domain.
[0066] S3, average teacher mechanism;
[0067] In the denoising process, the target domain model of the present invention only adapts to the target domain data set, while the source domain model only retains the adaptation to the source data set. Once the target domain model becomes more adapted to the target domain, the source domain model may no longer provide useful guidance and may become an ineffective teacher. In order to overcome this problem, S500, the present invention uses an average teacher mechanism (EMA) to update the source domain model with the target domain model as a reference.
[0068] For each round of training, the source domain model is updated as:
[0069] θ(φ s )=αθ(φ s ')+(1-α)θ(φ t ),
[0070] Wherein, α is a smoothing coefficient hyperparameter, and in this embodiment, α is set to 0.999, and θ(·) represents a parameter that needs to be updated.
[0071] This mechanism enables the source domain model to adapt to the target domain and provide improved guidance to the target domain model. Therefore, the performance of the target domain model can be further improved after implementing the average teacher mechanism. Therefore, the knowledge is gradually transferred from the source domain model to the target domain model, accompanied by the subsequent slow update of the source domain model based on the target domain model, which is an iterative knowledge transfer process that allows domain adaptive denoising of unlabeled target domain data.
[0072] S4, style generalization learning;
[0073] Although the previous process can generate an acceptable result for unlabeled input, the present invention still hopes to create a more robust model for the target domain, especially for the case of a small dataset with limited training styles. Therefore, S600, the present invention synthesizes images with similar content but slightly different noise patterns from the input through a style generalization learning model, and then expands the synthesized images into the input dataset to enhance its style diversity and the robustness of the denoising model.
[0074] In the process of style generalization learning, the original input is transmitted to the synthesis network. The present invention uses the original input instead of the denoised result because the original input contains the most comprehensive information, which may be reduced in the denoised output. In addition, the original input can provide the noise pattern of the target domain. The synthesized result should have the same content as the input. Inspired by the work of style transfer, the present invention constrains it through the following content loss function:
[0075]
[0076] Among them, ω content is the content weight. content It is set to 0.01, and features are extracted using the pre-trained VGG-16 network. i=2 represents the second layer extracted from the VGG-16 network, also known as layer relu3_3.
[0077] Use perceptual loss to measure the style gap between the synthesized image and the original data:
[0078]
[0079] Among them, ω style is the style weight. In this embodiment, style Set to 1, i represents the i-th layer extracted from the VGG-16 network, including relu1_2 layer, relu2_2 layer, relu3_3 layer, relu4_3 layer, x t Represents the original data, represents the synthesized LDCT image;
[0080] After adding the input of synthetic data, the denoising process of the present invention can have additional samples. Given an input x t , the synthesis network produces a synthetic LDCT image It is then appended to the input. So when the denoising framework starts processing the composite When , the denoising process is optimized by minimizing the following process:
[0081]
[0082] in, and yes L1 loss function and feature loss function.
[0083] By incorporating synthetic images, the denoising model benefits from additional samples, increasing its robustness compared to relying solely on limited training samples. This augmentation strategy also further enhances the generalization ability of the denoising model.
[0084] S5, the denoising network automatically denoises the target domain image;
[0085] S700, when testing the denoising network, you only need to input the image to be tested, without inputting the denoising gold standard or source domain image. The denoising network will automatically perform low-dose image denoising based on the test image.
[0086] The denoising results of the present invention on the bright peak synthetic dataset image are as follows: Figure 4 As shown in Figure 2, the denoising results of the present invention on the bright peak phantom dataset image are as follows: Figure 5 As shown in Figure 2, the denoising results of the present invention on the Siemens clinical dataset image are as follows: Figure 6 shown.
[0087] The present invention provides a CT image denoising method based on iterative knowledge transfer and style generalization learning, and proposes a new domain adaptive denoising framework, which combines knowledge transfer and style generalization learning to effectively solve the domain difference problem. Specifically, the present invention adopts an iterative knowledge transfer method including knowledge distillation, and trains a target model using unlabeled target data and a source domain model pre-trained using paired simulation data. At the same time, the present invention introduces an average teacher mechanism to update the source model so that it can adapt to the target domain. In addition, the present invention also designs a style generalization learning process to enrich the style diversity of the training data set.
[0088] Example 2
[0089] An electronic device, such as Figure 7 As shown, it includes: a memory on which program code is stored; a processor connected to the memory, and when the program code is executed by the processor, a CT image denoising method based on iterative knowledge transfer and style generalization learning is implemented. For a detailed description of the method, reference can be made to the corresponding description in the above method embodiment, which will not be repeated here.
[0090] Example 3
[0091] A computer readable storage medium such as Figure 8 As shown, program instructions are stored thereon, and when the program instructions are executed, a CT image denoising method based on iterative knowledge transfer and style generalization learning is implemented. For a detailed description of the method, reference may be made to the corresponding description in the above method embodiment, which will not be repeated here.
[0092] The number of devices and processing scales described here are used to simplify the description of the present invention. Applications, modifications and variations of the present invention will be obvious to those skilled in the art.
[0093] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and implementation modes. They can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to the specific details and the illustrations shown and described herein.
[0094] The apparatus, electronic device, non-volatile computer storage medium and method provided in the embodiments of this specification correspond to each other, and therefore, the apparatus, electronic device and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, electronic device and non-volatile computer storage medium will not be repeated here.
[0095] Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, the controller can be made to implement the same function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software units for implementing the method and structures within the hardware component.
[0096] The systems, devices or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. For the convenience of description, the above devices are described separately by functions in various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or more software and / or hardware.
[0097] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0098] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0099] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0100] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0101] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0102] The specification may be described in the general context of computer-executable instructions executed by a computer, such as program units. Generally, program units include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program units may be located in local and remote computer storage media, including storage devices.
[0103] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0104] The above description is only an embodiment of this specification and is not intended to limit one or more embodiments of this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of one or more embodiments of this specification.
Claims
1. CT image denoising method based on iterative knowledge transfer and style generalization learning, It is characterized in that The following steps are involved: Determine the source domain and target domain through medical image datasets; Pre-training a source domain model using data from the source domain; Inputting the target domain image into a pre-trained source domain model and a non-pre-trained target domain model in parallel; The output result of the source domain model is used as a pseudo label, and the target domain model is learned under the guidance of the pseudo label; Synthesize images with similar content but slightly different noise patterns from the input through the style generalization learning model, and augment the synthesized images to the input dataset; The image to be tested is input into the denoising network for low-dose image denoising.
2. The CT image denoising method based on iterative knowledge transfer and style generalization learning as claimed in claim 1, Features: The medical image datasets include the AAPM-Mayo dataset, the bright peak synthetic dataset, the bright peak phantom dataset, and the Siemens clinical dataset.
3. The CT image denoising method based on iterative knowledge transfer and style generalization learning as claimed in claim 2, Features: Determining the source domain and the target domain through the medical image dataset comprises the following steps: The AAPM-Mayo dataset is used as the source domain; The bright peak synthetic dataset, the bright peak phantom dataset, and the Siemens clinical dataset are used as target domains.
4. The CT image denoising method based on iterative knowledge transfer and style generalization learning as claimed in claim 1, Features: The source domain model adopts the UNet network structure.
5. The CT image denoising method based on iterative knowledge transfer and style generalization learning as claimed in claim 1, Features: The process of learning the target domain model under the guidance of the pseudo-labels is optimized by minimizing the distillation loss: ζ feature =‖Gr(E t ( x t ))-Gr(E s ( x t ))‖ F , g distill =ζ L1 +g feature , in, represents the output of the target domain model, represents the output of the source domain model, ζ L1 represents L1 loss, E s and E t Represent the encoders of the source domain model and the target domain model respectively, Gr represents Gram transform, ‖·‖ F represents the Frobenius norm, ζ feature represents the feature loss, ζ distill Represents distillation loss.
6. The CT image denoising method based on iterative knowledge transfer and style generalization learning as claimed in claim 1, Features: After the step of using the output of the source domain model as a pseudo label and learning the target domain model under the guidance of the pseudo label, the following steps are also included: The source domain model is updated with the target domain model as a reference using an average teacher mechanism.
7. The CT image denoising method based on iterative knowledge transfer and style generalization learning as claimed in claim 6, Features: In the step of updating the source domain model with reference to the target domain model, for each round of training, the source domain model is updated as: θ(φ s )=αθ(φ s ')+(1-α)θ(φ t ), Among them, α is the smoothing coefficient hyperparameter, and θ(·) represents the parameter that needs to be updated.
8. The CT image denoising method based on iterative knowledge transfer and style generalization learning as claimed in claim 5, Features: The method of synthesizing an image with similar content but slightly different noise pattern from the input through the style generalization learning model and expanding the synthesized image to the input dataset also includes the following steps: The original data is input into the style generalization learning model and constrained by the content loss function: Among them, ω content is the content weight, and the features are extracted using the pre-trained VGG network. i = 2 represents the second layer extracted from the VGG network; Use perceptual loss to measure the style gap between the synthesized image and the original data: Among them, ω style is the style weight, i represents the i-th layer extracted from the VGG network, x t Represents the original data, represents the synthesized LDCT image; The synthesized LDCT image is appended to the original data, and when the denoising framework processes the synthesized LDCT image, the denoising process is optimized by minimizing the distillation loss: in, and yes L1 loss function and feature loss function.
9. An electronic device, It is characterized in that include: A memory having program code stored therein; A processor is connected to the memory, and when the program code is executed by the processor, the method according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium, It is characterized in that Program instructions are stored thereon, and when the program instructions are executed, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Synthetic method and system for synthesizing MR image into CT image based on domain adaptation
CN115375599A
Noise removal method for low-dose X-ray CT image
CN116630195A
Medical image segmentation method, system and device, storage medium and product
CN116758286A
Method and system for denoising CT images using a neural network
US20210290191A1
