A detector image correction method and system under object occlusion conditions
By collecting and processing the dark field and bright field images of the detector, judging the status of the detection unit and calculating the gain coefficient, the problem of detector image correction under object occlusion is solved, and real-time correction and image quality improvement under occlusion conditions are achieved.
Patent Information
- Application Number
- CN202110560859.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-17
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-05-17
AI Technical Summary
The existing technology is difficult to correct the detector image in real time under the condition of object obstruction. Especially in security inspection CT and other equipment, when there is an obstruction between the radiation source and the detector, it is difficult to ensure the accuracy and reliability of the detector image.
By collecting dark field and bright field images under conditions of object occlusion, bias correction is performed to determine whether the detection unit is in an unoccluded state, the gain coefficient is calculated, and the Gaussian elimination method and gradient operator are used for correction to achieve bright field image correction. Correction in real time.
The accuracy and reliability of the detector image are improved, the complexity and time consumption of the correction algorithm are reduced, and the image quality is ensured in the presence of object obstruction.
Smart Images

Figure CN113160092B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of detector image processing, and in particular to a detector image correction method and system under object occlusion conditions. Background Art
[0002] With the rapid development of radioactive detection technology, radioactive detection has become an important detection method, and has been remarkably applied in many fields such as biomedicine, material science, industrial detection, and homeland security. At the same time, the requirements for the image quality of the detector are gradually increasing. The detector is often composed of multiple detection units. In the dark field environment without radiation irradiation, there are inconsistencies between different detection units due to the differences in the dark current response of the detector unit itself. At present, the detector image correction is performed through dark field correction, that is, offset calibration; under radiation irradiation, there are inconsistencies between different detection units due to the inconsistency of radiation response caused by the difference in radiation distribution and the inconsistency between the back-end electronic modules. At present, the detector image correction is performed through bright field correction, that is, gain calibration.
[0003] At present, when performing detector image correction, it is necessary to ensure that the rays are directly incident on the detector unit, so as to obtain the original response of different detector units to the rays for gain correction. That is to say, the image acquisition process of the detector needs to ensure that there are no objects blocking the ray source and the detector. However, in some equipment or environments, it is not possible to meet the requirement that there are no objects blocking the ray source and the detector. For example, on the security CT, there are belts for carrying and transmitting objects between the ray source and the detector, as well as carbon fiber plates on both sides of the channel to prevent the detector from collision. In addition, under normal circumstances, the characteristics of the ray source and the detector will change over time, that is, the gain correction of the detector is time-sensitive. For example, in the security CT, in order to ensure the rapid passage and inspection of security items, reconstruction is performed while scanning, and real-time correction of the original image obtained by scanning is required.
[0004] Therefore, the current detector image correction method is difficult to solve the problem of real-time correction of the detector image under object occlusion conditions. Summary of the invention
[0005] In view of the above analysis, an embodiment of the present invention aims to provide a detector image correction method and system under object occlusion conditions, so as to solve the problem of real-time correction of detector images under object occlusion conditions.
[0006] On the one hand, an embodiment of the present invention provides a detector image correction method under object occlusion conditions, comprising the following steps:
[0007] Collect dark field images of the detector when there is no radiation and bright field images when there is radiation under the condition of object shielding;
[0008] Performing bias correction on the bright field image according to the dark field image to obtain a bias-corrected image;
[0009] Determining whether each detection unit in the detector is an unobstructed detection unit according to the bias-corrected image, and if it is an unobstructed detection unit, calculating a gain coefficient of the detection unit;
[0010] Based on the gain coefficients of all unobstructed detection units, calculating the gain coefficients of the detection units in all the detectors;
[0011] The collected detector bright field image to be corrected is corrected based on the dark field image and the gain coefficients of all the detection units to obtain a corrected result image.
[0012] Furthermore, the bright field image gain(x, y) is subjected to bias correction according to the following method to obtain a bias-corrected image P(x, y):
[0013] P(x,y)=gain(x,y)-mean(offset(x,y),y),
[0014] Wherein, x represents the detection unit, y represents the acquisition position of the detection unit x, and mean(offset(x,y),y) represents taking the average of the grayscale values corresponding to all acquisition positions of the detection unit x in the dark field image offset(x,y) as the grayscale value of each acquisition position of the detection unit x.
[0015] Further, judging whether each detection unit in the detector is an unobstructed detection unit according to the offset-corrected image is specifically as follows:
[0016] According to the grayscale values corresponding to different acquisition positions of each detection unit in the bias-corrected image, the grayscale values are sorted from small to large to obtain a sorted image;
[0017] The grayscale value corresponding to each detection unit in the sorted image at different acquisition positions is compared with the set occlusion threshold in turn. If it is greater than the set occlusion threshold, the detection unit is not blocked starting from the acquisition position;
[0018] If the number of unobstructed locations in different acquisition positions of each detection unit is greater than a set threshold of the number of obstructions, the detection unit is an unobstructed detection unit.
[0019] Furthermore, the set occlusion number threshold is greater than 5.
[0020] Furthermore, the unobstructed detection unit x is calculated by the following method:i The gain factor λ i :
[0021]
[0022] Where X represents the sorted image, i represents the index of the unoccluded detection unit in the sorted image, and j represents the unoccluded detection unit x. i The starting position index of the unobstructed acquisition position, n represents the unobstructed detection unit x i The total number of acquisition positions in the detector, V represents the calibration value set by the detector, mean(X(x i ,y j :n)) indicates unobstructed detection unit x i The average value of the corresponding grayscale values of all unobstructed acquisition positions in .
[0023] Furthermore, the step of calculating the gain coefficients s(x) of the detection units in all the detectors based on the gain coefficients of all the unobstructed detection units comprises the following steps:
[0024] The gain coefficient s(x) of all detection units is constrained by the following formula:
[0025]
[0026] In the formula, represents the gradient operator along the detection unit direction;
[0027] Based on s(x i )=λ i The Gaussian elimination method is used to obtain the gain coefficient s(x) of all detection units.
[0028] Furthermore, the bright field image M(x, y) to be corrected collected by the detector is corrected based on the dark field image and the gain coefficients s(x) of all the detection units to obtain a corrected result image N(x, y):
[0029] N(x,y)=(M(x,y)-mean(offset(x,y),y))×s(x).
[0030] On the other hand, an embodiment of the present invention provides a detector image correction system under object occlusion conditions, comprising:
[0031] An acquisition module, used for acquiring a dark field image of the detector when there is no radiation irradiation and a bright field image of the detector when there is radiation irradiation under the condition of object shielding;
[0032] A bias correction module, used for performing bias correction on the bright field image according to the dark field image to obtain a bias-corrected image;
[0033] A gain coefficient acquisition module, used to determine whether each detection unit in the detector is an unobstructed detection unit according to the bias-corrected image, and if it is an unobstructed detection unit, calculate the gain coefficient of the detection unit; and based on the gain coefficients of all unobstructed detection units, calculate the gain coefficients of all detection units in the detector;
[0034] The image correction module is used to correct the bright field image to be corrected collected by the detector based on the dark field image and the gain coefficients of all the detection units to obtain a corrected result image.
[0035] Furthermore, the bright field image gain(x, y) is subjected to bias correction according to the following method to obtain a bias-corrected image P(x, y):
[0036] P(x,y)=gain(x,y)-mean(offset(x,y),y),
[0037] Wherein, x represents the detection unit, y represents the acquisition position of the detection unit x, and mean(offset(x,y),y) represents taking the average of the grayscale values corresponding to all acquisition positions of the detection unit x in the dark field image offset(x,y) as the grayscale value of each acquisition position of the detection unit x.
[0038] Further, judging whether each detection unit in the detector is an unobstructed detection unit according to the offset-corrected image is specifically as follows:
[0039] According to the grayscale values corresponding to different acquisition positions of each detection unit in the bias-corrected image, the grayscale values are sorted from small to large to obtain a sorted image;
[0040] The grayscale value corresponding to each detection unit in the sorted image at different acquisition positions is compared with the set occlusion threshold in turn. If it is greater than the set occlusion threshold, the detection unit is not blocked starting from the acquisition position;
[0041] If the number of unobstructed locations in different acquisition positions of each detection unit is greater than a set threshold of the number of obstructions, the detection unit is an unobstructed detection unit.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] The detector image correction method and system under object occlusion conditions provided by the present invention collect dark field images and bright field images under object occlusion conditions, and perform bias correction on the bright field images, determine whether each detection unit in the image after bias correction is an unobstructed detection unit, and further obtain the gain coefficients of all detection units by calculating the gain coefficients of the unobstructed detection units, that is, the gain coefficients of the obstructed detection units are calculated by the known unobstructed detection units, which are used to correct the collected bright field images, thereby achieving real-time correction of the detector image when there is object occlusion, which can improve the accuracy and reliability of the detector image, and greatly improve the image quality of the image acquired by the detector. In addition, in the present invention, the gain coefficient is solved by using norm constraints, and the gain coefficient is obtained by using gradient operators and Gaussian elimination methods, so that the complexity of the algorithm is low, the correction process is faster, and it takes less time.
[0044] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.
[0046] Figure 1 It is a flow chart of a detector image correction method under an object occlusion condition in Embodiment 1 of the present invention;
[0047] Figure 2 Schematic diagram of the structure of a detector image correction system under an object occlusion condition in Example 2 of the present invention. DETAILED DESCRIPTION
[0048] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0049] Example 1
[0050] A specific embodiment 1 of the present invention discloses a detector image correction method under object occlusion conditions, the flow chart is as follows: Figure 1 As shown, the following steps are included:
[0051] S01. Collect dark field images of the detector when there is no radiation irradiation and bright field images of the detector when there is radiation irradiation under the condition of object shielding.
[0052] Specifically, the detector can be a linear array detector with a plurality of detection units arranged linearly, a flat panel detector with detection units arranged in a matrix, a linear detector with detection units arranged in a straight line, a multi-row detector composed of a plurality of detector modules, and detectors arranged in other geometric structures. In addition, the detector can be a solid, gas, and other types of detectors.
[0053] Specifically, the radiation source may be a natural radiation source, such as cobalt 60, cesium 137; or an artificial radiation source, such as an X-ray source.
[0054] It should be noted that the radiation source and detector can remain relatively still while the two move relative to the object, or the radiation source and detector can remain still while the object moves relative to the two. For example, in security inspection CT, the radiation source and detector rotate with the slip ring; although the transmission belt is always moving, due to the consistency of its various parts, its imaging under the condition of stationary radiation source and detector remains almost unchanged, so it can be considered to be stationary relative to the radiation source and detector in the axial position.
[0055] Exemplarily, a linear detector containing 800 detection units is selected and turned on. The linear detector rotates 360 degrees around the rotation center to collect data at 360 angles. The data collected at each angle is used as a column vector, and each detection unit is used as a row vector. They are arranged together in order of collection time to form an image of 800×360. When there is no radiation, a dark field image is collected, and when there is radiation, a bright field image is collected.
[0056] S02. Perform bias correction on the bright field image according to the dark field image to obtain a bias-corrected image.
[0057] During implementation, the bright field image gain(x, y) is subjected to bias correction according to the following method to obtain a bias-corrected image P(x, y):
[0058] P(x,y)=gain(x,y)-mean(offset(x,y),y) (1),
[0059] In the formula, x represents the detection unit, y represents the acquisition position of the detection unit x, and mean(offset(x,y),y) represents taking the average of the grayscale values corresponding to all acquisition positions of the detection unit x in the dark field image offset(x,y) as the grayscale value of each acquisition position of the detection unit x. In other words, the average of the grayscale values corresponding to all acquisition positions of each detection unit in the dark field image is calculated, and then the grayscale value of each acquisition position of each detection unit in the bright field image is subtracted from the grayscale average of the corresponding detection unit in the dark field image, so as to obtain the offset-corrected image. It should be noted that the acquisition position represented by y may be the acquisition angle, time, etc., depending on the selected detector and acquisition method.
[0060] S03, judging whether each detection unit in the detector is an unobstructed detection unit according to the bias-corrected image, and if it is an unobstructed detection unit, calculating a gain coefficient of the detection unit;
[0061] During implementation, judging whether each detection unit in the detector is an unobstructed detection unit according to the offset-corrected image is specifically as follows:
[0062] According to the grayscale values corresponding to different acquisition positions of each detection unit in the image after bias correction, the grayscale values are sorted from small to large to obtain a sorted image. It should be noted that in the process of calibrating the detector image, when the same image acquisition process is used and the grayscale value of the acquired image does not change significantly, the position information after one sorting can be recorded and stored, and can be used directly in the subsequent process without re-sorting, or sorting based on the sorting information. For the image that has been preliminarily sorted, the sorting processing speed will be faster.
[0063] The grayscale values corresponding to each detection unit at different acquisition positions in the sorted image are compared with the set occlusion threshold in turn. If the grayscale value is greater than the set occlusion threshold, the detection unit is not blocked from the acquisition position. It should be noted that since the grayscale value of the unobstructed acquisition position in the sorted image is significantly different from the grayscale value of the obstructed position, the approximate value of the grayscale value of the unobstructed acquisition position can be obtained by observation, and the occlusion threshold can be set by this value.
[0064] If the number of unobstructed locations in different acquisition positions of each detection unit is greater than a set threshold of the number of obstructions, the detection unit is an unobstructed detection unit.
[0065] Preferably, the grayscale values corresponding to each detection unit at different acquisition positions in the sorted image are sequentially compared with the set occlusion threshold, and the image is binarized, so that the distribution of unobstructed detection units can be obtained more quickly.
[0066] Preferably, the set occlusion number threshold is greater than 5 to eliminate random errors.
[0067] In implementation, the unobstructed detection unit x is calculated as follows i The gain factor λ i :
[0068]
[0069] In the formula, X represents the sorted image and i represents the index of the unoccluded detection unit in the sorted image, and j represents the unoccluded detection unit x i The starting position index of the unobstructed acquisition position, n represents the unobstructed detection unit x i The total number of acquisition positions in the detector, V represents the calibration value set by the detector, mean(X(x i ,y j :n)) indicates unobstructed detection unit x i The average value of the corresponding grayscale values of all unobstructed acquisition positions in . It should be noted that Numerically, it represents an m×n two-dimensional real number matrix, where m represents the number of detection units.
[0070] S04. Calculate the gain coefficients of the detection units in all the detectors based on the gain coefficients of all the unobstructed detection units.
[0071] During implementation, the gain coefficients s(x) of the detection units in all the detectors are calculated based on the gain coefficients of all the unobstructed detection units, including the following steps:
[0072] The gain coefficient s(x) of all detection units is constrained by the following formula:
[0073]
[0074] In the formula, represents the gradient operator along the detection unit direction and That is, A numerically represents a k×m two-dimensional real matrix, and s(x) numerically represents an m×1 real vector, where k is determined according to the matrix in the specific process.
[0075] Based on s(x i )=λ i The Gaussian elimination method is used to obtain the gain coefficient s(x) of all detection units.
[0076] Specifically, according to formula (3), we can get formula (4):
[0077] (Λ′⊙Ω+Λ⊙Ω′)s(x)=0 (4),
[0078] in, Numerically, it represents a two-dimensional real matrix of m×m, and Λ′ represents the transpose of the matrix Λ; Numerically, it represents an m×m two-dimensional real matrix, and Ω′ represents the transpose of Ω.
[0079] Consider the constraint s(x i )=λ i , by transforming formula (4) into a linear equation system containing only unknown variables:
[0080] W0s0=0 (5),
[0081] in, represents (Λ′⊙Ω+Λ⊙Ω′) after removing the known variables, represents s(x) after removing the known variables, and w represents the number of unobstructed detection units in the sorted image. In other words, formula (5) is the gain coefficient λ of the known unobstructed detection unit in the gain coefficient s(x) in formula (4) i The linear equation obtained after removing .
[0082] according to By using the forward difference based on the Norman boundary condition, W0 can be obtained as an mw-order symmetric triangular matrix. Therefore, s0(x) can be obtained by using the Gaussian elimination method, and finally the gain correction coefficient s(x) is obtained. It should be noted that the algorithm complexity of calculating the gain coefficient in this way is O(m), which is low in complexity, and the image correction process is faster and takes less time.
[0083] S05. Correcting the collected detector bright field image to be corrected based on the dark field image and the gain coefficients of all the detection units to obtain a corrected result image.
[0084] During implementation, the bright field image M(x, y) to be corrected collected by the detector is corrected based on the dark field image and the gain coefficients s(x) of all the detection units to obtain a corrected result image N(x, y):
[0085] N(x,y)=(M(x,y)-mean(offset(x,y),y))×s(x) (6).
[0086] It should be noted that the fluctuation of the ray source will cause the detector response to change, and the gain coefficient will also fluctuate accordingly. Therefore, during the detector image correction process, the gain coefficient is recalculated at intervals, and the gain coefficient is considered to be stable during the interval. The interval time is determined according to actual requirements. In specific implementation, during the detector image correction process, a set of bright field images can be first collected for the calculation of the gain coefficient, and the bright field images to be corrected collected within the set interval time are all corrected according to the gain coefficient.
[0087] It should be noted that the bright field image M(x, y) to be corrected collected by the detector is a bright field image collected by the detector when the radiation source is turned on. It can be the bright field image gain(x, y) in the process of obtaining the gain coefficient, or it can be the bright field image collected during the interval time when the detector scans the object.
[0088] Furthermore, during the detector image correction process, the bias-corrected images are processed row by row, and the gain coefficients of each row of detector units are obtained, thereby completing the parallel processing of the detector image correction.
[0089] The detector image correction method under object occlusion provided in this embodiment collects dark field images and bright field images under object occlusion conditions, and performs bias correction on the bright field image, determines whether each detection unit in the image after bias correction is an unobstructed detection unit, and further obtains the gain coefficients of all detection units by calculating the gain coefficients of the unobstructed detection units, that is, the gain coefficients of the obstructed detection units are calculated by the known unobstructed detection units, thereby realizing real-time correction of the detector image when there is object occlusion, which can improve the accuracy and reliability of the detector image and greatly improve the image quality of the image acquired by the detector. In addition, in the present invention, the gain coefficient is solved by using norm constraints, and the gain coefficient is obtained by using gradient operators and Gaussian elimination method, so that the complexity of the algorithm is low, the correction process is faster, and it takes less time.
[0090] Example 2
[0091] A specific embodiment 2 of the present invention discloses a detector image correction system under object occlusion conditions, the structure of which is as follows: Figure 2 As shown, including:
[0092] The acquisition module is used to acquire the dark field image of the detector when there is no radiation irradiation and the bright field image of the detector when there is radiation irradiation under the condition of object shielding.
[0093] The offset correction module is used to perform offset correction on the bright field image according to the dark field image to obtain an offset-corrected image.
[0094] A gain coefficient acquisition module is used to determine whether each detection unit in the detector is an unobstructed detection unit based on the bias-corrected image. If it is an unobstructed detection unit, the gain coefficient of the detection unit is calculated; and based on the gain coefficients of all unobstructed detection units, the gain coefficients of all detection units in the detector are calculated.
[0095] The image correction module is used to correct the bright field image to be corrected collected by the detector based on the dark field image and the gain coefficients of all the detection units to obtain a corrected result image.
[0096] During implementation, the bright field image gain(x, y) is subjected to bias correction according to the following method to obtain a bias-corrected image P(x, y):
[0097] P(x,y)=gain(x,y)-mean(offset(x,y),y),
[0098] Wherein, x represents the detection unit, y represents the acquisition position of the detection unit x, and mean(offset(x,y),y) represents taking the average of the grayscale values corresponding to all acquisition positions of the detection unit x in the dark field image offset(x,y) as the grayscale value of each acquisition position of the detection unit x.
[0099] During implementation, judging whether each detection unit in the detector is an unobstructed detection unit according to the offset-corrected image is specifically as follows:
[0100] According to the grayscale values corresponding to different acquisition positions of each detection unit in the bias-corrected image, the grayscale values are sorted from small to large to obtain a sorted image;
[0101] The grayscale value corresponding to each detection unit in the sorted image at different acquisition positions is compared with the set occlusion threshold in turn. If it is greater than the set occlusion threshold, the detection unit is not blocked starting from the acquisition position;
[0102] If the number of unobstructed locations in each detection unit is greater than the set threshold of the number of obstructions, the detection unit is considered an unobstructed detection unit.
[0103] It should be noted that the relevant parts of this embodiment and embodiment 1 can be used for reference, and the description is repeated here. For example, the content of calculating the gain coefficient of the unobstructed detection unit in this embodiment 2 can select the content of calculating the gain coefficient of the unobstructed detection unit in embodiment 1; the method of calculating the gain coefficient of the detection unit in all the detectors in this embodiment 2 can select the specific calculation method in embodiment 1.
[0104] Since the principles of this system embodiment are the same as those of the above method embodiment, this system also has the corresponding technical effects of the above method embodiment.
[0105] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0106] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A detector image correction method under object occlusion conditions, characterized in that: The following steps are involved: Collect dark field images of the detector when there is no radiation and bright field images when there is radiation under the condition of object shielding; Performing offset correction on the bright field image according to the dark field image to obtain an offset-corrected image specifically includes: P(x,y)=gain(x,y)-mean(offset(x,y),y), Where P(x,y) represents the image after bias correction, gain(x,y) represents the bright field image, x represents the detection unit, y represents the acquisition position of the detection unit x, and mean(offset(x,y),y) represents taking the average of the grayscale values corresponding to all acquisition positions of the detection unit x in the dark field image offset(x,y) as the grayscale value of each acquisition position of the detection unit x; According to the bias-corrected image, it is determined whether each detection unit in the detector is an unobstructed detection unit. If it is an unobstructed detection unit, the gain coefficient of the unobstructed detection unit is calculated, wherein: In the formula, λ i represents the gain coefficient of the unobstructed detection unit, X represents the sorted image, Numerically, it represents an m×n two-dimensional real number matrix, where m represents the number of detection units, i represents the index of the unobstructed detection unit in the sorted image, and j represents the unobstructed detection unit x. i The starting position index of the unobstructed acquisition position, n represents the unobstructed detection unit x i The total number of acquisition positions in the detector, V represents the calibration value set by the detector, mean(X(x i ,y j :n)) indicates unobstructed detection unit x i The average value of the corresponding grayscale values of all unobstructed acquisition positions in ; Calculating the gain coefficients of all detection units in the detectors based on the gain coefficients of all unobstructed detection units includes the following steps: The gain coefficient s(x) of all detection units is constrained by the following formula: In the formula, A = ▽ x represents the gradient operator along the direction of the detection unit, A numerically represents a k×m two-dimensional real matrix, s(x) numerically represents an m×1 real vector, where k is determined according to the matrix in the specific process; (∧′⊙Ω+∧⊙Ω′)s(x)=0, where Numerically, it represents a two-dimensional real matrix of m×m, and ∧′ represents the transpose of the matrix ∧; Numerically, it represents an m×m two-dimensional real matrix, and Ω′ represents the transpose of Ω; The bright field image to be corrected collected by the detector is corrected based on the dark field image and the gain coefficients of all the detection units to obtain a corrected result image: N(x,y)=(M(x,y)-mean(offset(x,y),y))×s(x), Where N(x, y) represents the corrected result image, and M(x, y) represents the bright field image to be corrected.
2. The detector image correction method under object occlusion condition according to claim 1, characterized in that: Judging whether each detection unit in the detector is an unobstructed detection unit according to the offset-corrected image is specifically: According to the grayscale values corresponding to different acquisition positions of each detection unit in the bias-corrected image, the grayscale values are sorted from small to large to obtain a sorted image; The grayscale value corresponding to each detection unit in the sorted image at different acquisition positions is compared with the set occlusion threshold in turn. If it is greater than the set occlusion threshold, the detection unit is not blocked starting from the acquisition position; If the number of unobstructed locations in different acquisition positions of each detection unit is greater than a set threshold of the number of obstructions, the detection unit is an unobstructed detection unit.
3. The detector image correction method under object occlusion condition according to claim 2, characterized in that: The set occlusion number threshold is greater than 5.
4. A detector image correction system under object occlusion conditions, characterized in that: include: An acquisition module, used for acquiring a dark field image of the detector when there is no radiation irradiation and a bright field image of the detector when there is radiation irradiation under the condition of object shielding; The offset correction module is used to perform offset correction on the bright field image according to the dark field image to obtain an offset-corrected image, specifically comprising: P(x,y)=gain(x,y)-mean(offset(x,y),y), Where P(x,y) represents the image after bias correction, gain(x,y) represents the bright field image, x represents the detection unit, y represents the acquisition position of the detection unit x, and mean(offset(x,y),y) represents taking the average of the grayscale values corresponding to all acquisition positions of the detection unit x in the dark field image offset(x,y) as the grayscale value of each acquisition position of the detection unit x; A gain coefficient acquisition module is used to determine whether each detection unit in the detector is an unobstructed detection unit according to the bias-corrected image, and if it is an unobstructed detection unit, calculate the gain coefficient of the unobstructed detection unit, wherein: In the formula, λ i represents the gain coefficient of the unobstructed detection unit, X represents the sorted image, Numerically, it represents an m×n two-dimensional real number matrix, where m represents the number of detection units, i represents the index of the unobstructed detection unit in the sorted image, and j represents the unobstructed detection unit x. i The starting position index of the unobstructed acquisition position, n represents the unobstructed detection unit x i The total number of acquisition positions in the detector, V represents the calibration value set by the detector, mean(X(x i ,y j :n)) indicates unobstructed detection unit x i The average value of the corresponding grayscale values of all unobstructed acquisition positions in ; Calculating the gain coefficients of all detection units in the detectors based on the gain coefficients of all unobstructed detection units includes the following steps: The gain coefficient s(x) of all detection units is constrained by the following formula: In the formula, A = ▽ x represents the gradient operator along the direction of the detection unit, A numerically represents a k×m two-dimensional real matrix, s(x) numerically represents an m×1 real vector, where k is determined according to the matrix in the specific process; (∧′⊙Ω+∧⊙Ω′)s(x)=0, where Numerically, it represents a two-dimensional real matrix of m×m, and ∧′ represents the transpose of the matrix ∧; Numerically, it represents an m×m two-dimensional real matrix, and Ω′ represents the transpose of Ω; An image correction module is used to correct the bright field image to be corrected collected by the detector based on the dark field image and the gain coefficients of all the detection units to obtain a corrected result image: N(x,y)=(M(x,y)-mean(offset(x,y),y))×s(x), Where N(x, y) represents the corrected result image, and M(x, y) represents the bright field image to be corrected.
5. The detector image correction system under object occlusion conditions according to claim 4, characterized in that: Judging whether each detection unit in the detector is an unobstructed detection unit according to the offset-corrected image is specifically: According to the grayscale values corresponding to different acquisition positions of each detection unit in the bias-corrected image, the grayscale values are sorted from small to large to obtain a sorted image; The grayscale value corresponding to each detection unit in the sorted image at different acquisition positions is compared with the set occlusion threshold in turn. If it is greater than the set occlusion threshold, the detection unit is not blocked starting from the acquisition position; If the number of unobstructed locations in different acquisition positions of each detection unit is greater than a set threshold of the number of obstructions, the detection unit is an unobstructed detection unit.
