Detection substrate, x-ray imaging system, and image correction method and apparatus

By adjusting the driving timing of the detection substrate in the X-ray imaging system, and fixing the row integral time difference before and after the interrupt row, the grayscale difference caused by random interrupt row positions is solved, the image correction is simplified and the imaging quality is improved.

WO2024239879A1PCT designated stage expired Publication Date: 2024-11-28BOE TECHNOLOGY GROUP CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/089120
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-22
Filing Date
2024-04-22
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

During the exposure process, the existing X-ray imaging system has caused the grayscale difference caused by random interruption row positions, which leads to the phenomenon of split screens on the upper and lower screens, which increases the complexity and workload of image correction.

Method used

By introducing an automatic exposure detection unit, a control unit and a gate driving unit into the detection substrate, the driving timing is adjusted so that the row integral time difference before and after the interruption row is a fixed value, the grayscale difference is reduced, and the pre-stored compensation value pair is used. Images are corrected.

Benefits of technology

It is realized that the grayscale difference between the upper and lower split screens is fixed without complex pre-correction, which simplifies the image correction process and improves the imaging quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024089120_28112024_PF_FP_ABST
    Figure CN2024089120_28112024_PF_FP_ABST
Patent Text Reader

Abstract

A detection substrate, an X-ray imaging system, and an image correction method and apparatus. The detection substrate comprises an automatic exposure detection unit, a control unit, a gate driving unit and a data reading unit, wherein the automatic exposure detection unit is configured to send a first notification signal to the control unit when detecting that exposure is started; the control unit is configured to output, in a scanning time period, a first signal and a second signal to the gate driving unit, output the first signal to the end of the current frame when the first notification signal is received, so as to interrupt the output of the second signal, and acquire data read by the data reading unit in the first scanning time period after the exposure is finished, and generate an initial image according to the acquired data; the gate driving unit is configured to control the starting sequence of a plurality of detection units according to the first signal and the second signal in the scanning time period; and the data reading unit is configured to read data of a data line according to a data reading signal in the scanning time period.
Need to check novelty before this filing date? Find Prior Art

Description

Detection substrate, X-ray imaging system, and image correction method and device

[0001] This application claims priority to the Chinese patent application filed on May 22, 2023, with application number 202310582809.9 and invention name “Detection substrate, X-ray imaging system and image correction method and device”, the content of which should be understood as incorporated into this application by reference. Technical Field

[0002] The embodiments of the present disclosure relate to, but are not limited to, the field of X-ray imaging technology, and in particular to a detection substrate, an X-ray imaging system, and an image correction method and device. Background Art

[0003] In recent years, X-ray inspection has been widely used in various fields, including medicine, security, nondestructive testing, and scientific research. Currently, the most common X-ray inspection technology is digital radiography (DR), which emerged in the late 1990s. DR utilizes flat panel detectors (FPDs), whose pixel size can be less than 0.1 mm. This enables imaging quality and resolution nearly comparable to film-based systems, while also overcoming the shortcomings of film-based systems and facilitating computer processing of images.

[0004] Summary of the Invention

[0005] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0006] An embodiment of the present disclosure provides a detection substrate, comprising an automatic exposure detection unit, a control unit, a gate driving unit, and a data reading unit. The detection substrate further comprises a plurality of intersecting gate lines and a plurality of data lines, and a plurality of detection units defined between the gate lines and the data lines and arranged in an array, wherein:

[0007] The automatic exposure detection unit is configured to send a first notification signal to the control unit when detecting the start of exposure;

[0008] The control unit is configured to periodically output a first signal and a second signal to the gate driving unit and the data reading unit during a scanning period; upon receiving the first notification signal during the scanning period, output the first signal until the end of the current frame and interrupt the output of the second signal; acquire data read by the data reading unit during the first scanning period after the end of exposure, and generate an initial image based on the acquired data;

[0009] The gate driving unit is configured to control the activation order of the plurality of detection units according to the first signal and the second signal during the scanning period, wherein the first signal is used to determine the row scanning time of a frame, and the second signal is used to determine the row number of the activation row of the detection unit;

[0010] The data reading unit is configured to read data of the plurality of data lines during the scanning period.

[0011] The present disclosure also provides an X-ray imaging system, including an X-ray generator and a detection substrate, wherein:

[0012] The X-ray generator is configured to emit X-rays and stop emitting X-rays according to the received current X-ray exposure time;

[0013] The control unit is further configured to detect the interruption line position when interrupting the output of the second signal, calculate the current X-ray exposure time based on the detected interruption line position, and the current X-ray exposure time = T-ΔT+W, where T is the line scanning time of one frame, ΔT is the line scanning time before the current frame is interrupted, and W is the preset exposure window width; and send the calculated current X-ray exposure time to the X-ray generator, so that the X-ray generator stops emitting X-rays according to the current X-ray exposure time.

[0014] The present disclosure also provides an image correction method for detecting a substrate, comprising:

[0015] Acquiring an initial image captured by the detection substrate, a current interruption line position, and a compensation value, wherein the interruption line position is a position of a scanning line when the start of exposure is detected and the output of the second signal is interrupted;

[0016] The compensation value is used to compensate the grayscale of the pixels before or after the interruption line in the original image to obtain a corrected image.

[0017] An embodiment of the present disclosure also provides an image correction device for detecting a substrate, comprising a memory; and a processor connected to the memory, wherein the memory is used to store instructions, and the processor is configured to execute the steps of the image correction method for detecting a substrate described in any embodiment of the present disclosure based on the instructions stored in the memory.

[0018] An embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the image correction method for detecting a substrate as described in any embodiment of the present disclosure is implemented.

