Method, device, computer program and storage medium for evaluating relative beam quality of X-ray
By calculating the filter attenuation signal difference of the sphere tube in the X-ray system and removing the influence of focus drift, polynomial fitting is used to evaluate the beam quality, which solves the problem of inconsistent beam uniformity and CT value, and achieves accurate quality control .
Patent Information
- Application Number
- CN202310655359.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-05
- Publication Date
- 2024-12-06
AI Technical Summary
Existing X-ray systems have spectrum offset problems when evaluating beam quality, resulting in inconsistent beam uniformity and CT values, and the measurement accuracy of market products is limited.
By calculating the attenuation signal difference between the test bulb and the reference bulb through the filter, the wedge-shaped residual signal caused by focal drift was removed, and the final signal was obtained using polynomial fit to evaluate the relative beam mass of the X-ray.
Accurate evaluation of the quality of X-ray beams is achieved, uniformity or CT value problems caused by component deviations are prevented, and an effective quality control method is provided.
Smart Images

Figure CN119087494A_ABST
Abstract
Description
[0001] Nouns and pronouns relating to persons in this patent application are not limited to a specific gender. Technical Field
[0002] The present invention relates to X-ray systems and, in particular, to the evaluation of relative beam quality. Background Art
[0003] The X-ray beam (also called "beam" or "beamline") generated by the X-ray tube covers a wide spectrum. Chinese invention application 202310555264.2 discloses a method for correcting beam hardening projection, a method for determining the position of a phantom, and related devices and equipment, wherein a water-based beam correction method (WBC, Water-Based Beam Correction) is proposed.
[0004] Due to component deviations, such as anode material and surface structure, peak voltage, there are some differences in the spectrum from part to part. If the spectrum shifts too much, the beam will be softer or harder than expected, and the water-based beam correction used to correct for beam hardening will not work well. This will lead to homogeneity problems or CT value problems.
[0005] Due to factors such as sensor response drift, device measurement position offset, thermal focus movement, and limited sampling points, the accuracy of products on the market that solve this problem for measuring beam quality (such as peak voltage kVp, half-value layer HVL) is limited. Summary of the invention
[0006] In view of this, the present invention proposes a method, an apparatus, a computer program, a storage medium and an X-ray system for evaluating the relative beam quality of X-rays.
[0007] According to a first aspect of the present invention, there is provided a method for evaluating relative beam quality of X-rays, comprising:
[0008] Calculate the difference S between the attenuation signal of the test tube and the reference tube after passing through the first filter _diff0 ;
[0009] From the difference S _diff0 The wedge-shaped residual signal caused by focus drift is removed to obtain the second difference S _diff ;
[0010] According to the second difference S _diff , evaluate the relative beam quality of X-rays.
[0011] In one embodiment, the first filter is a planar filter.
[0012] In one embodiment, the first filter is a wedge filter.
[0013] In one embodiment, the above steps include calculating the difference S according to the following formula: _diff0 :
[0014] S _diff0 =S _test -S _ref
[0015] Among them, S _test is the attenuated signal of the tested tube after passing through the first filter, S _ref is the attenuated signal of the reference tube after passing through the first filter.
[0016] In one embodiment, S _diff0 is a two-dimensional array, the first dimension represents the channel, and the second dimension represents the row. The above steps include calculating the second difference S according to the following formula _diff :
[0017] S _diff =S _diff0 -ratio×S _wedge
[0018] Among them, S _wedge is the difference between the attenuation signals S1 and S2 of the air scan at different focus positions;
[0019] S _wedge =S1-S2
[0020] ratio=r / R
[0021]
[0022]
[0023] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the left of the rotation center channel;
[0024] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the right of the rotation center channel;
[0025] mean() is the average function.
[0026] In one embodiment, the above steps include:
[0027] The second difference S is averaged in the row direction according to the following formula _diff And fit the averaged second difference S in the channel direction _diff , thus obtaining the final signal Sfinal :
[0028] S final =polyfitting(mean(S _diff ,2))
[0029] Among them, polyfitting() is the polynomial fitting function;
[0030] According to the final signal S final , evaluate the relative beam quality of X-rays.
[0031] According to a second aspect of the present invention, a computer program is provided, which can implement the steps of the above method when executed by a processor.
[0032] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program can implement the steps of the above-described method when executed by a processor.
[0033] According to a fourth aspect of the present invention, there is provided an apparatus for evaluating relative beam quality of X-rays, comprising:
[0034] A difference calculation unit is configured to calculate the difference S between the attenuation signals of the test tube and the reference tube after passing through the first filter. _diff0 ;
[0035] The second difference acquisition unit is configured to obtain the difference S _diff0 The wedge-shaped residual signal caused by focus drift is removed to obtain the second difference S _diff ;
[0036] A relative beam quality evaluation unit is configured to evaluate the relative beam quality according to the second difference S _diff , evaluate the relative beam quality of X-rays.
[0037] In one embodiment, the first filter is a planar filter.
[0038] In one embodiment, the first filter is a wedge filter.
[0039] In one embodiment, the difference calculation unit is configured to calculate the difference S according to the following formula: _diff0 :
[0040] S _diff0 =S _test -S_ ref
[0041] Among them, S _test is the attenuated signal of the tested tube after passing through the first filter, S _refis the attenuated signal of the reference tube after passing through the first filter.
[0042] In one embodiment, S _diff0 is a two-dimensional array, the first dimension represents the channel, the second dimension represents the row, and the second difference value acquisition unit is configured to calculate the second difference value S according to the following formula _diff :
[0043] S _diff =S _diff0 -ratio×S _wedge
[0044] Among them, S _wedge is the difference between the attenuation signals S1 and S2 of the air scan at different focus positions;
[0045] S _wedge =S1-S2
[0046] ratio=r / R
[0047]
[0048]
[0049] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the left of the rotation center channel;
[0050] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the right of the rotation center channel;
[0051] mean() is the average function.
[0052] In one embodiment, the relative beam quality evaluation unit comprises:
[0053] The final signal calculation unit is configured to average the second difference S in the row direction according to the following formula: _diff And fit the averaged second difference S in the channel direction _diff , thus obtaining the final signal S final :
[0054] S final =polyfitting(mean(S _diff ,2))
[0055] Among them, polyfitting() is the polynomial fitting function;
[0056] The evaluation unit is configured to final, evaluate the relative beam quality of X-rays.
[0057] According to a fifth aspect of the present invention, there is provided an X-ray system comprising the apparatus for evaluating relative beam quality of X-rays as described above.
[0058] The method, device, computer program, storage medium and X-ray system for evaluating the relative beam quality of X-rays of the present invention utilize a wedge filter to produce the desired beam quality change in the channel direction, and the attenuation change produced thereby can prevent the influence of signal offset caused by DMS response drift. Wedge residual correction can prevent the influence of thermal focus movement. Combined with noise reduction, the present invention can accurately indicate whether the test tube has a harder or softer beam quality compared to the reference tube. The present invention provides an effective quality control method for the production of tubes and high-voltage generators, which can effectively prevent uniformity or CT value problems caused by component deviations. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that the above and other features and advantages of the present invention will be more apparent to those skilled in the art. In the accompanying drawings:
[0060] Figure 1 The present invention is a schematic flow chart of a method for evaluating relative beam quality of X-rays according to an embodiment of the present invention.
[0061] Figure 2A Schematic optical path diagram of a test tube according to an embodiment of the present invention.
[0062] Figure 2B Schematic diagram of the attenuation signal of the test tube passing through the planar filter according to an embodiment of the present invention.
[0063] Figure 3A Schematic optical path diagram of a reference tube according to an embodiment of the present invention.
[0064] Figure 3B Schematic diagram of the attenuation signal of the reference tube passing through the planar filter according to an embodiment of the present invention.
[0065] Figure 4 Schematic diagram of the difference in attenuation signals between a test tube and a reference tube after passing through a planar filter according to an embodiment of the present invention.
[0066] Figure 5A Schematic optical path diagram of air scanning at a certain focus position according to an embodiment of the present invention.
[0067] Figure 5B for Figure 5A Schematic diagram of the attenuated signal of the optical path shown.
[0068] Fig. 6A Schematic optical path diagram of air scanning at another focus position according to an embodiment of the present invention.
[0069] Figure 6B for Fig. 6A Schematic diagram of the attenuated signal of the optical path shown.
[0070] Fig. 7A Schematic diagram of the difference in attenuation signals of air scanning at different focus positions according to an embodiment of the present invention.
[0071] Figure 7B for Fig. 7A Schematic diagram of the product of the difference and a coefficient shown.
[0072] Figure 8 Schematic diagram of the second difference of the attenuation signals of the test tube and the reference tube after passing through the planar filter according to an embodiment of the present invention.
[0073] Fig. 9 It is a schematic diagram of the final signal obtained by averaging the second difference in the row direction and fitting in the channel direction.
[0074] Fig.10 It is a schematic structural block diagram of an apparatus for evaluating relative beam quality of X-rays according to an embodiment of the present invention.
[0075] In the above drawings, the reference numerals used are as follows:
[0076] 100 Method for evaluating relative beam quality of X-rays 200 Apparatus for evaluating relative beam quality of X-rays
[0077] 101 Test tube 202 Difference calculation unit
[0078] 102 reference tube 204 second difference acquisition unit
[0079] 104 wedge filter 206 relative beam quality evaluation unit
[0080] 106 Planar filter 208 Final signal calculation unit
[0081] 108 Detector 210 Evaluation unit
[0082] S102、S104、
[0083] S106, S108, Steps
[0084] S110 DETAILED DESCRIPTION
[0085] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail with reference to the following embodiments.
[0086] In the present invention, the relative beam quality evaluation is based on the X-ray attenuation signal of a flat filter. A flat filter is, for example, a tin (Sn) filter. In order to avoid the influence of DMS (Data Measurement System, also referred to as detector) response drift, a wedge filter is required to allow the X-ray to have a softer beam quality in the middle and a harder beam quality at the edge. This will introduce a curve on the attenuation of the flat filter, and will also introduce the attenuation difference of the flat filter. The curve of the attenuation difference of the flat filter will be used to evaluate the relative beam quality.
[0087] Figure 1 FIG. 1 is a schematic flow chart of a method 100 for evaluating the relative beam quality of X-rays according to an embodiment of the present invention. Figure 1 As shown, the method 100 for evaluating the relative beam quality of X-rays includes step S102, step S104, and step S106.
[0088] In step S102, the difference S between the attenuation signals of the test tube 102 and the reference tube 101 after passing through the planar filter 106 is calculated. _diff0 Step S102 includes calculating the difference S according to the following formula: _diff0 :
[0089] S _diff0 =S _test -S _ref
[0090] Among them, S _test is the attenuated signal of the test tube 102 after passing through the planar filter 106, S _ref It is the attenuated signal of the reference tube 101 after passing through the planar filter 106 .
[0091] Figure 2A is a schematic optical path diagram of the test tube 102 according to an embodiment of the present invention, Figure 2B is the attenuation signal S of the test tube 102 passing through the planar filter 106 according to an embodiment of the present invention. _test Schematic diagram of . Figure 3A is a schematic optical path diagram of a reference tube 101 according to an embodiment of the present invention, Figure 3B is the attenuation signal S of the reference tube 101 after passing through the planar filter 106 according to an embodiment of the present invention. _ref Schematic diagram of .
[0092] like Figure 2A and Figure 3AAs shown, the beam from the tube reaches the detector 108, and its φ direction is the channel direction, and the direction perpendicular to the fan-shaped surface is the row direction. The definitions of channel direction and row direction are applicable to this application.
[0093] like Figure 2A and Figure 3A As shown, in this embodiment, the X-rays from the test tube 102 and the reference tube 101 also pass through the wedge filter 104 before passing through the flat filter 106. Figure 2B and Figure 3B The signal shown has the attenuation caused by the wedge filter 104 subtracted, but still contains some residue.
[0094] exist Figure 2B and Figure 3B In the figure, the actual unit of the vertical axis, GU (Golden Unit), is the product of the attenuation value and a factor.
[0095] The present invention examines the relative quality of two different beams, so the test tube 102 and the reference tube 101 may be one of the following:
[0096] The test tube 102 and the reference tube 101 are the same tube, but have different operating parameters, such as tube current and tube voltage;
[0097] The test tube 102 and the reference tube 101 are the same tube, but have different high voltage generators;
[0098] The test tube 102 and the reference tube 101 are different tubes, but have the same high voltage generator.
[0099] Figure 4 is the difference S of the attenuation signals of the test tube 102 and the reference tube 101 after passing through the planar filter 106 according to the embodiment of the present invention. _diff0 Schematic diagram of the difference S _diff0 is the difference in the X-ray attenuation signal of the planar filter 106 .
[0100] In step S104, the difference S _diff0 The wedge-shaped residual signal caused by focus drift is removed to obtain the second difference S _diff In this embodiment, S _diff0 is a two-dimensional array, the first dimension represents the channel, the second dimension represents the row, step S104 includes calculating the second difference S according to the following formula _diff :
[0101] S _diff =S _diff0 -ratio×S _wedge
[0102] Among them, S_wedge is the difference between the attenuation signals S1 and S2 of the air scan at different focus positions;
[0103] S _wedge =S1-S2
[0104] ratio=r / R
[0105]
[0106]
[0107] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the left of the rotation center channel;
[0108] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the right of the rotation center channel;
[0109] mean() is the average function.
[0110] Figure 5A is a schematic optical path diagram of air scanning at a certain focus position according to an embodiment of the present invention, Figure 5B for Figure 5A Schematic diagram of the attenuation signal S1 of the optical path shown. Fig. 6A is a schematic optical path diagram of air scanning at another focus position according to an embodiment of the present invention, Figure 6B for Fig. 6A Schematic diagram of the attenuation signal S2 of the optical path shown.
[0111] The two air scans and the exposure of the test tube 102 and the reference tube 101 are performed in the same rack, but this is not required for the tubes and the high voltage generator. In addition, relative to the focal position of the test tube 102 during exposure, the focal points of the two air scans can be located on the same side within a certain range, but preferably on both sides.
[0112] Fig. 7A is the difference S between the attenuation signals S1 and S2 of the air scan at different focus positions according to the embodiment of the present invention. _wedge Schematic diagram of Figure 7B for Fig. 7A The difference S shown _wedge Schematic diagram of the product of and the coefficient ratio.
[0113] Figure 8 is the second difference S of the attenuation signal of the test tube 102 and the reference tube 101 after passing through the planar filter 106 according to the embodiment of the present invention. _diffSchematic diagram of the image above, where the wedge-shaped residual signal caused by focus drift has been removed.
[0114] In step S106, according to the second difference S _diff , evaluate the relative beam quality of X-rays. Figure 8 As shown, the second difference S of the middle channel _diff Compared with the two sides, the second difference S of the middle channel is lower, so the test tube 102 has a harder beam quality. _diff Compared to the higher sides, the test tube 102 has a softer beam quality.
[0115] In other embodiments, the planar filter 106 may not be present. In this case, the attenuation signal used for calculation is the attenuation signal of the wedge filter 104. In this case: if the second difference S of the middle channel _diff The tube 102 under test has a harder beam quality than the two sides; if the second difference S in the middle channel is _diff Compared with the lower sides, the test tube 102 has a softer beam quality. Therefore, the wedge filter 104 and the planar filter 106 can be collectively referred to as the first filter. When the planar filter 106 is used as the first filter, the attenuation signal used for calculation is the attenuation signal of the planar filter 106.
[0116] In order to better quantify the relative beam quality, in this embodiment, step S106 includes:
[0117] Step S108, averaging the second difference S in the row direction according to the following formula: _diff And fit the averaged second difference S in the channel direction _diff , thus obtaining the final signal S final :
[0118] S final =polyfitting(mean(S _diff ,2))
[0119] Among them, polyfitting() is the polynomial fitting function.
[0120] Fig. 9 For the second difference S _diff The final signal S is averaged in the row direction and fitted in the channel direction. final When the test tube and the reference tube have the same beam quality, the final signal S final It is a horizontal straight line.
[0121] Step S110, according to the final signal S final , evaluate the relative beam quality of X-rays.
[0122] According to a second aspect of the present invention, a computer program is provided. When the program is executed by a processor, the steps of the method 100 for evaluating the relative beam quality of X-rays described above can be implemented.
[0123] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the steps of the method 100 for evaluating the relative beam quality of X-rays described above.
[0124] According to a fourth aspect of the present invention, a device 200 for evaluating relative beam quality of X-rays is provided, comprising a difference calculation unit 202 , a second difference acquisition unit 204 , and a relative beam quality evaluation unit 206 . Fig.10 It is a schematic structural block diagram of an apparatus 200 for evaluating relative beam quality of X-rays according to an embodiment of the present invention.
[0125] The difference calculation unit 202 calculates the difference S between the attenuation signals of the test tube 102 and the reference tube 101 after passing through the planar filter 106. _diff0 The difference calculation unit 202 can calculate the difference S according to the following formula: _diff0 :
[0126] S _diff0 =S _test -S _ref
[0127] Among them, S _test is the attenuated signal of the test tube 102 after passing through the planar filter 106, S _ref It is the attenuated signal of the reference tube 101 after passing through the planar filter 106 .
[0128] Figure 2A is a schematic optical path diagram of the test tube 102 according to an embodiment of the present invention, Figure 2B is the attenuation signal S of the test tube 102 passing through the planar filter 106 according to an embodiment of the present invention. _test Schematic diagram of . Figure 3A is a schematic optical path diagram of a reference tube 101 according to an embodiment of the present invention, Figure 3B is the attenuation signal S of the reference tube 101 after passing through the planar filter 106 according to an embodiment of the present invention. _ref Schematic diagram of .
[0129] like Figure 2A and Figure 3A As shown, the beam from the tube reaches the detector 108, and its φ direction is the channel direction, and the direction perpendicular to the fan-shaped surface is the row direction. The definitions of channel direction and row direction are applicable to this application.
[0130] exist Figure 2Band Figure 3B In the figure, the actual unit of the vertical axis, GU (Golden Unit), is the product of the attenuation value and a factor.
[0131] like Figure 2A and Figure 3A As shown, in this embodiment, the X-rays from the test tube 102 and the reference tube 101 also pass through the wedge filter 104 before passing through the flat filter 106.
[0132] The present invention examines the relative quality of two different beams, so the test tube 102 and the reference tube 101 may be one of the following situations, for example:
[0133] The test tube 102 and the reference tube 101 are the same tube, but have different operating parameters, such as tube current and tube voltage;
[0134] The test tube 102 and the reference tube 101 are the same tube, but have different high voltage generators;
[0135] The test tube 102 and the reference tube 101 are different tubes, but have the same high voltage generator.
[0136] Figure 4 is the difference S of the attenuation signals of the test tube 102 and the reference tube 101 after passing through the planar filter 106 according to the embodiment of the present invention. _diff0 Schematic diagram of the difference S _diff0 is the difference in the X-ray attenuation signal of the planar filter 106 .
[0137] The second difference acquisition unit 204 obtains the difference S _diff0 The wedge-shaped residual signal caused by focus drift is removed to obtain the second difference S _diff In this embodiment, S _diff0 is a two-dimensional array, the first dimension represents the channel, the second dimension represents the row, and the second difference acquisition unit 204 can calculate the second difference S according to the following formula _diff :
[0138] S _ddiff =S _diff0 -ratio×S _wesge
[0139] Among them, S _wedge is the difference between the attenuation signals S1 and S2 of the air scan at different focus positions;
[0140] S _wedge =S1-S2
[0141] ratio=r / R
[0142]
[0143]
[0144] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the left of the rotation center channel;
[0145] Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the right of the rotation center channel;
[0146] mean() is the average function.
[0147] Figure 5A is a schematic optical path diagram of air scanning at a certain focus position according to an embodiment of the present invention, Figure 5B for Figure 5A Schematic diagram of the attenuation signal S1 of the optical path shown. Fig. 6A is a schematic optical path diagram of air scanning at another focus position according to an embodiment of the present invention, Figure 6B for Fig. 6A Schematic diagram of the attenuation signal S2 of the optical path shown.
[0148] The two air scans and the exposure of the test tube 102 and the reference tube 101 are performed in the same rack, but this is not required for the tubes and the high voltage generator. In addition, relative to the focal position of the test tube 102 during exposure, the focal points of the two air scans can be located on the same side within a certain range, but preferably on both sides.
[0149] Fig. 7A is the difference S between the attenuation signals S1 and S2 of the air scan at different focus positions according to the embodiment of the present invention. _wedge Schematic diagram of Figure 7B for Fig. 7A The difference S shown _wedge Schematic diagram of the product of and the coefficient ratio.
[0150] Figure 8 is the second difference S of the attenuation signal of the test tube 102 and the reference tube 101 after passing through the planar filter 106 according to the embodiment of the present invention. _diff Schematic diagram of the image above, where the wedge-shaped residual signal caused by focus drift has been removed.
[0151] The relative beam quality evaluation unit 206 calculates the relative beam quality based on the second difference S _diff , evaluate the relative beam quality of X-rays. Figure 8 As shown, the second difference S_ diffCompared with the two sides, the second difference S of the middle channel is lower, so the test tube 102 has a harder beam quality. _diff Compared to the higher sides, the test tube 102 has a softer beam quality.
[0152] In order to better quantify the relative beam quality, in this embodiment, the relative beam quality evaluation unit 206 may include:
[0153] The final signal calculation unit 208 averages the second difference S in the row direction according to the following formula: _diff And fit the averaged second difference S in the channel direction _diff , thus obtaining the final signal S final :
[0154] S final =polyfitting(mean(S _diff , 2))
[0155] Among them, polyfitting() is the polynomial fitting function.
[0156] Fig. 9 For the second difference S _diff The final signal S is averaged in the row direction and fitted in the channel direction. final When the test tube and the reference tube have the same beam quality, the final signal S final It is a horizontal straight line.
[0157] The evaluation unit 210, based on the final signal S final , evaluate the relative beam quality of X-rays.
[0158] According to a fifth aspect of the present invention, there is provided an X-ray system, comprising the apparatus 200 for evaluating relative beam quality of X-rays as described above.
[0159] The method, device, computer program, storage medium and X-ray system for evaluating the relative beam quality of X-rays of the present invention utilize a wedge filter to produce the desired beam quality change in the channel direction, and the attenuation change produced thereby can prevent the influence of signal offset caused by DMS response drift. Wedge residual correction can prevent the influence of thermal focus movement. Combined with noise reduction, the present invention can accurately indicate whether the test tube has a harder or softer beam quality compared to the reference tube. The present invention provides an effective quality control method for the production of tubes and high-voltage generators, which can effectively prevent uniformity or CT value problems caused by component deviations.
[0160] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method (100) for evaluating relative beam quality of X-rays, comprising: Step S102, calculating the difference S between the attenuation signals of the test tube (102) and the reference tube (101) after passing through the first filter. _diff0 ; Step S104, from the difference S _diff0 The wedge-shaped residual signal caused by focus drift is removed to obtain the second difference S _diff ; Step S106, according to the second difference S _diff , evaluate the relative beam quality of X-rays.
2. The method (100) according to claim 1, characterized in that: The first filter is a planar filter (106).
3. The method (100) according to claim 1, characterized in that: The first filter is a wedge filter (104).
4. The method (100) according to claim 1, characterized in that the step S102 includes calculating the difference S according to the following formula _diff0 : S _diff0 =S _test -S _ref Among them, S _test is the attenuation signal of the test tube (102) after passing through the first filter, S _ref is the attenuated signal of the reference tube (101) passing through the first filter.
5. The method (100) according to claim 1, characterized in that: S _diff0 is a two-dimensional array, the first dimension represents the channel, the second dimension represents the row, step S104 includes calculating the second difference S according to the following formula _diff : S _diff =S _diffo -ratio×S _wedge Among them, S _wedge is the difference between the attenuation signals S1 and S2 of the air scan at different focus positions; S _wedge =S1-S2 ratio=r / R Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the left of the rotation center channel; Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the right of the rotation center channel; mean() is the average function.
6. The method (100) of claim 1, wherein the step S106 includes: Step S108, averaging the second difference S in the row direction according to the following formula: _diff And fit the averaged second difference S in the channel direction _diff , thus obtaining the final signal S final : S final =polyfitting(mean(S _diff ,2)) Among them, polyfitting() is the polynomial fitting function; Step S110, according to the final signal S final , evaluate the relative beam quality of X-rays.
7. A computer program, which, when executed by a processor, can implement the steps of the method (100) according to any one of claims 1 to 6.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method (100) described in any one of claims 1 to 6 can be implemented.
9. An apparatus (200) for evaluating relative beam quality of X-rays, comprising: A difference calculation unit (202) is configured to calculate a difference S between the attenuation signals of the test tube (102) and the reference tube (101) after passing through the first filter. _diff0 ; The second difference acquisition unit (204) is configured to obtain the difference S _diff0 The wedge-shaped residual signal caused by focus drift is removed to obtain the second difference S _diff ; A relative beam quality evaluation unit (206) is configured to evaluate the relative beam quality according to the second difference S _diff , evaluate the relative beam quality of X-rays.
10. The device (200) according to claim 9, characterized in that The first filter is a planar filter (106).
11. The device (200) according to claim 9, characterized in that The first filter is a wedge filter (104).
12. The device (200) according to claim 9, characterized in that The difference calculation unit (202) is configured to calculate the difference S according to the following formula: _diff0 : S _diff0 =S _test -S _ref Among them, S _test is the attenuation signal of the test tube (102) after passing through the first filter, S _ref is the attenuated signal of the reference tube (101) passing through the first filter.
13. The device (200) according to claim 9, characterized in that S _diff0 is a two-dimensional array, the first dimension represents the channel, the second dimension represents the row, and the second difference value obtaining unit (204) is configured to calculate the second difference value S according to the following formula: _diff : S _diff =S _diff0 -ratio×S _wedge Among them, S _wedge is the difference between the attenuation signals S1 and S2 of the air scan at different focus positions; S _wedge =S1-S2 ratio=r / R Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the left of the rotation center channel; Respectively represent S _wedge The minimum channel number and the maximum channel number of a group of channels to the right of the rotation center channel; mean() is the average function.
14. The device (200) according to claim 9, characterized in that The relative beam quality evaluation unit (206) comprises: The final signal calculation unit (208) is configured to average the second difference S in the row direction according to the following formula: _diff And fit the averaged second difference S in the channel direction _diff , thus obtaining the final signal S final : S final =polyfitting(mean(S _diff ,2)) Among them, polyfitting() is the polynomial fitting function; The evaluation unit (210) is configured to evaluate the final signal S final , evaluate the relative beam quality of X-rays.
15. An X-ray system, comprising the device (200) for evaluating relative beam quality of X-rays according to any one of claims 9 to 14.
Citation Information
Patent Citations
Method for correcting beam hardening projection, method for determining position of motif, related device and equipment
CN119006622A
