Image processing method, system and x-ray detector
By dividing the basic detector units of an X-ray detector into different categories and conducting detection at different time periods, the clarity problem caused by thickness differences in X-ray detector imaging is solved, achieving perfect imaging of objects with varying thicknesses and high applicability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HANGZHOU RAYIN TECH CO LTD
- Filing Date
- 2024-11-28
- Publication Date
- 2026-05-29
AI Technical Summary
Existing X-ray detectors cannot meet the requirements for dynamic range imaging due to differences in X-ray attenuation caused by variations in the thickness of the object being detected.
The basic detector units of the X-ray detector are divided into Class I and Class II detector units, which perform X-ray detection with different detection times. Class I detector units acquire clarity of thin areas in a short time, while Class II detector units acquire clarity of thick areas in a long time, and the target image is generated through image fusion.
It achieves perfect imaging of objects with large thickness differences, reduces the complexity of user operation, and does not increase hardware costs or system design complexity.
Smart Images

Figure CN122115227A_ABST
Abstract
Description
Technical Field
[0001] This application relates to image processing technology, and more particularly to image processing methods, systems and X-ray detectors. Background Technology
[0002] The primary function of an X-ray detector is to detect and image X-rays. X-rays are electromagnetic waves with extremely high frequency, extremely short wavelength, high energy, and strong penetrating power.
[0003] Currently, during the imaging process of X-ray detectors, the difference in the thickness of the object being detected often causes differences in the attenuation of X-rays, resulting in images generated by the X-ray detectors failing to meet usage requirements, such as the imaging dynamic range failing to meet usage requirements. Summary of the Invention
[0004] This application provides an image processing method, system, and X-ray detector to improve image quality.
[0005] This application provides an image processing method applied to an X-ray detector. Multiple detector basic units deployed in the X-ray detector are divided into a first type of detector unit and a second type of detector unit according to a specified detection unit. One of the first type of detector unit and the second type of detector unit contains multiple different odd-numbered detector units, and the other contains multiple different even-numbered detector units. Each detector unit contains at least one detector basic unit, and the detector unit is a detector row or a detector column. The method includes:
[0006] Under the premise that the X-ray generator emits X-rays to the target object, the detection units in the first type of detection unit are enabled in sequence so that the basic detector units in the enabled detection units can start working to detect X-rays in the first detection time and acquire the sub-image corresponding to the detection unit.
[0007] After obtaining the sub-images corresponding to each detection unit in the first type of detection unit, each detection unit in the second type of detection unit is enabled sequentially, so that the basic detector units in the enabled detection units start working to detect X-rays within the second detection time, and obtain the sub-image corresponding to that detection unit. The second detection time is different from the first detection time, so that the clarity of the thin region on the target object in the image acquired under the short detection time is higher than the clarity of the thin region in the image acquired under the long detection time, and the clarity of the thick region on the target object in the image acquired under the long detection time is higher than the clarity of the thick region in the image acquired under the short detection time. The thick region refers to the region on the target object whose thickness meets the set requirements, and the thin region refers to the region on the target object other than the thick region.
[0008] Among them, the sub-images corresponding to each detection unit in the first type of detection unit and the sub-images corresponding to each detection unit in the second type of detection unit are used to generate the target image.
[0009] This application provides an image processing system, which includes:
[0010] X-ray generator, target object, X-ray detector, control processor;
[0011] An X-ray generator is used to emit X-rays toward a target object under the control of a control processor.
[0012] An X-ray detector is used to perform the steps in the method described above;
[0013] A control processor is used to control the X-ray generator and to perform image processing on the images generated by the X-ray detector.
[0014] This application embodiment also provides an X-ray detector, which is deployed with multiple detector basic units;
[0015] The X-ray detector is deployed with multiple detector basic units, which are divided into a first type of detector unit and a second type of detector unit according to a specified detection unit. One of the first type of detector unit and the second type of detector unit contains multiple different odd-numbered detector units, and the other contains multiple different even-numbered detector units. The detection unit contains at least one detector basic unit, and the detection unit is a detection row or a detection column.
[0016] Any detector basic unit is used to detect X-rays within a corresponding detection time after being enabled and turned on, provided that the X-ray generator emits X-rays towards the target object; wherein, if the detector basic unit is one of the detection units in the first type of detection units, the detection time is the first detection time; if the detector basic unit is one of the detection units in the second type of detection units, the detection time is the second detection time.
[0017] In the X-ray detector, each detection unit in the first type of detection unit is enabled in sequence so that each detector basic unit in the enabled detection unit starts working to detect X-rays within the first detection time and acquire the sub-image corresponding to the detection unit.
[0018] After obtaining the sub-images corresponding to each detection unit in the first type of detection unit, each detection unit in the second type of detection unit of the X-ray detector is enabled sequentially, so that each detector basic unit in the enabled detection unit starts working to detect X-rays within a second detection time, thereby obtaining the sub-image corresponding to that detection unit. The second detection time is different from the first detection time, so that the clarity of thin regions on the target object in the image acquired under a short detection time is higher than the clarity of thin regions in the image acquired under a long detection time, and the clarity of thick regions on the target object in the image acquired under a long detection time is higher than the clarity of thick regions in the image acquired under a short detection time. The thick region refers to the region on the target object whose thickness meets the set requirements, and the thin region refers to the region on the target object other than the thick region.
[0019] Among them, the sub-images corresponding to each detection unit in the first type of detection unit and the sub-images corresponding to each detection unit in the second type of detection unit are used to generate the target image.
[0020] As can be seen from the above technical solution, this embodiment first enables the detector units in the first type of detector unit in sequence, so that the basic detector units in the enabled detector unit can start working to detect X-rays within the first detection time and acquire the sub-images corresponding to the detector unit, such as the sub-images corresponding to each odd-numbered detection row. Then, the detector units in the second type of detector unit are enabled in sequence, so that the basic detector units in the enabled detector unit can start working to detect X-rays within the second detection time and obtain the sub-images corresponding to the detector unit, such as the sub-images corresponding to each even-numbered detection row. By controlling the second detection time to be different from the first detection time, the details of both thin and thick areas on the target object can be clearly imaged. This can achieve perfect imaging of objects with large thickness differences, reduce the complexity of actual operation for users, and better meet the needs of use.
[0021] Furthermore, the method described in this embodiment does not incur any hardware costs or increase the complexity of the detector system design, and has high applicability. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0023] Figure 1 This is a structural diagram of an X-ray imaging system provided in an embodiment of this application;
[0024] Figure 2 A flowchart illustrating the method provided in this application embodiment;
[0025] Figure 3 This is a schematic diagram of the sampling provided for an embodiment of this application;
[0026] Figure 4 This is a schematic diagram of odd-numbered detection row acquisition provided in an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of even-numbered probe row acquisition provided in an embodiment of this application;
[0028] Figure 6 This is a schematic diagram of target image generation provided in an embodiment of this application;
[0029] Figure 7 This is a schematic diagram of the interpolation algorithm provided in the embodiments of this application;
[0030] Figure 8 This is a schematic diagram of image interpolation processing provided in an embodiment of this application;
[0031] Figure 9 This is a schematic diagram of image fusion provided for an embodiment of this application;
[0032] Figure 10 This is a schematic diagram of the image interaction between the X-ray detector and the control processor provided in an embodiment of this application;
[0033] Figure 11 This is a structural diagram of an X-ray detector provided in an embodiment of this application. Detailed Implementation
[0034] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, and to make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the X-ray imaging system provided in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0035] It should be understood that in the description of the embodiments of this application, terms such as "if" or "if" may be used to describe different conditions or different execution situations. These different conditions or different execution situations should be understood as optional, and are not limited to the requirement that all of these different conditions or different execution situations must be met or exist in the execution flow. For example, in the description of the embodiments of this application, the term "if A, if B" is equivalent to "if A, and / or, if B".
[0036] See Figure 1 , Figure 1 This is a structural diagram of an X-ray imaging system provided in an embodiment of this application. Figure 1As shown, an X-ray imaging system mainly includes: an X-ray generator, the object being detected (hereinafter referred to as the target object), an X-ray detector, and a control processor. The control processor is a general term for devices or functional modules that have control and processing functions.
[0037] In this embodiment, the X-ray generator is used to emit X-rays toward the target object under the control of the control processor.
[0038] Optionally, the target object can be an object with varying degrees of thickness uniformity (also known as a large difference in thickness uniformity). That is, the varying uniformity of the target object (also known as poor uniformity) results in different degrees of attenuation of X-rays in different regions of the target object (also known as a large difference in attenuation of X-rays in different regions of the target object).
[0039] In this embodiment, an X-ray detector is used to detect and image X-rays. In this embodiment, the X-ray detector can be an area array detector or a linear array detector; this embodiment is not specifically limited to either.
[0040] In this embodiment, the aforementioned control processor may be, for example, a PC, but this embodiment is not specifically limited to that.
[0041] The aforementioned control processor is used to activate the X-ray generator to emit X-rays towards the target object, or to deactivate the X-ray generator to stop emitting X-rays towards the target object. And,
[0042] The aforementioned control processor is also used to perform image processing on the images generated by the X-ray detector, such as image display. This embodiment is not specifically limited, and examples will be described below.
[0043] Based on the above description, the method provided in the embodiments of this application will be described below:
[0044] See Figure 2 , Figure 2 This is a flowchart illustrating a method provided in an embodiment of this application. This process can be applied to X-ray detectors.
[0045] In this embodiment, the X-ray detector is deployed with multiple detector basic units. These detector basic units can be defined as basic units (blocks), also called pixels, deployed on the X-ray detector for X-ray detection.
[0046] As an example, the basic detector units deployed on an X-ray detector can be divided into two categories according to specified detection units, such as rows or columns: the first type of detection unit and the second type of detection unit.
[0047] Optionally, one of the first type of detection unit and the second type of detection unit may contain multiple different odd-numbered detection units, and the other type may contain multiple different even-numbered detection units. Here, odd-numbered detection units refer to detection units with odd-numbered identifiers (e.g., numbers), and even-numbered detection units refer to detection units with even-numbered identifiers (e.g., numbers). In specific implementations, a detection unit contains at least one basic detector unit. The aforementioned detection units can be rows or columns. For example, taking a detection unit as a row (i.e., a detection row) as an example, each detection row may include multiple basic detector units. The first type of detection unit may include multiple different odd-numbered detection rows, and the second type of detection unit may include multiple different even-numbered detection rows.
[0048] Continuing with the example of probe units, odd-numbered probe units refer to probe rows with odd numbers, such as probe row number 1 (denoted as probe row 1), probe row number 3 (denoted as probe row 3), probe row number 5 (denoted as probe row 5), and so on. Conversely, even-numbered probe units refer to probe rows with even numbers, such as probe row number 2 (denoted as probe row 2), probe row number 4 (denoted as probe row 4), probe row number 6 (denoted as probe row 6), and so on.
[0049] Based on the above description, the following is... Figure 2 The process is described as follows:
[0050] like Figure 2 As shown, the process may include the following steps:
[0051] Step 201: Under the premise that the X-ray generator emits X-rays to the target object, enable each detection unit in the first type of detection unit in sequence, so that the basic detector unit in the enabled detection unit can start working to detect X-rays in the first detection time and acquire the sub-image corresponding to the detection unit.
[0052] In this embodiment, the dose of X-rays emitted by the X-ray generator to the target object is set according to the thickness of different regions on the target object. It is only necessary to ensure that the details of the thickest region of the target object can be imaged. This embodiment does not have specific limitations.
[0053] Taking a first-type detection unit containing an odd number of detection rows as an example, according to step 201, each odd-numbered detection row in the first-type detection row is enabled sequentially. For instance, the detection row numbered 1 (denoted as detection row 1) is enabled first, so that the basic detector units in detection row 1 start working to detect X-rays within the first detection time and acquire the sub-image corresponding to detection row 1. Then, the detection row numbered 3 (denoted as detection row 3) is enabled, so that the basic detector units in detection row 3 start working to detect X-rays within the first detection time and acquire the sub-image corresponding to detection row 3. This process continues in sequence. Ultimately, the sub-images corresponding to each odd-numbered detection row in the first-type detection row will be acquired.
[0054] Step 102: After obtaining the sub-images corresponding to each detection unit in the first type of detection unit, enable each detection unit in the second type of detection unit in sequence, so that the basic detector units in the enabled detection units can start working to detect X-rays during the second detection time and obtain the sub-images corresponding to the detection units. The sub-images corresponding to each detection unit in the first type of detection unit and the sub-images corresponding to each detection unit in the second type of detection unit are used to generate the target image.
[0055] Taking a second type of detection unit containing an even number of detection rows as an example, according to step 201, each even-numbered detection row in the second type of detection row is enabled sequentially. For example, the detection row numbered 2 (denoted as detection row 2) is enabled first, so that the basic detector units in detection row 2 start working to detect X-rays during the second detection time and acquire the sub-image corresponding to detection row 2. Then, the detection row numbered 4 (denoted as detection row 4) is enabled, so that the basic detector units in detection row 4 start working to detect X-rays during the second detection time and acquire the sub-image corresponding to detection row 4. This process continues in sequence. Finally, the sub-images corresponding to each even-numbered detection row in the second type of detection row will be acquired.
[0056] It should be noted that in this embodiment, the second detection time is different from the first detection time, so that the clarity of thin areas on the target object in the image acquired under the short detection time is higher than that of thin areas in the image acquired under the long detection time, and the clarity of thick areas on the target object in the image acquired under the long detection time is higher than that of thick areas in the image acquired under the short detection time. Thick areas refer to areas on the target object whose thickness meets the set requirements, and thin areas refer to areas on the target object other than thick areas.
[0057] Optionally, in this embodiment, the detection time of each detector basic unit in any odd-numbered detection unit for detecting X-rays is less than the detection time of each detector basic unit in any even-numbered detection unit for detecting X-rays. For example, if the first type of detection unit includes odd-numbered detection units and the second type of detection unit includes even-numbered detection units, then the second detection time is greater than the first detection time; if the first type of detection unit includes even-numbered detection units and the second type of detection unit includes odd-numbered detection units, then the second detection time is less than the first detection time.
[0058] Taking the first type of detection unit containing an odd number of detection rows and the second type of detection unit containing an even number of detection rows as an example, according to the above description, the second detection time is longer than the first detection time. That is, the X-ray detector controls the opening of the odd-numbered detection rows sequentially, and the opening time of a single odd-numbered detection row (i.e., the first detection time mentioned above) is relatively short, aiming to ensure that the acquired image contains details of thin areas of the target object (i.e., the imaging effect of thin areas is relatively clear). Conversely, the X-ray detector controls the opening of the even-numbered detection rows sequentially, and the opening time of a single even-numbered detection row (i.e., the second detection time mentioned above) is relatively long, aiming to ensure that the acquired image contains details of thick areas of the target object (i.e., the imaging effect of thick areas is relatively clear).
[0059] As can be seen from the above description, this embodiment ultimately obtains an image that shows the details of the thick regions on the target object, as well as an image that shows the details of the thin regions on the target object. These two types of images (i.e., the sub-images corresponding to each detection unit in the first type of detection unit and the sub-images corresponding to each detection unit in the second type of detection unit) are fused to generate the target image. The generated target image simultaneously shows the details of both the thick and thin regions on the target object.
[0060] It should be noted that, taking the second type of detection unit containing an even number of detection units as an example, the activation time of each detector basic unit in the even number of detection units, i.e. the second detection time, is relatively long. For thinner areas on the target object, overexposure will occur due to the longer second detection time, thus failing to present the details of the thinner areas. In other words, there may be pixels in the sub-image corresponding to the even number of detection units that meet the overexposure conditions.
[0061] Based on this, in this embodiment, if there are pixels in the first image that meet the overexposure condition during the generation of the target image, the feature value of the pixel is adjusted using the feature value of the mapped pixel in the second image that has a mapping relationship with the pixel, so that the adjusted pixel does not meet the overexposure condition. Here, when the second detection time is greater than the first detection time, the first image is determined based on the sub-images corresponding to each detection unit in the second type of detection unit, and the second image is determined based on the sub-images corresponding to each detection unit in the first type of detection unit; when the second detection time is less than the first detection time, the first image is determined based on the sub-images corresponding to each detection unit in the first type of detection unit, and the second image is determined based on the sub-images corresponding to each detection unit in the second type of detection unit.
[0062] It should also be noted that, taking the first type of detection unit containing an odd number of detection units as an example, the activation time of each detector's basic unit in the odd-numbered detection units, i.e., the first detection time, is relatively short. For thicker areas of the target object, underexposure may occur due to the short first detection time, thus failing to capture the details of thinner areas. In other words, the sub-image corresponding to the odd-numbered detection units may contain underexposed pixels. By fusing the sub-images corresponding to the odd-numbered detection units with those corresponding to the even-numbered detection units, underexposed pixels in the target image can be avoided. Ultimately, this ensures that the generated target image does not suffer from underexposure or overexposure, meeting the usage requirements.
[0063] This concludes the process. Figure 2 The process is shown below.
[0064] As can be seen, this embodiment first enables the detector units in the first type of detector unit in sequence, so that each detector basic unit in the enabled detector unit starts working to detect X-rays within the first detection time and acquires the sub-image corresponding to the detector unit, such as the sub-image corresponding to each odd-numbered detection row. Then, it enables each detector unit in the second type of detector unit in sequence, so that each detector basic unit in the enabled detector unit starts working to detect X-rays within the second detection time and obtains the sub-image corresponding to the detector unit, such as the sub-image corresponding to each even-numbered detection row. By controlling the second detection time to be different from the first detection time, it is possible to image the details of both thin and thick areas on the target object. This can achieve perfect imaging of objects with large thickness differences, reduce the complexity of actual operation for users, and better meet the needs of use.
[0065] Furthermore, the method described in this embodiment does not incur any hardware costs or increase the complexity of the detector system design, and has high applicability.
[0066] The following is about Figure 2 The process shown is illustrated with an example:
[0067] In existing applications, during the imaging process of X-ray detectors, images are acquired sequentially according to detection units, such as row by row or column by column. Once all the sub-images corresponding to the detection units (rows or columns) are acquired, they can be combined to form a desired image.
[0068] Taking a detection row as an example, in practical implementation, the X-ray detector can control the opening of a single detection row through acquisition devices such as the GIC processing unit (an IC processing unit that drives the opening of detection rows or columns in the X-ray detector). This allows the basic detector units within a single detection row to activate and detect X-rays. For example, the readout IC (ROIC) performs charge readout and A / D conversion on the basic detector units in the opened single detection row, converting analog electrical signals into digital signals to obtain the sub-image corresponding to the single detection row. Then, the sub-images corresponding to each detection row are sequentially arranged to obtain the complete image. Figure 3 An illustration was created using a 3072*3072 image (3072 width and 3072 height).
[0069] This embodiment improves upon existing image acquisition methods. Instead of acquiring images row by row or column by column, it divides the multiple basic detector units deployed by the X-ray detector into odd-numbered and even-numbered detector units according to specified detection units. This is achieved by using three signals: a detector unit strobe signal (e.g., StartPulse signal, STV), a detector unit shift signal (e.g., Vertical Shift Clock signal, CPV), and an enable signal (e.g., Output Enable signal, OE).
[0070] Optionally, the above three signals can be generated by signal devices in the X-ray detector, such as FPGA, and this embodiment is not specifically limited to this.
[0071] The detector unit selection signal is used to select the detector unit, and is initially valid on the rising edge of the detector unit shift signal. The detector unit shift signal's main function is to achieve the shift. The enable signal is the actual activation time for a single detector unit, such as odd or even detector units, and is generally adjusted according to requirements.
[0072] Based on the control logic of the above three signals, image acquisition can be performed by skipping one detection unit, such as one detection row or column, by continuously and rapidly providing two detection unit shift signals; similarly, image acquisition can be performed by skipping two detection units, such as two detection rows or columns, by continuously and rapidly providing three detection unit shift signals. Figure 4 and Figure 5Typical timing examples for image acquisition using odd-numbered probe rows and even-numbered probe rows are given respectively.
[0073] Based on the above logic, taking the first type of detection unit, which includes odd-numbered detection units such as odd-numbered detection behavior, as an example, the sequential enabling of the detection units in the first type of detection unit in step 201 above may include: firstly, generating a detection unit gating signal, a detection unit shift signal, and an enable signal through the signal device in the X-ray detector, and transmitting them to the acquisition device in the X-ray detector, so that the acquisition device selects the first odd-numbered detection unit as the current detection unit based on the detection unit gating signal and the detection unit shift signal, and controls each detector basic unit in the current detection unit to start working so as to detect X-rays within the first detection time; the enable signal indicates the first detection time;
[0074] After the first detection time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device, so that the acquisition device selects the next odd-numbered detection unit as the current detection unit based on the two continuously received detection unit gating signals, and controls the basic units of each detector in the current detection unit to start working so as to detect X-rays during the first detection time; if the current detection unit is not the last detection unit, then after the first detection time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device.
[0075] Of course, if the second type of detection unit includes odd-numbered detection units, such as odd-numbered detection behavior, then enabling the detection units in the second type of detection unit in step 202 above in sequence may include: first generating a detection unit gating signal, a detection unit shift signal, and an enable signal through the signal device in the X-ray detector, and transmitting them to the acquisition device in the X-ray detector, so that the acquisition device selects the first odd-numbered detection unit as the current detection unit based on the detection unit gating signal and the detection unit shift signal, and controls each detector basic unit in the current detection unit to start working so as to detect X-rays during the second detection time; the enable signal indicates the second detection time;
[0076] After the first detection time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device, so that the acquisition device selects the next odd-numbered detection unit as the current detection unit based on the two continuously received detection unit gating signals, and controls the basic detector units in the current detection unit to start working so as to detect X-rays during the second detection time; if the current detection unit is not the last detection unit, then after the second detection time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device.
[0077] Taking the above logic as an example, if the first type of detection unit includes even-numbered detection units, such as even-numbered detection behavior, then enabling the first type of detection unit in sequence in step 201 includes: generating a detection unit gating signal and a detection unit shift signal through the signal device in the X-ray detector, and transmitting them to the acquisition device in the X-ray detector, so that the acquisition device selects the first odd-numbered detection unit based on the detection unit gating signal and the detection unit shift signal;
[0078] Subsequently, a detection unit shift signal and an enable signal are generated by the signal device in the X-ray detector and transmitted to the acquisition device in the X-ray detector, so that the acquisition device shifts based on the detection unit shift signal to select the first even-numbered detection unit as the current detection unit, and controls the basic detector units in the current detection unit to start working so as to detect X-rays within the first detection time; the enable signal indicates the first detection time.
[0079] Subsequently, after the first detection time ends, two detection unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device. This allows the acquisition device to select the next even-numbered detection unit as the current detection unit based on the two continuously received detection unit gating signals, and control the basic detector units in the current detection unit to start working so as to detect X-rays during the first detection time. If the current detection unit is not the last detection unit, then after the first detection time ends, two detection unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device.
[0080] Of course, if the second type of detection unit includes an even number of detection units, such as an even number of detection behaviors, then enabling the detection units in the second type of detection unit in step 202 above in sequence may include: generating a detection unit gating signal and a detection unit shift signal through the signal device in the X-ray detector, and transmitting them to the acquisition device in the X-ray detector, so that the acquisition device selects the first odd number of detection units based on the detection unit gating signal and the detection unit shift signal.
[0081] Subsequently, a detection unit shift signal and an enable signal are generated by the signal device in the X-ray detector and transmitted to the acquisition device in the X-ray detector, so that the acquisition device shifts based on the detection unit shift signal to select the first even-numbered detection unit as the current detection unit, and controls the basic detector units in the current detection unit to start working so as to detect X-rays during the second detection time; the enable signal indicates the second detection time.
[0082] After the second detection time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device, so that the acquisition device selects the next even-numbered detection unit as the current detection unit based on the two continuously received detection unit gating signals, and controls the basic detector units in the current detection unit to start working so as to detect X-rays during the second detection time; if the current detection unit is not the last detection unit, then after the second detection time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device.
[0083] Based on the above description, steps 201 and 202 were ultimately achieved.
[0084] Optionally, in this embodiment, a target image can be generated based on the first image and the second image and sent to the control processor for display.
[0085] Optionally, as an embodiment, the first image can be determined through the following steps: if the first type of detection units includes an odd number of detection units and the second type of detection units includes an even number of detection units, then the sub-images corresponding to each detection unit in the second type of detection units are organized together in sequence to generate a first initial image; if the first type of detection units includes an even number of detection units and the second type of detection units includes an odd number of detection units, then the sub-images corresponding to each detection unit in the first type of detection units are organized together in sequence to generate a first initial image; based on the even-number correction template corresponding to the even-number detection units, the first initial image is corrected to obtain the first image.
[0086] Similarly, the second image is determined through the following steps: if the first type of detection units includes an odd number of detection units and the second type of detection units includes an even number of detection units, then the sub-images corresponding to each detection unit in the first type of detection units are organized together in order to generate a second initial image; if the first type of detection units includes an even number of detection units and the second type of detection units includes an odd number of detection units, then the sub-images corresponding to each detection unit in the second type of detection units are organized together in order to generate a second initial image; based on the odd correction template corresponding to the odd number of detection units, the second initial image is corrected to obtain the second image.
[0087] Optionally, in this embodiment, the odd-number correction template can generate sub-images in the manner described above for generating odd-number detection units, and then organize these sub-images together in sequence to form the odd-number correction template. Similarly, the even-number correction template can generate sub-images in the manner described above for generating even-number detection units, and then organize these sub-images together in sequence to form the even-number correction template.
[0088] Optionally, in this embodiment, before generating the odd-number correction template and the even-number correction template, the X-ray detector's operating mode can be configured to the set wide dynamic range acquisition mode. In this mode, sub-images corresponding to each odd-number detection unit are generated according to the above-described method for generating sub-images corresponding to each detection unit, and an odd-number correction template is generated based on the sub-images corresponding to each odd-number detection unit. Also, sub-images corresponding to each even-number detection unit are generated according to the above-described method for generating sub-images corresponding to each detection unit, and an even-number correction template is generated based on the sub-images corresponding to each even-number detection unit.
[0089] It should be noted that in this embodiment, the method of correcting the second initial image based on the odd-number correction template corresponding to the odd-number detection units is similar to existing image correction methods. This embodiment does not describe it in detail; it is only for the purpose of improving image quality. Similarly, the method of correcting the first initial image based on the even-number correction template corresponding to the even-number detection units is similar to existing image correction methods. This embodiment does not describe it in detail; it is also only for the purpose of improving image quality.
[0090] Based on this, the above method for generating the target image based on the first image and the second image can be referred to... Figure 6 The process is shown below.
[0091] like Figure 6 As shown, the process may include the following steps:
[0092] Step 601: Perform interpolation processing on the first image and the second image respectively, so that the size of the processed first image and the second image is the target size.
[0093] In this embodiment, the size of the first image is M*N, and the size of the second image is M*N; M represents the width, and N represents the height. For example, M is 2048, and N is 1024. If the detection unit is a row, the target size is M*2N; if the detection unit is a column, the target size is 2M*N.
[0094] If the detection unit is a detection row, then the first and second images are only half the size of the target, and an interpolation algorithm is needed to expand the size of both the first and second images to the target size.
[0095] The interpolation algorithm aims to expand both the first and second images to their original dimensions, preparing them for subsequent fusion algorithms. After interpolation, both the first and second images are the target size, such as 2048*2048. This size change results in some loss of image detail, but it is difficult to discern with the naked eye. The processed first image primarily shows the details of thicker areas of the target object; the processed second image primarily shows the details of thinner areas of the target object.
[0096] Optionally, there are various interpolation algorithms in practice. For example, they can be processed using the feature values of the pixels above and below, such as the reference mean of gray values, 45-degree reference interpolation, 3x3 neighborhood reference interpolation, etc. Simply put, the feature values of the pixel being interpolated will be weighted and averaged with reference to the feature values of the surrounding pixels, such as gray values. Figure 7 An example of an interpolation algorithm is shown. Figure 8 An example is given of image interpolation processing. Figure 8 In the image, the even-numbered rows are the first image mentioned above, and the odd-numbered rows are the second image mentioned above.
[0097] Step 602: If there are overexposed pixels in the first image that meet the overexposure condition, for each overexposed pixel in the first image that meets the overexposure condition, find the mapping pixel of the overexposed pixel in the second image. The position of the overexposed pixel in the first image is the same as the position of the mapping pixel in the second image. Adjust the feature value of the overexposed pixel based on the feature value of the mapping pixel so that the overexposed pixel does not meet the overexposure condition after the overexposed pixel is adjusted.
[0098] In this embodiment, the overexposure conditions can be set according to actual needs.
[0099] The first image after interpolation primarily displays details of the thicker areas of the target object. However, due to the relatively long detection time, thinner areas of the target object often become overexposed. Therefore, for each overexposed pixel in the first image that meets the overexposure condition, a mapping pixel is found in the second image. The position of the overexposed pixel in the first image is the same as the position of the mapping pixel in the second image. The feature values of the overexposed pixel are adjusted based on the feature values of the mapping pixel so that the overexposed pixel no longer meets the overexposure condition after adjustment. Finally, after this processing, the first image no longer contains overexposed pixels and simultaneously includes information about the thinner areas of the target object.
[0100] Step 603: Fuse the first image and the second image to generate the target image.
[0101] The specific image fusion algorithm can be determined based on the image processing requirements and is not specifically limited here. Optionally, the grayscale values of the first and second images processed above can be weighted and fused. The weighting coefficients can be adjusted according to the actual image acquisition requirements. Optionally, the fused image can be further subjected to image optimization operations such as noise reduction, contour extraction optimization, and histogram averaging to achieve the target image that meets the best display effect.
[0102] This concludes the process. Figure 6 The process is shown below.
[0103] pass Figure 6The process shown enables the generation of the target image. Figure 9 The diagram illustrates the detection behavior using a detection unit as an example. Figure 9 In the image, the even-numbered rows are the first image mentioned above, the odd-numbered rows are the second image mentioned above, and the fused image of the odd and even rows is the target image mentioned above.
[0104] Following the weighted fusion and overexposed pixel processing methods described above, the final target image has a different bit depth than the existing single-shot imaging bit depth, and consequently, its dynamic range also differs from that of existing single-shot imaging (images obtained by sequentially acquiring basic detector units, such as row-by-row or column-by-column). For example, the existing single-shot imaging (referred to as the source image) has a bit depth of 16 bits and a dynamic range of 76.3 dB. Using the above method, the image bit depth can be extended to 24 bits, and the dynamic range is 124.5 dB. Here, the bit depth mentioned in the embodiments of this application refers to the maximum number of bits in the digital display image.
[0105] Of course, this embodiment does not limit the bit depth of the source image or the bit depth of the target image. The bit depth of the source image is arbitrary, and the bit depth of the target image can be higher, lower, or the same as the bit depth of the source image; this embodiment does not specifically limit these. The output bit depth of the source image depends on the final image effect.
[0106] Typically, the bit depth of an image is changed during image processing. Generally, a higher dynamic range uses a higher bit depth to represent the image. However, in the actual image processing algorithm calculation process, in order to better display the image, the bit depth may not necessarily be increased, and may even be decreased. The final calculation result of the image processing algorithm shall prevail, and the bit depth increases after image processing in most cases.
[0107] As can be seen, this embodiment, by separately controlling odd-numbered and even-numbered detection units to acquire images and then fusing them, compared to a single-shot image (an image obtained by sequentially acquiring images of the basic detector units, such as row by row or column by column), can simultaneously present details of both thin and thick regions of the target object, expanding the detector's dynamic range without sacrificing image acquisition time. It should be noted that if the detection unit is a row, the sum of the image acquisition times for all odd-numbered rows and all even-numbered units is the same as the image acquisition time for a single shot, and it does not increase the image acquisition time.
[0108] Optionally, in this embodiment, the X-ray detector may also send the first image and the second image to the control processor, so that the control processor can generate and display a target image based on the first image and the second image. Specifically, as follows... Figure 10 As shown. Here, the method by which the control processor generates the target image based on the first image and the second image is as described above, and will not be exemplified here.
[0109] It should be noted that, after step 202, optionally, the X-ray generator can be further triggered to shut down, for example, by triggering the control processor to shut down the X-ray generator, so that the X-ray generator stops emitting X-rays toward the target object.
[0110] This concludes the description of the method provided in the embodiments of this application.
[0111] The X-ray detector provided in the embodiments of this application is described below:
[0112] See Figure 11 , Figure 11 This is a structural diagram of an X-ray detector provided in an embodiment of this application. The X-ray detector is configured with multiple basic detector units;
[0113] The X-ray detector is deployed with multiple detector basic units, which are divided into a first type of detector unit and a second type of detector unit according to a specified detection unit. One of the first type of detector unit and the second type of detector unit contains multiple different odd-numbered detector units, and the other contains multiple different even-numbered detector units. The detection unit contains at least one detector basic unit, and the detection unit is a detection row or a detection column.
[0114] Any detector basic unit is used to detect X-rays within a corresponding detection time after being enabled and turned on, provided that the X-ray generator emits X-rays towards the target object; wherein, if the detector basic unit is one of the detection units in the first type of detection units, the detection time is the first detection time; if the detector basic unit is one of the detection units in the second type of detection units, the detection time is the second detection time.
[0115] In the X-ray detector, each detection unit in the first type of detection unit is enabled in sequence so that each detector basic unit in the enabled detection unit starts working to detect X-rays within the first detection time and acquire the sub-image corresponding to the detection unit.
[0116] After obtaining the sub-images corresponding to each detection unit in the first type of detection unit, each detection unit in the second type of detection unit of the X-ray detector is enabled sequentially, so that each detector basic unit in the enabled detection unit starts working to detect X-rays within a second detection time, thereby obtaining the sub-image corresponding to that detection unit. The second detection time is different from the first detection time, so that the clarity of thin regions on the target object in the image acquired under a short detection time is higher than the clarity of thin regions in the image acquired under a long detection time, and the clarity of thick regions on the target object in the image acquired under a long detection time is higher than the clarity of thick regions in the image acquired under a short detection time. The thick region refers to the region on the target object whose thickness meets the set requirements, and the thin region refers to the region on the target object other than the thick region.
[0117] Among them, the sub-images corresponding to each detection unit in the first type of detection unit and the sub-images corresponding to each detection unit in the second type of detection unit are used to generate the target image.
[0118] As one embodiment, the X-ray detector includes a signaling device and a data acquisition device.
[0119] If the first type of detection units includes an odd number of detection units, then enabling each detection unit in the first type of detection units in sequence includes: enabling each odd number of detection units in sequence; or,
[0120] If the second type of detection units includes odd-numbered detection units, then enabling each detection unit in the second type of detection units in sequence includes: enabling each odd-numbered detection unit in sequence;
[0121] The odd-numbered detection units that are enabled in sequence include:
[0122] The signal devices in the X-ray detector generate a detector unit gating signal, a detector unit shift signal, and an enable signal, and transmit them to the acquisition device in the X-ray detector. This allows the acquisition device to select the first odd-numbered detector unit as the current detector unit based on the detector unit gating signal and the detector unit shift signal, and control the basic detector units in the current detector unit to start working to detect X-rays within a first target detection time. The enable signal indicates the first target time. If the first type of detector units includes odd-numbered detector units, the first target time is the first detection time; if the second type of detector units includes odd-numbered detector units, the first target time is the second detection time.
[0123] After the first target time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device, so that the acquisition device selects the next odd-numbered detection unit as the current detection unit based on the two continuously received detection unit gating signals, and controls the basic units of each detector in the current detection unit to start working in order to detect X-rays within the first target detection time; if the current detection unit is not the last detection unit, then after the first target time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device.
[0124] If the first type of detection units includes an even number of detection units, the step of sequentially enabling each detection unit in the first type of detection units includes: sequentially enabling each even-numbered detection unit; or...
[0125] If the second type of detection units includes an even number of detection units, the step of sequentially enabling each detection unit in the second type of detection units includes: sequentially enabling each even number of detection units;
[0126] The sequential enabling of each even-numbered detection unit includes:
[0127] The signal device in the X-ray detector generates a detection unit gating signal and a detection unit shift signal, and transmits them to the acquisition device in the X-ray detector, so that the acquisition device selects the first odd-numbered detection unit based on the detection unit gating signal and the detection unit shift signal.
[0128] The X-ray detector generates a detection unit shift signal and an enable signal, which are transmitted to the acquisition device in the X-ray detector. The acquisition device shifts based on the detection unit shift signal to select the first even-numbered detection unit as the current detection unit, and controls the basic detector units in the current detection unit to start working to detect X-rays within a second target time. The enable signal indicates the second target time. If the first type of detection units includes an even number of detection units, the second target time is the first detection time. If the second type of detection units includes an even number of detection units, the second target time is the second detection time.
[0129] After the second target time ends, two detector unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device. This allows the acquisition device to select the next even-numbered detector unit as the current detector unit based on the two continuously received detector unit gating signals. The acquisition device then controls the basic detector units in the current detector unit to start working and detect X-rays during the second target time. If the current detector unit is not the last detector unit, the acquisition device returns to the point where two detector unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device after the second target time ends.
[0130] As one embodiment, the acquisition device is further configured to send a first image and a second image to a control processor, so that the control processor can generate and display a target image based on the first image and the second image; wherein, when the second detection time is greater than the first detection time, the first image is determined based on the sub-images corresponding to each detection unit in the second type of detection units, and the second image is determined based on the sub-images corresponding to each detection unit in the first type of detection units; when the second detection time is less than the first detection time, the first image is determined based on the sub-images corresponding to each detection unit in the first type of detection units, and the second image is determined based on the sub-images corresponding to each detection unit in the second type of detection units; or...
[0131] A target image is generated based on the first and second images and sent to the control processor for display.
[0132] As one embodiment, the size of the first image is M*N, and the size of the second image is M*N; M represents the width, and N represents the height;
[0133] The generation of the target image based on the first image and the second image includes:
[0134] Interpolation processing is performed on the first image and the second image respectively so that the size of the processed first image and the second image is the target size; if the detection unit is a detection row, the target size is M*2N; if the detection unit is a detection column, the target size is 2M*N.
[0135] If there are overexposed pixels in the first image that meet the overexposure condition, then for each overexposed pixel in the first image that meets the overexposure condition, find the mapping pixel of the overexposed pixel in the second image. The position of the overexposed pixel in the first image is the same as the position of the mapping pixel in the second image. Adjust the feature value of the overexposed pixel based on the feature value of the mapping pixel so that the overexposed pixel does not meet the overexposure condition after the overexposed pixel is adjusted.
[0136] The first image and the second image are fused to generate the target image.
[0137] As an example, the detection time of each detector basic unit in any odd-numbered detection unit for detecting X-rays is less than the detection time of each detector basic unit in any even-numbered detection unit for detecting X-rays.
[0138] If the first type of detection unit includes an odd number of detection units and the second type of detection unit includes an even number of detection units, then the second detection time is greater than the first detection time; if the first type of detection unit includes an even number of detection units and the second type of detection unit includes an odd number of detection units, then the second detection time is less than the first detection time.
[0139] As an example, the first image is determined through the following steps: if the first type of detection units includes an odd number of detection units and the second type of detection units includes an even number of detection units, then the sub-images corresponding to each detection unit in the second type of detection units are organized together in sequence to generate a first initial image; if the first type of detection units includes an even number of detection units and the second type of detection units includes an odd number of detection units, then the sub-images corresponding to each detection unit in the first type of detection units are organized together in sequence to generate a first initial image; based on the even-number correction template corresponding to the even-number detection units, the first initial image is corrected to obtain the first image;
[0140] As an example, the second image is determined through the following steps: if the first type of detection units includes an odd number of detection units and the second type of detection units includes an even number of detection units, then the sub-images corresponding to each detection unit in the first type of detection units are organized together in sequence to generate a second initial image; if the first type of detection units includes an even number of detection units and the second type of detection units includes an odd number of detection units, then the sub-images corresponding to each detection unit in the second type of detection units are organized together in sequence to generate a second initial image; based on the odd correction template corresponding to the odd number of detection units, the second initial image is corrected to obtain the second image.
[0141] The X-ray detector provided in the embodiments of this application has been described above.
[0142] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. An image processing method, characterized in that, This method is applied to an X-ray detector, where multiple detector basic units deployed by the X-ray detector are divided into a first type of detector unit and a second type of detector unit according to a specified detection unit. One of the first type of detector unit and the second type of detector unit contains multiple different odd-numbered detector units, and the other contains multiple different even-numbered detector units. The detection unit comprises at least one basic detector unit, and the detection unit is a detection row or a detection column; the method includes: Under the premise that the X-ray generator emits X-rays to the target object, the detection units in the first type of detection unit are enabled in sequence so that the basic detector units in the enabled detection units can start working to detect X-rays in the first detection time and acquire the sub-image corresponding to the detection unit. After obtaining the sub-images corresponding to each detection unit in the first type of detection unit, each detection unit in the second type of detection unit is enabled sequentially, so that the basic detector units in the enabled detection units start working to detect X-rays within the second detection time, and obtain the sub-image corresponding to that detection unit. The second detection time is different from the first detection time, so that the clarity of the thin region on the target object in the image acquired under the short detection time is higher than the clarity of the thin region in the image acquired under the long detection time, and the clarity of the thick region on the target object in the image acquired under the long detection time is higher than the clarity of the thick region in the image acquired under the short detection time. The thick region refers to the region on the target object whose thickness meets the set requirements, and the thin region refers to the region on the target object other than the thick region. Among them, the sub-images corresponding to each detection unit in the first type of detection unit and the sub-images corresponding to each detection unit in the second type of detection unit are used to generate the target image.
2. The method according to claim 1, characterized in that, If the first type of detection units includes an odd number of detection units, then enabling each detection unit in the first type of detection units in sequence includes: enabling each odd number of detection units in sequence; or, If the second type of detection units includes odd-numbered detection units, then enabling each detection unit in the second type of detection units in sequence includes: enabling each odd-numbered detection unit in sequence; The odd-numbered detection units that are enabled in sequence include: The signal devices in the X-ray detector generate a detector unit gating signal, a detector unit shift signal, and an enable signal, and transmit them to the acquisition device in the X-ray detector. This allows the acquisition device to select the first odd-numbered detector unit as the current detector unit based on the detector unit gating signal and the detector unit shift signal, and control the basic detector units in the current detector unit to start working to detect X-rays within a first target detection time. The enable signal indicates the first target time. If the first type of detector units includes odd-numbered detector units, the first target time is the first detection time; or if the second type of detector units includes odd-numbered detector units, the first target time is the second detection time. After the first target time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device, so that the acquisition device selects the next odd-numbered detection unit as the current detection unit based on the two continuously received detection unit gating signals, and controls the basic units of each detector in the current detection unit to start working in order to detect X-rays within the first target detection time; if the current detection unit is not the last detection unit, then after the first target time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device.
3. The method according to claim 1, characterized in that, If the first type of detection units includes an even number of detection units, the step of enabling each detection unit in the first type of detection units in sequence includes: enabling each even number of detection units in sequence; or, if the second type of detection units includes an even number of detection units, the step of enabling each detection unit in the second type of detection units in sequence includes: enabling each even number of detection units in sequence. The sequential enabling of each even-numbered detection unit includes: The signal device in the X-ray detector generates a detection unit gating signal and a detection unit shift signal, and transmits them to the acquisition device in the X-ray detector, so that the acquisition device selects the first odd-numbered detection unit based on the detection unit gating signal and the detection unit shift signal. The signal device in the X-ray detector generates a detection unit shift signal and an enable signal, which are transmitted to the acquisition device in the X-ray detector. The acquisition device shifts based on the detection unit shift signal to select the first even-numbered detection unit as the current detection unit, and controls the basic detector units in the current detection unit to start working so as to detect X-rays within a second target time. The enable signal indicates the second target time. If the first type of detection units includes an even number of detection units, the second target time is the first detection time, or if the second type of detection units includes an even number of detection units, the second target time is the second detection time. After the second target time ends, two detector unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device. This allows the acquisition device to select the next even-numbered detector unit as the current detector unit based on the two continuously received detector unit gating signals. The acquisition device then controls the basic detector units in the current detector unit to start working and detect X-rays during the second target time. If the current detector unit is not the last detector unit, the acquisition device returns to the point where two detector unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device after the second target time ends.
4. The method according to claim 1, characterized in that, The method further includes: The first image and the second image are sent to the control processor, which then generates and displays a target image based on them. Specifically, when the second detection time is greater than the first detection time, the first image is determined based on the sub-images corresponding to each detection unit in the second type of detection units, and the second image is determined based on the sub-images corresponding to each detection unit in the first type of detection units; or, when the second detection time is less than the first detection time, the first image is determined based on the sub-images corresponding to each detection unit in the first type of detection units, and the second image is determined based on the sub-images corresponding to each detection unit in the second type of detection units; or... A target image is generated based on the first and second images and sent to the control processor for display.
5. The method according to claim 4, characterized in that, The first image has dimensions M*N, and the second image has dimensions M*N; M represents the width, and N represents the height. The generation of the target image based on the first image and the second image includes: Interpolation processing is performed on the first image and the second image respectively so that the size of the processed first image and the second image is the target size; if the detection unit is a detection row, the target size is M*2N; if the detection unit is a detection column, the target size is 2M*N. If there are overexposed pixels in the first image that meet the overexposure condition, then for each overexposed pixel in the first image that meets the overexposure condition, find the mapping pixel of the overexposed pixel in the second image. The position of the overexposed pixel in the first image is the same as the position of the mapping pixel in the second image. Adjust the feature value of the overexposed pixel based on the feature value of the mapping pixel so that the overexposed pixel does not meet the overexposure condition after the overexposed pixel is adjusted. The first image and the second image are fused to generate the target image.
6. The method according to any one of claims 1 to 5, characterized in that, The detection time of each detector basic unit in any odd-numbered detection unit for detecting X-rays is less than the detection time of each detector basic unit in any even-numbered detection unit for detecting X-rays. If the first type of detection unit includes an odd number of detection units and the second type of detection unit includes an even number of detection units, then the second detection time is greater than the first detection time; or if the first type of detection unit includes an even number of detection units and the second type of detection unit includes an odd number of detection units, then the second detection time is less than the first detection time.
7. The method according to claim 6, characterized in that, The first image is determined through the following steps: If the first type of detection unit includes an odd number of detection units and the second type of detection unit includes an even number of detection units, then the sub-images corresponding to each detection unit in the second type of detection unit are organized together in order to generate the first initial image; Alternatively, if the first type of detection unit includes an even number of detection units and the second type of detection unit includes an odd number of detection units, then the sub-images corresponding to each detection unit in the first type of detection unit are organized together in order to generate a first initial image; Based on the even-number correction template corresponding to the even-number detection unit, the first initial image is corrected to obtain the first image; The second image is determined through the following steps: If the first type of detection unit includes an odd number of detection units and the second type of detection unit includes an even number of detection units, then the sub-images corresponding to each detection unit in the first type of detection unit are organized together in order to generate a second initial image; Alternatively, if the first type of detection unit includes an even number of detection units and the second type of detection unit includes an odd number of detection units, then the sub-images corresponding to each detection unit in the second type of detection unit are organized together in order to generate a second initial image; The second initial image is corrected based on the odd correction template corresponding to the odd detection unit to obtain the second image.
8. An image processing system, characterized in that, The system includes: X-ray generator, target object, X-ray detector, control processor; An X-ray generator is used to emit X-rays toward a target object under the control of a control processor. An X-ray detector for performing the steps of the method as described in any one of claims 1 to 7; A control processor is used to control the X-ray generator and to perform image processing on the images generated by the X-ray detector.
9. An X-ray detector, characterized in that, The X-ray detector is deployed with multiple detector basic units; The X-ray detector is deployed with multiple detector basic units, which are divided into a first type of detector unit and a second type of detector unit according to a specified detection unit. One of the first type of detector unit and the second type of detector unit contains multiple different odd-numbered detector units, and the other contains multiple different even-numbered detector units. The detection unit contains at least one detector basic unit, and the detection unit is a detection row or a detection column. Any detector basic unit is used to detect X-rays within a corresponding detection time after being enabled and turned on, provided that the X-ray generator emits X-rays towards the target object; wherein, if the detector basic unit is one of the detection units in the first type of detection units, the detection time is the first detection time; if the detector basic unit is one of the detection units in the second type of detection units, the detection time is the second detection time. In the X-ray detector, each detection unit in the first type of detection unit is enabled in sequence so that each detector basic unit in the enabled detection unit starts working to detect X-rays within the first detection time and acquire the sub-image corresponding to the detection unit. After obtaining the sub-images corresponding to each detection unit in the first type of detection unit, each detection unit in the second type of detection unit of the X-ray detector is enabled sequentially, so that each detector basic unit in the enabled detection unit starts working to detect X-rays within a second detection time, thereby obtaining the sub-image corresponding to that detection unit. The second detection time is different from the first detection time, so that the clarity of thin regions on the target object in the image acquired under a short detection time is higher than the clarity of thin regions in the image acquired under a long detection time, and the clarity of thick regions on the target object in the image acquired under a long detection time is higher than the clarity of thick regions in the image acquired under a short detection time. The thick region refers to the region on the target object whose thickness meets the set requirements, and the thin region refers to the region on the target object other than the thick region. Among them, the sub-images corresponding to each detection unit in the first type of detection unit and the sub-images corresponding to each detection unit in the second type of detection unit are used to generate the target image.
10. The X-ray detector according to claim 9, characterized in that, The X-ray detector includes signal devices and acquisition devices; If the first type of detection units includes an odd number of detection units, then enabling each detection unit in the first type of detection units in sequence includes: enabling each odd number of detection units in sequence; or, If the second type of detection units includes odd-numbered detection units, then enabling each detection unit in the second type of detection units in sequence includes: enabling each odd-numbered detection unit in sequence; The odd-numbered detection units that are enabled in sequence include: The signal devices in the X-ray detector generate a detector unit gating signal, a detector unit shift signal, and an enable signal, and transmit them to the acquisition device in the X-ray detector. This allows the acquisition device to select the first odd-numbered detector unit as the current detector unit based on the detector unit gating signal and the detector unit shift signal, and control the basic detector units in the current detector unit to start working to detect X-rays within a first target detection time. The enable signal indicates the first target time. If the first type of detector units includes odd-numbered detector units, the first target time is the first detection time; or if the second type of detector units includes odd-numbered detector units, the first target time is the second detection time. After the first target time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device, so that the acquisition device selects the next odd-numbered detection unit as the current detection unit based on the two continuously received detection unit gating signals, and controls the basic detector units in the current detection unit to start working so as to detect X-rays within the first target detection time; if the current detection unit is not the last detection unit, then after the first target time ends, the signal device in the X-ray detector continuously transmits two detection unit shift signals to the acquisition device. If the first type of detection units includes an even number of detection units, sequentially enabling each detection unit in the first type of detection units includes: sequentially enabling each even-numbered detection unit; or, if the second type of detection units includes an even number of detection units, sequentially enabling each detection unit in the second type of detection units includes: sequentially enabling each even-numbered detection unit; wherein, sequentially enabling each even-numbered detection unit includes: The signal device in the X-ray detector generates a detection unit gating signal and a detection unit shift signal, and transmits them to the acquisition device in the X-ray detector, so that the acquisition device selects the first odd-numbered detection unit based on the detection unit gating signal and the detection unit shift signal. The signal device in the X-ray detector generates a detection unit shift signal and an enable signal, which are transmitted to the acquisition device in the X-ray detector. The acquisition device shifts based on the detection unit shift signal to select the first even-numbered detection unit as the current detection unit, and controls the basic detector units in the current detection unit to start working so as to detect X-rays within a second target time. The enable signal indicates the second target time. If the first type of detection units includes an even number of detection units, the second target time is the first detection time, or if the second type of detection units includes an even number of detection units, the second target time is the second detection time. After the second target time ends, two detector unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device. This allows the acquisition device to select the next even-numbered detector unit as the current detector unit based on the two continuously received detector unit gating signals. The acquisition device then controls the basic detector units in the current detector unit to start working and detect X-rays during the second target time. If the current detector unit is not the last detector unit, the acquisition device returns to the point where two detector unit shift signals are continuously transmitted from the signal device in the X-ray detector to the acquisition device after the second target time ends.