A CT image generation method, device, electronic device and computer storage medium
By performing calibration, segmentation and polynomial fitting correction on CT images, the problem of information loss when removing ring artifacts in the existing technology is solved, high-quality CT image generation is achieved, and the original detailed structure of the image is retained.
Patent Information
- Application Number
- CN202111131788.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-09-26
AI Technical Summary
Existing CT image generation technology will cause the loss of the original information of the image when removing ring artifacts, affecting the image quality and detailed structure.
By performing calibration, segmentation, orthographic projection processing and polynomial fitting correction on the original CT projection image, the target CT image is generated, retaining the structural information and original detailed structure of the detected object.
It effectively removes ring artifacts from CT images while retaining the original information and detailed structure of the image, improving image quality.
Smart Images

Figure CN113989400B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of image processing technology, and in particular relates to a CT image generation method, device, electronic equipment and computer storage medium. Background Art
[0002] CT image generation technology obtains the projection data of the object within a certain angle range through the relative movement between the object to be inspected and the detector, and reconstructs the projection data into three-dimensional volume data of the object to be inspected through an algorithm. During the image acquisition process, due to the inconsistency and nonlinearity of the detector unit response, the projection data will be degraded to a certain extent. After the degraded projection data is reconstructed by the algorithm, artifacts will be generated in the reconstructed image, affecting subsequent image processing and analysis. Therefore, the CT image generation process should remove the image artifact information as much as possible. Although the annular artifact removal method of the prior art can correct the annular artifact, it will cause the loss of some original information of the image during the data processing process, resulting in image blur and quality degradation in the reconstructed image.
[0003] Therefore, there is an urgent need for an image generation method that can remove ring artifacts from CT images while protecting the original information of the image as much as possible. Summary of the invention
[0004] The embodiments of the present application provide a CT image generation method, device, electronic device and computer storage medium, which can achieve a good ring artifact removal effect while retaining the original CT image detail structure.
[0005] On the one hand, an embodiment of the present application provides a CT image generation method, comprising:
[0006] Calibrate the original CT projection image of the detected object to obtain first attenuation projection data;
[0007] reconstructing the first attenuated projection data to obtain a first image;
[0008] Segmenting the first image to obtain a second image, wherein each portion of the second image corresponds to a different material of the detected object, and a value of each portion of the second image is related to a ray attenuation coefficient of the corresponding material;
[0009] Performing forward projection processing on the second image to obtain second attenuation projection data;
[0010] generating a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data;
[0011] Correcting the first attenuation projection data using the polynomial fitting function to obtain third attenuation projection data;
[0012] The third attenuation projection data is reconstructed to generate a target CT image.
[0013] On the other hand, an embodiment of the present application provides a CT image generating device, including:
[0014] A calibration module, used for calibrating the original CT projection image of the detected object to obtain first attenuation projection data;
[0015] A first reconstruction module, used for reconstructing the first attenuated projection data to obtain a first image;
[0016] a segmentation processing module, configured to segment the first image to obtain a second image, wherein each portion of the second image corresponds to a different material of the detected object, and a value of each portion of the second image is related to a ray attenuation coefficient of the corresponding material;
[0017] A forward projection processing module, used for performing forward projection processing on the second image to obtain second attenuation projection data;
[0018] A generating module, configured to generate a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data;
[0019] a correction module, configured to correct the first attenuation projection data using the polynomial fitting function to obtain third attenuation projection data;
[0020] The second reconstruction module is used to reconstruct the third attenuation projection data to generate a target CT image.
[0021] On the other hand, an embodiment of the present application provides an electronic device, including: a processor and a memory storing computer program instructions.
[0022] When the processor executes the computer program instructions, the CT image generation method provided in the embodiment of the present application is implemented.
[0023] On the other hand, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the CT image generation method provided in the embodiment of the present application is implemented.
[0024] The CT image generation method, device, electronic device and computer storage medium of the embodiment of the present application can segment the first image reconstructed from the first attenuation projection data to obtain the second image according to the material information of each part of the detected object; since the material information of each part of the detected object can reflect the boundary information of each part of the detected object, and thus can reflect the structural information of the detected object, the second image and the second attenuation projection data obtained by the forward projection processing of the second image can both retain the structural information of the detected object; then, the first attenuation projection data is corrected using the second attenuation projection data, which can also retain the structural information of the detected object. Therefore, reconstructing the CT image using the corrected third attenuation projection data can remove the ring artifacts of the CT image while retaining the original image detail structure. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0026] Figure 1 It is a flowchart of the CT image generation method provided by the present application;
[0027] Figure 2 is a schematic diagram of a grayscale histogram of a CT original projection image provided by an embodiment of the present application;
[0028] Figure 3 It is a schematic diagram of a specific embodiment of a CT image generation method provided by an embodiment of the present application;
[0029] Figure 4 is a CT original projection image provided by an embodiment of the present application;
[0030] Figure 5 yes Figure 4 The original CT projection image shown is Figure 3 The target CT image obtained after being processed by the CT image generation method shown;
[0031] Figure 6 is a schematic diagram of another specific embodiment of a CT image generation method provided by an embodiment of the present application;
[0032] Figure 7 yes Figure 4 The original CT projection image shown is Figure 6 The target CT image obtained after being processed by the CT image generation method shown;
[0033] Figure 8is a schematic diagram of another specific embodiment of a CT image generation method provided by an embodiment of the present application;
[0034] Fig. 9 yes Figure 4 The original CT projection image shown is Figure 8 The target CT image obtained after being processed by the CT image generation method shown;
[0035] Fig.10 is a structural schematic diagram of a CT image generating device provided by an embodiment of the present application;
[0036] Fig.11 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0037] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0038] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0039] The embodiment of the present application provides a CT image generation method, device, electronic device and computer storage medium. The CT image generation method provided by the embodiment of the present application is first introduced below.
[0040] Figure 1 A flow chart of a CT image generation method provided in one embodiment of the present application is shown.
[0041] like Figure 1As shown, the CT image generation method of the present application includes:
[0042] Step 101, calibrating the original CT projection image of the detected object to obtain first attenuation projection data;
[0043] Step 102, reconstructing the first attenuated projection data to obtain a first image;
[0044] Step 103, segmenting the first image to obtain a second image, wherein each part of the second image corresponds to a different material of the detected object, and a value of each part of the second image is related to a ray attenuation coefficient of the corresponding material;
[0045] Step 104, performing forward projection processing on the second image to obtain second attenuation projection data;
[0046] Step 105, generating a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data;
[0047] Step 106, correcting the first attenuation projection data using the polynomial fitting function to obtain third attenuation projection data;
[0048] Step 107: reconstruct the third attenuation projection data to generate a target CT image.
[0049] The CT image generating method of the present application can be implemented by the CT image generating device of the present application.
[0050] In step 101, a CT image generating device calibrates an original CT projection image of a detected object to obtain first attenuation projection data.
[0051] The object to be tested is a structural part composed of one or more materials, and the material type and density of each part are known.
[0052] The original CT projection image is a projection image P of an object within a certain angle range acquired by the CT system through the relative motion between the object being detected and the detector. n .
[0053] The original CT projection image is the actual image acquired by the CT system, which contains projection data of the detected object and may also contain interference data such as artifact information.
[0054] The first attenuation projection data is projection data after the original CT projection image is calibrated, and may also be called original attenuation projection data.
[0055] Image calibration may be performed using no-load image calibration or zero-point image calibration, or using both no-load image and zero-point image calibration, or may include other image calibration methods, which are not limited in the present application.
[0056] In step 102, the CT image generating device may reconstruct the first attenuation projection data using a CT image reconstruction algorithm to obtain a first image.
[0057] For example, the CT image generating device reconstructs the first attenuation projection data using the FDK algorithm to obtain the first image.
[0058] The first image is an original reconstructed image of the object obtained by the CT image generation device based on the first attenuation data. The first image is three-dimensional volume data composed of M tomographic images.
[0059] In step 103, the CT image generating device segments the first image to obtain a second image, wherein each part of the second image corresponds to a different material of the detected object, and the value of each part of the second image is related to the ray attenuation coefficient of the corresponding material.
[0060] The CT image generating device can segment the first image according to the material information of the detected object to obtain the second image.
[0061] Object material information includes the material type, density, structure, etc. of the object.
[0062] Each part of the second image corresponds to a different material of the detected object, and the ray attenuation coefficient corresponding to the material of the detected object in each part of the second image can be obtained by calculation.
[0063] In the embodiment of the present application, the ray attenuation coefficient of the material corresponding to the detected object can be obtained by the following method:
[0064] Calculate the radiation attenuation coefficient μ of different materials based on the radiation energy spectrum f(E) and material information i .
[0065] The ray attenuation coefficient corresponding to the material of the detected object is the sum of the products of the size of a unit pixel of the detected object and the linear attenuation coefficient of the ray corresponding to the unit pixel.
[0066] The specific formula is as follows:
[0067]
[0068] Where K is the number of segments of the energy spectrum f(E), j is the energy segment index, and E j is the energy of the ray in the j energy range, The energy of the i-th material pair is E jThe linear attenuation coefficient of the ray, d is the size of the unit pixel in the original reconstructed image.
[0069] The ray attenuation coefficient corresponding to the material of the detected object can be assigned to the corresponding material of each part of the second image.
[0070] In step 104, the CT image generation device performs forward projection processing on the second image according to the parameters in the process of the CT system actually acquiring the CT projection image, so as to obtain second attenuation projection data.
[0071] The parameters of the CT system in the process of actually acquiring CT projection images include the path from the ray source to the detection unit and the path angle information.
[0072] The second attenuation projection data is CT projection data predicted according to the material and structure information of the detected object. The second attenuation projection data may also be referred to as theoretical attenuation projection data.
[0073] The forward projection process is the process of collecting projection data using integral transform during CT scanning.
[0074] In step 105, the CT image generating device generates a polynomial fitting function f(A) according to the first attenuation projection data and the second attenuation projection data. n )=a0+a1A n +…+a m A n m .
[0075] The CT image generating device may directly use the first attenuation projection data and the second attenuation projection data to generate a polynomial fitting function, or may pre-process the first attenuation projection data and the second attenuation projection data and generate a polynomial fitting function based on the processed data.
[0076] The polynomial fitting function can be used to correct the first attenuation projection data. The polynomial fitting function can be obtained by using the least squares method to solve the polynomial coefficients a0, a1, ... a that meet the minimum mean square error. m .
[0077] In step 106, the CT image generation device uses a polynomial fitting function f(A n ) That is, the correction function corrects the first attenuation projection data to obtain the third attenuation projection data.
[0078] The third attenuation projection data is corrected attenuation projection data obtained by correcting the first attenuation projection data.
[0079] Using polynomial fitting function f(A n ) for the first attenuation projection data Correction is performed to obtain the corrected attenuation projection data The specific correction formula is as follows:
[0080]
[0081] In step 107, the CT image generation device reconstructs the corrected attenuation projection data using a CT image reconstruction algorithm to obtain a corrected projection image.
[0082] The corrected projection image is a CT image with ring artifacts eliminated.
[0083] The CT image generation method, device, electronic device and computer storage medium of the embodiment of the present application can segment the first image reconstructed from the first attenuation projection data to obtain the second image according to the material information of each part of the detected object; since the material information of each part of the detected object can reflect the boundary information of each part of the detected object, and thus can reflect the structural information of the detected object, the second image and the second attenuation projection data obtained by the forward projection processing of the second image can both retain the structural information of the detected object; then, the first attenuation projection data is corrected using the second attenuation projection data, which can also retain the structural information of the detected object. Therefore, reconstructing the CT image using the corrected third attenuation projection data can remove the ring artifacts of the CT image while retaining the original image detail structure.
[0084] Optionally, calibrating the original CT projection image of the detected object to obtain the first attenuation projection data includes:
[0085] The original CT projection image is corrected using a zero-point image and an idle image of the detector unit acquired in advance to obtain the first attenuation projection data.
[0086] In one embodiment of the present application, a CT image generating device obtains N projection images P of the detected object at different positions acquired by a CT system. n As well as the no-load image F and the zero-point image Z of the detector unit, the projection image P is respectively n Perform correction to obtain the original attenuation projection data The specific formula is as follows:
[0087]
[0088] The zero-point image is the detector data under no radiation exposure, and the no-load image is the detector response under full radiation exposure when there is no scanning object.
[0089] Performing zero-load calibration and no-load calibration on the projected image can avoid interference of the information of the image generating device itself on the effect of the generated image.
[0090] Optionally, segmenting the first image to obtain a second image includes:
[0091] Performing threshold segmentation on the first image according to the material type information of the detected object to obtain a second image; or,
[0092] The point cloud data of the detected object is registered with the first image, and the first image is segmented according to a structural diagram of the detected object to obtain a second image, wherein the structural diagram of the detected object includes the point cloud data of the detected object.
[0093] In one of the embodiments of the present application, the CT image generating device determines a threshold value for image segmentation according to pre-acquired grayscale information of the detected object, and performs threshold segmentation on the first image according to the threshold information to obtain a second image.
[0094] The grayscale information of the detected object can be obtained through the grayscale histogram of the original reconstructed image of the detected object.
[0095] like Figure 2 As shown, the grayscale histogram of the detected object includes grayscale values and the number of pixels corresponding to the grayscale values.
[0096] In another embodiment of the present application, the CT image generating device may also register the original projection image according to the point cloud data of the detected object, and perform image segmentation according to the structural diagram of the detected object.
[0097] The point cloud data of the detected object can be data in a three-dimensional coordinate system containing color and intensity information collected by a 3D scanner or camera. The intensity information is related to the material of the detected object, the radiation energy and wavelength of the scanning instrument, etc.
[0098] The structural diagram of the detected object includes information such as the material, structure, and boundary of the detected object. The structural diagram of the detected object may be a CAD image of the detected object or other image data including information such as the material, structure, and boundary of the detected object.
[0099] The CT image generation method of this embodiment retains the original information of the detected object and avoids the loss of the original information by segmenting the first image according to the material and structure information of the detected object.
[0100] Optionally, the threshold of the threshold segmentation is determined by grayscale information of the first image.
[0101] Optionally, the threshold of the threshold segmentation is determined by the following steps:
[0102] Determining a grayscale peak value of each grayscale area according to a grayscale histogram of the first image;
[0103] Determine the minimum grayscale value in the grayscale histogram that meets the first preset condition as the threshold value of the threshold segmentation;
[0104] The preset condition is that the number of pixel points corresponding to the grayscale value is less than a preset value of the number of pixel points corresponding to the previous grayscale peak value.
[0105] In one embodiment of the present application, the CT image generation device obtains a histogram of an original reconstructed image of the detected object, and determines peak information P of the gray value histogram of the original reconstructed image. i , determine the index of the peak information The CT image generation device compares the gray value information, determines the gray value in the gray histogram that satisfies the preset threshold value that the number of pixels corresponding to the gray value is less than the number of pixels corresponding to the previous gray peak, and determines the index of the minimum gray value that satisfies this condition. Threshold T i for The corresponding grayscale value. The specific formula is as follows:
[0106]
[0107]
[0108] The grayscale histogram of the original reconstructed image can be obtained by the HIST function of MATLAB. The grayscale peak data is the number of pixels and grayscale values corresponding to the peak in the grayscale histogram. The peaks of the grayscale histogram correspond to different materials of air and the object being detected. The preset threshold can be determined according to actual needs, and this application does not limit this. For example: the preset threshold can be 0.05. The grayscale value corresponding to the threshold is greater than the grayscale value corresponding to the previous peak in the grayscale histogram.
[0109] Optionally, performing forward projection processing on the second image to obtain second attenuation projection data includes:
[0110] According to the path information from the ray source to the detector unit during the acquisition process of the original CT projection image, the second image is forward projected to obtain the second attenuation projection data.
[0111] In one embodiment of the present application, the forward projection process is to calculate the ray attenuation coefficient μ corresponding to the ray passing through the segmented image in the path from the ray source to the detector unit at an angle θ. i On its path through the segmented image The integral over , where d is the size of the unit pixel in the second image. The specific formula is as follows:
[0112]
[0113] The forward projection processing of this embodiment can obtain theoretical attenuation projection data of the detected object, so that the original attenuation projection data can be corrected using the theoretical attenuation data.
[0114] Optionally, generating a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data includes:
[0115] Point-wise dividing the first attenuation projection data by the second attenuation projection data to obtain a plurality of ratios;
[0116] Eliminating abnormal data from the first attenuation projection data and the second attenuation projection data to obtain third attenuation projection data and fourth attenuation projection data, wherein the abnormal data is projection data corresponding to the ratio that satisfies a second preset condition in the first attenuation projection data and the second attenuation projection data;
[0117] A polynomial fitting is performed on the third attenuation projection data and the fourth attenuation projection data to generate the polynomial fitting function.
[0118] In one embodiment of the present application, the CT image generation device generates a polynomial fitting function according to the original attenuation projection data and the theoretical attenuation projection data, and can pre-process the original attenuation projection data and the theoretical attenuation projection data to eliminate abnormal data.
[0119] Dividing the original attenuation projection data by the theoretical attenuation projection data to obtain a plurality of ratios, and calculating standard deviation information of the ratios;
[0120] Abnormal data are removed from the original attenuation projection data and the theoretical attenuation projection data according to the ratio and the standard deviation information to obtain the preprocessed original attenuation projection data and the theoretical attenuation projection data.
[0121] The abnormal data refers to the data whose ratio obtained by point division between the original attenuated projection data and the theoretical projection data satisfies the preset condition data. The preset condition can be set according to actual needs, for example: data whose deviation from the mean of the ratio is greater than 2 times the standard deviation of the ratio. This application does not limit this.
[0122] The CT image generation method of this embodiment can better remove noise interference in CT image generation and improve the correction quality of CT images by eliminating abnormal values of original attenuation projection data and theoretical attenuation projection data.
[0123] The present application also provides a specific embodiment of the CT image generation method as follows:
[0124] Figure 3 The present application provides a specific embodiment 1 of a CT image generation method, and the CT image generation result is as follows Figure 5 shown.
[0125] Figure 4 A CT projection image collected by a CT system is shown. The following specific embodiments are based on Figure 4 The CT projection images shown are original CT projection images.
[0126] like Figure 3 The specific embodiment of the CT image generation method shown includes:
[0127] Step 301 , calibrate the original CT projection image using the pre-collected detector idle image and zero-point image to obtain first attenuation projection data.
[0128] Step 302: Reconstruct the original attenuation projection data into a first image consisting of M tomographic images using the FDK algorithm.
[0129] Step 303: Perform threshold segmentation on the first image according to the object material information to obtain a second image, where the threshold is determined by the grayscale histogram of the first image.
[0130] Step 304, calculating the radiation attenuation coefficients of different materials according to the radiation energy spectrum and the material type.
[0131] Step 305: assign the calculated ray attenuation coefficients to corresponding parts of the second image respectively.
[0132] Step 306 , forward projecting the second image according to the ray paths at different angles actually acquired by the CT system to obtain second attenuation projection data.
[0133] Step 307: Use the first attenuated projection data and the second attenuated projection data to make a polynomial fitting function, and use the least square method to determine the polynomial coefficients when the mean square error is minimized.
[0134] Step 308: Correct the first attenuation projection data using the obtained polynomial fitting function to obtain third attenuation projection data.
[0135] Step 309: reconstruct the third attenuated projection data using the FDK algorithm to obtain a CT reconstructed image with the ring artifact removed.
[0136] Figure 6 The present application provides a specific embodiment 2 of a CT image generation method, and the CT image generation result is as follows Figure 7 shown.
[0137] like Figure 6 The specific embodiment of the CT image generation method shown includes:
[0138] Step 601: calibrate the original CT projection image using the pre-collected detector idle image and zero-point image to obtain first attenuation projection data.
[0139] Step 602: Reconstruct the original attenuation projection data into a first image consisting of M tomographic images using the FDK algorithm.
[0140] Step 603 , performing threshold segmentation on the first image according to the object material information to obtain a second image, wherein the threshold is determined by the grayscale histogram of the first image.
[0141] Step 604, calculating the radiation attenuation coefficients of different materials according to the radiation energy spectrum and the material type.
[0142] Step 605: assign the calculated ray attenuation coefficients to corresponding parts of the second image respectively.
[0143] Step 606 , forward projecting the second image according to the ray paths at different angles actually acquired by the CT system to obtain second attenuation projection data.
[0144] Step 607: divide the first attenuation projection data by the second attenuation projection data to obtain a ratio, calculate the standard deviation of the ratio, find data in the ratio that deviates from the mean by more than two standard deviations, record the index, and remove the corresponding data in the first attenuation projection data and the second attenuation projection data.
[0145] Step 608: Use the first attenuated projection data and the second attenuated projection data after the abnormal data is removed to make a polynomial fitting function, and use the least square method to determine the polynomial coefficients when the mean square error is minimized.
[0146] Step 609: Correct the first attenuation projection data using the obtained polynomial fitting function to obtain third attenuation projection data.
[0147] Step 6010: reconstruct the third attenuated projection data using the FDK algorithm to obtain a CT reconstructed image with the ring artifact removed.
[0148] Figure 8 Another specific embodiment 3 of the CT image generation method provided by the present application is shown. The CT image generation result is as follows Fig. 9 As shown, Figure 8 The specific embodiment of the CT image generation method shown includes:
[0149] Step 801 , calibrate the original CT projection image using the pre-collected detector idle image and zero-point image to obtain first attenuation projection data.
[0150] Step 802: Reconstruct the original attenuation projection data into a first image consisting of M tomographic images using the FDK algorithm.
[0151] Step 803: align the point cloud data of the detected object with the first image, and segment the first image according to the CAD image of the detected object to obtain a second image.
[0152] Step 804, calculating the radiation attenuation coefficients of different materials according to the radiation energy spectrum and the material type.
[0153] Step 805: assign the calculated ray attenuation coefficients to corresponding parts of the second image respectively.
[0154] Step 806 , forward projecting the second image according to the ray paths at different angles actually acquired by the CT system to obtain second attenuation projection data.
[0155] Step 807: divide the first attenuation projection data by the second attenuation projection data to obtain a ratio, calculate the standard deviation of the ratio, find data in the ratio that deviates from the mean by more than two standard deviations, record the index, and remove the corresponding data in the first attenuation projection data and the second attenuation projection data.
[0156] Step 808, using the first attenuated projection data and the second attenuated projection data after the abnormal data is removed, a polynomial fitting function is made, and the polynomial coefficients with the minimum mean square error are determined by the least square method.
[0157] Step 809: Correct the first attenuation projection data using the obtained polynomial fitting function to obtain third attenuation projection data.
[0158] Step 8010: reconstruct the third attenuated projection data using the FDK algorithm to obtain a CT reconstructed image with the ring artifact removed.
[0159] Fig.10 FIG. 1 is a schematic diagram of a CT image generating device provided by an embodiment of the present application. Fig.10 As shown, the CT image generating device 1000 of the present application includes:
[0160] The calibration module 1001 is used to calibrate the original CT projection image of the detected object to obtain first attenuation projection data;
[0161] A first reconstruction module 1002, configured to reconstruct the first attenuated projection data to obtain a first image;
[0162] A segmentation processing module 1003 is used to segment the first image according to the material of the detected object and the corresponding ray attenuation coefficient to obtain a second image;
[0163] A forward projection processing module 1004, configured to perform a forward projection process on the second image to obtain second attenuation projection data;
[0164] A generating module 1005, configured to generate a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data;
[0165] A correction module 1006, configured to correct the first attenuation projection data using the polynomial fitting function to obtain third attenuation projection data;
[0166] The second reconstruction module 1007 is used to reconstruct the third attenuation projection data to generate a target CT image.
[0167] Optionally, the calibration module 1001 is specifically configured to calibrate the original CT projection image using a zero-point image and an idle image of a detector unit acquired in advance, so as to obtain the first attenuation projection data.
[0168] Optionally, the segmentation processing module 1003 includes:
[0169] The first segmentation unit is used to perform threshold segmentation on the first image according to the material type information of the detected object to obtain a second image.
[0170] Optionally, the segmentation processing module 1003 includes:
[0171] A registration unit, used for registering the point cloud data of the detected object with the first image;
[0172] The second segmentation unit is used to segment the first image according to the structural diagram of the detected object to obtain a second image, wherein the structural diagram of the detected object includes point cloud data of the detected object.
[0173] Optionally, the threshold of the threshold segmentation is determined by grayscale information of the first image.
[0174] Optionally, the CT image generating device 1000 further includes:
[0175] A threshold determination module is used to determine the grayscale peak data of the first image in each grayscale area based on the grayscale histogram of the first image; obtain the minimum grayscale value in the grayscale histogram that meets the preset conditions; the preset condition is that the number of pixels corresponding to the grayscale value is less than the grayscale value of the preset threshold value corresponding to the number of pixels corresponding to the previous grayscale peak.
[0176] Optionally, the orthographic projection processing device 1004 is specifically used for:
[0177] According to the path parameter information from the ray source to the detector unit during the process of the CT system acquiring the projection image of the original CT projection image, the second image is forward projected to obtain second attenuation projection data.
[0178] Optionally, the generating module 1005 may include:
[0179] a data processing unit, configured to divide the first attenuation projection data and the second attenuation projection data by points to obtain a plurality of ratios; and remove abnormal data from the first attenuation projection data and the second attenuation projection data to obtain third attenuation projection data and fourth attenuation projection data, wherein the abnormal data is projection data corresponding to the ratio that satisfies a preset condition in the first attenuation projection data and the second attenuation projection data;
[0180] A generating unit is used to perform polynomial fitting on the third attenuation projection data and the fourth attenuation projection data to generate the polynomial fitting function.
[0181] The CT image generation method, device, electronic device and computer storage medium of the embodiment of the present application can segment the first image reconstructed from the first attenuation projection data to obtain the second image according to the material information of each part of the detected object; since the material information of each part of the detected object can reflect the boundary information of each part of the detected object, and thus can reflect the structural information of the detected object, the second image and the second attenuation projection data obtained by the forward projection processing of the second image can both retain the structural information of the detected object; then, the first attenuation projection data is corrected using the second attenuation projection data, which can also retain the structural information of the detected object. Therefore, reconstructing the CT image using the corrected third attenuation projection data can remove the ring artifacts of the CT image while retaining the original image detail structure.
[0182] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0183] The electronic device 1100 may include a processor 1101 and a memory 1102 storing computer program instructions.
[0184] Specifically, the processor 1101 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0185] The memory 1102 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1102 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 1102 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 1102 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1102 is a non-volatile solid-state memory.
[0186] In certain embodiments, memory 1102 includes a read-only memory (ROM). The ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of the above, where appropriate.
[0187] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0188] The processor 1101 reads and executes computer program instructions stored in the memory 1102 to implement any one of the CT image generation methods in the above embodiments.
[0189] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0190] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Computer-readable medium" can include any medium capable of storing or transmitting information. Examples of computer-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0191] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0192] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box 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, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0193] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A CT image generation method, characterized in that: include: Calibrate the original CT projection image of the detected object to obtain first attenuation projection data; reconstructing the first attenuated projection data to obtain a first image; Segmenting the first image to obtain a second image, wherein each portion of the second image corresponds to a different material of the detected object, and a value of each portion of the second image is related to a ray attenuation coefficient of the corresponding material; Performing forward projection processing on the second image to obtain second attenuation projection data; generating a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data; Correcting the first attenuation projection data using the polynomial fitting function to obtain third attenuation projection data; Reconstructing the third attenuation projection data to generate a target CT image; Wherein, generating a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data comprises: Point-wise dividing the first attenuation projection data by the second attenuation projection data to obtain a plurality of ratios; Eliminating abnormal data from the first attenuation projection data and the second attenuation projection data to obtain third attenuation projection data and fourth attenuation projection data, wherein the abnormal data is projection data corresponding to the ratio that satisfies a second preset condition in the first attenuation projection data and the second attenuation projection data; A polynomial fitting is performed on the third attenuation projection data and the fourth attenuation projection data to generate the polynomial fitting function.
2. The CT image generation method according to claim 1, characterized in that: The calibrating the original CT projection image of the detected object to obtain the first attenuation projection data includes: The original CT projection image is corrected using a zero-point image and an idle image of the detector unit acquired in advance to obtain the first attenuation projection data.
3. The CT image generation method according to claim 1, characterized in that: The step of segmenting the first image to obtain a second image includes: Performing threshold segmentation on the first image according to the material type information of the detected object to obtain a second image; or, The point cloud data of the detected object is registered with the first image, and the first image is segmented according to a structural diagram of the detected object to obtain a second image, wherein the structural diagram of the detected object includes the point cloud data of the detected object.
4. The CT image generation method according to claim 3, characterized in that: The threshold of the threshold segmentation is determined by the grayscale information of the first image.
5. The CT image generation method according to claim 4, characterized in that: The threshold of the threshold segmentation is determined by the following steps: Determining a grayscale peak value of each grayscale area according to a grayscale histogram of the first image; Determine the minimum grayscale value in the grayscale histogram that meets the first preset condition as the threshold value of the threshold segmentation; The preset condition is that the number of pixel points corresponding to the grayscale value is less than a preset value of the number of pixel points corresponding to the previous grayscale peak value.
6. The CT image generation method according to claim 1, characterized in that: The performing forward projection processing on the second image to obtain second attenuation projection data includes: According to the path information from the ray source to the detector unit during the acquisition process of the original CT projection image, the second image is forward projected to obtain second attenuation projection data.
7. A CT image generating device, characterized in that: include; A calibration module, used for calibrating the original CT projection image of the detected object to obtain first attenuation projection data; A first reconstruction module, used for reconstructing the first attenuated projection data to obtain a first image; a segmentation processing module, configured to segment the first image to obtain a second image, wherein each portion of the second image corresponds to a different material of the detected object, and a value of each portion of the second image is related to a ray attenuation coefficient of the corresponding material; A forward projection processing module, used for performing forward projection processing on the second image to obtain second attenuation projection data; A generating module, configured to generate a polynomial fitting function according to the first attenuation projection data and the second attenuation projection data; a correction module, configured to correct the first attenuation projection data using the polynomial fitting function to obtain third attenuation projection data; a second reconstruction module, configured to reconstruct the third attenuation projection data to generate a target CT image; Wherein, the generating module comprises: a data processing unit, configured to divide the first attenuation projection data by the second attenuation projection data to obtain a plurality of ratios; and remove abnormal data from the first attenuation projection data and the second attenuation projection data to obtain third attenuation projection data and fourth attenuation projection data, wherein the abnormal data is projection data corresponding to the ratio that satisfies a second preset condition in the first attenuation projection data and the second attenuation projection data; A generating unit is used to perform polynomial fitting on the third attenuation projection data and the fourth attenuation projection data to generate the polynomial fitting function.
8. An electronic device, characterized in that: include: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the CT image generation method according to any one of claims 1 to 6 is implemented.
9. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the CT image generation method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Motion correction in radiation therapy
CN102763138A
Computer tomography pseudo shadow correction method and apparatus
CN105608721A
An industrial CT artifact correction method
CN109712212A
Method for Correcting CT Ray Beam Hardening Artifact
CN110811660A
