A method for quantifying focal spot size of X-ray sources used in industrial CT systems

Through the spherical phantom method, the focus size of the X-ray source is calculated, and different angles of the projection edge of the sphere are used for oversampling interpolation and average noise reduction. This solves the problem of large micron-level focus measurement errors in the existing technology and achieves high-precision Focus size quantification.

CN115060747BActive Publication Date: 2024-09-24CHINA WEAPON SCI ACADEMY NINGBO BRANCH

Patent Information

Application Number
CN202210385597.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2024-09-24
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

The existing technology has large errors when measuring the focus size of micron-level X-ray sources. In particular, the ball target method is easily affected by image noise when the edges are unclear and the width is limited, resulting in large measurement errors.

Method used

Using the method of spherical phantom, a sphere is made from high-density materials, binarized and extracted to extract the sphere projection contour points, the edge expansion function of the focus is calculated, and the sphere projection edges at different angles are used for oversampling interpolation and average noise reduction. Get focus size.

Benefits of technology

It achieves focus size quantification with low processing difficulty, high reliability and high measurement accuracy of the ball phantom, reduces the precise requirements for the size and placement of the ball, and improves the accuracy of measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115060747B
    Figure CN115060747B
Patent Text Reader

Abstract

The present invention relates to a method for quantifying the focal spot size of an X-ray source for an industrial CT system, which is characterized by comprising: step 1, making a sphere with a high-density material; step 2, turning on the X-ray source and the detector to obtain a sphere projection image; step 3, binarizing the sphere projection image, and extracting the sphere projection contour position in the binarized sphere projection image; step 4, calculating the coordinates of the projection of the sphere center T of the sphere on the sphere projection image; step 5, obtaining the edge spread function f(x) of the focal spot; step 6, fitting the edge spread function f(x) of the focal spot obtained in step 5, and calculating the Gaussian function of the fitted edge spread function; step 7, obtaining the standard deviation of the Gaussian function, and multiplying the standard deviation by the minimum distance n on the preset focal plane as the focal spot size. The method has low difficulty in processing the spherical phantom and high reliability, and can realize accurate quantification of the focal spot size.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of performance evaluation of an X-ray source for an industrial CT system, and in particular to a focal spot size quantification method for an X-ray source for an industrial CT system. Background Art

[0002] X-ray detection technology is one of the most widely used technologies in non-destructive testing. X-ray sources are mainly used to generate X-rays, which can penetrate the workpiece to project its internal structure and defects, thereby achieving non-destructive detection of internal defects. The focus of the X-ray source is a key parameter that affects the defect detection capability. The smaller the focus of the X-ray source, the smaller the internal defects of the workpiece that can be detected. Therefore, X-ray machine manufacturers are committed to developing small-focus, high-energy industrial X-ray sources. At present, X-ray machines with micron-level focuses are already commercially available, especially 225kV X-ray sources, the focus size of which can generally be around 4-8 microns. It is particularly important to accurately quantify the micron-level focus to achieve accurate evaluation of the performance of the X-ray source.

[0003] At present, the commonly used methods for measuring the focal size of X-ray sources used in industrial CT systems are divided into direct method and indirect method. The direct method refers to the direct observation of the focal shape and size, etc., and the commonly used method is mainly the pinhole method; the indirect method is to observe the point spread function or line spread function caused by the focal size to calculate the focal size, and the commonly used methods include the edge method, the slit method and the ball target method. Among them, the pinhole method uses the classic pinhole imaging principle to realize the projection of the focal size shape. The clarity of the focal projection depends on the size of the pinhole. The smaller the pinhole, the higher the clarity of the focal projection. The micron-level focus needs to be made into a small hole of a smaller size. In addition, since X-rays are extremely penetrating electromagnetic waves, materials with high attenuation coefficients such as tungsten are required to make baffles and punch holes on them. The ultra-high hardness of tungsten also increases the difficulty of making small holes. In addition, the knife edge method uses a tungsten block to form a straight edge in the image, observes the edge degradation analysis, and uses the derivative method to calculate the line spread function. The rolling edge method is an improved knife edge method, which uses a tungsten cylindrical block instead of a tungsten block, that is, an arc surface with a certain radius is used instead of a flat surface, which is easy to achieve device centering. The recognition accuracy of the knife edge direction angle directly affects the effectiveness of focus measurement; the slit method uses two tungsten blocks placed in parallel to form a slit between the tungsten blocks to directly obtain the line spread function. This method has high requirements on the slit spacing and the parallelism of the tungsten blocks; the ball target method uses a sphere made of high-density material, projects it to collect images, collects the edge degradation function on the circumference of the sphere, and calculates the point spread function. The ball center positioning accuracy is better than the line positioning accuracy.