[0019] Other aspects will become apparent upon reading and understanding the drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are intended to provide a further understanding of the technical solutions of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solutions of the present disclosure and do not constitute a limitation of the technical solutions of the present disclosure. The shapes and sizes of the components in the drawings do not reflect the actual scale and are intended only to illustrate the contents of the present disclosure.

[0021] FIG1 is a schematic diagram of a driving timing sequence of an X-ray imaging system in an automatic exposure detection mode;

[0022] FIG2 is a schematic diagram of grayscale differences of images collected when detecting a substrate receiving an exposure request signal at different positions;

[0023] FIG3A is a schematic structural diagram of a detection substrate provided by an exemplary embodiment of the present disclosure;

[0024] FIG3B is a schematic structural diagram of an X-ray imaging system provided by an exemplary embodiment of the present disclosure;

[0025] FIG4 is a schematic diagram of a driving timing of a detection substrate provided by an exemplary embodiment of the present disclosure;

[0026] FIG5 is a schematic structural diagram of a detection unit provided by an exemplary embodiment of the present disclosure;

[0027] FIG6 is a schematic diagram of control signals of a gate driving unit and a data reading unit provided by an exemplary embodiment of the present disclosure;

[0028] FIG7 is a driving timing diagram of a gate driving unit provided by an exemplary embodiment of the present disclosure;

[0029] FIG8 is a schematic structural diagram of another X-ray imaging system provided by an exemplary embodiment of the present disclosure;

[0030] 9A to 9D are schematic flow charts of four pre-calibration methods for detecting a substrate according to exemplary embodiments of the present disclosure;

[0031] FIG10 is a schematic structural diagram of another X-ray imaging system provided by an exemplary embodiment of the present disclosure;

[0032] FIG11 is a schematic flow chart of an image correction method for detecting a substrate provided by an exemplary embodiment of the present disclosure;

[0033] FIG12 is a schematic structural diagram of an image correction device for detecting a substrate provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] To make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other in any manner.

[0035] Unless otherwise defined, the technical or scientific terms used in the embodiments of the present disclosure should have the ordinary meaning understood by people with ordinary skills in the field to which the present disclosure belongs. The words "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. The words "include" or "comprising" and similar words mean that the elements or objects preceding the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0036] As the core component of the X-ray imaging system, the Flat Panel Detector (FPD) is responsible for converting X-rays into electrical signals and recording images. These signals can be displayed in real time on a monitor or stored for later reading. Generally speaking, an FPD includes a scintillator, a detector, a controller, a signal processing module, and a communication module. The scintillator absorbs X-rays and converts them into visible light. The detector is composed of a detection unit array consisting of photodiodes and thin-film transistors (TFT) switches. Driven by the controller, it converts the visible light generated by the scintillator into electrical signals. The signal processing module amplifies the electrical signal and converts it into a digital signal through an analog-to-digital converter, which is then processed by compensation to form an image.

[0037] In practical applications, an X-ray-sensing sensor is typically built into the FPD, automatically identifying whether X-rays are being emitted. If X-rays are emitted, a signal is sent to the FPD to prepare for exposure. This is automatic exposure detection (AED) technology. In AED mode, if no X-rays are emitted, the FPD remains in a self-clearing state. When the X-ray source emits X-rays, the X-ray-sensing sensor inside the FPD immediately detects the X-rays and sends an exposure request signal to the FPD, causing it to stop clearing and accept exposure. After the exposure is complete, the FPD collects an electrical signal proportional to the X-ray intensity, and forms an image after signal processing.

[0038] FPDs typically self-clear and expose the charge in pixels row by row at a certain refresh rate. However, when the current FPD receives an exposure request signal, it immediately stops self-clearing to accept exposure. As shown in Figure 1, taking an FPD with N rows of detection units (correspondingly, the image generated by the FPD has N rows of pixels), if the FPD is in the self-clearing state and refreshes to a certain frame and self-clears to the nth (1 < n < N)th row, and then receives an exposure request signal, the FPD will immediately stop self-clearing and immediately begin exposure, that is, starting with rows n+1 to N. This will result in a large difference in the grayscale displayed in rows 1 to n and rows n+1 to N in the generated image, resulting in a split screen problem.

[0039] As shown in Figure 1, the row integration time for the row before the currently interrupted row n is W + ΔT, and the row integration time for the row after the currently interrupted row is 2W + T + ΔT, where ΔT = n * H, where H is the single-row row scan time. In the disclosed embodiment, the row integration time for a row of pixels refers to the interval between the end of the previous row scan and the start of the current row scan for the detection unit corresponding to that row of pixels. Because interruptions are random, i.e., the interruption row position n is also random, ΔT is not a fixed value, and ultimately, the grayscale difference between the upper and lower split screens is also not a fixed value. Figure 2 illustrates the grayscale difference data detection results for image interruptions at different locations in a flat-panel detector. As shown in Figure 2, when n = 1, the grayscale difference between the upper and lower screens is 98.068 - 78.493 = 19.575; when n = 3, the grayscale difference between the upper and lower screens is 100.133 - 81.35 = 18.783; ...; and when n = 19, the grayscale difference between the upper and lower screens is 101.494 - 99.556 = 1.938. To compensate for the variable grayscale difference between the upper and lower screens, some flat-panel detectors collect the grayscale differences of a series of different interrupted lines and perform a linear fit to form a linear equation. During subsequent image correction, compensation values ​​are calculated based on the X-ray interruption locations and used to compensate the image. However, this process increases the amount of correction work required.

