Chest CT reconstruction method based on X-Ray normal position film

By introducing the Scharr gradient module and Edge-Aware Loss in the X-Ray orthophone reconstruction method, the problems of X-ray two-dimensional localization and CT scanning risks are solved, the reconstruction quality of three-dimensional CT images is improved, and medical image processing is promoted development.

CN118608693APending Publication Date: 2024-09-06SOUTHWEAT UNIV OF SCI & TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410757635.X
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

Technical Problem

The two-dimensional limitations of X-ray examination lead to the risk of misdiagnosis or misdiagnosis in the diagnosis of disease, while direct CT scans face problems with high radiation exposure, high cost and equipment popularity, especially in ICU environments.

Method used

By introducing the Scharr gradient boot module and Edge-Aware Loss, the 3D Generator and 3D Discriminator models are optimized to improve the reconstruction quality from 2D X-Ray to 3D CT images using semantic prior knowledge in X-Ray orthographs.

Benefits of technology

The quality of chest CT images reconstructed from X-Ray chest radiographs has been significantly improved, breaking through the two-dimensional limitations of X-rays, and avoiding the risks and challenges of direct CT scans, promoting the application of artificial intelligence in the medical field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608693A
    Figure CN118608693A
Patent Text Reader

Abstract

The invention discloses a chest CT (Computed Tomography) reconstruction method based on an X-Ray normal position film. The method comprises the following steps: 1, preprocessing X-ray normal position chest radiography and CT data, and dividing the X-ray normal position chest radiography and CT data into a training set and a test set; 2, preliminarily constructing a chest CT reconstruction model comprising a generator and a discriminator; 3, optimizing a loss function of the chest CT reconstruction model; 4, training and testing the chest CT reconstruction model; and 5, inputting a two-dimensional X-ray normal position chest radiograph to the reconstruction model to obtain a three-dimensional CT image of the chest. According to the method, a Scharr gradient guide module is particularly introduced into an encoder part of a generator, so that semantic priori knowledge in an X-Ray normal position chest radiograph is fully utilized, and a reconstruction task of chest CT is more effectively adapted and completed. Besides, by adding Edge-Aware Loss, the model can enhance high-frequency details represented by the edge and the internal texture of the reconstructed image, and the quality of reconstructing the chest three-dimensional CT image from the two-dimensional X-Ray orthographic film is remarkably improved.
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 based on artificial intelligence, and in particular to a chest CT reconstruction method based on X-Ray frontal films. Background Art

[0002] At present, X-ray examination and CT scan are the main imaging methods for diagnosing chest diseases. X-rays are widely used because of their fast, low radiation and low cost, but their two-dimensional limitations lead to the lack of three-dimensional information, and doctors need to rely on prior knowledge to interpret, which to a certain extent increases the risk of misdiagnosis or missed diagnosis. Relatively speaking, CT scanning, with its high resolution and three-dimensional imaging capabilities, solves the problem of tissue overlap, effectively overcomes the two-dimensional limitations of X-rays, and provides more accurate information for disease diagnosis. However, direct CT scanning also has many challenges, including high radiation exposure risks, high costs, and the popularity of equipment. Especially in a complex environment such as the ICU, the instability of the patient's condition, the limited degree of cooperation between doctors and patients, and the need for special monitoring equipment make it a very challenging task to transfer patients from the ICU to the CT scanning room for CT scanning.

[0003] In recent years, with the continuous development of medical artificial intelligence, deep learning algorithms have successfully achieved reconstruction from two-dimensional X-rays to high-quality three-dimensional CT images by learning the mapping relationship between two-dimensional X-rays and three-dimensional CT images. Therefore, the present invention further explores a chest CT reconstruction method based on X-Ray anteroposterior films, which can not only break through the two-dimensional limitations of X-rays, but also avoid the risks and challenges brought by direct CT scanning, which is of great significance for promoting the application and development of artificial intelligence in the medical field. Summary of the invention

[0004] In view of the above problems, the purpose of the present invention is to propose a chest CT reconstruction method based on X-Ray frontal films. By introducing the Scharr gradient guidance module, the semantic prior knowledge in the X-Ray chest film is effectively utilized in the chest three-dimensional CT reconstruction process, and the Edge-Aware Loss is added to enhance the high-frequency details represented by the edge and internal texture of the reconstructed image, thereby effectively improving the quality of the model to reconstruct chest CT from the X-Ray chest film.

[0005] To achieve the objective of the present invention, a technical solution of a chest CT reconstruction method based on X-Ray anteroposterior films comprises the following steps:

[0006] Step 1: Construct a chest CT data queue. First, use pixel normalization and threshold processing techniques to accurately eliminate noise in CT images and crop the image size to 128×128×128mm. 3 , adjust the voxel size to 1×1×1mm3 ,Then, the corresponding chest X-ray orthotopic images are obtained by combining the ,digital reconstruction radiographic technology, and then a paired HDF5 format data set is constructed, ,of 90% of the paired data is used as a training set and 10% of the data is used as a test set;