[0004] British Standard BS EN 12543-5 "Non-destructive testing - Characteristics of the focus of industrial X-ray systems for non-destructive testing - Part 5: Measurement of the effective focus size of micro and micro-focus X-ray tubes" recommends a focus size measurement method using a ball target method. This method uses the edge blur width of the sphere projection image to calculate the focus size at the magnification factor. The standard clearly requires that the sphere diameter is between 0.9mm-1.1mm, the magnification is between 20-100 times, and it is suitable for tube voltages below 200kV. It also points out that the focus measurement error is large if it is not in this range. The reason for the large error problem of this method is that the edge blur width in the above case only occupies a few pixels, which is easily affected by image noise and has a large measurement error. Further improvement is needed for this. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method for quantifying the focal size of an X-ray source for an industrial CT system with low difficulty in processing a spherical phantom, high reliability and high measurement accuracy, in view of the above-mentioned prior art.

[0006] The technical solution adopted by the present invention to solve the above technical problems is: a method for quantifying the focal spot size of an X-ray source for an industrial CT system, characterized by comprising the following steps:

[0007] Step 1: Use high-density material to make a sphere;

[0008] Step 2: Place the sphere in step 1 at the center of the turntable of the industrial CT system, adjust the turntable to make it close to the X-ray source, turn on the X-ray source and the detector, set the detection process that needs to measure the focal size of the X-ray source, and obtain the sphere projection image, which is a grayscale image;

[0009] Step 3, binarizing the spherical projection image to obtain a binarized spherical projection image, extracting the spherical projection contour position from the binarized spherical projection image, and forming the spherical projection contour position into a spherical projection contour point set I;

[0010] Step 4, obtain the edge spread function f(x) of the focus; where x is the distance from any point K1 on the focus to the center position v of the focus;

[0011] The specific steps are:

[0012] Step 4-1, arbitrarily select a point i0 from the sphere projection contour point set I, and extract the gray value distribution curve W on the line segment TI formed by the point i0 and the sphere center T in the sphere projection image i0 (x′);

[0013] Where i0 is the number of the projection contour point in the sphere projection contour point set I; x′ is the distance from any point on the line segment TI on the sphere projection image to the sphere center T;

[0014] Step 4-2, select the KIT cross-section formed by the focus K of the X-ray source, the center T of the sphere, and the point i0 in the sphere projection contour point set I, the KIT cross-section includes the line segment KI formed between the focus K and the point i0, the line segment TI, and the line segment KT formed between the focus K and the center T; draw a line segment JT perpendicular to the line segment KI from the center T, and the intersection of the line segment JT and the line segment KI is point J;

[0015] And the gray value distribution curve W on the line segment TI in step 4-1 i0 (x′) is projected onto the line segment JT, and the gray value distribution curve W on the line segment JT is obtained. i0 (j); W i0 The calculation formula of (j) is:

[0016] W i0 (j) = W i0 (x′*t i0 );

[0017] Where j is the distance from any point on the line segment JT to the center of the sphere T; t i0 is the correction coefficient of line segment TI, |JT| is the length of line segment JT; |TI| is the length of line segment TI;

[0018] Step 4-3: Draw the gray value distribution curve W on the line segment JT i0 (j) Projecting onto the focus to obtain the gray value distribution curve at the focus;

[0019] Specifically: let the distance from any point on line segment JT to point J be d j , the distance from any point on the focus to the center position v of the focus is recorded as d n , d n and d j The following formula is approximately satisfied:

[0020]

[0021] Where r is the radius of the sphere;

[0022] And according to the formula: d j =|JT|-j, that is, the gray value distribution curve of any point i0 in the sphere projection contour point set I projected on the focus is obtained

[0023] Step 4-4, extract the gray value distribution curve on the line segment formed by each point in the sphere projection contour point set I and the sphere center T according to the same method as in the above step 4-1, and extract the gray value distribution curve of each point in the sphere projection contour point set I projected on the focus according to the same method as in step 4-2 and steps 4 to 3;