[0040] As shown in FIG3A , an embodiment of the present disclosure provides a detection substrate, including an automatic exposure detection unit 101, a control unit 102, a gate driving unit 103, and a data reading unit 104. The detection substrate also includes a plurality of gate lines (not shown in FIG3A ) and a plurality of data lines (not shown in FIG3A ) arranged in an array, and a plurality of detection units 105 defined between the gate lines and the data lines, wherein:

[0041] The automatic exposure detection unit 101 is configured to send a first notification signal to the control unit 102 when detecting the start of exposure;

[0042] The control unit 102 is configured to output a first signal and a second signal to the gate driving unit 103 during a scanning period, and output a data reading signal to the data reading unit 104; when receiving a first notification signal during the scanning period, output the first signal until the end of the current frame and interrupt the output of the second signal; obtain data read by the data reading unit 104 during the first scanning period after the end of exposure, and generate an initial image based on the obtained data;

[0043] The gate driving unit 103 is configured to control the activation sequence of the plurality of detection units 105 according to a first signal and a second signal during a scanning period, wherein the first signal is used to determine the row scanning time of a frame, and the second signal is used to determine the row number of the detection unit 105 to be turned on;

[0044] The data reading unit 104 is configured to read data of a plurality of data lines according to a data reading signal during a scanning period.

[0045] The detection substrate provided in the embodiment of the present disclosure adjusts the driving timing of the control unit 102. When the start of exposure is detected, the detection substrate outputs the first signal until the end of the current frame, and interrupts the output of the second signal, so that the difference between the line integration time of the line before the interruption line and the line integration time of the line after the interruption line is a fixed value, that is, the difference in line integration time is not affected by the position of the interruption line, ensuring that the grayscale difference between the upper and lower split screens is a fixed value, and does not require a lot of pre-correction work (such as there is no need to perform linear fitting on a series of grayscale differences to form a linear equation). The pre-stored fixed compensation value can be used to compensate the captured image. In addition, since the pre-stored fixed compensation value is stored in advance before the detection substrate captures the bright state image, the image output waiting time will not be increased when the detection substrate captures the bright state image.

[0046] In the disclosed embodiments, a bright-state image refers to an image acquired during a scanning period after the detection substrate is exposed to X-rays during an X-ray window period. Conversely, a dark-state image refers to an image acquired during a scanning period after the detection substrate is not exposed to X-rays during an X-ray window period.

[0047] In some exemplary embodiments, the first signal may be a vertical pulse clock (CPV) signal (also referred to as a gate row start signal), and the second signal may be a gate output enable (OE) signal. However, the present disclosure is not limited thereto.

[0048] In some exemplary embodiments, in the generated initial image, the row integration time of each row of pixels between the first row and the interrupt row is t1, and the row integration time of each row of pixels between the interrupt row and the last row is t2, and the difference between t1 and t2 is a constant value, the interrupt row is the row number of the open row of the detection unit when the second signal is interrupted, and the row integration time of a row of pixels is the time interval between the end of the last row scanning operation and the start of this row scanning operation of the detection unit corresponding to the pixels in the row.

[0049] In the disclosed embodiment, the row integration time for the pixels in the interrupted row may be t1 or t2, depending on whether the scan of the interrupted row has been completed when the second signal is output. In actual use, the row integration time for the pixels in the interrupted row can be fixed at t1 or t2.

[0050] In some exemplary embodiments, when the gate driving unit scans row by row from the first row to the last row, t1 is W+T, and t2 is 2W+2T;

[0051] When the gate driving unit scans row by row from the last row to the first row, t2 is W+T, and t1 is 2W+2T, where T is the row scanning time of one frame and W is the preset exposure window width.

[0052] In some exemplary embodiments, the control unit 102 is further configured to:

[0053] When the second signal is outputted during interruption, the interruption row position is detected, and the current X-ray exposure time is calculated according to the detected interruption row position. The current X-ray exposure time = T-ΔT+W, where T is the row scanning time of one frame, ΔT is the row scanning time before the current frame is interrupted, and W is the preset exposure window width. The calculated current X-ray exposure time is sent to the X-ray generator, so that the X-ray generator stops emitting X-rays according to the current X-ray exposure time.

[0054] In the embodiment of the present disclosure, the preset exposure window width W may be the time interval between the end of the row scan operation for the last row of the previous frame and the start of the row scan operation for the first row of the next frame. For example, the preset exposure window width W may be 1 second, however, the embodiment of the present disclosure is not limited thereto.

[0055] For example, assuming that the detection substrate is scanned row by row from the first row to the Nth row, the control unit 102 calculates ΔT as the row scanning time between the first row and the interrupted row when interrupting the output of the second signal. In other examples, the detection substrate may also be scanned row by row from the Nth row to the first row. In this case, the control unit 102 calculates ΔT as the row scanning time from the interrupted row to the first row when interrupting the output of the second signal.

[0056] As shown in FIG3B , an embodiment of the present disclosure further provides an X-ray imaging system, comprising an X-ray generator 20 and a detection substrate 10 as described in any embodiment of the present disclosure, wherein:

[0057] The X-ray generator 20 is configured to emit X-rays.

[0058] In some exemplary embodiments, the X-ray generator 20 is further configured to stop emitting X-rays according to the received current X-ray exposure time.

[0059] For example, still taking the case of scanning the detection substrate row by row from the first row to the Nth row, in the generated initial image, the row integration time for each row of pixels from the first row to the interrupted row is W+T, and the row integration time for each row of pixels from the interrupted row to the last row is 2W+2T. The row integration time for a row of pixels is the time interval between the end of the previous row scanning operation and the start of the current row scanning operation of the detection unit 105 corresponding to the pixels in that row. In other examples, when the detection substrate is scanned row by row from the Nth row to the first row, in the generated initial image, the row integration time for each row of pixels from the interrupted row to the last row is W+T, and the row integration time for each row of pixels from the first row to the interrupted row is 2W+2T.

