Radiographic scanning system and scanning method
By realizing the rotational movement of the X-ray source, detector, and stage in the X-ray scanning system, and using adjustable tube voltage for multiple scans, combined with three-dimensional reconstruction processing, the problem of high hardware cost of multi-energy tomography equipment is solved, and accurate material composition differentiation and system upgrades are achieved.
Patent Information
- Application Number
- CN202611455253.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing multi-energy tomography (MCT) testing equipment has high hardware costs and is difficult to meet the testing needs of different testing manufacturers.
By realizing the rotational movement of the X-ray source, detector, and stage in the X-ray scanning system, and using adjustable tube voltage for multiple scans, combined with three-dimensional reconstruction processing, multi-energy X-ray scanning and detection can be achieved.
It reduces hardware costs, improves the quality of scanned images, and can accurately distinguish the material composition of the object under inspection, making it suitable for upgrading and retrofitting conventional industrial tomography systems.
Smart Images

Figure CN123175984A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of industrial nondestructive testing technology, and in particular to a radiographic scanning system and scanning method. Background Technology
[0002] In the field of industrial inspection, computed tomography (CT) equipment reconstructs images of the internal structure of an object by utilizing the attenuation information of X-rays after they penetrate it. It is widely used for defect detection, foreign object detection, and material composition analysis of various workpieces. Currently, industrial CT equipment can include single-energy CT and multi-energy CT (including dual-energy CT) equipment. Single-energy CT only obtains a linear attenuation coefficient distribution. When different materials have similar attenuation coefficients, it is difficult to effectively distinguish between them; for example, it cannot accurately distinguish between light metals, plastics, and composite materials. Multi-energy CT, by acquiring attenuation information of the workpiece at at least two different energies, can effectively improve material identification capabilities compared to single-energy CT.
[0003] However, existing multi-energy tomography (MCT) testing equipment has high hardware cost requirements in its implementation, which makes it unable to meet the testing needs of different testing manufacturers. Summary of the Invention
[0004] The purpose of this application is to provide a radiographic scanning system and scanning method to achieve a multi-energy radiographic scanning and detection method that balances hardware cost and scan image quality, accurately distinguishes the material composition of the object to be inspected, and meets the detection needs of different testing manufacturers.
[0005] In a first aspect, embodiments of this application provide a radiation scanning system, comprising: a radiation source, a detector, a stage, a processing component, and a drive control component, wherein: The stage is located between the X-ray source and the detector and is used to carry the object to be inspected; At least one of the radiation source, detector and stage can rotate under the control of its respective drive and control components. The processing component is used to send a first rotation command to the target drive control component in response to the start detection command, so as to instruct the target drive control component to control the rotating component in the X-ray source, detector and stage to perform a first rotation operation to perform a first tomographic scan on the object to be inspected; the target drive control component refers to the drive control component corresponding to the rotating component in the X-ray source, detector and stage. During the first computed tomography scan, the tube voltage of the X-ray source is a first voltage, and the detector is used to acquire the first projection dataset of the object under inspection. The processing component is further configured to send a second rotation command to the target drive control component after determining that the first tomographic scan has ended and the tube voltage of the X-ray source is set to the second voltage, so as to realize the second tomographic scan of the object to be examined; the second voltage is greater than the first voltage; The detector is also used to acquire a second projection dataset of the object under test during the second tomographic scan; the second tomographic scan uses the same scanning parameters as the first tomographic scan, and the relative positional relationship between the object under test, the radiation source and the detector remains the same during the first tomographic scan and the second tomographic scan. The processing component is also used to perform three-dimensional reconstruction processing based on the first projection dataset and the second projection dataset, determine the reconstruction result of the object to be inspected, and determine the material composition of the object to be inspected based on the reconstruction result.
[0006] Secondly, embodiments of this application provide a radiographic scanning method applied to a processing component in a radiographic scanning system. The radiographic scanning system further includes a radiographic source, a detector, a stage, and a drive control component. The stage is located between the radiographic source and the detector and is used to carry the object to be inspected. At least one of the radiographic source, detector, and stage can rotate under the control of its respective drive control component. The method includes: In response to the start detection command, a first rotation command is sent to the target drive control component to instruct the target drive control component to control the rotating component among the X-ray source, detector, and stage to perform a first rotation operation to perform a first tomographic scan on the object to be inspected; the target drive control component refers to the drive control component corresponding to the rotating component among the X-ray source, detector, and stage. After determining that the first tomographic scan has ended and the tube voltage of the X-ray source is set to the second voltage, a second rotation command is sent to the target drive control component to realize the second tomographic scan of the object under test; the second voltage is greater than the first voltage; the second tomographic scan uses the same scanning parameters as the first tomographic scan, and the relative positional relationship between the object under test, the X-ray source and the detector remains the same during the first tomographic scan and the second tomographic scan. Three-dimensional reconstruction processing is performed based on the first projection dataset and the second projection dataset to determine the reconstruction result of the object to be inspected, and the material composition of the object to be inspected is determined based on the reconstruction result; the first projection dataset is the scanning data of the object to be inspected collected by the detector during the first tomographic scan, and the second projection dataset is the scanning data of the object to be inspected collected by the detector during the second tomographic scan.
[0007] Thirdly, embodiments of this application provide a processing apparatus, including: Memory, also known as machine-readable storage medium, is used to store computer programs or computer instructions; The processor, when executing a program or instructions stored in memory, implements the ray scanning method described in any of the above embodiments.
[0008] The beneficial effects that can be achieved by the embodiments of this application are: In this embodiment, the X-ray scanning system includes an X-ray source, a detector, a stage, a processing component, and a drive control component. At least one of the X-ray source, detector, and stage can be rotated, enabling multi-angle scanning and detection of the object to be inspected, achieving a tomographic scanning effect. Based on the adjustable tube voltage of the X-ray source, under the scheduling and control of the processing component, the X-ray source can complete multiple scans of the object to be inspected at multiple (including two or more) different tube voltages. This allows the same X-ray scanning system to complete multi-energy tomographic scanning of the object to be inspected by configuring the tube voltage of the X-ray source multiple times, achieving a multi-energy X-ray scanning and detection effect that balances hardware cost and scanning image quality. This accurately distinguishes the material composition of the object to be inspected, meeting the detection needs of different testing manufacturers.
[0009] The X-ray scanning system provided in this application embodiment enables multi-energy X-ray scanning and detection of the object to be inspected without the need for additional detectors or X-ray sources, nor for rapid switching of the high-voltage power supply of the X-ray source, thus significantly reducing the hardware cost of the system used to achieve multi-energy X-ray scanning. Furthermore, the multi-energy X-ray scanning and detection method provided in this application embodiment is applicable to most conventional industrial tomography systems currently on the market, providing an economical and efficient way to upgrade existing equipment to be usable for multi-energy X-ray scanning.
[0010] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0012] Figure 1 This is a schematic diagram of the structure of a X-ray scanning system provided in an embodiment of this application; Figure 2 This is a schematic diagram of another X-ray scanning system provided in an embodiment of this application; Figure 3 A flowchart illustrating a radiographic scanning method provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a processing device provided in an embodiment of this application. Detailed Implementation
[0013] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.
[0014] Figure 1 As an example, a schematic diagram of a radiographic scanning system provided in this application is shown. This system includes, but is not limited to, a radiation source, a detector, a stage, a processing component, and a drive control component. For components that are part of the radiographic scanning system but are not shown in the diagram, those skilled in the art can implement them by referring to existing technical principles or based on common technical knowledge, and will not be described in detail here.
[0015] A processing component is a collective term for functional components that possess data processing capabilities and can control other functional components. For example, processing components can be implemented in various forms, including but not limited to processors or host computers that include processors. Processing components support direct or indirect communication with X-ray sources, detectors, stages, and drive control components.
[0016] A drive control component refers to a functional component that can directly control the movement of the X-ray source, stage, and detector. For example, a drive control component may include, but is not limited to, a rotary motor controller.
[0017] The stage is located between the X-ray source and the detector and is used to hold the object to be inspected. That is, regardless of whether the X-ray source and the detector are deployed vertically (e.g., one of the X-ray source and the detector is deployed in the upper space and the other in the lower space) or horizontally (e.g., one of the X-ray source and the detector is deployed on the left and the other on the right), the stage is located in the space between the X-ray source and the detector to hold the object to be inspected.
[0018] At least one of the X-ray source, detector, and stage can rotate under the control of its respective drive control component. The implementation of at least one of the X-ray source, detector, and stage being able to rotate includes, but is not limited to: (1) the X-ray source and detector can rotate synchronously while the stage does not rotate; (2) the stage rotates while the detector and X-ray source do not rotate; (3) the stage and detector can rotate synchronously while the X-ray source does not rotate; other implementations may be determined based on different detection requirements. Given the requirement to achieve tomographic scanning of the object under test, this application does not limit the specific form of rotational movement between the X-ray source, stage, and detector; in other words, this application does not limit the specific implementation of the device used to achieve tomographic scanning of the object under test. Furthermore, when at least one of the X-ray source, detector, and stage can support rotational movement, the rotating component can share a drive control component, or each rotating component can have its own dedicated drive control component, such as... Figure 1 The diagram illustrates that the X-ray source corresponds to drive control component 1, the stage corresponds to drive control component 2, and the detector corresponds to drive control component 3. However, this embodiment is not limited in this respect. Taking the case where two of the X-ray source, detector, and stage can rotate synchronously as an example, specifically, taking the synchronous rotation of the X-ray source and detector as an example, the X-ray source and detector can rotate separately under the control of the same drive control component, or they can rotate separately under the control of their respective corresponding drive control components. It should be understood that in order to enable at least one of the X-ray source, detector, and stage to rotate, at least one of them needs to be connected to a rotary motor; this is common knowledge for those skilled in the art. Figure 1 Not shown in the image.
[0019] During the operation of the X-ray scanning system, the processing component responds to the start detection command by sending a first rotation command to the target drive control component. This command instructs the target drive control component to control the rotating component among the X-ray source, detector, and stage to perform a first rotation operation for the first tomographic scan of the object under examination. The target drive control component refers to the drive control component corresponding to the rotating component among the X-ray source, detector, and stage. The rotating component refers to the component among the three that needs to rotate during the current scan. The start detection command can be triggered by the operator through the start button or start key of the X-ray scanning system (which can be a physical button or a virtual button on a touch-enabled display interface).
[0020] During the first tomographic scan, the tube voltage of the X-ray source is the first voltage, and the detector is used to acquire the first projection dataset of the object under examination. The tube voltage of the X-ray source can be configured under the instruction of the processing component, or it can be read by the X-ray source from the storage space of the corresponding value parameter of the tube voltage; there is no specific limitation in this regard. After acquiring the first projection dataset of the object under examination, the detector can send it to the processing component for data processing. Considering that the detector needs to acquire projection data multiple times during the tomographic scan of the object under examination, the projection data acquired by the detector within one tomographic scan cycle is collectively referred to as the projection dataset.
[0021] The processing component is also used to send a second rotation command to the target drive control component after determining that the first tomographic scan has ended and the tube voltage of the X-ray source is set to the second voltage, so as to realize the second tomographic scan of the object under inspection; the second voltage is greater than the first voltage. During the first tomographic scan, the target drive control component can monitor the motion status information of the rotating object in real time. After determining that the rotating object has completed the required rotation angle, it controls the rotating object to stop rotating and sends an indication signal to the processing component indicating that the rotating object has stopped rotating. Upon receiving this indication, the processing component determines that the first tomographic scan has ended. Then, based on communication with the X-ray source, after determining that the tube voltage of the X-ray source is set to the second voltage, the processing component can send a second rotation command to the target drive control component corresponding to the rotating object in the X-ray source, detector, and stage, instructing the rotating object to rotate, which means that the second tomographic scan can begin. To ensure that the specimen is scanned at at least two different X-ray energies, and that the energy spectrum data at different energies can be effectively separated, the difference between the first and second voltages of the X-ray source tube needs to be sufficiently large. For example, the difference between the second and first voltages should be greater than a preset voltage difference threshold. The specific value of the voltage difference threshold can be determined according to specific requirements. For example, the first voltage is 80 kVp and the second voltage is 140 kVp, and the difference between the two is 60 kVp, which is greater than the preset voltage difference threshold of 50 kVp.
[0022] The detector is also used to acquire a second projection dataset of the object under test during the second tomographic scan. The second tomographic scan uses the same scanning parameters as the first tomographic scan, and the relative positions of the object under test, the X-ray source, and the detector remain the same during both scans. This setup ensures that the projection datasets obtained in multiple (including two or more) tomographic scans are aligned. In other words, multiple scans of the same location on the object under test can be performed, and the data in the second and first projection datasets correspond one-to-one with the scanned position of the object under test. Scanning parameters may include, but are not limited to, the detector's acquisition angle interval, the detector's own acquisition parameters, the X-ray source's settings (excluding tube voltage), the equivalent rotation angle of the object under test, and the rotation start position. The aim is to ensure that, apart from the tube voltage of the X-ray source, other configuration parameters are as similar as possible during each tomographic scan, minimizing the impact of differences in configuration parameters other than tube voltage on the scanning detection effect. For example, in the first tomographic scan, the rotating side is the stage. The stage, carrying the object to be examined, rotates 360 degrees clockwise from the starting position to complete the scan. During this process, the detector acquires a projection image (i.e., projection data) every preset angle (e.g., 1°). In the second tomographic scan, the rotating side is also the stage. The stage, carrying the object to be examined, rotates 360 degrees clockwise from the same starting position to complete the scan. During this process, the detector also acquires a projection image (i.e., projection data) every preset angle (e.g., 1°). The equivalent rotation angle of the object to be examined is 360 degrees clockwise, and the acquisition angle interval of the detector is the preset angle. It should be understood that the rotation direction in the first and second tomographic scanning processes can be the same or different. This application does not limit this, but for the object under examination, its equivalent rotation angle needs to be consistent. For example, in the first tomographic scanning process, the rotation direction is the stage, and it completes a 360-degree clockwise rotation. In the second tomographic scanning process, the rotation direction is the X-ray source and the detector, and the two simultaneously complete a 360-degree counterclockwise rotation, which is equivalent to the object under examination rotating 360 degrees clockwise. Therefore, the equivalent rotation angle of the object under examination in the first and second tomographic scanning processes is the same.
[0023] The processing component is also used to perform three-dimensional reconstruction processing based on the first projection dataset and the second projection dataset, determine the reconstruction result of the object to be inspected, and determine the material composition of the object to be inspected based on the reconstruction result.
[0024] As mentioned earlier, the second voltage is greater than the first voltage. Correspondingly, the first projection dataset can be understood as a low-energy projection dataset, and the second projection dataset can be understood as a high-energy projection dataset. The processing component performs three-dimensional reconstruction processing based on the high and low energy projection data of the object under test. The reconstruction processing algorithm can include, but is not limited to, a filtered back projection algorithm or an iterative reconstruction algorithm. The reconstruction result includes features that can reflect the material composition of the object under test. These features can include, but are not limited to, at least one of the feature parameters such as equivalent physical density distribution, atomic number, and electron density. Therefore, the material composition of the object under test can be accurately distinguished based on the reconstruction result.
[0025] In this embodiment, the X-ray scanning system includes an X-ray source, a detector, a stage, a processing component, and a drive control component. At least one of the X-ray source, detector, and stage can be rotated, enabling multi-angle scanning and detection of the object to be inspected, achieving a tomographic scanning effect. Based on the adjustable tube voltage of the X-ray source, under the scheduling and control of the processing component, the X-ray source can complete multiple scans of the object to be inspected at multiple different tube voltages. This allows the same X-ray scanning system to complete multi-energy tomographic scanning of the object to be inspected by configuring the tube voltage of the X-ray source multiple times, achieving a multi-energy X-ray scanning and detection effect that balances hardware cost and scanning image quality. This accurately distinguishes the material composition of the object to be inspected, meeting the detection needs of different testing manufacturers.
[0026] To achieve multi-energy X-ray scanning and detection, theoretically, dual-source dual-detector structures, rapid tube voltage switching technology, and dual-layer detector technology can be employed. However, dual-source dual-detector systems are structurally complex and costly; rapid tube voltage switching places stringent requirements on the high-voltage power supply and detector response speed, making it difficult to implement in high-energy industrial tomography; and dual-layer detectors are limited by energy separation performance and detector fabrication processes, and are primarily used in low-energy medical tomography, making them difficult to implement in high-energy industrial tomography. Therefore, in contrast, the X-ray scanning system solution provided in this application does not require additional detectors or X-ray sources, nor does it require rapid switching modifications to the high-voltage power supply of the X-ray source, significantly reducing the hardware cost of the system used for multi-energy X-ray scanning. Furthermore, the multi-energy X-ray scanning and detection method provided in this application is applicable to most conventional industrial tomography systems currently on the market, providing an economical and efficient way to upgrade existing equipment for multi-energy X-ray scanning.
[0027] In an optional implementation, the processing component is further configured to: determine the values of a first voltage and a second voltage in response to a tube voltage configuration operation of the X-ray source on the display interface; the processing component is further configured to store the first voltage and the second voltage so that the X-ray source reads the first voltage before the start of the first tomographic scan and reads the second voltage before the start of the second tomographic scan, that is, the X-ray source can read the tube voltage value to be used in the current scan from the voltage storage location (such as memory or cache) before each scan detection, the X-ray source can read the tube voltage value after receiving an instruction from the processing component, or it can read the tube voltage value itself before each scan; Alternatively, the processing component is further configured to send a first indication signal to the X-ray source before sending the first rotation command to the target drive control component, to instruct the X-ray source to set the tube voltage to a first voltage; and the processing component is further configured to send a second indication signal to the X-ray source after determining that the first tomographic scan has ended, to instruct the X-ray source to set the tube voltage to a second voltage. In one case, the first and second indication signals may not carry voltage values, but only serve as indication signals for the X-ray source to adjust the tube voltage; in another case, the first and second indication signals may each carry voltage values, and after receiving the indication signals, the X-ray source sets the voltage values carried in the indication signals as the tube voltage values.
[0028] Figure 2 This is a schematic diagram of another X-ray scanning system provided in an embodiment of this application, as shown below. Figure 2 As shown, the X-ray scanning system includes, but is not limited to, a display device, a processing component (e.g., a host computer), a PLC controller (programmable logic controller), a drive control component (e.g., a rotary motor controller), a X-ray source, a detector, and a stage. The processing component communicates with the drive control component through the PLC controller. The display device provides a tube voltage input box on its interface. The operator can input the X-ray source tube voltage value used in each tomographic scan using an input device (e.g., a mouse, keyboard) or directly through touch operation. After obtaining the tube voltage value, the processing component stores it in a pre-determined storage space. Alternatively, the X-ray source tube voltage value used in each tomographic scan can also be written into the tube voltage parameter value in the program code through program editing.
[0029] In one optional example, taking a host computer as the processing component and a rotary motor controller as the drive control component, the operator can trigger the scanning system to start detection by triggering the start button on the display interface or the operation interface. Simultaneously, the rotation direction of the X-ray source, detector, and stage is determined, i.e., the scanning motion mode during the scanning detection process is determined. The host computer responds to the start detection command and sends a start rotation command (i.e., the first rotation command) to the rotary motor controller corresponding to the rotating component via the PLC controller. During the rotation process, the position detection sensor (or encoder) corresponding to the rotary motor of the rotating component can monitor the motion status of the rotary motor in real time, i.e., to determine whether the rotating component has rotated 360 degrees (the specific value of the rotation degree depends on the scanning detection settings). (Related to circumference tracing) If the rotary motor controller determines that the rotating object has rotated 360 degrees based on the status data monitored by the position detection sensor, the rotary motor controller can control the rotary motor to stop rotating and send an indication signal to the host computer via the PLC controller to indicate that the rotating object has stopped rotating. The host computer determines that the first tomographic scan has ended based on this indication signal. Then, the host computer can send an indication signal to the X-ray source (specifically, the controller in the X-ray source) to indicate tube voltage adjustment. After the X-ray source completes the tube voltage adjustment, it feeds back to the host computer (specifically, the controller in the X-ray source feeds back to the host computer). Then, the host computer sends a start rotation command (i.e., the second rotation command) to the rotary motor controller corresponding to the rotating object via the PLC controller to start the second tomographic scan.
[0030] In one optional implementation, the rotation direction for performing the rotation operation is the same during the first and second tomographic scans. The second rotation command is specifically used to instruct the target drive control component to control the rotation direction in the X-ray source, detector, and stage to start the second rotation operation from the starting position of the first rotation operation. That is, the starting position of each tomographic scan needs to be consistent. For example, the stage rotates 360 degrees to complete one tomographic scan. Each tomographic scan starts from the 0-degree position and ends after rotating 360 degrees.
[0031] Alternatively, the processing component may also be used to send a reset command to the target drive control component after determining that the first tomographic scan has ended, based on the position information of the rotating side in the X-ray source, detector, and stage. This command instructs the target drive control component to control the rotating side to return to the starting position of the first rotation operation. For example, the stage rotates 270 degrees (or any other value less than 360 degrees) to complete one tomographic scan. Each tomographic scan needs to start from the 0-degree position and rotate 270 degrees to end. Therefore, after each tomographic scan, the stage needs to be reset before starting a new round of rotation from the 0-degree position.
[0032] In one alternative implementation, the processing component is specifically used for: Using a pre-determined mapping database, the equivalent thickness values of the base material corresponding to each target projection data pair composed of the first projection dataset and the second projection dataset are determined. Among them, the projection data of the same position of the object to be inspected in the first projection dataset and the second projection dataset form a target projection data pair. The mapping database is used to characterize the correspondence between various equivalent thickness combinations of N base materials and projection data pairs. In each equivalent thickness combination, the first projection value and the second projection value in the projection data pair correspond to the projection data obtained by the first tomographic scan and the second tomographic scan of the calibration phantom composed of N base materials, respectively. N is a positive integer greater than or equal to 2.
[0033] For example, the projection data of the object to be inspected can be represented as ( ), This represents the projection data of a certain position of the object to be inspected in the first projection dataset. The second projection dataset represents the projection data for the same position on the object under inspection. The equivalent thickness combination of N base materials can be expressed as ( ), This represents the first equivalent thickness value of the first base material that participates in forming the calibration phantom. This represents the second equivalent thickness value of the second base material participating in the formation of the calibration phantom, and so on. This represents the third equivalent thickness value of the Nth base material involved in forming the calibration phantom. The projection data of the calibration phantom formed by the N base materials can be represented as ( ), Indicates the first projection value. Representing the second projection value, the mapping database can be schematically represented as ( ) ->( ); Three-dimensional reconstruction is performed based on the equivalent thickness value of the base material to determine the reconstruction result of the object to be inspected.
[0034] In this embodiment, a pre-determined mapping database is used to decompose the first and second projection datasets into projection domains before performing projection data reconstruction. This allows for correction processing of the original projection data acquired by the detector, avoiding the impact of nonlinear factors such as X-ray hardening and scattering effects on the reconstruction effect or image quality of the object under test. It should be understood that for a given combination of X-ray source, detector, scanning geometry, and specific materials, the hardening and scattering effects of X-rays are physically determined and recurring. If this scheme (i.e., decomposition is performed in the projection domain) is not adopted, once the reconstruction operation is completed, the influence of the aforementioned nonlinear effects will be "fixed" in the reconstruction result. Remedial operations after reconstruction cannot effectively remove the influence of these nonlinear effects, and the final reconstruction result will not meet expectations, thus affecting the accurate differentiation of material composition. Therefore, this scheme performs projection data decomposition in the projection domain in advance, fundamentally removing the influence of the aforementioned nonlinear effects on the reconstruction result, significantly improving the quality of the final reconstruction result and the accuracy of material composition analysis.
[0035] Specifically, the mapping database is created by using combinations of different equivalent thicknesses ( The data was obtained by performing actual tomographic scanning and data analysis on the calibration phantom. The scanning conditions of the calibration phantom were exactly the same as those used in the first and second tomographic scans. Therefore, the projection dataset of the calibration phantom acquired by the scanning system already includes the effects of physical effects such as radiation hardening and scattering. Consequently, the mapping relationship represented by the mapping database established based on the projection data of the calibration phantom objectively includes the aforementioned nonlinear effects. The process of determining the equivalent thickness value of the base material corresponding to each target projection data pair composed of the first and second projection datasets using a pre-determined mapping database is equivalent to using the projection data of an unknown object to measure the equivalent thickness of the base material. By performing a reverse lookup or reverse analysis in this mapping database, the source of this projection data pair can be determined. The most likely combination of base material equivalent thicknesses ( This reverse lookup or reverse analysis process automatically compensates for the aforementioned nonlinear physical effects.
[0036] For example, regarding the impact of X-ray beam hardening on reconstruction results: In traditional analytical methods, precise knowledge of the energy spectrum and material properties is required, and corrections are made using polynomials or iterative methods. The models are complex and prone to errors, ultimately resulting in reconstructions that do not achieve the expected reconstruction effect. However, the solution provided in this application can achieve automatic compensation because the hardening effect generated by the X-ray source during tomographic scanning of the calibration phantom part with the same equivalent thickness combination as the object under test is consistent with the hardening effect experienced by the X-ray path that produces the same projection value in the object under test. Therefore, through data mapping, this effect can be automatically included and offset.
[0037] For example, regarding the impact of ray scattering on the reconstruction results: Traditional analytical methods require complex Monte Carlo simulations or analytical models (such as scattering kernels) to estimate and subtract the scattering distribution, resulting in high computational cost and inaccuracy, ultimately leading to reconstruction results that do not meet expectations. However, the solution provided in this application can achieve automatic compensation because the projection data collected by the calibration phantom already contains the scattering signal. Paths in the actual object that produce the same projection value also have the same scattering contribution. Through data mapping, the scattering effect is "encapsulated" as part of the signal (automatically canceled out during reconstruction), eliminating the need for separate calculation and subtraction. This solution has low computational cost and contributes to achieving better reconstruction results.
[0038] In this embodiment of the application, the process of pre-determining the mapping database, also known as the pre-calibration process, is illustrated below by taking an example where the calibration template includes two base materials (e.g., aluminum represents metal and PMMA represents plastic): First, determine the calibration phantom, for example, fabricate a stepped phantom composed of two base materials (e.g., aluminum for metal, PMMA for plastic), encompassing various known equivalent thickness combinations. Then, scan the calibration phantom under conditions exactly the same as the actual scan of the object under test (e.g., during the first tomographic scan, the first voltage value of the X-ray source tube is 80 kVp, and during the second tomographic scan, the second voltage value of the X-ray source tube is 140 kVp). After two tomographic scans, record the values for each equivalent thickness combination. The corresponding projection data pair () That is, a projection value () was established. ) to equivalent thickness value ( A nonlinear mapping database.
[0039] During the decomposition of the projection data of the object under inspection, for each pair of projection data collected from the actual object under inspection ( The projected data is determined by performing matching searches in the mapping database, performing bilinear interpolation based on the mapping database, or looking up a pre-fitted polynomial (i.e., used to represent the mapping database). The equivalent thickness of the base material (i.e., the equivalent thickness of aluminum and the equivalent thickness of PMMA) is determined. By performing the above operation process on all acquisition angles and all detector pixels of the detector, two sine curves are finally generated: an aluminum-based sine curve and a PMMA-based sine curve.
[0040] The calibration process provided in this application uses real-collected projection data, which automatically includes all system characteristics such as the actual energy spectrum shape, detector response, and scattering. Therefore, in the subsequent decomposition of the object projection data, no idealized assumptions are required, and the nonlinear mapping directly compensates for the influence of nonlinear physical effects such as ray hardening and scattering on the reconstruction results.
[0041] In one alternative implementation, the processing component is specifically used for: For the target projection data pair consisting of the first projection dataset and the second projection dataset, data pair matching is performed in the mapping database. If there is a projection data pair in the mapping database that matches the target projection data pair, the equivalent thickness value of the base material corresponding to the matching projection data pair is searched in the mapping database. If no matching projection data pair exists in the mapping database, then the neighboring projection data pair is determined in the mapping database. The equivalent thickness value of the base material corresponding to the target projection data pair is determined by interpolating the neighboring projection data pairs and their corresponding equivalent thicknesses. The specific implementation of the interpolation process is not limited in this embodiment. For example, bilinear interpolation can be used. For instance, mean interpolation can be performed on the neighboring projection data pairs and their corresponding equivalent thicknesses until a matching projection data pair and its corresponding equivalent thickness value can be determined in the mapping database. Alternatively, the mapping database can be represented in the form of a fitting polynomial. The specific implementation of the fitting polynomial is not specifically limited in this application embodiment. It can be determined according to the actual fitting result of the combination of the projection data pairs and the equivalent thickness of the calibration model. The fitting algorithm includes, but is not limited to, nonlinear fitting methods such as the least squares method. The processing component is specifically used to: take each target projection data pair composed of the first projection dataset and the second projection dataset as the known quantity of the fitting polynomial, and output the equivalent thickness value of the base material corresponding to each target projection data pair.
[0042] In one alternative implementation, the processing component is specifically used for: Three-dimensional reconstruction is performed based on the equivalent thickness values of the base materials to obtain volume data sets corresponding to N base materials respectively; in the volume data sets of the N base materials, the volume data of the same position of the object to be inspected is used to form an N-dimensional voxel data set; the volume data set is used to characterize the equivalent physical density distribution of the base materials. Based on the characteristics of N-dimensional voxel data at different locations on the test object, the material composition at different locations on the test object is determined.
[0043] Continuing with the example above, for each pair of projection data of the object to be inspected ( By using a mapping database for projection domain decomposition, the corresponding equivalent thickness values of the base material can be obtained, in units of length, such as mm. This ultimately generates two sine plots of the equivalent thickness: one for the aluminum base material and one for the PMMA base material. For the aluminum base material sine plot: each pixel value represents the equivalent thickness of aluminum along that ray path. For the PMMA-based material sine curve: each pixel value represents the equivalent thickness of the PMMA along that ray path. .
[0044] The essence of the reconstruction algorithm is to deduce the contribution of each voxel inside the object to the line integral (i.e., thickness) from various angles. After performing the reconstruction operation, the resulting volumetric dataset of the aluminum-based material is... Volumetric data set of PMMA-based materials The value of each voxel represents the "volume fraction" or "equivalent physical density" of the aluminum-based material and the "volume fraction" or "equivalent physical density" of the PMMA-based material within that voxel, respectively (see the table below for explanation of their physical meanings). Based on the voxel dataset... and body dataset The values corresponding to the same voxel position can form a two-dimensional feature vector. , This allows for the determination of the material composition of the object under test based on the two-dimensional feature vectors corresponding to each voxel position. When more than two types of base materials are used, the reconstruction operation and the process for determining the material composition are similar to those used when two base materials are employed.
[0045] Table 1: Examples illustrating the physical meaning of the volumetric data in their respective volumetric datasets, using aluminum-based and PMMA-based materials as examples. In one optional implementation, taking N=2 as an example, the N base materials include a first base material and a second base material, the first base material is metallic, the second base material is non-metallic, and the N-dimensional voxel data is two-dimensional voxel data (or two-dimensional feature vector); the processing component is specifically used for at least one of the following: (1) If the volume data value corresponding to the first base material in the two-dimensional voxel data is greater than the volume data value corresponding to the second base material, and the difference between the two volume data values is greater than the first threshold, then the location on the object to be inspected corresponding to the two-dimensional voxel data is a metallic material; specifically, based on the above two-dimensional voxel data ( , For example, Large value Small value, and and If the difference between the two values is greater than the first threshold, it is considered that the difference between the two values is large enough, and the probability that the material composition is the first base material is relatively high. This means that the position on the object to be inspected corresponding to the two-dimensional voxel data may be metal, indicating that the position may show the internal metal wire of the object to be inspected. (2) If the volume data value corresponding to the first base material in the two-dimensional voxel data is less than the volume data value corresponding to the second base material, and the difference between the two volume data values is greater than the first threshold, then the position on the object to be inspected corresponding to the two-dimensional voxel data is a non-metallic material; still based on the above two-dimensional voxel data ( , For example, Small value, Large values, and and If the difference between the two values is greater than the first threshold, it is considered that the difference between the two values is large enough and the probability that the material composition is the second base material is relatively high. This means that the position on the object to be inspected corresponding to the two-dimensional voxel data may be made of plastic material, indicating that the position may show the external plastic skeleton of the object to be inspected. (3) If the difference between the volume data value corresponding to the first base material and the volume data value corresponding to the second base material in the two-dimensional voxel data and zero is less than the second threshold, that is, both values are considered to be close to 0, then the position on the object to be inspected corresponding to the two-dimensional voxel data may be air or a defect, indicating that the position on the object to be inspected may be an internal bubble or crack. (4) If the difference between the volume data value corresponding to the first base material and the volume data value corresponding to the second base material in the two-dimensional voxel data and zero is greater than or equal to the second threshold (that is, it means that neither value is close to 0), and the difference between the two volume data values is less than or equal to the first threshold (that is, it includes other cases except the first case mentioned above), then the position on the test object corresponding to the two-dimensional voxel data may be a mixture of metal and non-metal materials, indicating that the position on the test object may be a mixed area of two materials.
[0046] Table 2: Tabular representation of examples of the above material composition distinctions In this embodiment, for the N-dimensional voxel data corresponding to a certain location of the object under inspection, the magnitude of the data values (voxel values) of each dimension in the N-dimensional voxel data determines the material composition differentiation result of the object under inspection. For example, if the data value of a certain dimension in the N-dimensional voxel data is the largest, the base material corresponding to that dimension is likely to be the material component at that location on the object under inspection. If the data values of each dimension in the N-dimensional voxel data are close to 0, it means that the location on the object under inspection is likely to be a bubble or defect. If the data values of each dimension in the N-dimensional voxel data are not 0, and the difference between any two values is not that large (for example, the difference between the values is less than or equal to the first threshold), it means that the location on the object under inspection is likely to be a mixed area of multiple materials. Further subdividing, the larger the data value of a certain dimension, the greater the probability that the material composition of the object under inspection at that location contains the base material corresponding to that dimension, and correspondingly, the proportion of the base material component corresponding to that dimension can also be larger.
[0047] In one alternative implementation, the material composition of the object to be inspected can also be distinguished through data fusion, meaning the processing component can be specifically used for: Three-dimensional reconstruction is performed based on the equivalent thickness values of the base materials to obtain volume datasets corresponding to N base materials. The volume datasets are used to characterize the equivalent physical density distribution of the base materials. The interpretation of the volume datasets can be found in the above description and will not be repeated here. Based on the volume datasets corresponding to N base materials, the atomic number map and electron density map corresponding to the test object are determined; each value of the atomic number map and each value of the electron density map have a corresponding relationship with the position on the test object; The material composition at the same location is determined based on the atomic number and electron density values corresponding to that location on the test material.
[0048] Continuing with the example of base materials including aluminum-based and PMMA-based materials, after performing the reconstruction operation, the volumetric data set of aluminum-based materials can be obtained. Volumetric data set of PMMA-based materials Based on volume dataset and body dataset The values at the same voxel position can form a two-dimensional feature vector. , For each voxel, the physical properties of that voxel, such as atomic number and electron density, can be calculated using the corresponding data values in the two-dimensional feature vector. For example, for any voxel, its corresponding electron density... It can be directly calculated using the decomposition coefficient of the base material (such as the aforementioned volume data). , ): in, , The decomposition coefficients are for two base materials, such as the volumetric data corresponding to the Al-based material and the PMMA-based material at this voxel position, respectively. , ; , These are the electron densities of two base materials. Once the base materials are determined, their electron densities are known parameters, which can be specifically expressed using formulas. The calculation yielded, where Let Avogadro's constant be 1. , , These are the atomic number, atomic weight, and mass density of the base material, respectively, all of which are known quantities. For example, if the first base material is aluminum, then i=1. Let i be the electron density of the aluminum-based material. For example, if the second base material is PMMA plastic, then i=2. The electron density of the PMMA-based material is given.
[0049] For any voxel, its corresponding atomic number can be obtained by the following formula: in, , These are the atomic numbers of the two base materials. , These are the decomposition coefficients of the two base materials mentioned above. , These represent the electron densities of the two base materials, respectively. For example, the values can be system constants. The values between these ranges can vary depending on the X-ray scanning system and can be reasonably determined based on experience.
[0050] After obtaining the atomic number and electron density corresponding to each voxel position, the atomic number map and electron density map of the analyte can be obtained, and then... The material composition classification of the test object is performed in a two-dimensional feature space, that is, by classifying the material composition of the test object according to the specific values of atomic number and electron density. Different material components correspond to different values of atomic number and electron density.
[0051] For example, when differentiating the material composition at a certain location of an object under inspection based on atomic number and electron density, the following situations may exist: (1) If the difference between the atomic number and electron density and 0 is less than or equal to the third threshold, that is, if the atomic number and electron density are close to 0, for example ≈ 0, If the value is approximately 0, it means that the location of the object under inspection may contain air or a defect. (2) If the atomic number is greater than 0 and less than or equal to the fourth threshold, and the electron density is greater than 0 and less than or equal to the fifth threshold, that is, if both the atomic number and electron density are in a lower value range, for example... The value is relatively low (approximately 5-7). A lower value indicates that the object being tested may contain plastic or organic material at that location. (3) If the atomic number is greater than the fourth threshold and less than or equal to the sixth threshold, and the electron density is greater than the fifth threshold and less than or equal to the seventh threshold, that is, if both the atomic number and electron density are in a moderate range, for example... The value is moderate (approximately 13). If the value is in the medium range, it means that the object being tested may contain a light metal (such as aluminum) at that location. (4) If the atomic number is greater than the sixth threshold and the electron density is greater than the seventh threshold, that is, if both the atomic number and electron density are in a relatively high range, for example... The value is relatively high (greater than 26). A higher value indicates that the sample at that location may contain heavy metals (such as iron or copper).
[0052] Thanks to our solution, which performs high- and low-energy projection data decomposition in the projection domain to correct the original projection data collected by the detector, the reconstruction effect or image quality of the object under test is avoided due to nonlinear factors such as the hardening effect and scattering effect of X-rays. The high-quality three-dimensional reconstruction results ensure the accuracy of distinguishing the material composition of the object under test.
[0053] In an optional implementation, the processing component is further configured to: perform correction processing on the first projection dataset and the second projection dataset respectively, perform three-dimensional reconstruction processing based on the corrected first projection dataset and the second projection dataset, and determine the reconstruction result of the object to be inspected; the correction processing includes dark field correction and gain correction.
[0054] Dark field correction can be used to subtract the low current noise of the detector itself, and gain correction can be used to correct the inconsistency in the response of each pixel of the detector. Through these correction processes, the quality of the subsequent 3D reconstruction results can be improved, thereby providing a more reliable data basis for distinguishing the material composition of the object under inspection. When the aforementioned correction objectives can be achieved, both dark field correction and gain correction can be implemented with reference to mature detection algorithms in the field of X-ray inspection, and the embodiments of this application do not specifically limit them.
[0055] For example, dark field correction and gain correction can be performed on the first projection dataset and the second projection dataset respectively using the following formulas: in, For the corrected projection data, This refers to the original collected projection data (such as the aforementioned first projection dataset or second projection dataset). Dark-field data collected by the detector when the radiation source is turned off. This refers to the data collected by the detector when the radiation source is on and there is no object to be inspected. It is the mean operator.
[0056] Based on the same inventive concept as the aforementioned X-ray scanning system, this application also provides a X-ray scanning method, which may include the processing component in the foregoing system embodiments capable of performing arbitrary operations. For details not described in the following method embodiments, please refer to the descriptions in the foregoing system embodiments.
[0057] This application discloses a radiographic scanning method applied to a processing component in a radiographic scanning system. The radiographic scanning system further includes a radiographic source, a detector, a stage, and a drive control component. The stage is located between the radiographic source and the detector and is used to carry the object to be inspected. At least one of the radiographic source, the detector, and the stage can rotate under the control of its respective drive control component. For example, as shown... Figure 3 As shown, the X-ray scanning method includes: S301. In response to the start detection command, a first rotation command is sent to the target drive control component to instruct the target drive control component to control the rotating component in the X-ray source, detector and stage to perform a first rotation operation in order to perform a first tomographic scan on the object to be examined; the target drive control component refers to the drive control component corresponding to the rotating component in the X-ray source, detector and stage. S302. After determining that the first tomographic scan has ended and the tube voltage of the X-ray source is set to the second voltage, a second rotation command is sent to the target drive control component to realize the second tomographic scan of the object under test; the second voltage is greater than the first voltage; the second tomographic scan uses the same scanning parameters as the first tomographic scan, and the relative positional relationship between the object under test, the X-ray source and the detector remains the same during the first tomographic scan and the second tomographic scan. S303. Perform three-dimensional reconstruction processing based on the first projection dataset and the second projection dataset to determine the reconstruction result of the object to be inspected, and determine the material composition of the object to be inspected based on the reconstruction result; the first projection dataset is the scanning data of the object to be inspected collected by the detector during the first tomographic scan, and the second projection dataset is the scanning data of the object to be inspected collected by the detector during the second tomographic scan.
[0058] The X-ray scanning method provided in this application embodiment enables multi-energy tomography (MCT) scans of the object under test using the same X-ray scanning system with multiple voltage configurations of the X-ray source. This achieves a balance between hardware cost and image quality, allowing for accurate differentiation of the material composition of the object and meeting the testing needs of different manufacturers. This solution eliminates the need for additional detectors or X-ray sources, and avoids the need for rapid switching of the high-voltage power supply to the X-ray source, significantly reducing the hardware cost of the system used for MCT scanning. Furthermore, this solution is applicable to most conventional industrial tomography systems currently on the market, providing an economical and efficient way to upgrade existing equipment for MCT scanning.
[0059] In an optional implementation, the X-ray scanning method provided in this application further includes: In response to the tube voltage configuration operation of the X-ray source on the display interface, determine the values of the first voltage and the second voltage; The first voltage and the second voltage are stored so that the X-ray source reads the first voltage before the first computed tomography scan begins and reads the second voltage before the second computed tomography scan begins; or Before sending the first rotation command to the target drive control component, a first indication signal is sent to the X-ray source to instruct the X-ray source to set the tube voltage to a first voltage; and after determining that the first tomographic scan has ended, a second indication signal is sent to the X-ray source to instruct the X-ray source to set the tube voltage to a second voltage.
[0060] In one alternative implementation, during the first and second tomographic scans, the rotating parties performing the rotation operation are the same, and the second rotation command is specifically used to instruct the target drive control assembly to control the rotating parties in the X-ray source, detector, and stage to start the second rotation operation from the starting position of the first rotation operation. Alternatively, the X-ray scanning method provided in this application embodiment may further include: After the first tomographic scan is completed, a reset command is sent to the target drive control component based on the position information of the rotating side in the X-ray source, detector, and stage, instructing the target drive control component to control the rotating side to return to the starting position of the first rotation operation.
[0061] In one optional implementation, three-dimensional reconstruction processing is performed based on a first projection dataset and a second projection dataset to determine the reconstruction result of the object to be inspected, including: Using a pre-determined mapping database, the equivalent thickness values of the base material corresponding to each target projection data pair composed of the first projection dataset and the second projection dataset are determined. Specifically, projection data at the same location of the object under inspection in the first and second projection datasets form a target projection data pair. The mapping database is used to characterize the correspondence between various equivalent thickness combinations of N base materials and projection data pairs. In each equivalent thickness combination, the first and second projection values in the projection data pair correspond to the projection data obtained by the first and second tomographic scans of the calibration phantom composed of N base materials, respectively; N is a positive integer greater than or equal to 2. Three-dimensional reconstruction is performed based on the equivalent thickness value of the base material to determine the reconstruction result of the object to be inspected.
[0062] In one optional implementation, using a pre-determined mapping database, the equivalent thickness value of the base material corresponding to each target projection data consisting of a first projection dataset and a second projection dataset is determined, including: For the target projection data pair consisting of the first projection dataset and the second projection dataset, data pair matching is performed in the mapping database. If there is a projection data pair in the mapping database that matches the target projection data pair, the equivalent thickness value of the base material corresponding to the matching projection data pair is searched in the mapping database. If there is no matching projection data pair in the mapping database, then the projection data pair adjacent to the target projection data pair is determined in the mapping database. By interpolating the adjacent projection data pairs and their corresponding equivalent thicknesses, the equivalent thickness value of the base material corresponding to the target projection data pair is determined. or The mapping database is represented in the form of a fitted polynomial. Using a pre-determined mapping database, the equivalent thickness values of the base material corresponding to each target projection data composed of the first projection dataset and the second projection dataset are determined, including: Using the first and second projection datasets as known quantities for each target projection data pair, the equivalent thickness value of the base material corresponding to each target projection data pair is output.
[0063] In one optional implementation, three-dimensional reconstruction is performed based on the equivalent thickness value of the base material to determine the reconstruction result of the object under inspection, including: Three-dimensional reconstruction is performed based on the equivalent thickness values of the base materials to obtain volume data sets corresponding to N base materials respectively; in the volume data sets of the N base materials, the volume data of the same position of the object to be inspected is used to form an N-dimensional voxel data set; the volume data set is used to characterize the equivalent physical density distribution of the base materials. Accordingly, the material composition of the object to be inspected is determined based on the reconstruction results, including: Based on the characteristics of N-dimensional voxel data at different locations on the test object, the material composition at different locations on the test object is determined.
[0064] In one optional implementation, three-dimensional reconstruction is performed based on the equivalent thickness value of the base material to determine the reconstruction result of the object under inspection, including: Three-dimensional reconstruction is performed based on the equivalent thickness values of the base materials to obtain volume datasets corresponding to N base materials; the volume datasets are used to characterize the equivalent physical density distribution of the base materials. Accordingly, the material composition of the object to be inspected is determined based on the reconstruction results, including... Based on the volume datasets corresponding to N base materials, the atomic number map and electron density map corresponding to the test object are determined; each value of the atomic number map and each value of the electron density map have a corresponding relationship with the position on the test object; The material composition at the same location is determined based on the atomic number and electron density values corresponding to that location on the test material.
[0065] In one optional embodiment, the N base materials include a first base material and a second base material, wherein the first base material is a metallic material, the second base material is a non-metallic material, and the N-dimensional voxel data is two-dimensional voxel data; Based on the characteristics of N-dimensional voxel data at different locations on the test object, determine the material composition at different locations on the test object, including at least one of the following: If the volume data value corresponding to the first base material in the two-dimensional voxel data is greater than the volume data value corresponding to the second base material, and the difference between the two volume data values is greater than the first threshold, then the position on the object to be inspected corresponding to the two-dimensional voxel data is a metal material. If the volume data value corresponding to the first base material in the two-dimensional voxel data is less than the volume data value corresponding to the second base material, and the difference between the two volume data values is greater than the first threshold, then the position on the object to be inspected corresponding to the two-dimensional voxel data is a non-metallic material. If the difference between the volume data value corresponding to the first matrix material and the volume data value corresponding to the second matrix material in the two-dimensional voxel data and zero is less than the second threshold, then the location on the object to be inspected corresponding to the two-dimensional voxel data is air or a defect. If the difference between the volume data value corresponding to the first base material and the volume data value corresponding to the second base material in the two-dimensional voxel data and zero is greater than or equal to the second threshold, and the difference between the two volume data values is less than or equal to the first threshold, then the position on the object to be inspected corresponding to the two-dimensional voxel data is a mixture of metallic and non-metallic materials.
[0066] In an optional implementation, the X-ray scanning method provided in this application further includes: The first projection dataset and the second projection dataset are corrected separately. Based on the corrected first projection dataset and the second projection dataset, a three-dimensional reconstruction is performed to determine the reconstruction result of the object to be inspected. The correction process includes dark field correction and gain correction.
[0067] It should be understood that the method embodiments provided in this application can achieve any of the beneficial effects that can be achieved by the system embodiments described above.
[0068] This application also provides a processing device, including: Memory, also known as machine-readable storage medium, is used to store computer programs or computer instructions; The processor, when executing a program or instructions stored in memory, implements the ray scanning method described in any of the above embodiments.
[0069] Furthermore, the aforementioned processing device may also include a communication bus and / or a communication interface, with the processor 802, the communication interface, and the memory 801 communicating with each other via the communication bus.
[0070] The communication bus mentioned in the above processing device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not indicate that there is only one bus or one type of bus.
[0071] The communication interface is used for communication between the aforementioned processing device and other devices.
[0072] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0073] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0074] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of any of the above-described X-ray scanning methods.
[0075] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the ray scanning methods described above.
[0076] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a solid-state drive (SSD), etc.
[0077] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0078] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, processing devices, computer-readable storage media, and computer program products are basically similar to the method embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0079] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A radiographic scanning system, characterized in that, include: The components include: a radiation source, a detector, a stage, a processing unit, and a drive control unit, among which: The stage is located between the X-ray source and the detector and is used to carry the object to be inspected; At least one of the radiation source, detector and stage can rotate under the control of its respective drive and control components. The processing component is used to send a first rotation command to the target drive control component in response to the start detection command, so as to instruct the target drive control component to control the rotating component in the X-ray source, detector and stage to perform a first rotation operation to perform a first tomographic scan on the object to be inspected; the target drive control component refers to the drive control component corresponding to the rotating component in the X-ray source, detector and stage. During the first computed tomography scan, the tube voltage of the X-ray source is a first voltage, and the detector is used to acquire the first projection dataset of the object under inspection. The processing component is further configured to send a second rotation command to the target drive control component after determining that the first tomographic scan has ended and the tube voltage of the X-ray source is set to the second voltage, so as to realize the second tomographic scan of the object to be examined; the second voltage is greater than the first voltage; The detector is also used to acquire a second projection dataset of the object under test during the second tomographic scan; the second tomographic scan uses the same scanning parameters as the first tomographic scan, and the relative positional relationship between the object under test, the radiation source and the detector remains the same during the first tomographic scan and the second tomographic scan. The processing component is also used to perform three-dimensional reconstruction processing based on the first projection dataset and the second projection dataset, determine the reconstruction result of the object to be inspected, and determine the material composition of the object to be inspected based on the reconstruction result.
2. The X-ray scanning system according to claim 1, characterized in that, The processing component is further configured to: determine the values of the first voltage and the second voltage in response to the tube voltage configuration operation of the X-ray source on the display interface; The processing component is also configured to store the first voltage and the second voltage, so that the radiation source reads the first voltage before the start of the first computed tomography scan and reads the second voltage before the start of the second computed tomography scan; or The processing component is further configured to send a first indication signal to the X-ray source before sending a first rotation command to the target drive control component, to instruct the X-ray source to set the tube voltage to a first voltage; and the processing component is further configured to send a second indication signal to the X-ray source after determining that the first tomographic scan has ended, to instruct the X-ray source to set the tube voltage to a second voltage.
3. The X-ray scanning system according to claim 1, characterized in that, In the first and second tomographic scans, the rotating direction of the rotation operation is the same. The second rotation command is specifically used to instruct the target drive control component to control the rotating direction in the X-ray source, detector and stage to start the second rotation operation from the starting position of the first rotation operation. Alternatively, the processing component may further be configured to, after determining that the first tomographic scan has ended, send a reset command to the target drive control component based on the position information of the rotating side in the X-ray source, detector, and stage, to instruct the target drive control component to control the rotating side to return to the starting position of the first rotation operation.
4. The X-ray scanning system according to claim 1, characterized in that, The processing component is specifically used for: Using a pre-determined mapping database, the equivalent thickness values of the base materials corresponding to each target projection data pair composed of the first projection dataset and the second projection dataset are determined; wherein, projection data for the same position of the object under inspection in the first projection dataset and the second projection dataset form a target projection data pair, and the mapping database is used to characterize the correspondence between multiple different equivalent thickness combinations of N base materials and projection data pairs, wherein the first projection value and the second projection value in each equivalent thickness combination projection data pair correspond to the projection data obtained by the calibration phantom composed of the N base materials through the first tomographic scan and the second tomographic scan, respectively; N is a positive integer greater than or equal to 2; Three-dimensional reconstruction is performed based on the equivalent thickness value of the base material to determine the reconstruction result of the object under inspection.
5. The X-ray scanning system according to claim 4, characterized in that, The processing component is specifically used for: For the target projection data pair consisting of the first projection dataset and the second projection dataset, data pair matching is performed in the mapping database. If there is a projection data pair in the mapping database that matches the target projection data pair, the equivalent thickness value of the base material corresponding to the matching projection data pair is searched in the mapping database. If there is no matching projection data pair in the mapping database, then the projection data pair adjacent to the target projection data pair is determined in the mapping database. By interpolating the adjacent projection data pairs and their corresponding equivalent thicknesses, the equivalent thickness value of the base material corresponding to the target projection data pair is determined. or The mapping database is represented in the form of a fitted polynomial, and the processing component is specifically used for: Each target projection data pair, composed of the first projection dataset and the second projection dataset, is used as a known quantity in the fitting polynomial, and the equivalent thickness value of the base material corresponding to each target projection data pair is output.
6. The X-ray scanning system according to claim 4, characterized in that, The processing component is specifically used for: Three-dimensional reconstruction is performed based on the equivalent thickness value of the base material to obtain volume data sets corresponding to N base materials respectively; in the volume data sets of the N base materials, an N-dimensional voxel data set is formed for the volume data of the same position of the object to be inspected; the volume data set is used to characterize the equivalent physical density distribution of the base material; Based on the characteristics of N-dimensional voxel data at different locations on the object under test, the material composition at different locations on the object under test is determined.
7. The X-ray scanning system according to claim 4, characterized in that, The processing component is specifically used for: Three-dimensional reconstruction is performed based on the equivalent thickness values of the base materials to obtain volume data sets corresponding to N base materials; the volume data sets are used to characterize the equivalent physical density distribution of the base materials. Based on the volume data sets corresponding to the N base materials, the atomic number map and electron density map corresponding to the test object are determined; each value of the atomic number map and each value of the electron density map have a corresponding relationship with a position on the test object; The material composition at the same location is determined based on the atomic number and electron density values corresponding to the same position on the test object.
8. The X-ray scanning system according to claim 6, characterized in that, The N base materials include a first base material and a second base material, wherein the first base material is a metallic material and the second base material is a non-metallic material, and the N-dimensional voxel data is two-dimensional voxel data; The processing component is specifically used for at least one of the following: If the volume data value corresponding to the first base material in the two-dimensional voxel data is greater than the volume data value corresponding to the second base material, and the difference between the two volume data values is greater than the first threshold, then the position on the object to be inspected corresponding to the two-dimensional voxel data is a metal material. If the volume data value corresponding to the first base material in the two-dimensional voxel data is less than the volume data value corresponding to the second base material, and the difference between the two volume data values is greater than the first threshold, then the position on the object to be inspected corresponding to the two-dimensional voxel data is a non-metallic material. If the difference between the volume data value corresponding to the first base material and the volume data value corresponding to the second base material in the two-dimensional voxel data and zero is less than the second threshold, then the position on the object to be inspected corresponding to the two-dimensional voxel data is air or a defect. If the difference between the volume data value corresponding to the first base material and the volume data value corresponding to the second base material in the two-dimensional voxel data and zero is greater than or equal to the second threshold, and the difference between the two volume data values is less than or equal to the first threshold, then the position on the test object corresponding to the two-dimensional voxel data is a mixture of metallic and non-metallic materials.
9. The X-ray scanning system according to claim 1, characterized in that, The processing component is also used for: The first projection dataset and the second projection dataset are respectively corrected, and a three-dimensional reconstruction is performed based on the corrected first projection dataset and the second projection dataset to determine the reconstruction result of the object to be inspected; the correction process includes dark field correction and gain correction.
10. A method for X-ray scanning, characterized in that, A processing component applied in a radiographic scanning system, the radiographic scanning system further comprising a radiographic source, a detector, a stage, and a drive control component; the stage is located between the radiographic source and the detector and is used to carry the object to be inspected; at least one of the radiographic source, the detector, and the stage can rotate under the control of its respective drive control component; the method includes: In response to the start detection command, a first rotation command is sent to the target drive control component to instruct the target drive control component to control the rotating component among the X-ray source, detector, and stage to perform a first rotation operation to perform a first tomographic scan on the object under inspection; the target drive control component refers to the drive control component corresponding to the rotating component among the X-ray source, detector, and stage; during the first tomographic scan, the tube voltage of the X-ray source is a first voltage, and the detector is used to acquire a first projection dataset of the object under inspection; After determining that the first tomographic scan has ended and the tube voltage of the X-ray source is set to the second voltage, a second rotation command is sent to the target drive control component to realize the second tomographic scan of the object under test; the second voltage is greater than the first voltage; the second tomographic scan uses the same scanning parameters as the first tomographic scan, and the relative positional relationship between the object under test, the X-ray source and the detector remains the same during the first tomographic scan and the second tomographic scan. Three-dimensional reconstruction processing is performed based on the first projection dataset and the second projection dataset to determine the reconstruction result of the object to be inspected, and the material composition of the object to be inspected is determined based on the reconstruction result; the first projection dataset is the scanning data of the object to be inspected collected by the detector during the first tomographic scan, and the second projection dataset is the scanning data of the object to be inspected collected by the detector during the second tomographic scan.