[0024] Step 4-5, set the minimum distance n on the focal plane, and use the minimum distance n to sample and interpolate the grayscale value distribution curve on the focal point to obtain the grayscale value of each point on the focal point; when the same point on the focal point has multiple grayscale values, the grayscale value average of all grayscale values ​​is used as the grayscale value of the point on the focal point;

[0025] Step 4-6: The gray value W of each point on the focus calculated in step 4-5 is i0 (d n ) and the distance d between the corresponding point and the focal center position v n Substitute it into the edge spread function f(x) of the focus to obtain the edge spread function f(x) of the focus;

[0026] where x = d n ; f(x) = W i0 (d n );

[0027] Step 5, fitting the edge spread function f(x) of the focus obtained in step 4, and calculating the Gaussian function of the fitted edge spread function;

[0028] Step 6: Obtain the standard deviation of the Gaussian function, and multiply the standard deviation by the preset minimum distance n on the focal plane as the focal size.

[0029] Preferably, the specific method of binarization in step 3 is:

[0030] Obtain the grayscale value distribution map of any line segment A located on the sphere in the spherical projection image, and obtain the grayscale value at a% height in the grayscale value distribution map, and use the grayscale value as the threshold to perform binarization processing on the spherical projection image; wherein a%∈(0%, 100%), the 100% height in the grayscale value distribution map is the maximum grayscale value; the 0% height in the grayscale value distribution map is the minimum grayscale value.

[0031] Preferably, the value range of a% is: 40% to 60%.

[0032] Furthermore, the specific calculation method of the coordinates of the sphere center T in step 4-2 is:

[0033] Calculate the coordinates of the farthest point M and the closest point N from the center point O of the spherical projection image in the spherical projection contour point set I, form a line segment MN with the point M and the point N, and calculate the coordinates of the farthest point S from the line segment MN in the spherical projection contour point set I; at the same time, calculate the orthocenter coordinates of the point S to the line segment MN, which corresponds to the coordinates of the projection of the center T of the sphere on the spherical projection image.

[0034] Furthermore, the length |JT| of the line segment JT in step 5-2 is calculated as follows:

[0035] According to Heron's formula, we get:

[0036]

[0037]

[0038] |JT|=2S / |KI|

[0039] Where |KT| is the length of line segment KT, (x O ,y O ) is the coordinate of the center point O of the spherical projection image; (x T ,y T ) is the coordinate of the sphere center T; SDD is the distance from the focus K to the center point O of the sphere projection image; (x i ,y i ) is the coordinate of point i0 in the sphere projection contour point set I; |KI| is the length of line segment KI;

[0040] Compared with the prior art, the advantages of the present invention are: the method does not require precise requirements for the size and placement of the sphere, and the actual magnification ratio is calculated by analyzing the projection edge of the sphere at different angles. Since the magnification ratios of various angles are different, the different resolutions of the edge extension function at various angles are different. This feature is used to realize oversampling interpolation and average noise reduction of the edge extension function. The ball phantom of the method has low processing difficulty and high reliability, and can realize accurate quantification of the focal size. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of a sphere for quantifying the focal spot size of an X-ray source in an embodiment of the present invention;

[0042] Figure 2 For Figure 1 Schematic diagram of mid-sphere projection imaging;

[0043] Figure 3 For Figure 1 The spherical projection image obtained by the spherical projection imaging;

[0044] Figure 4 for Figure 3 Gray value distribution diagram of the middle line segment A;

[0045] Figure 5 for Figure 2 3D schematic diagram of the projection;

[0046] Figure 6 for Figure 5 KIT cross-section diagram;

[0047] Figure 7 For the general Figure 6 Schematic diagram of the mapping of point J to the focus in the KIT profile;

[0048] Figure 8 Schematic diagram of a spherical phantom for testing in an embodiment of the present invention;

[0049] Fig. 9 For Figure 8 The image obtained by projection imaging;

[0050] Fig.10 For Fig. 9 The effect diagram of edge extension function extraction and fitting of the image. DETAILED DESCRIPTION

[0051] The present invention is further described in detail below with reference to the accompanying drawings.

[0052] The method for quantitatively determining the focal spot size of an X-ray source for an industrial CT system in this embodiment comprises the following steps:

[0053] Step 1: Use high-density material to make a sphere;

[0054] In this embodiment, it is recommended that the sphere be made of pure tungsten material; in addition, in order to achieve the support of the sphere, the imaging of the sphere should not be affected. Figure 1 As shown, a support rod for supporting the sphere is made of a low-density material, and carbon fiber is suggested to be used for the support rod;