[0060] FIG4 is a schematic diagram of an exemplary driving timing in the automatic exposure detection mode of the present invention. As shown in FIG4 , still taking the scanning sequence of detecting the substrate from the first row to the Nth row for row-by-row scanning as an example, the entire driving process includes a periodically arranged scanning time (Read out Time) segment T and an X-ray window (X-Ray Window) time period W. Before receiving the X-Ray signal, the X-ray imaging system of the present invention performs row-by-row scanning, clearing, resetting and emptying brushing actions in the scanning time period (in the embodiment of the present invention, after the data reading unit 104 reads the data of multiple data lines, there is no data on the data lines, which is equivalent to clearing and resetting the data lines. Since no X-ray exposure is received at this time, it is an emptying brushing action). Once the automatic exposure detection unit 101 detects the X-Ray signal and triggers it, the control unit 102 immediately interrupts the current row reset emptying brushing action. At this time, the second signal for controlling the gate (Gate) signal to output a high level (for example, it can be a gate output enable signal) is turned on. The first signal (for example, a vertical pulse clock signal) has no output, so that the gate signal outputs of subsequent rows are all low, but the first signal (for example, a vertical pulse clock signal) continues to output a complete frame, which plays a timing role until a complete scanning time period T ends, and then enters the X-ray window time period W to perform X-ray exposure. After waiting for the X-ray window time period to end, the substrate is detected to read the exposed bright state image from the first row to the last row to collect a whole image. It can be seen from Figure 4 that the row integration time before the current interruption row is W+T, and the row integration time after the current interruption row is 2W+2T, thereby eliminating the time ΔT affected by the interruption row and ensuring that the grayscale difference between the upper and lower split screens is a fixed value.

[0061] During actual testing, due to instrument errors and other factors, the grayscale difference between the upper and lower split screens may fluctuate in multiple X-ray images. However, this fluctuation should not exceed 5% of the grayscale mean of the entire image. Accordingly, the difference between the row integration time before and after the current interruption line may also fluctuate. However, this fluctuation should not exceed 5% of the mean of the multiple row integration time differences.

[0062] As shown in Figure 5, the detection substrate includes a plurality of intersecting gate lines and a plurality of data lines, as well as detection units 105 defined by the gate and data lines. Each detection unit 105 may include a photodiode D and a thin film transistor (TFT) T coupled to the photodiode D. Furthermore, the thin film transistor T is also connected to the gate and data lines. During operation, a scintillator located on the surface of the detection substrate converts attenuated X-rays that have passed through the human body into visible light. The photodiode D converts the visible light into an electrical signal, forming a stored charge on the capacitor of the photodiode D. A gate scan signal transmitted via the gate lines drives each row of detection units 105 to turn on in sequence, and the stored charge in each row of detection units 105 is read out via the data lines connected to the detection units 105, thereby forming an X-ray digital image based on the stored charge. In the disclosed embodiment, the photodiode D may be a PIN-type photodiode. A PIN-type photodiode is a widely used semiconductor photodetector with a PIN structure, in which an I region close to the intrinsic material is added between the highly doped P-type and N-type electrodes.

[0063] In some exemplary embodiments, as shown in FIG6 , the control unit 102 includes a timing controller (TCON), which is configured to generate a variety of control signals, such as a first signal, a second signal, a data read signal, etc. The timing controller inputs the generated first and second signals into the gate driving unit 103, and inputs the generated data read signal into the data reading unit 104. The gate driving unit 103 drives the plurality of gate lines according to the first and second signals, etc., and the data reading unit 104 reads the data on the data lines according to the data read signal, etc.

[0064] In the embodiment of the present disclosure, the gate driving unit 103 may be a gate driving circuit including a plurality of cascaded GOA (Gate on Array) circuit units, or may be a gate driver chip (Gate Driver), etc., which is not limited in the embodiment of the present disclosure.

[0065] Figure 7 is a driving timing diagram of an exemplary gate driving unit 103. As shown in Figure 7, the falling edge of the i-th second signal corresponds to the falling edge of the i-th gate driving signal, and the rising edge of the i+1-th second signal corresponds to the falling edge of the i-1-th gate driving signal. In this way, the gate driving signal of each row of gate lines can be output sequentially, and each row of detection units 105 can be driven to open and read data from the data line in turn.

[0066] In some exemplary embodiments, as shown in FIG8 , the automatic exposure detection unit 101 includes an AED detection unit 1011 and an AED signal control unit 1012 , wherein:

[0067] The AED detection unit 1011 is configured to detect whether exposure has started, and when the exposure has started, notify the AED signal control unit 1012;

[0068] The AED signal control unit 1012 is configured to receive a notification from the AED detection unit 1011 and send a first notification signal to the control unit 102 .

[0069] In some exemplary embodiments, as shown in FIG8 , the X-ray imaging system further includes an image display unit 30 , which is configured to receive and display the image output by the control unit 102 .

[0070] In some exemplary embodiments, the control unit 102 is further configured to:

[0071] Obtain the current interrupt line position and compensation value; use the compensation value to compensate the grayscale of the pixels before the interrupt line (i.e., between the first line and the interrupt line) or after the interrupt line (i.e., between the interrupt line and the last line) in the initial image to obtain a corrected image.

[0072] For example, still using the example of scanning the substrate line by line from the first row to the Nth row, when using the compensation value to compensate the grayscale of the pixels before the interruption row in the initial image, the compensation value is also used to compensate the grayscale of the pixels between the first row and the interruption row to obtain a corrected image. For example, assuming the pre-stored compensation value is 10, then the grayscale of each pixel between the first row and the interruption row is added by 10 to obtain the corrected image.