[0007] Step 2: Preliminarily build a chest CT reconstruction model, focusing on the two core components of 3D Generator and 3D Discriminator. In order to make full use of the semantic prior knowledge in the X-Ray chest radiograph, the Scharr gradient guidance module is cleverly introduced in the Encoder part of the 3D Generator, and for the 3D Discriminator, the efficient PatchGan network structure is selected;

[0008] Step 3: Loss function optimization of chest CT reconstruction model. On the basis of Adversarial Loss, Reconstruction Loss and Projection Loss, Edge-Aware Loss is added to optimize the chest CT reconstruction model in step 2 to enhance the high-frequency details represented by the edge and internal texture of the reconstructed image, significantly improving the quality of chest 3D CT images reconstructed from 2D X-Ray anteroposterior films.

[0009] Step 4: training and testing the chest CT reconstruction model, using the training set and test set constructed in step 1 to train and test the chest CT reconstruction model respectively, to obtain the final chest CT reconstruction model;

[0010] Step 5: Use the patient's X-Ray chest radiograph as input to the chest CT reconstruction model trained and tested in step 4 to obtain the patient's three-dimensional chest CT image.

[0011] The present invention is further improved in that: in step 1, a resolution of 128×128×128 mm is used. 3 , the voxel size is 1×1×1mm 3 The HDF5 format dataset is constructed based on the paired data.

[0012] The present invention is further improved in that: in the step 2, in order to fully utilize the semantic prior knowledge in the X-Ray chest radiograph, a Scharr gradient guidance module is introduced into the Encoder part of the 3D Generator.

[0013] The present invention is further improved in that: in the step 3, in order to strengthen the high-frequency details represented by the edge and internal texture of the reconstructed image, an Edge-Aware Loss is added, and its expression is as follows:

[0014]

[0015] Where N = wh / n 2 is the number of pixels in the amplitude spectrum, w and h are the width and height of the CT image slice, n is the size of each small block in the gradient image, and M x (y) and M x (G(x)) are the amplitude spectra of the variance maps of the real CT and the generated CT in the x direction after discrete Fourier transform (DFT).

[0016] The present invention is further improved in that: in the step 3, Adversarial Loss (L lsgan )、Reconstruction Loss(L rl )、Projection Loss(L pl ), add Edge-Aware Loss (L eal ), and obtain the total loss function, which is expressed as follows:

[0017]

[0018] Among them, λ1,λ2,λ3,λ4 are used to control the relative importance of different loss terms, D * is the total loss of the discriminator, G * is the total loss of the generator.

[0019] The beneficial effects of the present invention are as follows: the present invention effectively utilizes the semantic prior knowledge in the X-Ray chest film in the process of chest three-dimensional CT reconstruction by introducing the Scharr gradient guidance module. At the same time, the Edge-Aware Loss is added to enhance the high-frequency details of the edge and internal texture representation of the reconstructed image, thereby significantly improving the quality of chest CT reconstruction from the X-Ray chest film. This can not only break through the two-dimensional limitations of X-rays, but also avoid the risks and challenges brought by direct CT scanning, which is of great significance for promoting the application and development of artificial intelligence in the medical field. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a schematic diagram of the process of the present invention.

[0021] Figure 2 3D Generator structure diagram for chest CT reconstruction model.

[0022] Figure 3 Diagram of the steps involved in reconstructing the Edge-Aware Loss model for chest CT.

[0023] Figure 4This is the effect diagram of the chest CT reconstruction model realizing CT image reconstruction based on the X-Ray AP film. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0025] The process of the present invention is as follows Figure 1 As shown, this embodiment provides a chest CT reconstruction method based on X-Ray anteroposterior films, comprising the following steps:

[0026] Step 1: The present invention uses the public data set LIDC-IDRI, which is initiated and collected by the National Cancer Institute of the United States. The data set contains 1018 chest CT image data. First, the window processing is performed by adjusting the range of the Hounsfield unit to more clearly display the structure and characteristics of the target tissue. Subsequently, the image is pixel-normalized to [0,255], and threshold processing is applied to obtain a binary image. Next, the largest connected area is identified and located in the binary image, and the largest connected area is filled using a flood filling algorithm. Finally, the portion of the CT image corresponding to the largest connected area is extracted and retained, thereby effectively removing irrelevant noise in the CT image (such as examination beds, patient clothing, etc.), to assist the model in more accurately understanding and processing CT data, thereby improving the accuracy of reconstruction.