[0055] This step also includes calibrating the diameter of the sphere using a three-dimensional coordinate measuring machine. When the focal point size to be detected is smaller, a sphere with a smaller diameter is used;

[0056] Step 2: Place the sphere in step 1 at the center of the turntable of the industrial CT system, adjust the turntable to make it close to the X-ray source, turn on the X-ray source and the detector, set the detection process (tube voltage, tube current) that needs to measure the focal size of the X-ray source, and obtain the sphere projection image, which is a grayscale image;

[0057] right Figure 1 The schematic diagram of the test on the sphere is as follows Figure 2 As shown, the spherical projection image is Figure 3 As shown in Figure 2, the reason why the density of supporting rods is low is that it can be ignored when imaging here; Figure 3 The midpoint O is the center point of the spherical projection image (imaging on the detector); since the X-ray source and detector of all CT devices are coaxial, the sphere selected is generally larger, and the larger the sphere, the higher the accuracy, so that point O is within the spherical projection image; T is the projection position of the center of the sphere on the detector;

[0058] Step 3, binarizing the spherical projection image to obtain a binarized spherical projection image, extracting the spherical projection contour position from the binarized spherical projection image, and forming the spherical projection contour position into a spherical projection contour point set I;

[0059] The threshold selection method for binarization processing is:

[0060] Obtain the gray value distribution map of any line segment A that passes through the sphere in the sphere projection image. The line segment A cannot be the tangent of the sphere projection image and must have two intersection points with the sphere projection image. Figure 3 The gray value distribution diagram on the line segment A in is as follows Figure 4 As shown, the gray value at a% height in the gray value distribution map is obtained, the gray value is used as a threshold, and finally the threshold is used to perform binarization processing on the spherical projection image; a%∈(0%, 100%), the 100% height in the gray value distribution map is the maximum gray value; the 0% height in the gray value distribution map is the minimum gray value; in this embodiment, a%=50% is selected;

[0061] Step 4, obtain the edge spread function f(x) of the focus; where x is the distance from any point K1 on the focus to the center position v of the focus;

[0062] The specific steps are:

[0063] Step 4-1, arbitrarily select a point i0 from the sphere projection contour point set I, and extract the gray value distribution curve W on the line segment TI formed by the point i0 and the sphere center T in the sphere projection image i0 (x′);

[0064] Where i0 is the number of the projection contour point in the sphere projection contour point set I; x′ is the distance from any point on the line segment TI on the sphere projection image to the sphere center T;

[0065] Step 4-2, select the KIT cross-section formed by the focus K of the X-ray source, the center T of the sphere, and the point i0 in the sphere projection contour point set I, the KIT cross-section includes the line segment KI formed between the focus K and the point i0, the line segment TI, and the line segment KT formed between the focus K and the center T; draw a line segment JT perpendicular to the line segment KI from the center T, and the intersection of the line segment JT and the line segment KI is point J;

[0066] And the gray value distribution curve W on the line segment TI in step 4-1 i0 (x′) is projected onto the line segment JT, and the gray value distribution curve W on the line segment JT is obtained. i0 (j); W i0 The calculation formula of (j) is:

[0067] W i0 (j) = W i0 (x′*t i0 );

[0068] Where j is the distance from any point on the line segment JT to the center of the sphere T; t i0 is the correction coefficient of line segment TI, |JT| is the length of line segment JT; |TI| is the length of line segment TI;

[0069] The specific calculation method of the coordinates of the above-mentioned sphere center T is:

[0070] Calculate the coordinates of the farthest point M and the closest point N from the center point O of the spherical projection image in the spherical projection contour point set I, form a line segment MN with the point M and the point N, and calculate the coordinates of the farthest point S from the line segment MN in the spherical projection contour point set I; at the same time, calculate the orthocenter coordinates of the point S to the line segment MN, which corresponds to the coordinates of the projection of the center T of the sphere on the spherical projection image;

[0071] The spherical projection image establishes a two-dimensional plane xy (corresponding to the projection on the detector), and the coordinates of the center point O of the spherical projection image are (x O ,y O ), the coordinates (x N ,y N ) and the coordinates of the farthest point M (x M ,y M ) is calculated as:

[0072]

[0073]