[0073] When the compensation value is used to compensate the grayscale of the pixels after the interrupted line in the original image, the compensation value is used to compensate the grayscale of the pixels between the interrupted line and the last line to obtain a corrected image. For example, assuming the pre-stored compensation value is 10, the grayscale of each pixel between the interrupted line and the last line is subtracted by 10 to obtain the corrected image.

[0074] In some exemplary embodiments, the compensation value is predetermined by a pre-calibration method and stored in a storage device of the probe substrate.

[0075] In some exemplary embodiments, as shown in FIG. 9A , the compensation value may be pre-determined and stored in a storage device of the probe substrate by the following pre-calibration method:

[0076] In the automatic exposure detection mode, an image captured by the detection substrate is obtained in the following manner: when the second signal is output to the nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image captured by the detection substrate is obtained after waiting for the X-ray window time period and the scanning time period, 1≤n<N, N is the number of rows of the detection unit 105 of the detection substrate, and the detection substrate is not exposed to X-rays during the image acquisition process;

[0077] The difference between the average grayscale value of all pixels before the nth row of the acquired image and the average grayscale value of all pixels after the nth row is calculated, and the calculated difference is used as the compensation value.

[0078] The embodiment of the present disclosure generates compensation values ​​through a pre-correction method. The compensation values ​​are stored in the storage device of the detection substrate in advance before the bright state image is captured. Therefore, when the bright state image is generated, the waiting time for the image output is not increased, and the use is simple and convenient.

[0079] In other exemplary embodiments, as shown in FIG9B , the compensation value may be pre-determined and stored in a storage device of the detection substrate by the following pre-calibration method:

[0080] In the automatic exposure detection mode, obtain k images collected by the detection substrate, k>1, and record the interruption line position n of the second signal corresponding to the i-th image i , 1≤i≤k, each image is acquired in the following manner: when the second signal is not output to the Nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image collected by the detection substrate is acquired after waiting for the X-ray window time period and the scanning time period. The detection substrate is not exposed to X-rays during the image acquisition process. N is the number of rows of the detection unit 105 for detecting the substrate;

[0081] According to the recorded interruption line position, the difference between the average grayscale value of all pixels before the interruption line and the average grayscale value of all pixels after the interruption line in each image and the average of the differences are calculated, and the calculated average difference is used as the compensation value.

[0082] The embodiment of the present disclosure obtains k images collected by the detection substrate during pre-correction and averages multiple grayscale value differences, so that the generated compensation value can be made more reliable and accurate, thereby improving the imaging quality.

[0083] In some exemplary embodiments, n1 to n k Form an arithmetic progression.

[0084] For example, it is assumed that the detection substrate has a total of 500 rows of detection units 105, n1 to n kIt can be set to 49, 99, 149, 199, ..., 449, 499 in sequence. At this time, the interruption line positions corresponding to the k images collected by the detection substrate are 49, 99, 149, 199, ..., 449, 499 respectively, so that the obtained k grayscale differences can better reflect the differences at different positions, thereby improving the final compensation effect.

[0085] In some further exemplary embodiments, as shown in FIG9C , the compensation value may be pre-determined and stored in a storage device of the detection substrate by the following pre-calibration method:

[0086] In the non-automatic exposure detection mode, no X-ray exposure is performed on the detection substrate, N1 first images collected from the detection substrate are obtained, and a dark state average image is generated based on the N1 first images. The grayscale value of each pixel in the dark state average image is equal to the grayscale average of the corresponding pixel in the N1 first images, and N1 ≥ 1;

[0087] In the automatic exposure detection mode, a second image captured by the detection substrate is obtained in the following manner: when the second signal is output to the nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image captured by the detection substrate is obtained after waiting for an X-ray window time period and a scanning time period as the second image, 1≤n<N, N is the number of rows of the detection unit 105 of the detection substrate, and the detection substrate is not exposed to X-rays during the second image acquisition process;

[0088] Generate a subtracted image, wherein the grayscale value of each pixel in the subtracted image is equal to the grayscale value of each pixel in the second image minus the grayscale value of each pixel in the dark state mean image;

[0089] The difference between the average grayscale value of all pixels before the nth row and the average grayscale value of all pixels after the nth row of the subtraction image is calculated, and the calculated difference is used as the compensation value.

[0090] As shown in Figure 10, in the non-automatic exposure detection mode, the exposure start signal and the image acquisition start signal need to be triggered by the hand switch controller. The exposure start signal is used to trigger the X-ray generator to perform exposure action, and the image acquisition start signal is used to trigger the detection substrate to start image acquisition. At this time, the exposure start time will not occur within the scanning time period, that is, the problem of upper and lower split screens will not occur.

[0091] In some further exemplary embodiments, as shown in FIG9D , the compensation value is also pre-determined and stored in a storage device of the detection substrate by the following pre-calibration method:

[0092] In the non-automatic exposure detection mode, no X-ray exposure is performed on the detection substrate, N1 first images collected from the detection substrate are obtained, and a dark state average image is generated based on the N1 first images. The grayscale value of each pixel in the dark state average image is equal to the grayscale average of the corresponding pixel in the N1 first images, and N1 ≥ 1;

[0093] In the automatic exposure detection mode, k second images collected by the detection substrate are acquired, k>1, and the interruption line position n of the second signal corresponding to the i-th second image is recorded. i , 1≤i≤k, each second image is acquired in the following manner: when the second signal is not output to the Nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and an image acquired by the detection substrate is acquired after waiting for the X-ray window time period and the scanning time period as the second image. The detection substrate is not exposed to X-rays during the acquisition of the second image, and N is the number of rows of the detection unit 105 for detecting the substrate;