[0027] Due to the heterogeneity of imaging protocols, the preprocessed data needs to be further processed. First, we crop the image size to 128×128×128mm. 3 , and adjust the voxel size to 1×1×1mm 3 , to ensure that the model can converge stably and effectively reduce the computational cost. Then, combined with digital reconstruction radiological imaging technology, chest X-ray orthotopic images corresponding to CT images were generated. Subsequently, these paired images were constructed as a dataset in HDF5 format for easy storage and subsequent processing. Finally, the dataset was strictly divided in a 9:1 ratio, with 90% of the paired data used as a training set and the remaining 10% of the data used as a test set to ensure the scientificity and accuracy of the model training and verification process.

[0028] Step 2: When initially constructing the chest CT reconstruction model, in order to make full use of the semantic prior knowledge in the X-Ray chest film to enhance the performance of chest three-dimensional CT reconstruction, the present invention introduces the Scharr gradient guidance module in the Encoder part of the reconstruction model 3D Generator, so that it can better adapt to complex reconstruction tasks. As for the 3D Discriminator, the PatchGAN network structure was selected. Compared with the global discrimination method of traditional GAN, PatchGAN uses local patch discrimination, which enables the chest CT reconstruction model of the present invention to pay more attention to the local details of the image, thereby further improving the reconstruction quality. The detailed structure of the 3D Generator is shown in the attached manual. Figure 2 shown.

[0029] The present invention innovatively introduces the Scharr gradient-guided module, which plays a key role in the input stage of the 3D Generator. Specifically, it is first applied to the chest X-Ray orthotopic image read from the HDF5 format dataset, and an accurate gradient feature map is generated by applying the Scharr operator. These feature maps provide key semantic prior constraints for the chest CT reconstruction model, which helps the model to understand the image information more accurately. Subsequently, in the Encoder main line of the 3D Generator, the intermediate features of the Scharr gradient-guided module are effectively fused with the intermediate features of the Encoder. This fusion strategy significantly enhances the model's ability to express image structure and details, thereby ensuring that the generated chest CT images have higher accuracy.

[0030] Step 3: In the process of optimizing the loss function of the chest CT reconstruction model, Adversarial Loss, Reconstruction Loss and Projection Loss were used to comprehensively optimize the initially established chest CT reconstruction model. However, given the conversion between inputs and outputs of two different modalities and dimensions involved in the training process in the reconstruction task, this usually leads to the loss of detail information. In order to overcome this challenge, the present invention creatively introduces Edge-Aware Loss, a loss function that aims to enhance the high-frequency details represented by the edges and internal textures of the reconstructed image. Through this strategy, the quality of chest CT reconstruction from X-Ray chest films is effectively improved. The steps involved in Edge-Aware Loss are shown in the attached manual. Figure 3 shown.

[0031] In Adversarial Loss (L lsgan )、Reconstruction Loss(L rl )、Projection Loss(Lpl ), add Edge-Aware Loss (L eal ), and obtain the total loss function, which is expressed as follows:

[0032]

[0033] Among them, λ1=0.1, λ2=10, λ3=10, λ4=1×10 -3 Used to control the relative importance of different loss terms, D * is the total loss of the discriminator, G * is the total loss of the generator.

[0034] In order to stabilize the adversarial training process and achieve more realistic details, the specific expression of Adversarial Loss is:

[0035]

[0036] Among them, y is the real CT, x is the input chest X-Ray positive image, G and D are 3D Generator and 3D Discriminator respectively, P represents the corresponding data distribution, and E represents the maximum likelihood estimation.

[0037] In order to force the voxels of the reconstructed CT to be close to the real CT, the specific expression of Reconstruction Loss is:

[0038]

[0039] Among them, y is the real CT, G(x) is the reconstructed CT, and E represents the maximum likelihood estimate.

[0040] In order to make the 2D projection of the reconstructed CT match the corresponding projections of different views in the real CT, the specific expression of ProjectionLoss is:

[0041]

[0042] Among them, y is the real CT, G(x) is the reconstructed CT, P a , P b and P c , represent the projections of the transverse, coronal and sagittal planes respectively, and E represents the maximum likelihood estimate.

[0043] In order to enhance the high-frequency details of the edge and internal texture representation of the reconstructed image, the specific expression of Edge-Aware Loss is:

[0044]

[0045] Where N = wh / n 2 is the number of pixels in the amplitude spectrum, w and h are the width and height of the CT image slice, n is the size of each small block in the gradient image, and M x (y) and M x (G(x)) are the amplitude spectra of the variance maps of the real CT and the generated CT in the x direction after discrete Fourier transform (DFT).

[0046] Step 4: For the training and testing of the chest CT reconstruction model, the present invention makes full use of the training set and test set carefully constructed in step 1. First, the chest CT reconstruction model is fully trained using the training set to optimize its performance; then, the trained model is tested using the test set to evaluate its performance in practical applications. Through this process, a rigorously trained and verified chest CT reconstruction model is finally obtained, which has excellent reconstruction capabilities and accuracy.