[0074] Among them, (x i ,y i) is the coordinate of the i-th point in the sphere projection contour point set I in the two-dimensional image, (x i ,y i )∈I;

[0075] The calculation formula based on the coordinates (x, y) of each point on the line segment MN is:

[0076]

[0077] (y M -y N )x+(x M -x N )y+x M y N -x N y M =0

[0078] Any point (x i ,y i ) to the line segment MN is calculated as:

[0079]

[0080] The coordinates (x S ,y S ) is calculated as:

[0081]

[0082] The coordinates of the orthocenter of the line segment MN from point S (x T ,y T ) is calculated as:

[0083]

[0084] The length of line segment JT |JT| is calculated as follows:

[0085] According to Heron's formula, we get:

[0086]

[0087]

[0088] |JT|=2S / |IK|

[0089] Where |KT| is the length of line segment KT, (x O ,y O ) is the coordinate of the center point O of the spherical projection image; (x T ,y T) is the coordinate of the sphere center T; SDD is the distance from the focus K to the center point O of the sphere projection image, and the SDD value can be read by the industrial CT system software; (x i ,y i ) is the coordinate of point i0 in the sphere projection contour point set I; |KI| is the length of line segment KI;

[0090] The three-dimensional schematic diagram of the projection is as follows Figure 5 As shown, In addition, the KIT cross-section diagram is as follows Figure 6 As shown;

[0091] The theoretical basis for mapping the grayscale value distribution on line segment TI to line segment JT is: According to the triangle formed by point J, point T and point I: That is, we get: Therefore, the gray value distribution curve W on the line segment TI is i0 (x′) is projected onto the line segment JT, and the gray value distribution curve W on the line segment JT is obtained. i0 (j);

[0092] Step 4-3: Draw the gray value distribution curve W on the line segment JT i0 (j) Projecting onto the focus to obtain the gray value distribution curve at the focus;

[0093] Assumptions Figure 6 The central focus is a circle. If you want to measure its size, regardless of its size, the following becomes Figure 7 The focus K is a plane with a certain width, the center of the focus is set to v, and vCJ is on a line. The overall idea is to project the gray value distribution on the line segment JT onto the focus to form the point spread function of the focus, so that the focus size can be estimated.

[0094] The reason for mapping the grayscale value distribution on line segment TI to line segment JT is that vCh (h is the center of the sphere) and vJT share the same angle. Given the radius r of the sphere (obtained by calibrating the diameter of the sphere using the three-dimensional coordinate measuring machine in step 1) and the length of line segment JT, we can use And since |VC|+|CJ|=|VJ|, we get: This relationship is used to map the gray value distribution on the line segment JT to the focus;

[0095] Specifically: let the distance from any point on line segment JT to point J be d j , the distance from any point on the focus to the center position v of the focus is recorded as d n , d n and d jThe following formula is approximately satisfied:

[0096]

[0097] Where r is the radius of the sphere;

[0098] And according to the formula: d j =|JT|-j, that is, the gray value distribution curve of any point i0 in the sphere projection contour point set I projected on the focus is obtained

[0099] Step 4-4, extract the gray value distribution curve on the line segment formed by each point in the sphere projection contour point set I and the sphere center T according to the same method as in the above step 4-1, and extract the gray value distribution curve of each point in the sphere projection contour point set I projected on the focus according to the same method as in step 4-2 and steps 4 to 3;

[0100] Step 4-5, set the minimum distance n on the focal plane, and use the minimum distance n to sample and interpolate the grayscale value distribution curve on the focal point to obtain the grayscale value of each point on the focal point; when the same point on the focal point has multiple grayscale values, the grayscale value average of all grayscale values ​​is used as the grayscale value of the point on the focal point;

[0101] Since a large number of point set grayscale values ​​are projected onto the focus, the edge expansion function of the focus can be formed by using oversampling interpolation and average noise reduction methods;

[0102] Step 4-6: The gray value W of each point on the focus calculated in step 4-5 is i0 (d n ) and the distance d between the corresponding point and the focal center position v n Substitute it into the edge spread function f(x) of the focus to obtain the edge spread function f(x) of the focus;

[0103] where x = d n ; f(x) = W i0 (d n );

[0104] Step 5, fitting the edge spread function f(x) of the focus obtained in step 4, and calculating the Gaussian function of the fitted edge spread function;

[0105] Step 6: Obtain the standard deviation of the Gaussian function, and multiply the standard deviation by the preset minimum distance n on the focal plane as the focal size.