[0094] Generate k subtraction images, where the grayscale value of each pixel in each subtraction image is equal to the grayscale value of each pixel in the second image minus the grayscale value of the corresponding pixel in the dark state mean image;

[0095] According to the recorded interruption line position, the difference between the average grayscale value of all pixels before the interruption line and the average grayscale value of all pixels after the interruption line in each subtraction image and the mean of the differences of multiple differences are calculated, and the calculated mean difference is used as the compensation value.

[0096] The disclosed embodiment obtains a fixed grayscale difference between the upper and lower split screens as a compensation value through early image pre-correction and timing adjustment; in the subsequent bright-state image acquisition, the same timing is used to obtain the original bright-state image and record the position of the interrupted line; before the image is output, the compensation value (i.e. the obtained fixed grayscale difference) is used to correct the original bright-state image to obtain a bright-state corrected image without split screen; since the corrected grayscale value has been extracted and stored in advance before the bright-state image is acquired, the waiting time for image output will not be increased.

[0097] As shown in FIG11 , the embodiment of the present disclosure further provides an image correction method for detecting a substrate, comprising:

[0098] Step 1101: acquiring an initial image acquired by detecting the substrate, a current interruption line position, and a compensation value, wherein the interruption line position is a position of a scanning line when the start of exposure is detected and the output of the second signal is interrupted;

[0099] Step 1102: Use the compensation value to compensate the grayscale of the pixels before or after the interrupted line in the original image to obtain a corrected image.

[0100] In some exemplary embodiments, in step 1102, the grayscale of pixels between the first row and the interrupted row may be compensated using the compensation value to obtain a corrected image. For example, assuming the pre-stored compensation value is 10, the grayscale of each pixel between the first row and the interrupted row is increased by 10 to obtain the corrected image.

[0101] In some exemplary embodiments, in step 1102, the grayscale of pixels between the interrupted line and the last line may be compensated using the compensation value to obtain a corrected image. For example, assuming the pre-stored compensation value is 10, the grayscale of each pixel between the interrupted line and the last line is subtracted by 10 to obtain the corrected image.

[0102] In some exemplary embodiments, the compensation value is predetermined and stored in a storage device of the probe substrate by the following pre-calibration method:

[0103] In the automatic exposure detection mode, an image collected by the detection substrate is obtained in the following manner: when the second signal is output to the nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image collected by the detection substrate is obtained after waiting for the X-ray window time period and the scanning time period, 1≤n<N, N is the number of rows of the detection unit of the detection substrate, and the detection substrate is not exposed to X-rays during the image acquisition process;

[0104] The difference between the average grayscale value of all pixels before the nth row of the acquired image and the average grayscale value of all pixels after the nth row is calculated, and the calculated difference is used as the compensation value.

[0105] In other exemplary embodiments, the compensation value is pre-determined and stored in a storage device of the detection substrate by the following pre-calibration method:

[0106] In the automatic exposure detection mode, obtain k images collected by the detection substrate, k>1, and record the interruption line position n of the second signal corresponding to the i-th image i , 1≤i≤k, each image is acquired in the following manner: when the second signal is not output to the Nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image collected by the detection substrate is acquired after waiting for the X-ray window time period and the scanning time period. The detection substrate is not exposed to X-rays during the image acquisition process. N is the number of rows of the detection unit of the detection substrate;

[0107] According to the recorded interruption line position, the difference between the average grayscale value of all pixels before the interruption line and the average grayscale value of all pixels after the interruption line in each image and the mean of the differences are calculated, and the calculated mean of the differences is used as the compensation value.

[0108] In some exemplary embodiments, n1 to nk Form an arithmetic progression.

[0109] In some further exemplary embodiments, the compensation value is predetermined and stored in a storage device of the detection substrate by the following pre-calibration method:

[0110] In the non-automatic exposure detection mode, no X-ray exposure is performed on the detection substrate, N1 first images collected from the detection substrate are obtained, and a dark state average image is generated based on the N1 first images. The grayscale value of each pixel in the dark state average image is equal to the grayscale average of the corresponding pixel in the N1 first images, and N1 ≥ 1;

[0111] In the automatic exposure detection mode, a second image captured by the detection substrate is obtained in the following manner: when the second signal is output to the nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image captured by the detection substrate is obtained after waiting for an X-ray window period and a scanning period as the second image, 1≤n<N, N is the number of rows of detection units of the detection substrate, and the detection substrate is not exposed to X-rays during the second image acquisition process;

[0112] Generate a subtracted image, wherein the grayscale value of each pixel in the subtracted image is equal to the grayscale value of each pixel in the second image minus the grayscale value of each pixel in the dark state mean image;

[0113] The difference between the average grayscale value of all pixels before the nth row and the average grayscale value of all pixels after the nth row of the subtraction image is calculated, and the calculated difference is used as the compensation value.

[0114] In some further exemplary embodiments, the compensation value is predetermined and stored in a storage device of the detection substrate by the following pre-calibration method:

[0115] In the non-automatic exposure detection mode, no X-ray exposure is performed on the detection substrate, N1 first images collected from the detection substrate are obtained, and a dark state average image is generated based on the N1 first images. The grayscale value of each pixel in the dark state average image is equal to the grayscale average of the corresponding pixel in the N1 first images, and N1 ≥ 1;

[0116] In the automatic exposure detection mode, k second images collected by the detection substrate are acquired, k>1, and the interruption line position n of the second signal corresponding to the i-th second image is recorded. i , 1≤i≤k, each second image is acquired in the following manner: when the second signal is not output to the Nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and an image acquired by the detection substrate is acquired after waiting for the X-ray window time period and the scanning time period as the second image. The detection substrate is not exposed to X-rays during the acquisition of the second image, and N is the number of rows of the detection unit of the detection substrate;

