Non-uniform filter energy spectrum estimation method and device based on adaptive multiple weights
Through the adaptive multi-weight non-uniform filter energy spectrum estimation method, the energy spectrum aliasing problem caused by non-uniform filters in the CT system is solved, and the accuracy and image quality of energy spectrum imaging are improved.
Patent Information
- Application Number
- CN202411073270.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-29
AI Technical Summary
In CT systems, due to the existence of a non-uniform filter, the penumbra effect caused by the focus size of the X-ray source leads to energy spectrum aliasing, resulting in large errors in energy spectrum estimation and reducing the image quality of energy spectrum imaging.
Using the non-uniform filter energy spectrum estimation method based on adaptive multi-weight, the initial energy spectrum is iteratively optimized, the adaptive multi-weight model is established, the target parameters are solved, the overall equivalent efficacy spectrum containing the non-uniform filter is generated, and the semi-shadow is fitted The energy spectrum of each detector pixel in the area.
Effectively reduce energy spectrum estimation errors, improve the accuracy of hardening correction and image quality of energy spectrum imaging.
Smart Images

Figure CN119047153A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radiation imaging technology, and in particular to a method and device for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights. Background Art
[0002] In the process of spectral CT imaging, it is essential to accurately estimate the X-ray energy spectrum. Even CT systems or X-ray imaging equipment that do not have spectral imaging capabilities need to perform hardening correction based on the X-ray energy spectrum to remove hardening artifacts in the image.
[0003] In the related technology, the filter is an important component for changing the CT energy spectrum in the CT system. Its structural design naturally affects the CT energy spectrum. Under the conventional uniform filter design, the penumbra effect caused by the focal size of the X-ray source has little effect on the filter. With the continuous development of the CT field, many new filters with different flat and uniform configurations have been proposed, such as bowtie filters, dynamic filters, energy spectrum modulators, beam splitting filters, etc.
[0004] However, in the related art, since many filters are non-uniform filter designs, especially at the junction of filters where the thickness of the filter changes rapidly or there are filters made of two materials, the rays emitted from different positions of the focus of the X-ray source may pass through the area of filter thickness 1 and the other part through the area of filter thickness 2, and be received by the same detector pixel, resulting in aliasing of the energy spectrum. In the penumbra area, the original reliance on known filter thickness or the calibration of filter thickness by transmittance greatly increases the error of energy spectrum estimation and reduces the image quality of energy spectrum imaging, which needs to be improved urgently. Summary of the invention
[0005] The present application provides a method and device for estimating the energy spectrum of a non-uniform filter based on adaptive multi-weights, so as to solve the problems in the related art that, when placing a non-uniform filter, the inherent focal size of the X-ray source causes a penumbra effect on the filter, and energy spectrum aliasing occurs in the penumbra area, resulting in large energy spectrum estimation errors when the X-ray attenuation of the non-uniform filter changes dramatically, thereby reducing the accuracy of energy spectrum estimation.
[0006] The first aspect of the present application provides a method for estimating an energy spectrum of a non-uniform filter based on adaptive multi-weights, comprising the following steps: generating an initial energy spectrum using an empirical model or a direct measurement method, and iteratively optimizing the initial energy spectrum when the initial energy spectrum does not meet a preset condition until a preset iteration stop condition is met, thereby obtaining an optimized equivalent energy spectrum that does not include the non-uniform filter; establishing an adaptive multi-weight model based on the material of the non-uniform filter and the equivalent energy spectrum, and solving the target parameters of the adaptive multi-weight model based on the X-ray intensity under different energy spectra to obtain a final adaptive multi-weight model according to the target parameters; generating an overall equivalent energy spectrum including the non-uniform filter based on the final adaptive multi-weight model.
[0007] Optionally, in one embodiment of the present application, an adaptive multi-weight model is established based on the material of the non-uniform filter and the equivalent energy spectrum, including: obtaining the attenuation coefficient of a non-uniform filter of a single material or multiple materials based on the material properties of the non-uniform filter; based on the equivalent energy spectrum not containing the non-uniform filter, combining the attenuation coefficient of the non-uniform filter and the target parameter, obtaining the overall equivalent energy spectrum containing the non-uniform filter, wherein the target parameter includes each thickness of the non-uniform filter and the weight corresponding to each thickness.
[0008] Optionally, in one embodiment of the present application, the adaptive multi-weight model is established to treat a mixture of multiple energy spectra passing through different equivalent filter thicknesses or different materials as equivalent to a weighted mixture of energy spectra at corresponding attenuation of multiple thicknesses of non-uniform filters of a single or multiple materials, to obtain an overall equivalent energy spectrum including the non-uniform filter, wherein the sum of the different weights of the energy spectra at the corresponding attenuation is 1.
[0009] Optionally, in one embodiment of the present application, solving the target parameters of the adaptive multi-weight model based on the X-ray intensity under different energy spectra includes: detecting the X-ray intensity under the different energy spectra containing the non-uniform filter when setting uniform filters of different thicknesses or different materials, or detecting the X-ray intensity under the different energy spectra containing the non-uniform filter when setting different tube voltages of the X-ray source; establishing an overdetermined nonlinear equation group based on the X-ray intensity under the different energy spectra and the adaptive multi-weight model, and solving the overdetermined nonlinear equation group to obtain the target parameters.
[0010] The second aspect of the present application provides an adaptive multi-weight based non-uniform filter energy spectrum estimation device, including: a first generation module, used to generate an initial energy spectrum using an empirical model or a direct measurement method, and when the initial energy spectrum does not meet a preset condition, iteratively optimize the initial energy spectrum until a preset iteration stop condition is reached, so as to obtain an optimized equivalent energy spectrum that does not include the non-uniform filter; a construction module, used to establish an adaptive multi-weight model based on the material of the non-uniform filter and the equivalent energy spectrum, and solve the target parameters of the adaptive multi-weight model based on the X-ray intensity under different energy spectra to obtain the final adaptive multi-weight model according to the target parameters; a second generation module, used to generate an overall equivalent energy spectrum including the non-uniform filter based on the final adaptive multi-weight model.
[0011] Optionally, in one embodiment of the present application, the construction module includes: a determination module for obtaining the attenuation coefficient of a non-uniform filter of a single material or multiple materials based on the material properties of the non-uniform filter; a generation module for obtaining the overall equivalent energy spectrum containing the non-uniform filter based on the equivalent energy spectrum not containing the non-uniform filter, combined with the attenuation coefficient of the non-uniform filter and the target parameters, wherein the target parameters include each thickness of the non-uniform filter and the weight corresponding to each thickness.
[0012] Optionally, in one embodiment of the present application, the adaptive multi-weight model is established to treat a mixture of multiple energy spectra passing through different equivalent filter thicknesses or different materials as equivalent to a weighted mixture of energy spectra at corresponding attenuation of multiple thicknesses of non-uniform filters of a single or multiple materials, to obtain an overall equivalent energy spectrum including the non-uniform filter, wherein the sum of the different weights of the energy spectra at the corresponding attenuation is 1.
[0013] Optionally, in one embodiment of the present application, the construction module includes: a detection unit, used to detect the X-ray intensity under the different energy spectra containing the non-uniform filter when setting a uniform filter of different thicknesses or different materials, or, when setting different tube voltages of the X-ray source, to detect the X-ray intensity under the different energy spectra containing the non-uniform filter; a solving unit, used to establish an overdetermined nonlinear equation group based on the X-ray intensity under the different energy spectra and the adaptive multi-weight model, and solve the overdetermined nonlinear equation group to obtain the target parameters.
[0014] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights as described in the above embodiment.
[0015] The fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, it implements the above-mentioned non-uniform filter energy spectrum estimation method based on adaptive multi-weights.
[0016] The fifth aspect of the present application provides a computer program product, which, when executed, is used to implement the above-mentioned method for estimating the energy spectrum of a non-uniform filter based on adaptive multi-weights.
[0017] The embodiment of the present application can generate an initial energy spectrum using an empirical model or a direct measurement method, and when the initial energy spectrum does not meet the preset conditions, the initial energy spectrum is iteratively optimized until the preset iteration stop condition is reached, and the optimized equivalent energy spectrum without the non-uniform filter is obtained. Then, an adaptive multi-weight model is established based on the material and equivalent energy spectrum of the non-uniform filter, and the target parameters of the adaptive multi-weight model are solved based on the X-ray intensity under different energy spectra, thereby obtaining the final adaptive multi-weight model, generating an overall equivalent energy spectrum including the non-uniform filter, adaptively fitting the energy spectrum of each detector pixel in the penumbra region, effectively reducing the energy spectrum estimation error, improving the accuracy of hardening correction and the image quality of energy spectrum imaging. Thus, the problems in the related art that the inherent X-ray source focal size when placing the non-uniform filter causes the penumbra effect on the filter, the energy spectrum aliasing occurs in the penumbra region, and the energy spectrum estimation error is large when the X-ray attenuation of the non-uniform filter changes drastically, and the accuracy of the energy spectrum estimation is reduced.
[0018] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0020] Figure 1 A flowchart of a method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights according to an embodiment of the present application;
[0021] Figure 2 A schematic diagram of the influence of the penumbra effect on the energy spectrum and X-ray intensity according to one embodiment of the present application;
[0022] Figure 3 is a schematic diagram of penumbra regions of different filters according to an embodiment of the present application;
[0023] Figure 4A schematic diagram of the structure of an energy spectrum modulator in simulation and actual experiment according to an embodiment of the present application;
[0024] Figure 5 A schematic diagram of comparing energy spectrum estimation deviations according to an embodiment of the present application;
[0025] Figure 6 A schematic diagram comparing the energy spectrum estimation effects of the related technology and the present application in numerical simulation according to an embodiment of the present application;
[0026] Figure 7 A schematic diagram of comparison of pure water phantom reconstructed images from an actual experiment according to an embodiment of the present application;
[0027] Figure 8 A schematic block diagram of a non-uniform filter energy spectrum estimation device based on adaptive multi-weights according to an embodiment of the present application;
[0028] Fig. 9 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0030] The following describes a method and device for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights according to an embodiment of the present application with reference to the accompanying drawings. In view of the related technology mentioned in the background technology center, when placing a non-uniform filter, the inherent X-ray source focal size causes a penumbra effect on the filter, and energy spectrum aliasing occurs in the penumbra region, resulting in a large error in energy spectrum estimation when the X-ray attenuation of the non-uniform filter changes dramatically, thereby reducing the accuracy of energy spectrum estimation. The present application provides a method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights. In this method, an initial energy spectrum can be generated by an empirical model or a direct measurement method, and when the initial energy spectrum does not meet a preset condition, the initial energy spectrum is iteratively optimized until a preset iteration stop condition is reached, and an optimized equivalent energy spectrum that does not include the non-uniform filter is obtained. Furthermore, an adaptive multi-weight model is established based on the material and equivalent energy spectrum of the non-uniform filter, and the target parameters of the adaptive multi-weight model are solved based on the X-ray intensity under different energy spectra, thereby obtaining a final adaptive multi-weight model, generating an overall equivalent energy spectrum including the non-uniform filter, and adaptively fitting the energy spectrum of each detector pixel in the penumbra region, effectively reducing the energy spectrum estimation error, and improving the accuracy of hardening correction and the image quality of energy spectrum imaging. Thereby, the problems in the related art are solved, that is, when placing a non-uniform filter, the inherent focal size of the X-ray source causes a penumbra effect on the filter, energy spectrum aliasing occurs in the penumbra area, resulting in large energy spectrum estimation errors when the X-ray attenuation of the non-uniform filter changes drastically, thereby reducing the accuracy of the energy spectrum estimation, and the like.
[0031] Specifically, Figure 1 A flowchart of a method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights provided in an embodiment of the present application.
[0032] like Figure 1 As shown, the method for estimating non-uniform filter energy spectrum based on adaptive multi-weights includes the following steps:
[0033] In step S101, an initial energy spectrum is generated using an empirical model or a direct measurement method, and if the initial energy spectrum does not meet a preset condition, the initial energy spectrum is iteratively optimized until a preset iteration stop condition is met, thereby obtaining an optimized equivalent energy spectrum that does not include a non-uniform filter.
[0034] It can be understood that the preset condition refers to a standard or goal used to determine whether to terminate the iteration during the optimization process, such as whether the initial energy spectrum is close enough to the actual energy spectrum.
[0035] Specifically, for a computer tomography (CT) system, the empirical model usually includes an empirical model estimation of the initial energy spectrum of the X-ray source, an anode heel effect, a filter attenuation model, and a detector response model. Other components such as a backscattering grid can also be added to this model. Without considering the non-uniform filter, an initial equivalent energy spectrum can be generated based on the empirical model. Then, after the initial equivalent energy spectrum is established based on the empirical model, the X-ray intensity under different energy spectra can be measured, and the equivalent energy spectrum can be iteratively optimized to make the energy spectrum of the empirical model closer to the actual energy spectrum. Different energy spectra can be obtained by setting filters of different materials or different thicknesses, or by setting different tube voltages.
[0036] In the actual implementation process, in a conventional CT system, the components that mainly affect the energy spectrum are the X-ray source, filter, and detector. Considering the focal size of the source, a coordinate system is established for the plane where the focal point is located, and the position index is (i, j). A coordinate system is established for the plane where the detector is located, and the position index is (u, v). The equivalent energy spectrum can be modeled by the following formula:
[0037] S uv (E) = ∫ ij T ij (E)×H ij,uv (E)×F ij,uv (E)×D uv (E) (1)
[0038] Among them, S uv (E) is the equivalent energy spectrum at the detector (u, v), which is a mixture of the energy spectra of all rays emitted from the focus of the X-ray source. ij (E) is the X-ray energy spectrum when emitted from the anode target. ij,uv (E) is the influence of the "anode heel effect" on the energy spectrum of the X-ray emitted from position (i, j) and received at position (u, v). ij,uv (E) is the energy attenuation curve corresponding to the thickness of the filter that the X-ray emitted from position (i, j) and received at position (u, v) passes through. uv (E) is the detector energy response curve of the detector pixel corresponding to the position (u, v).
[0039] Based on the empirical model of the initial energy spectrum of the X-ray source and the known operating voltage of the X-ray source, such as 120 kVp, a preliminary energy spectrum T at the X-ray source is generated. ij (E); In addition, the embodiment of the present application can also be replaced by directly measuring the initial energy spectrum at the X-ray source through a spectrometer or other equipment.
[0040] Based on the anode heel effect model, its influence on the energy spectrum can be expressed as the attenuation of a certain thickness of the anode target material, and its expression is as follows:
[0041] H ij,uv (E) = exp(-μ anode (E)D anode (ij, uv)) (2)
[0042] Among them, μ anode is the X-ray attenuation coefficient of the target material, D anode (ij, uv) is the target thickness that the X-ray emitted from the position (i, j) and received at the position (u, v) passes through.
[0043] In addition, the embodiment of the present application may also be replaced by directly measuring the energy spectrum including the anode heel effect at the corresponding position through a spectrometer or other equipment.
[0044] The effect of the filter on the energy spectrum can be expressed as the total attenuation of all K materials in the filter, which is expressed as follows:
[0045]
[0046] Among them, μ k is the X-ray attenuation coefficient of the kth material of the filter, D k (ij, uv) is the equivalent thickness of the kth material that the X-ray emitted from position (i, j) and received at position (u, v) passes through. For uniform filters or filters with slow spatial variation of X-ray attenuation, this model can ignore the effect of the emission position (i, j) because the focal size of the ray source is usually within 1 mm. However, for non-uniform filters such as filter edges and filters with drastic spatial variation of X-ray attenuation, Figure 2 As shown, two completely different energy spectra may be aliased at the same position of the detector, resulting in a large deviation in the estimated energy spectrum without considering the emission position (i, j).
[0047] In addition, the embodiment of the present application may also be replaced by directly measuring the energy spectrum including the filter effect at the corresponding position through a spectrometer or other equipment.
[0048] Based on the detector response model, the detector response is established by the known scintillator material and thickness of the detector:
[0049] D uv (E) = E(1-exp(-μ det D det (uv))exp(-μ pf D pf ) (4)
[0050] Among them, μdet is the X-ray attenuation coefficient of the detector scintillator material, D det (uv) is the equivalent thickness of the pixel at position (u, v). μp f is the X-ray attenuation coefficient of the possible pre-filter material inside the detector, Dp f is its thickness. (When there is no pre-filter inside the detector, D pf =0)
[0051] Furthermore, the initial equivalent energy spectrum S is obtained in the embodiment of the present application. uv After (E), since the energy spectrum is directly constructed from the empirical model, it may be affected by factors such as manufacturing deviations in the actual system. Based on the step data of known filters of different thicknesses or different materials collected from the actual system, the equivalent energy spectrum can be optimized based on the functional relationship between the energy spectrum and the transmittance in the attenuation model. A feasible method is to iteratively improve the initial energy spectrum using the EM method.
[0052] The embodiments of the present application can reduce or eliminate the need for non-uniform filters by optimizing the initial energy spectrum to an equivalent state, thereby simplifying the design and construction process of the system, effectively reducing costs, improving computing efficiency, and more easily adapting to different experimental requirements, thereby increasing the flexibility of the system.
[0053] In step S102, an adaptive multi-weight model is established based on the material and equivalent energy spectrum of the non-uniform filter, and the target parameters of the adaptive multi-weight model are solved based on the X-ray intensity under different energy spectra to obtain the final adaptive multi-weight model according to the target parameters.
[0054] It can be understood that the target parameter includes each thickness of the non-uniform filter and a weight corresponding to each thickness.
[0055] Optionally, in one embodiment of the present application, an adaptive multi-weight model is established based on the material and equivalent energy spectrum of the non-uniform filter, including: obtaining the attenuation coefficient of a non-uniform filter of a single material or multiple materials based on the material properties of the non-uniform filter; obtaining an overall equivalent energy spectrum including the non-uniform filter based on the equivalent energy spectrum not including the non-uniform filter, combined with the attenuation coefficient of the non-uniform filter and the target parameters, wherein the target parameters include each thickness of the non-uniform filter and the weight corresponding to each thickness.
[0056] Specifically, after obtaining the equivalent energy spectrum S(E) that does not include the non-uniform filter, the embodiment of the present application can establish an adaptive multi-weight model to fit the aliasing of the energy spectrum in the penumbra area caused by the non-uniform filter and the inherent focal size. Optionally, in one embodiment of the present application, an adaptive multi-weight model is established to equate the mixture of multiple energy spectra passing through different equivalent filter thicknesses or different materials to a weighted mixture of energy spectra under corresponding attenuation of multiple thicknesses of non-uniform filters of a single or multiple materials, so as to obtain an overall equivalent energy spectrum including the non-uniform filter, wherein the sum of the different weights of the energy spectrum under corresponding attenuation is 1.
[0057] Furthermore, the embodiments of the present application simplify the originally extremely complex problem and can be solved by iteration. Here, taking two filter thicknesses as an example, the multi-weight model is as follows:
[0058]
[0059] stw∈[0,1],w1+w2=1,L M1 , L M2 ∈(L min , L max )
[0060] Among them, S F (E) is the overall equivalent energy spectrum after the non-uniform filter; S(E) is the equivalent energy spectrum when the CT system does not contain a non-uniform filter; w1, w2 are different variable weights on each detector pixel; μ M1 , μ M2 is the X-ray attenuation coefficient corresponding to the material of the non-uniform filter. If the non-uniform filter has only one material, then μ M1 =μ M2 If the non-uniform filter has two or more materials, two or more of them with large differences in X-ray attenuation coefficients can be selected; L M1 , L M2 are the two sets of thicknesses to be determined. max is the maximum possible thickness of the filter based on the known design of the non-uniform filter, L min is the minimum possible thickness of the filter, which is not necessarily 0 and can be a known value.
[0061] Therefore, the embodiment of the present application uses w, L M1 , L M2 The high degree of freedom brought by the three parameters can effectively fit Figure 2 The aliased energy spectrum shown.
[0062] It is worth noting that Figure 2As shown in the figure, the rays emitted from different positions of the focus of the X-ray source may partially pass through the area of filter thickness 1, and partially pass through the area of filter thickness 2, and be received by the same detector pixel, resulting in aliasing of the energy spectrum. The area with aliased energy spectrum can be called the penumbra area, as shown in Figure 3 The penumbra region of some typical filters is shown in Figure 2. In the penumbra region, the energy spectrum estimation method that originally relied on known filter thickness or calibrated filter thickness by transmittance to derive the energy spectrum will have obvious errors.
[0063] Optionally, in one embodiment of the present application, the target parameters of the adaptive multi-weight model are solved based on the X-ray intensity under different energy spectra, including: when setting uniform filters of different thicknesses or different materials, detecting the X-ray intensity under different energy spectra containing non-uniform filters, or, when setting different tube voltages of the X-ray source, detecting the X-ray intensity under different energy spectra containing non-uniform filters; establishing an overdetermined nonlinear equation group based on the X-ray intensity under different energy spectra and the adaptive multi-weight model, and solving the overdetermined nonlinear equation group to obtain the target parameters.
[0064] Furthermore, in the embodiment of the present application, when actually solving these three parameters, since the energy spectrum estimation process does not require the placement of objects, as many uniform filters as possible can be scanned to change the initial energy spectrum, obtain more information, and obtain an overdetermined set of equations for solving the parameters. The specific model is as follows:
[0065] When the mth uniform filter is placed in the CT system, the transmittance Tr(m) corresponding to the non-uniform filter is:
[0066]
[0067] Among them, M is the total number of uniform filters in the known step experiment, N is the number of energy segments of the energy spectrum, and S m is the equivalent spectrum of the CT system with the mth uniform filter, μ m (E), L m is the X-ray attenuation coefficient and equivalent length of the mth uniform filter.
[0068] In order to solve this overdetermined nonlinear equation system (the number of known filters M can be as large as possible), we can directly iterate and solve this 3-variable nonlinear equation system (the number of equations is M).
[0069] The embodiment of the present application adopts the least square method to iteratively solve the parameters w, L M1 , L M2 , the Levenberg-Marquardt method can be used to increase the trust region to avoid non-singular and ill-conditioned problems of the coefficient matrix and increase the stability of the solution. At the same time, based on the known filter design, L can be setM1 , L M2 The minimum value is L min , the maximum value is the known maximum thickness of the filter L max , where L min It is not necessarily 0, but can be a known value, thereby improving the stability of the solution.
[0070] In step S103, based on the final adaptive multi-weight model, an overall equivalent energy spectrum including a non-uniform filter is generated.
[0071] In the actual implementation process, after obtaining the target parameters including weight and thickness, the embodiment of the present application can be based on the obtained weight w and thickness L. M1 , L M2 , and the established multi-weight model, the energy spectrum without non-uniform filters, the overall equivalent energy spectrum including non-uniform filters is obtained as follows:
[0072]
[0073] The embodiment of the present application generates an overall equivalent energy spectrum including a non-uniform filter based on the final adaptive multi-weight model, which can more accurately simulate complex physical processes and generate an equivalent energy spectrum that is closer to the actual situation.
[0074] Combination Figures 3 to 7 As shown, an embodiment of the present application's non-uniform filter energy spectrum estimation method based on adaptive multi-weights is described in detail.
[0075] A CT system including an energy spectrum modulator is designed in Figure 3 As shown in the middle picture, the specific design of the energy spectrum modulator is as follows: Figure 4 As shown, it is formed by overlapping a one-dimensional strip energy spectrum modulator with a thickness of 0.2 mm and a one-dimensional strip energy spectrum modulator with a thickness of 0.4 mm.
[0076] First, in numerical simulation, the embodiment of the present application can compare the error of energy spectrum estimation between a commonly used correlation technique (SCFM) and the present application, and the results are as follows: Figure 5 As shown, it can be seen that the energy spectrum estimated by the present application in the left figure is closer to the true value energy spectrum, and the error of the energy spectrum estimated by the related technology in the right figure is significantly reduced.
[0077] In this system, if the energy spectrum estimation of the penumbra area is inaccurate, there will be obvious deviations in the hardening correction during the CT data processing, resulting in obvious ring artifacts in the reconstructed image. In the embodiment of the present application, the equivalent energy spectrum of the system is estimated in numerical simulation and actual experiment, and a single thickness calibration energy spectrum estimation method is used for comparison. The phantoms are all pure water phantoms, which is convenient for checking the hardening correction results. The results are as follows: Figure 6 , Figure 7 Compared with the related art, the present application can significantly suppress the ring artifacts, and the energy spectrum obtained by fitting is more accurate.
[0078] According to the method for estimating the energy spectrum of a non-uniform filter based on adaptive multi-weights proposed in the embodiment of the present application, an initial energy spectrum can be generated by using an empirical model or a direct measurement method, and when the initial energy spectrum does not meet the preset conditions, the initial energy spectrum is iteratively optimized until the preset iteration stop condition is reached, and the optimized equivalent energy spectrum without the non-uniform filter is obtained. Then, an adaptive multi-weight model is established based on the material and equivalent energy spectrum of the non-uniform filter, and the target parameters of the adaptive multi-weight model are solved based on the X-ray intensity under different energy spectra, thereby obtaining the final adaptive multi-weight model, generating an overall equivalent energy spectrum including the non-uniform filter, adaptively fitting the energy spectrum of each detector pixel in the penumbra region, effectively reducing the energy spectrum estimation error, improving the accuracy of hardening correction and the image quality of energy spectrum imaging. Thus, the problems in the related art that the inherent X-ray source focus size when placing the non-uniform filter causes the penumbra effect on the filter, the energy spectrum aliasing occurs in the penumbra region, resulting in a large energy spectrum estimation error when the X-ray attenuation of the non-uniform filter changes drastically, and reducing the accuracy of the energy spectrum estimation are solved.
[0079] Next, a non-uniform filter energy spectrum estimation device based on adaptive multi-weights proposed according to an embodiment of the present application is described with reference to the accompanying drawings.
[0080] Figure 8 It is a block diagram of a non-uniform filter energy spectrum estimation device based on adaptive multi-weights according to an embodiment of the present application.
[0081] like Figure 8 As shown, the non-uniform filter energy spectrum estimation device 10 based on adaptive multi-weights includes: a first generating module 100, a building module 200 and a second generating module 300.
[0082] The first generation module 100 is used to generate an initial energy spectrum using an empirical model or a direct measurement method, and when the initial energy spectrum does not meet a preset condition, iteratively optimize the initial energy spectrum until a preset iteration stop condition is met, thereby obtaining an optimized equivalent energy spectrum that does not contain a non-uniform filter;
[0083] A construction module 200 is used to establish an adaptive multi-weight model based on the material and equivalent energy spectrum of the non-uniform filter, and solve the target parameters of the adaptive multi-weight model based on the X-ray intensity under different energy spectra to obtain a final adaptive multi-weight model according to the target parameters;
[0084] The second generating module 300 is used to generate an overall equivalent energy spectrum including a non-uniform filter based on the final adaptive multi-weight model.
[0085] Optionally, in one embodiment of the present application, the construction module 200 includes: a determination module and a determination module.
[0086] The determination module is used to obtain the attenuation coefficient of a non-uniform filter of a single material or multiple materials based on the material characteristics of the non-uniform filter;
[0087] A generation module is used to obtain an overall equivalent energy spectrum including the non-uniform filter based on an equivalent energy spectrum not including the non-uniform filter, combined with the attenuation coefficient and target parameters of the non-uniform filter, wherein the target parameters include each thickness of the non-uniform filter and the weight corresponding to each thickness.
[0088] Optionally, in one embodiment of the present application, an adaptive multi-weight model is established to equate a mixture of multiple energy spectra passing through different equivalent filter thicknesses or different materials to a weighted mixture of energy spectra under corresponding attenuation of multiple thicknesses of non-uniform filters of a single or multiple materials, so as to obtain an overall equivalent energy spectrum including the non-uniform filter, wherein the sum of the different weights of the energy spectra under corresponding attenuation is 1.
[0089] Optionally, in one embodiment of the present application, the construction module 200 includes: a detection unit, used to detect the X-ray intensity under different energy spectra containing non-uniform filters when setting uniform filters of different thicknesses or different materials, or, when setting different tube voltages of the X-ray source, to detect the X-ray intensity under different energy spectra containing non-uniform filters; a solving unit, used to establish an overdetermined nonlinear equation group based on the X-ray intensity under different energy spectra and the adaptive multi-weight model, and solve the overdetermined nonlinear equation group to obtain target parameters.
[0090] It should be noted that the above explanation of the embodiment of the method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights is also applicable to the device for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights of this embodiment, and will not be repeated here.
[0091] According to the non-uniform filter energy spectrum estimation device based on adaptive multi-weights proposed in the embodiment of the present application, an initial energy spectrum can be generated using an empirical model or a direct measurement method, and when the initial energy spectrum does not meet the preset conditions, the initial energy spectrum is iteratively optimized until the preset iteration stop condition is reached, and the optimized equivalent energy spectrum without the non-uniform filter is obtained. Then, an adaptive multi-weight model is established based on the material and equivalent energy spectrum of the non-uniform filter, and the target parameters of the adaptive multi-weight model are solved based on the X-ray intensity under different energy spectra, so as to obtain the final adaptive multi-weight model, generate an overall equivalent energy spectrum including the non-uniform filter, adaptively fit the energy spectrum of each detector pixel in the penumbra region, effectively reduce the energy spectrum estimation error, improve the accuracy of hardening correction and the image quality of energy spectrum imaging. Therefore, the problems in the related art that the inherent X-ray source focus size causes the penumbra effect on the filter when placing the non-uniform filter, and the energy spectrum aliasing occurs in the penumbra region, resulting in a large energy spectrum estimation error when the X-ray attenuation of the non-uniform filter changes drastically, and reduces the accuracy of energy spectrum estimation.
[0092] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0093] A memory 901 , a processor 902 , and a computer program stored in the memory 901 and executable on the processor 902 .
[0094] When the processor 902 executes the program, the method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights provided in the above embodiment is implemented.
[0095] Furthermore, the electronic device further comprises:
[0096] The communication interface 903 is used for communication between the memory 901 and the processor 902 .
[0097] The memory 901 is used to store computer programs that can be executed on the processor 902 .
[0098] The memory 901 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0099] If the memory 901, the processor 902 and the communication interface 903 are implemented independently, the communication interface 903, the memory 901 and the processor 902 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0100] Optionally, in a specific implementation, if the memory 901, the processor 902 and the communication interface 903 are integrated on a chip, the memory 901, the processor 902 and the communication interface 903 can communicate with each other through an internal interface.
[0101] The processor 902 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0102] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights.
[0103] The embodiment of the present application also provides a computer program product, which can run computer instructions. When the computer instructions are executed by a processor, the above-mentioned non-uniform filter energy spectrum estimation method based on adaptive multi-weights is implemented.
[0104] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0105] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0106] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0107] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.
[0108] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0109] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0110] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0111] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for estimating energy spectrum of non-uniform filters based on adaptive multi-weights, characterized in that: The following steps are involved: Generate an initial energy spectrum using an empirical model or a direct measurement method, and if the initial energy spectrum does not meet a preset condition, iteratively optimize the initial energy spectrum until a preset iteration stop condition is met, thereby obtaining an optimized equivalent energy spectrum that does not include a non-uniform filter; Establishing an adaptive multi-weight model based on the material of the non-uniform filter and the equivalent energy spectrum, and solving the target parameters of the adaptive multi-weight model based on the X-ray intensity under different energy spectra, so as to obtain a final adaptive multi-weight model according to the target parameters; Based on the final adaptive multi-weight model, an overall equivalent energy spectrum including the non-uniform filter is generated.
2. The method according to claim 1, characterized in that The adaptive multi-weight model is established based on the material of the non-uniform filter and the equivalent energy spectrum, including: Based on the material properties of the non-uniform filter, obtaining the attenuation coefficient of the non-uniform filter of a single material or multiple materials; Based on the equivalent energy spectrum not including the non-uniform filter, combined with the attenuation coefficient and the target parameter, the overall equivalent energy spectrum including the non-uniform filter is obtained, wherein the target parameter includes each thickness of the non-uniform filter and the weight corresponding to each thickness.
3. The method according to claim 2, characterized in that The adaptive multi-weight model is established to convert a mixture of multiple energy spectra passing through different equivalent filter thicknesses or different materials into a weighted mixture of energy spectra at corresponding attenuation of multiple thicknesses of non-uniform filters of a single or multiple materials, thereby obtaining an overall equivalent energy spectrum including the non-uniform filter, wherein the sum of the different weights of the energy spectra at the corresponding attenuation is 1.
4. The method according to claim 1, characterized in that The method of solving the target parameters of the adaptive multi-weight model based on the X-ray intensity under different energy spectra includes: In the case of setting uniform filters of different thicknesses or different materials, detecting the X-ray intensity under the different energy spectra including the non-uniform filter, or in the case of setting different tube voltages of the X-ray source, detecting the X-ray intensity under the different energy spectra including the non-uniform filter; An overdetermined nonlinear equation group is established based on the X-ray intensity under the different energy spectra and the adaptive multi-weight model, and the overdetermined nonlinear equation group is solved to obtain the target parameters.
5. A non-uniform filter energy spectrum estimation device based on adaptive multi-weight, characterized in that: include: A first generation module is used to generate an initial energy spectrum using an empirical model or a direct measurement method, and if the initial energy spectrum does not meet a preset condition, iteratively optimize the initial energy spectrum until a preset iteration stop condition is met, thereby obtaining an optimized equivalent energy spectrum that does not include a non-uniform filter; A construction module is used to establish an adaptive multi-weight model based on the material of the non-uniform filter and the equivalent energy spectrum, and solve the target parameters of the adaptive multi-weight model based on the X-ray intensity under different energy spectra to obtain a final adaptive multi-weight model according to the target parameters; The second generating module is used to generate an overall equivalent energy spectrum including the non-uniform filter based on the final adaptive multi-weight model.
6. The device according to claim 5, characterized in that The building blocks include: A determination module, configured to obtain an attenuation coefficient of a non-uniform filter of a single material or of multiple materials based on the material properties of the non-uniform filter; A generation module is used to obtain the overall equivalent energy spectrum including the non-uniform filter based on the equivalent energy spectrum not including the non-uniform filter, combined with the attenuation coefficient of the non-uniform filter and the target parameter, wherein the target parameter includes each thickness of the non-uniform filter and the weight corresponding to each thickness.
7. The device according to claim 6, characterized in that The adaptive multi-weight model is established to convert a mixture of multiple energy spectra passing through different equivalent filter thicknesses or different materials into a weighted mixture of energy spectra at corresponding attenuation of multiple thicknesses of non-uniform filters of a single or multiple materials, thereby obtaining an overall equivalent energy spectrum including the non-uniform filter, wherein the sum of the different weights of the energy spectra at the corresponding attenuation is 1.
8. The device according to claim 5, characterized in that The building blocks include: a detection unit, configured to detect the X-ray intensity under the different energy spectra including the non-uniform filter when uniform filters of different thicknesses or different materials are provided, or to detect the X-ray intensity under the different energy spectra including the non-uniform filter when different tube voltages of the X-ray source are provided; A solving unit is used to establish an overdetermined nonlinear equation group based on the X-ray intensity under the different energy spectra and the adaptive multi-weight model, and solve the overdetermined nonlinear equation group to obtain the target parameters.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights as described in any one of claims 1 to 4.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the non-uniform filter energy spectrum estimation method based on adaptive multi-weights as described in any one of claims 1 to 4.
11. A computer program product, comprising a computer program, characterized in that The computer program is executed to implement the method for estimating energy spectrum of a non-uniform filter based on adaptive multi-weights as described in any one of claims 1 to 4.