[0106] Since the central axis of the sphere is not necessarily perpendicular to the central axis of the detector and the focus, the projection of the sphere is an oblique projection; the present invention uses three projection mappings, firstly, the projection of the sphere on the detector plane is used to form a grayscale value analysis of edge degradation, where the I point set is the edge contour point, and the grayscale value distribution near the I point; secondly, the I point set is projected to the J point, so that the grayscale value distribution near the I point becomes the grayscale value distribution near the J point; finally, the J point is projected to the v point (focal plane), and the grayscale value distribution of all points near the J point set is projected to the focus near the v point. Therefore, the present invention first calculates the exact position of the center of the oblique projection of the circle, and uses the different oblique projection angles of each side of the circle to cause a slight change in the magnification ratio. The magnification ratio of each edge is obtained by calculation, and on this basis, the edge extension function of different resolutions is obtained, and then oversampling interpolation and mean noise reduction are performed to achieve high-precision focus size quantification.

[0107] To verify the practicability of the present invention, a test was conducted on a 3D cone-beam micro-focus plane array CT system. The focal spot size provided by the X-ray machine manufacturer was about 5-9 microns. Figure 8 The spherical phantom shown has a spherical diameter of 2 mm.

[0108] The spherical phantom was placed on a turntable, as close to the X-ray source as possible, and different detection processes (as shown in Table 1) were used to collect DR images (Note: the focal spot size of the X-ray machine is generally positively correlated with the power used, that is, the greater the power, the larger the focal spot).

[0109] Table 1 Different detection processes

[0110] Serial number Tube voltage Tube Current 1 60kV 60uA 2 60kV 90uA 3 60kV 120uA

[0111] The integration time is 1000ms, the SDD value is set to 480mm, and the DR image is collected as follows Fig. 9 shown.

[0112] The minimum distance for focus calculation is set to n = 0.0005 mm. The edge expansion scatter function is extracted and the Gaussian function is calculated by iterative approximate fitting, such as Fig.10 shown.

[0113] The Gaussian function corresponding to the fitted edge spread function is calculated (which can be obtained by differentiation), the standard deviation of the Gaussian function is calculated, and the focal size can be obtained by multiplying the standard deviation value by the minimum distance n.

[0114] Table 2 Focus size measurement results

[0115] Serial number Gaussian function standard deviation Focus size 1 15.2371 7.01234 2 16.9274 7.65257 3 18.339 8.6678

[0116] According to the experimental results shown in Table 2, the greater the power, the larger the focal size, which is consistent with the actual situation.