[0117] Generate k subtraction images, where the grayscale value of each pixel in each subtraction image is equal to the grayscale value of each pixel in the second image minus the grayscale value of the corresponding pixel in the dark state mean image;

[0118] According to the recorded interruption line position, the difference between the average grayscale value of all pixels before the interruption line and the average grayscale value of all pixels after the interruption line in each subtraction image and the mean of the differences of multiple differences are calculated, and the calculated mean difference is used as the compensation value.

[0119] An embodiment of the present disclosure also provides an image correction device for detecting a substrate, comprising a memory; and a processor connected to the memory, wherein the memory is used to store instructions, and the processor is configured to execute the steps of the image correction method for detecting a substrate as described in any embodiment of the present disclosure based on the instructions stored in the memory.

[0120] As shown in Figure 12, in one example, the image correction device for detecting the substrate may include: a processor 1210, a memory 1220 and a bus system 1230, wherein the processor 1210 and the memory 1220 are connected via the bus system 1230, the memory 1220 is used to store instructions, and the processor 1210 is used to execute the instructions stored in the memory 1220 to obtain the initial image collected by the detection substrate, the current interrupt line position and the compensation value, the interrupt line position is the position of the scanning line when the start of exposure is detected and the output of the second signal is interrupted; the compensation value is used to compensate the grayscale of the pixels before or after the interrupt line in the initial image to obtain a corrected image.

[0121] It should be understood that the processor 1210 may be a central processing unit (CPU), or may be other general-purpose processors, 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, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0122] The memory 1220 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1210. A portion of the memory 1220 may also include a non-volatile random access memory. For example, the memory 1220 may also store information about the device type.

[0123] In addition to the data bus, the bus system 1230 may also include a power bus, a control bus, a status signal bus, etc. However, for the sake of clarity, various buses are labeled as the bus system 1230 in FIG.

[0124] During implementation, the processing performed by the processing device can be completed by the hardware integrated logic circuit in the processor 1210 or by instructions in the form of software. That is, the method steps of the embodiment of the present disclosure can be embodied as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1220, and the processor 1210 reads the information in the memory 1220 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.

[0125] The present disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the substrate image correction method described in any of the embodiments of the present disclosure. The substrate image correction method driven by executing executable instructions is substantially the same as the substrate image correction method described in the aforementioned embodiments of the present disclosure and is not further described here.

[0126] In some possible embodiments, various aspects of the image correction method for detecting a substrate provided in the present application can also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the image correction method for detecting a substrate according to various exemplary embodiments of the present application described above in this specification. For example, the computer device can execute the image correction method for detecting a substrate recorded in the embodiments of the present application.

[0127] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0128] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0129] Although the embodiments disclosed in this disclosure are as described above, the contents described are merely embodiments adopted to facilitate understanding of the disclosure and are not intended to limit the present invention. Any person skilled in the art may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope of the disclosure. However, the scope of patent protection of the present invention shall still be based on the scope defined by the appended claims.

Claims

1. A detection substrate, comprising an automatic exposure detection unit, a control unit, a gate driving unit and a data reading unit, the detection substrate further comprising a plurality of cross-arranged gate lines and a plurality of data lines and a plurality of detection units defined between the gate lines and the data lines and arranged in an array, wherein: The automatic exposure detection unit is configured to send a first notification signal to the control unit when detecting the start of exposure; The control unit is configured to output a first signal and a second signal to the gate driving unit during a scanning period, and output a data reading signal to the data reading unit; when receiving the first notification signal during the scanning period, output the first signal until the end of the current frame, and interrupt the output of the second signal; obtain data read by the data reading unit during the first scanning period after the end of exposure, and generate an initial image according to the obtained data; The gate driving unit is configured to control the start-up sequence of the plurality of detection units according to the first signal and the second signal during the scanning time period, wherein the first signal is used to determine the row scanning time of a frame, and the second signal is used to determine the row number of the start row of the detection unit; The data reading unit is configured to read data of the plurality of data lines according to the data reading signal during the scanning period.

2. The detection substrate according to claim 1, wherein: In the generated initial image, the row integration time of each row of pixels between the first row and the interrupt row is t1, the row integration time of each row of pixels between the interrupt row and the last row is t2, and the difference between t1 and t2 is a constant. The interrupt row is the row number of the open row of the detection unit when the second signal is interrupted, and the row integration time of a row of pixels is the time interval from the end of the last row scanning operation to the start of this row scanning operation of the detection unit corresponding to the row of pixels.

3. The detection substrate according to claim 2, wherein: When the gate driving unit scans row by row from the first row to the last row, t1 is W+T, and t2 is 2W+2T; When the gate driving unit scans row by row from the last row to the first row, t2 is W+T, and t1 is 2W+2T, wherein T is the row scanning time of one frame, and W is the preset exposure window width.

4. The detection substrate according to claim 2, wherein: The control unit is further configured as: obtaining a predetermined compensation value; The compensation value is used to compensate the grayscale of the pixels before or after the interruption line in the initial image to obtain a corrected image.

5. The detection substrate according to claim 4, wherein: The compensation value is predetermined by a pre-calibration method and stored in a storage device of the detection substrate.

6. An X-ray imaging system, comprising an X-ray generator and a detection substrate as claimed in any one of claims 1 to 5, wherein: The X-ray generator is configured to emit X-rays and stop emitting X-rays according to the received current X-ray exposure time; The control unit is further configured to detect the interruption line position when interrupting the output of the second signal, calculate the current X-ray exposure time according to the detected interruption line position, the current X-ray exposure time = T-△T+W, wherein T is the line scanning time of one frame, △T is the line scanning time before the current frame is interrupted, and W is the preset exposure window width, and send the calculated current X-ray exposure time to the X-ray generator, so that the X-ray generator stops emitting X-rays according to the current X-ray exposure time.