[0047] In the training process of the chest CT reconstruction model, the Adam optimizer is used, and its initial learning rate is set to 2e -4 , the momentum parameter β1 is set to 0.5, and β2 is set to 0.99. After 50 epochs of training, a linear learning rate decay strategy is adopted to gradually reduce the learning rate to 0 to ensure the stability and convergence of the model training. During the entire training process, Adversarial Loss, Reconstruction Loss, Projection Loss, and Edge-Aware Loss are used as generation constraints, which are jointly used in model training, and a total of 100 epochs of training are carried out. Such a training strategy ensures that the model can fully learn the characteristics of the data and generate high-quality chest CT reconstructed images.

[0048] Step 5: Using the patient's X-Ray chest radiograph as input, the trained chest CT reconstruction model can accurately generate the corresponding chest 3D CT image.

[0049] As the instruction manual Figure 3 As shown in the figure, the output results of the reconstruction model are shown. The first column presents the X-Ray chest radiograph image input to the model. The second and third columns show the real chest CT image and its corresponding lung segmentation image, respectively, as a comparison reference. The fourth and fifth columns show the CT image reconstructed by the model based on the input X-Ray image and its lung segmentation results. The last column shows the three-dimensional (3D) image of the patient's lungs further generated by the reconstructed CT image. Different rows correspond to different cases such as normal lungs, pneumothorax, and hydropneumothorax.

Claims

1. A chest CT reconstruction method based on X-Ray anteroposterior film, characterized in that: The steps include: Step 1: Construct a chest CT data queue. First, use pixel normalization and threshold processing techniques to accurately eliminate noise in CT images and crop the image size to 128×128×128mm. 3 , adjust the voxel size to 1×1×1mm 3 ,Then, the corresponding chest X-ray orthotopic images are obtained by combining the ,digital reconstruction radiographic technology, and then a paired HDF5 format data set is constructed, ,of 90% of the paired data is used as a training set and 10% of the data is used as a test set; Step 2: Preliminary construction of the chest CT reconstruction model, focusing on the two core components of 3D Generator and 3D Discriminator. In order to make full use of the semantic prior knowledge in the X-Ray chest radiograph, the Scharr gradient guidance module was cleverly introduced into the Encoder part of the 3D Generator, and for the 3D Discriminator, the efficient PatchGan network structure was selected; Step 3: Loss function optimization of chest CT reconstruction model. On the basis of Adversarial Loss, Reconstruction Loss and Projection Loss, Edge-Aware Loss is added to optimize the chest CT reconstruction model in step 2 to enhance the high-frequency details represented by the edge and internal texture of the reconstructed image, significantly improving the quality of chest 3D CT images reconstructed from 2D X-Ray anteroposterior films. Step 4: training and testing the chest CT reconstruction model, using the training set and test set constructed in step 1 to train and test the chest CT reconstruction model respectively, to obtain the final chest CT reconstruction model; Step 5: Use the patient's X-Ray chest radiograph as input to the chest CT reconstruction model trained and tested in step 4 to obtain the patient's three-dimensional chest CT image.

2. The method for chest CT reconstruction based on X-Ray anteroposterior films according to claim 1, characterized in that: In step 1, the resolution is 128×128×128 mm. 3 , the voxel size is 1×1×1mm 3 The HDF5 format dataset is constructed based on the paired data.

3. The method for chest CT reconstruction based on X-Ray anteroposterior films according to claim 1, characterized in that: In the step 2, in order to make full use of the semantic prior knowledge in the X-Ray chest radiograph, the Scharr gradient guidance module is introduced into the Encoder part of the 3D Generator.

4. The method for chest CT reconstruction based on X-Ray anteroposterior films according to claim 1, characterized in that: In step 3, in order to enhance the high-frequency details of the edge and internal texture of the reconstructed image, an Edge-Aware Loss is added, and its expression is as follows: Where N = wh / n 2 is the number of pixels in the amplitude spectrum, w and h are the width and height of the CT image slice, n is the size of each small block in the gradient image, and M x (y) and M x (G(x)) are the amplitude spectra of the variance maps of the real CT and the generated CT in the x direction after discrete Fourier transform (DFT).

5. The chest CT reconstruction method based on X-Ray AP films according to claim 1, characterized in that: In the step 3, Adversarial Loss (L lsgan )、Reconstruction Loss(L rl )、ProjectionLoss(L pl ), add Edge-Aware Loss (L eal ), and obtain the total loss function, which is expressed as follows: Among them, λ1,λ2,λ3,λ4 are used to control the relative importance of different loss terms, D * is the total loss of the discriminator, G * is the total loss of the generator.

Citation Information

Cited By

  • Method for generating EOS-like three-dimensional data from CT scanning data, computer program product and terminal equipment

    CN120374865A