[0117] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for quantifying the focal spot size of an X-ray source for an industrial CT system, characterized in that The following steps are involved: Step 1: Use high-density material to make a sphere; Step 2: Place the sphere in step 1 at the center of the turntable of the industrial CT system, adjust the turntable to make it close to the X-ray source, turn on the X-ray source and the detector, set the detection process that needs to measure the focal size of the X-ray source, and obtain the sphere projection image, which is a grayscale image; Step 3, binarizing the spherical projection image to obtain a binarized spherical projection image, extracting the spherical projection contour position from the binarized spherical projection image, and forming the spherical projection contour position into a spherical projection contour point set I; Step 4, obtain the edge spread function f(x) of the focus; where x is the distance from any point K1 on the focus to the center position v of the focus; The specific steps are: Step 4-1, arbitrarily select a point i0 from the sphere projection contour point set I, and extract the gray value distribution curve W on the line segment TI formed by the point i0 and the sphere center T in the sphere projection image i0 (x′); Where i0 is the number of the projection contour point in the sphere projection contour point set I; x′ is the distance from any point on the line segment TI on the sphere projection image to the sphere center T; Step 4-2, select the KIT cross-section formed by the focus K of the X-ray source, the center T of the sphere, and the point i0 in the sphere projection contour point set I, the KIT cross-section includes the line segment KI formed between the focus K and the point i0, the line segment TI, and the line segment KT formed between the focus K and the center T; draw a line segment JT perpendicular to the line segment KI from the center T, and the intersection of the line segment JT and the line segment KI is point J; And the gray value distribution curve W on the line segment TI in step 4-1 i0 (x′) is projected onto the line segment JT, and the gray value distribution curve W on the line segment JT is obtained. i0 (j); W i0 The calculation formula of (j) is: W i0 (j)=W i0 (x′*t i0 ); Where j is the distance from any point on the line segment JT to the center of the sphere T; t i0 is the correction coefficient of line segment TI, |JT| is the length of line segment JT; |TI| is the length of line segment TI; Step 4-3: Draw the gray value distribution curve W on the line segment JT i0 (j) Projecting onto the focus to obtain the gray value distribution curve at the focus; Specifically: let the distance from any point on line segment JT to point J be d j , the distance from any point on the focus to the center position v of the focus is recorded as d n , d n and d j The following formula is approximately satisfied: Where r is the radius of the sphere; And according to the formula: d j =|JT|-j, that is, the gray value distribution curve of any point i0 in the sphere projection contour point set I projected on the focus is obtained Step 4-4, extract the gray value distribution curve on the line segment formed by each point in the sphere projection contour point set I and the sphere center T according to the same method as in the above step 4-1, and extract the gray value distribution curve of each point in the sphere projection contour point set I projected on the focus according to the same method as in steps 4-2 and 4-3; Step 4-5, set the minimum distance n on the focal plane, and use the minimum distance n to sample and interpolate the grayscale value distribution curve on the focal point to obtain the grayscale value of each point on the focal point; when the same point on the focal point has multiple grayscale values, the grayscale value average of all grayscale values ​​is used as the grayscale value of the point on the focal point; Step 4-6: The gray value W of each point on the focus calculated in step 4-5 is i0 (d n ) and the distance d between the corresponding point and the focal center position v n Substitute it into the edge spread function f(x) of the focus to obtain the edge spread function f(x) of the focus; where x = d n ; f(x) = W i0 (d n ); Step 5, fitting the edge spread function f(x) of the focus obtained in step 4, and calculating the Gaussian function of the fitted edge spread function; Step 6: Obtain the standard deviation of the Gaussian function, and multiply the standard deviation by the preset minimum distance n on the focal plane as the focal size.

2. The method for quantifying the focal spot size of an X-ray source for an industrial CT system according to claim 1, characterized in that: The specific method of binarization in step 3 is: Obtain the grayscale value distribution map of any line segment A located on the sphere in the spherical projection image, and obtain the grayscale value at a% height in the grayscale value distribution map, and use the grayscale value as the threshold to perform binarization processing on the spherical projection image; wherein a%∈(0%, 100%), the 100% height in the grayscale value distribution map is the maximum grayscale value; the 0% height in the grayscale value distribution map is the minimum grayscale value.

3. The method for quantifying the focal spot size of an X-ray source for an industrial CT system according to claim 2, characterized in that: The value range of a% is: 40%~60%.

4. The method for quantifying the focal spot size of an X-ray source for an industrial CT system according to claim 1, characterized in that: The specific calculation method of the coordinates of the sphere center T in step 4-2 is: Calculate the coordinates of the farthest point M and the closest point N from the center point O of the spherical projection image in the spherical projection contour point set I, form a line segment MN with the point M and the point N, and calculate the coordinates of the farthest point S from the line segment MN in the spherical projection contour point set I; at the same time, calculate the orthocenter coordinates of the point S to the line segment MN, which corresponds to the coordinates of the projection of the center T of the sphere on the spherical projection image.

5. The method for quantifying the focal spot size of an X-ray source for an industrial CT system according to claim 4, characterized in that: The calculation process of the length |JT| of the line segment JT in step 4-2 is: According to Heron's formula, we get: |JT|=2S / |KI| Where |KT| is the length of line segment KT, (x o ,y o ) is the coordinate of the center point O of the spherical projection image; (x T ,y T ) is the coordinate of the sphere center T; SDD is the distance from the focus K to the center point O of the sphere projection image; (x i ,y i ) is the coordinate of point i0 in the sphere projection contour point set I; |KI| is the length of line segment KI;

Citation Information

Patent Citations

  • Calibration method of projection coordinate of ray source focus in three-dimensional microscopic CT scanning system

    CN101515370A

  • Mobile assembly for pencil beam XCT (X-ray Computed Tomography) system and a method for carrying out image reconstruction and coordinate system origin calibration by using same

    CN101832954A

  • Method for measuring and modeling point spread function of cone beam CT system

    CN102759538A

  • Device, method and module for measuring size and position of focus

    CN114264227A

  • CT detection method and CT device

    DE102015226693A1

Cited By

  • Ray source focal spot stability evaluation method and system based on multi-ball array-dynamic coupling

    CN121522714A