7. A method for detecting an image correction of a substrate according to any one of claims 1 to 5, comprising: Acquire an initial image collected by the detection substrate, a current interruption line position, and a compensation value, wherein the interruption line position is a position of a scanning line when the exposure is detected to start and the output of the second signal is interrupted; The compensation value is used to compensate the grayscale of the pixels before or after the interruption line in the initial image to obtain a corrected image.

8. The image correction method according to claim 7, wherein: The compensation value is pre-determined and stored in the storage device of the detection substrate by the following pre-calibration method: In the automatic exposure detection mode, an image collected by the detection substrate is obtained in the following manner: when the second signal is output to the nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image collected by the detection substrate is obtained after waiting for the X-ray window time period and the scanning time period, 1≤n<N, N is the number of rows of the detection unit of the detection substrate, and the detection substrate is not exposed to X-rays during the image acquisition process; The difference between the average grayscale value of all pixels before the nth row of the acquired image and the average grayscale value of all pixels after the nth row is calculated, and the calculated difference is used as the compensation value.

9. The image correction method according to claim 7, wherein: The compensation value is pre-determined and stored in the storage device of the detection substrate by the following pre-calibration method: In the automatic exposure detection mode, k images collected by the detection substrate are obtained, k>1, and the interruption line position n of the second signal corresponding to the i-th image is recorded. i , 1≤i≤k, each image is acquired in the following manner: when the second signal is not output to the Nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image collected by the detection substrate is acquired after waiting for the X-ray window time period and the scanning time period, and the detection substrate is not exposed to X-rays during the image acquisition process, and N is the number of rows of the detection unit of the detection substrate; According to the recorded interruption line position, the difference between the average grayscale value of all pixels before the interruption line and the average grayscale value of all pixels after the interruption line in each image and the average difference of multiple differences are calculated, and the calculated average difference is used as the compensation value.

10. The image correction method according to claim 9, wherein: n1 to n k Constitute an arithmetic progression.

11. The image correction method according to claim 7, wherein: The compensation value is pre-determined and stored in the storage device of the detection substrate by the following pre-calibration method: In a non-automatic exposure detection mode, the detection substrate is not exposed to X-rays, N1 first images collected by the detection substrate are acquired, and a dark state mean image is generated according to the N1 first images, wherein the gray value of each pixel in the dark state mean image is equal to the gray value mean of the corresponding pixel in the N1 first images, and N1≥1; In the automatic exposure detection mode, a second image collected by the detection substrate is obtained in the following manner: when the second signal is output to the nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image collected by the detection substrate is obtained as the second image after waiting for the X-ray window time period and the scanning time period, 1≤n<N, N is the number of rows of the detection unit of the detection substrate, and the detection substrate is not exposed to X-rays during the process of obtaining the second image; Generate a subtracted image, wherein the grayscale value of each pixel in the subtracted image is equal to the grayscale value of each pixel in the second image minus the grayscale value of each pixel in the dark state mean image; The difference between the average grayscale value of all pixels before the nth row and the average grayscale value of all pixels after the nth row of the subtraction image is calculated, and the calculated difference is used as the compensation value.

12. The image correction method according to claim 7, wherein: The compensation value is pre-determined and stored in the storage device of the detection substrate by the following pre-calibration method: In a non-automatic exposure detection mode, the detection substrate is not exposed to X-rays, N1 first images collected by the detection substrate are acquired, and a dark state mean image is generated according to the N1 first images, wherein the gray value of each pixel in the dark state mean image is equal to the gray value mean of the corresponding pixel in the N1 first images, and N1≥1; In the automatic exposure detection mode, k second images collected by the detection substrate are obtained, k>1, and the interruption line position n of the second signal corresponding to the i-th second image is recorded. i , 1≤i≤k, each second image is acquired in the following manner: when the second signal is not output to the Nth row, the output of the second signal is interrupted, the first signal is output until the end of the current frame, and the image collected by the detection substrate is acquired as the second image after waiting for the X-ray window time period and the scanning time period, and the detection substrate is not exposed to X-rays during the process of acquiring the second image, and N is the number of rows of the detection unit of the detection substrate; Generate k subtraction images, wherein the grayscale value of each pixel in each of the subtraction images is equal to the grayscale value of each pixel in one of the second images minus the grayscale value of the corresponding pixel in the dark state mean image; According to the recorded interruption line position, the difference between the average grayscale value of all pixels before the interruption line and the average grayscale value of all pixels after the interruption line in each subtraction image and the average difference of multiple differences are calculated, and the calculated average difference is used as the compensation value.

13. An image correction device for detecting a substrate, comprising a memory; and a processor connected to the memory, wherein the memory is used to store instructions, and the processor is configured to execute the steps of the image correction method for detecting a substrate as described in any one of claims 7 to 12 based on the instructions stored in the memory.

14. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method for detecting an image correction of a substrate according to any one of claims 7 to 12 is implemented.

Citation Information

Patent Citations

  • Radiation image capturing device, radiation image capturing system, and radiation image capturing method

    CN102342839A

  • Radiological image-capturing device, radiological image-capturing system, radiological image-capturing method, and program

    CN103109526A

  • Automatic exposure control method and device based on low-speed empty way

    CN108093186A

  • Flat panel detector, driving method, driving device and flat panel detection device

    CN114759047A

  • Radiation image pickup device

    JP2000100597A