X-ray inspection device and x-ray inspection method
The X-ray inspection device enhances foreign object detection accuracy by using dual energy sensors and modified image generation techniques to align brightness, overcoming the limitations of virtual complementation in existing systems.
Patent Information
- Application Number
- JP2023043788
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
AI Technical Summary
Existing X-ray inspection devices face accuracy issues in foreign object detection due to the need for virtual complementation of brightness ranges using Bezier curves, which can degrade inspection precision.
The X-ray inspection device employs dual energy sensors to capture images at different energy bands, generates modified images based on X-ray absorption characteristics, and uses brightness conversion functions to align image brightness accurately, reducing the need for virtual complementation and enhancing detection accuracy.
This approach improves the accuracy of foreign object detection by generating precise brightness conversion functions, allowing reliable detection of foreign substances across various sizes and materials without relying on interpolation methods like Bezier curves.
Smart Images

Figure 2024133814000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an X-ray inspection apparatus and an X-ray inspection method. [Background technology]
[0002] There is known an X-ray inspection device that irradiates an object with X-rays including multiple energy bands, generates transmission images for each of the multiple energy bands from the detection results of the X-rays that have passed through the object, and detects foreign objects contained in the object based on the multiple generated transmission images (see, for example, Patent Document 1). In such an X-ray inspection device, a brightness conversion function is generated to convert the brightness of each of the multiple transmission images so that they are approximately the same. The multiple transmission images after brightness conversion using the brightness conversion function are compared to erase the object and extract only the area of the foreign object. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 5771013 Summary of the Invention [Problem to be solved by the invention]
[0004] In the X-ray inspection apparatus described above, when generating a brightness conversion function, the brightness range that cannot be obtained from the transmitted image may be virtually complemented by using, for example, a Bezier curve, etc. In this case, however, there is a possibility that the precision of foreign body inspection may decrease in the complemented range.
[0005] Therefore, an object of the present disclosure is to provide an X-ray inspection apparatus and an X-ray inspection method that are capable of improving the accuracy of foreign matter inspection. [Means for solving the problem]
[0006] (1) An X-ray inspection apparatus according to one aspect of the present disclosure includes an X-ray irradiation unit that irradiates an object with X-rays including at least a first energy band and a second energy band; an X-ray detection unit that detects the X-rays of the first energy band and the X-rays of the second energy band that have passed through the object; an image generation unit that generates a first transmission image based on the X-rays of the first energy band detected by the X-ray detection unit and generates a second transmission image based on the X-rays of the second energy band detected by the X-ray detection unit; a corrected image generation unit that generates a corrected first transmission image by varying the luminance of the first transmission image and generates a corrected second transmission image by varying the luminance of the second transmission image; and a brightness conversion function generation unit that generates a brightness conversion function that causes the luminance of the first transmission image to match or approximate the luminance of the second transmission image based on the first transmission image, the corrected first transmission image, the second transmission image, and the corrected second transmission image.
[0007] In this X-ray inspection device, when generating a luminance conversion function, it is possible to obtain a range of luminance that cannot be obtained from only the first and second transmission images by using the corrected first transmission image and the corrected second transmission image. Therefore, it is possible to reduce the need for virtually complementing using a Bezier curve or the like when generating the luminance conversion function, and to generate the luminance conversion function with high accuracy. Therefore, it is possible to improve the accuracy of foreign body inspection.
[0008] (2) In the X-ray inspection apparatus described in (1) above, the corrected image generating unit may generate a corrected first transmission image of a virtual object having a thickness different from that of the object from the first transmission image by using an X-ray absorption characteristic related to the thickness of the object, and generate a corrected second transmission image of the virtual object from the second transmission image. This makes it possible to obtain the corrected first transmission image and the corrected second transmission image by simulation.
[0009] (3) In the X-ray inspection device described in (1) above, the corrected image generating unit may generate a corrected first transmission image based on X-rays in a first energy band that have passed through another object having a thickness different from that of the object and have been detected by the X-ray detecting unit, and may generate a corrected second transmission image based on X-rays in a second energy band that have passed through the other object and have been detected by the X-ray detecting unit. This makes it possible to obtain the corrected first transmission image and the corrected second transmission image by irradiating X-rays onto the other object.
[0010] (4) In the X-ray inspection device described in (1) above, the image generating unit may generate a first transmission image and a second transmission image when X-rays are irradiated from the X-ray irradiating unit with an X-ray tube current or an X-ray tube voltage of the X-ray irradiating unit set to a first value, and the corrected image generating unit may generate a corrected first transmission image based on X-rays of a first energy band that have passed through the article and been detected by the X-ray detecting unit, and may generate a corrected second transmission image based on X-rays of a second energy band that have passed through the article and been detected by the X-ray detecting unit, when X-rays are irradiated from the X-ray irradiating unit with an X-ray tube current or an X-ray tube voltage of the X-ray irradiating unit set to a second value different from the first value. This makes it possible to obtain the corrected first transmission image and the corrected second transmission image by changing the irradiation conditions of the X-rays on the article.
[0011] (5) In the X-ray inspection apparatus according to any one of (1) to (4) above, the brightness conversion function generating unit may generate a first histogram based on the first transmission image and the corrected first transmission image, generate a second histogram based on the second transmission image and the corrected second transmission image, and generate a brightness conversion function based on the first histogram and the second histogram. In this case, the brightness conversion function can be specifically generated.
[0012] (6) In the X-ray inspection apparatus described in any one of (1) to (4) above, the brightness conversion function generating unit may generate a first histogram based on the first transmission image, generate a second histogram based on the second transmission image, generate a third histogram based on the corrected first transmission image, generate a fourth histogram based on the corrected second transmission image, generate a first brightness conversion function based on the first and second histograms, generate a second brightness conversion function based on the third and fourth histograms, and generate a brightness conversion function based on the first and second brightness conversion functions. In this case, the brightness conversion function can be specifically generated.
[0013] (7) In the X-ray inspection apparatus according to any one of (1) to (4) above, the luminance conversion function generating unit may generate a first luminance conversion function based on the first and second transmission images, generate a second luminance conversion function based on the corrected first transmission image and the corrected second transmission image, and generate a luminance conversion function based on the first and second luminance conversion functions. In this case, the luminance conversion function can be specifically generated.
[0014] (8) In the X-ray inspection device described in any one of (1) to (7) above, the X-ray detection unit may be capable of detecting X-rays by a photon counting method. In this case, the X-rays can be detected by utilizing the photon counting method.
[0015] (9) In the X-ray inspection device described in any one of (1) to (7) above, the X-ray detection unit may be a dual energy sensor including a first detection unit that detects X-rays in the first energy band and a second detection unit that detects X-rays in the second energy band. In this case, the dual energy sensor can be used as the X-ray detection unit.
[0016] (10) In the X-ray inspection apparatus described in any one of (1) to (7) above, the brightness conversion function generating unit may generate a first histogram based on the first transmission image and a second histogram based on the second transmission image, and the corrected image generating unit may determine a magnification of the thickness of the virtual object relative to the thickness of the object based on at least one of the first and second histograms. In this case, it is possible to specifically determine the magnification of the thickness of the virtual object based on at least one of the first and second histograms.
[0017] (11) An X-ray inspection method according to one aspect of the present disclosure includes an X-ray irradiation step of irradiating an object with X-rays including at least a first energy band and a second energy band; a detection step of detecting the X-rays of the first energy band and the X-rays of the second energy band that have passed through the object; an image generation step of generating a first transmission image based on the X-rays of the first energy band detected in the detection step and generating a second transmission image based on the X-rays of the second energy band detected in the detection step; a corrected image generation step of generating a corrected first transmission image by varying the luminance of the first transmission image and generating a corrected second transmission image by varying the luminance of the second transmission image; and a brightness conversion function generation step of generating a brightness conversion function that causes the luminance of the first transmission image to match or approximate the luminance of the second transmission image based on the first transmission image, the corrected first transmission image, the second transmission image, and the corrected second transmission image.
[0018] In this X-ray inspection method, when generating a luminance conversion function, it is possible to obtain a range of luminance that cannot be obtained from only the first and second transmission images by using the corrected first transmission image and the corrected second transmission image. Therefore, it is possible to reduce the need for virtually complementing the luminance conversion function using a Bezier curve or the like when generating the luminance conversion function, and to generate the luminance conversion function with high accuracy. Therefore, it is possible to improve the accuracy of foreign body inspection. Effect of the Invention
[0019] According to the present disclosure, it is possible to provide an X-ray inspection apparatus and an X-ray inspection method that are capable of improving the accuracy of foreign matter inspection. [Brief description of the drawings]
[0020] [Figure 1] FIG. 1 is a configuration diagram of an X-ray inspection apparatus according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration of the X-ray inspection apparatus of FIG. [Diagram 3] Figure 3(a) shows a low-energy image, and Figure 3(b) shows a high-energy image. [Figure 4] Fig. 4(a) is a graph showing an example of the first and second histograms, and Fig. 4(b) is a graph showing an example of the first luminance conversion function. [Diagram 5] Fig. 5(a) is a graph showing an example of the third and fourth histograms, and Fig. 5(b) is a graph showing an example of the second luminance conversion function. [Figure 6] FIG. 6 is a graph showing an example of a luminance conversion function after synthesis. [Figure 7] FIG. 7 is a flowchart showing an X-ray inspection method using the X-ray inspection apparatus of FIG. [Figure 8] FIG. 8 is a diagram showing an example of a low-energy image. [Figure 9] FIG. 9 shows an example of a modified low-energy image. [Figure 10] Fig. 10(a) is a graph showing the foreign object sensitivity evaluation results, Fig. 10(b) is another graph showing the foreign object sensitivity evaluation results, and Fig. 10(c) is yet another graph showing the foreign object sensitivity evaluation results. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. In each drawing, the same or corresponding parts are denoted by the same reference numerals, and duplicated explanations will be omitted.
[0022] 1, the X-ray inspection device 1 includes an X-ray irradiation unit 200, an X-ray detection unit 300, an image processing unit 400, and a transport unit 500. The X-ray inspection device 1 detects foreign objects contained in an inspection object (item) A by utilizing the transparency of X-rays. An example of the inspection object A is a bag of sausages. The inspection object A may also be, for example, chicken breast meat.
[0023] The transport unit 500 transports the object to be inspected A. Various transport mechanisms such as a belt conveyor, a top chain conveyor, and a rotary table can be applied to the transport unit 500. The X-ray irradiation unit 200 irradiates the object to be inspected A transported by the transport unit 500 with X-rays. The X-rays irradiated from the X-ray irradiation unit 200 include X-rays in various energy bands ranging from low energy bands (long wavelength) to high energy bands (short wavelength).
[0024] The X-ray detection unit 300 detects X-rays irradiated to the inspection object A transported by the transport unit 500. The X-ray detection unit 300 is a dual energy sensor. The X-ray detection unit 300 includes a low energy sensor (first detection unit) 310, a high energy sensor (second detection unit) 320, and a filter 350. The low energy sensor 310, the filter 350, and the high energy sensor 320 are arranged in this order from the side closer to the X-ray irradiation unit 200. The low energy sensor 310 detects X-rays (soft X-rays) in a low energy band (first energy band) that have passed through the inspection object A. The high energy sensor 320 detects X-rays (hard X-rays) in a high energy band (second energy band) that have passed through the inspection object A. The filter 350 absorbs X-rays in an energy band between soft X-rays and hard X-rays.
[0025] The low-energy sensor 310 and the high-energy sensor 320 are, for example, line sensors including a plurality of X-ray detection elements arranged one-dimensionally. The plurality of X-ray detection elements are arranged along a direction intersecting both the conveying direction D1 of the inspection object A by the conveying unit 500 and the irradiation direction D2 of X-rays by the X-ray irradiation unit 200.
[0026] 2, the image processing unit 400 receives detection signals output from the low energy sensor 310 and detection signals output from the high energy sensor 320. The image processing unit 400 generates an X-ray transmission image based on these detection signals and executes various image processing on the X-ray transmission image. The image processing unit 400 is composed of, for example, a processor (e.g., a CPU (Central Processing Unit) and the like) and a memory (e.g., a ROM (Read Only Memory), a RAM (Random Access Memory)) and the like.
[0027] The image processing unit 400 has an image generation unit 401, a corrected image generation unit 402, a brightness conversion function generation unit 406, and an inspection unit 411. The image generation unit 401 generates a low-energy image P100 (first transmission image) which is a soft X-ray transmission image of the inspection object A based on the soft X-rays detected by the low-energy sensor 310. The image generation unit 401 generates a high-energy image P200 (second transmission image) which is a hard X-ray transmission image of the inspection object A based on the hard X-rays detected by the high-energy sensor 320.
[0028] As shown in Fig. 3(a), the low-energy image P100 has a relatively high contrast and is generally dark. Also, as shown in Fig. 3(b), the high-energy image P200 has a relatively low contrast and is generally bright. Furthermore, as shown in Fig. 3(a) and Fig. 3(b), the contrast between the foreign substance S and the object A in the high-energy image P200 is smaller than the contrast between the foreign substance S and the object A in the low-energy image P100. This is due to the difference in X-ray absorption rate between the foreign substance S and the object A.
[0029] Returning to FIG. 2, the corrected image generating unit 402 generates a corrected low-energy image (corrected first transmission image) by varying the brightness of the low-energy image P100, and also generates a corrected high-energy image (corrected second transmission image) by varying the brightness of the high-energy image P200. The corrected image generating unit 402 generates a corrected low-energy image of a virtual object having a thickness different from that of the object to be inspected A from the low-energy image P100, using the X-ray absorption characteristics related to the thickness of the object to be inspected A. The corrected image generating unit 402 generates a corrected high-energy image of the virtual object from the high-energy image P200, using the X-ray absorption characteristics related to the thickness of the object to be inspected A. The virtual object is a virtual (simulated) object to be inspected A.
[0030] Specifically, when generating a modified low-energy image, the modified image generating unit 402 first obtains background information in advance. The modified image generating unit 402 uses the background information for a binarization threshold to generate a mask from the low-energy image P100. The modified image generating unit 402 generates a simulation image of a virtual object that is n times thicker for the mask area in the low-energy image P100 based on the following simulation principle.
[0031] When a monochromatic X-ray with incident intensity I0 passes through an object with thickness d and has intensity I1, the intensity I1 is expressed by the following equation (1). I1=I0exp(-μd) (1) μ: Linear absorption coefficient When the intensity becomes I2 after passing through an object that is n times thicker, the intensity I2 is expressed by the following equation (2). I2 = I0 exp (-μd × n) (2) According to the above formulas (1) and (2), when the incident intensity is I0, the intensity of the low-energy image is I1, the intensity of the corrected low-energy image is I2, and the magnification of the thickness of the object A is n, the relational expressions are given by the following formulas (3) and (4). (I1 / I0) n =I2 / I0 (3) I2=I1 n / I0 n-1 (4)
[0032] Therefore, the intensity I1 and the incident intensity I0 in the low-energy image P100 can be converted into the intensity I2 of the modified low-energy image. That is, the modified image generating unit 402 generates a modified low-energy image from the low-energy image P100 by utilizing the X-ray absorption characteristics related to thickness. Similarly, the modified image generating unit 402 generates a modified high-energy image from the high-energy image P200 by utilizing the X-ray absorption characteristics related to thickness. Note that the thickness magnification n of the virtual article relative to the object to be inspected A is not particularly limited, and may be at least any of, for example, 1.25, 1.50, 1.75, and 2.00.
[0033] The brightness conversion function generation unit 406 generates a brightness conversion function T150 (see FIG. 6), which is a lookup table that matches or approximates the brightness of the low-energy image P100 to the brightness of the high-energy image P200, based on the low-energy image P100, the modified low-energy image, the high-energy image P200, and the modified high-energy image. As described in detail below, the brightness conversion function generation unit 406 generates a first brightness conversion function T100 based on the low-energy image P100 and the high-energy image P200, generates a second brightness conversion function T200 based on the modified low-energy image and the modified high-energy image, and generates the brightness conversion function T150 based on the first and second brightness conversion functions T100, T200.
[0034] The luminance conversion function generation unit 406 generates a first histogram H100 indicating the luminance distribution of the low-energy image P100, and generates a second histogram H200 indicating the luminance distribution of the high-energy image P200 (see FIG. 4(a)). The luminance conversion function generation unit 406 calculates a low-energy histogram integration curve by integrating the first histogram H100, and calculates a high-energy histogram integration curve by integrating the second histogram H200.
[0035] The luminance conversion function generating unit 406 generates a first luminance conversion function T100 that matches or approximates the luminance of the low-energy image P100 to the luminance of the high-energy image P200 by comparing the low-energy histogram integration curve with the high-energy histogram integration curve. Specifically, the luminance conversion function generating unit 406 obtains a conversion ratio of the luminance at which the integrated value of the low-energy histogram integration curve matches the integrated value of the high-energy histogram integration curve for each luminance. As a result, the luminance conversion function generating unit 406 obtains a first luminance conversion function T100 in which the luminance and the conversion ratio are associated with each other for the low-energy image P100 and the high-energy image P200 (see FIG. 4(b)).
[0036] The luminance conversion function generation unit 406 generates a third histogram H110 indicating the luminance distribution of the modified low-energy image, and generates a fourth histogram H210 indicating the luminance distribution of the modified high-energy image (see FIG. 5(a)). The luminance conversion function generation unit 406 calculates a modified low-energy histogram integration curve by integrating the third histogram H110, and calculates a modified high-energy histogram integration curve by integrating the fourth histogram H210.
[0037] The luminance conversion function generating unit 406 generates a second luminance conversion function T110 that makes the luminance of the modified low-energy image coincident with or approximate to the luminance of the modified high-energy image by comparing the modified low-energy histogram accumulation curve with the modified high-energy histogram accumulation curve. Specifically, the luminance conversion function generating unit 406 obtains a conversion ratio of the luminance at which the accumulated value of the modified low-energy histogram accumulation curve coincides with the accumulated value of the modified high-energy histogram accumulation curve for each luminance. As a result, the luminance conversion function generating unit 406 obtains a second luminance conversion function T110 in which the luminance and the conversion ratio are associated with each other for the modified low-energy image and the modified high-energy image (see FIG. 5(b)).
[0038] For luminance values for which there are no pixels in the low-energy image P100 and the high-energy image P200, the conversion ratio of the luminance value cannot be calculated. Therefore, as shown in Fig. 4(b), there is no conversion data in the low luminance value range L of the first luminance conversion function T100 generated by the luminance conversion function generation unit 406. Therefore, as shown in Fig. 4(b), Fig. 5(b), and Fig. 6, the luminance conversion function generation unit 406 combines the first luminance conversion function T100 with the second luminance conversion function T110.
[0039] Specifically, the luminance conversion function generating unit 406 combines the luminance values of the range L of the second luminance conversion function T110 with the range L of the low luminance value in the first luminance conversion function T100. In other words, the luminance conversion function generating unit 406 corrects the luminance values of the range L of the second luminance conversion function T110 to the end of the low luminance value side of the first luminance conversion function T100 by multiplying them by a predetermined coefficient and connecting them. In this way, the luminance conversion function generating unit 406 obtains the luminance conversion function T150 that does not have a range (area) where conversion data does not exist. Note that the method of combining the first luminance conversion function T100 and the second luminance conversion function T110 by the luminance conversion function generating unit 406 is not particularly limited, and the two may be combined so as to be averaged, or the two may be appropriately combined by a known method.
[0040] The inspection unit 411 converts the luminance of each pixel of the low-energy image P100 based on the luminance conversion function T150 generated by the luminance conversion function generation unit 406, and obtains a low-energy image after luminance conversion. The inspection unit 411 detects a foreign substance S contained in the inspection object A based on the low-energy image after luminance conversion (i.e., the low-energy image after luminance conversion) and the high-energy image P200. Various known methods can be used as the detection method here.
[0041] Next, an X-ray inspection method using X-ray inspection apparatus 1 will be described with reference to the flowchart in FIG.
[0042] First, the transport unit 500 transports the inspection object A to the inspection position, and the X-ray irradiation unit 200 irradiates the inspection object A with X-rays (step S1: X-ray irradiation step). The low-energy sensor 310 detects X-rays in the low-energy band that have passed through the inspection object A, and the high-energy sensor 320 detects X-rays in the high-energy band that have passed through the inspection object A (step S2: detection step).
[0043] Next, the image generating unit 401 generates a low-energy image P100 of the object A based on the detected X-rays in the low-energy band, and generates a high-energy image P200 of the object A based on the detected X-rays in the high-energy band (step S3: image generating step). The corrected image generating unit 402 generates a corrected low-energy image with a different brightness from the low-energy image P100, and generates a corrected high-energy image with a different brightness from the high-energy image P200 (step S4: corrected image generating step). The brightness conversion function generating unit 406 generates a brightness conversion function T150 based on the low-energy image P100, the corrected low-energy image, the high-energy image P200, and the high-energy image (step S5: brightness conversion function generating step).
[0044] Next, the inspection unit 411 performs brightness conversion on the low-energy image P100 based on the brightness conversion function T150 to obtain a brightness-converted low-energy image. The inspection unit 411 detects a foreign substance S contained in the inspection object A based on the brightness-converted low-energy image and the high-energy image P200 (step S6).
[0045] Fig. 8 is a diagram showing an example of a low-energy image P100. Fig. 9 is a diagram showing an example of a corrected low-energy image P101. As shown in Fig. 8 and Fig. 9, in this embodiment, the corrected image generating unit 402 performs simulation using X-ray absorption characteristics related to thickness, thereby converting the intensity I1 and incident intensity I0 in the low-energy image P100 into the intensity I2 of the corrected low-energy image, and the corrected low-energy image P101 can be generated from the low-energy image P100.
[0046] As described above, in the X-ray inspection device 1 and the X-ray inspection method, when generating the brightness conversion function T150, it is possible to obtain the brightness in the range L that cannot be obtained only from the low-energy image P100 and the high-energy image P200 by using the modified low-energy image and the modified high-energy image. Therefore, it is possible to reduce the need for virtually complementing the brightness conversion function T150 using a Bezier curve or the like when generating the brightness conversion function T150, and to generate the brightness conversion function T150 with high accuracy. Therefore, it is possible to improve the accuracy of foreign body inspection.
[0047] In the X-ray inspection device 1 and the X-ray inspection method, the corrected image generating unit 402 generates a corrected low-energy image of a virtual object having a thickness different from that of the inspection object A from the low-energy image P100 using the X-ray absorption characteristics related to the thickness of the inspection object A, and generates a corrected high-energy image of the virtual object from the high-energy image P200. This makes it possible to obtain the corrected low-energy image and the corrected high-energy image by simulation.
[0048] In the X-ray inspection device 1 and the X-ray inspection method, the brightness conversion function generating unit 406 generates a first histogram H100 based on the first transmission image, generates a second histogram H200 based on the second transmission image, generates a third histogram H110 based on the corrected first transmission image, generates a fourth histogram H210 based on the corrected second transmission image, generates a first brightness conversion function T100 based on the first and second histograms H100, H200, generates a second brightness conversion function T200 based on the third and fourth histograms H110, H210, and generates a brightness conversion function T150 based on the first and second brightness conversion functions T100, 200. In this case, the brightness conversion function T150 can be specifically generated.
[0049] In the X-ray inspection apparatus 1 and the X-ray inspection method, the brightness conversion function generating unit 406 generates a first brightness conversion function T100 from the low-energy image P100 and the high-energy image P200, generates a second brightness conversion function T200 based on the corrected low-energy image and the corrected high-energy image, and generates a brightness conversion function T150 based on the first and second brightness conversion functions T100 and T200. In this case, the brightness conversion function T150 can be specifically generated.
[0050] In the X-ray inspection device 1 and the X-ray inspection method, the X-ray detection unit 300 is a dual energy sensor. A dual energy sensor can be used for the X-ray detection unit 300. In the X-ray inspection device 1 and the X-ray inspection method, when generating the brightness conversion function T150, it is not necessary to prepare a large number of X-ray transmission images for complementation using a Bezier curve or the like, and the trouble involved can be eliminated.
[0051] Here, foreign object sensitivity was evaluated using an example related to the X-ray inspection device 1 and a comparative example related to an X-ray inspection device in which the first luminance conversion function T100 is used as the luminance conversion function (combination with the second luminance conversion function T200 is not performed). In the comparative example, a range in which no conversion data exists in the luminance conversion function is complemented using a Bezier curve or the like. The evaluation results are shown in Fig. 10(a), Fig. 10(b), and Fig. 10(c).
[0052] FIG. 10(a) is a graph showing the foreign object sensitivity evaluation results when the foreign object is quartz glass. FIG. 10(b) is a graph showing the foreign object sensitivity evaluation results when the foreign object is 0.5 mm thick aluminum. FIG. 10(c) is a graph showing the foreign object sensitivity evaluation results when the foreign object is 0.3 mm thick aluminum. In the figure, the vertical axis represents the frequency of foreign object detection during 10 foreign object inspections, and the horizontal axis represents the length of the foreign object. As shown in FIG. 10(a), FIG. 10(b), and FIG. 10(c), it can be seen that the embodiment can reliably detect foreign objects that are difficult to detect in the comparative example. It can be seen that the embodiment can reliably detect foreign objects of various sizes and materials. The threshold value of the sensitivity level for foreign object detection can be made smaller in the embodiment than in the comparative example (for example, 1 / 2 or less).
[0053] In this embodiment, the incident intensity I0 may be a value taking into consideration the width w and height h in the histogram of the background information, and may be, for example, a function of the width w and height h. The corrected low-energy image and the corrected high-energy image may be images generated such that the magnifications n are partially different.
[0054] Furthermore, the third and fourth histograms H110, H210 of the corrected low-energy image and the corrected high-energy image generated by the corrected image generating unit 402 were compared and evaluated with histograms of the low-energy image and the corrected high-energy image of the inspection object A whose thickness was actually multiplied by n (hereinafter, also referred to as "actual histograms"). In the comparative evaluation, for example, an acrylic plate and a bag-like belt for packaging food were used as the inspection object A. As a result, it was confirmed that the third and fourth histograms H110, H210 matched the actual histograms with high accuracy.
[0055] [Variations] Although one embodiment of the present disclosure has been described above, the present disclosure is not limited to the above-described embodiment.
[0056] In the above embodiment, the corrected image generating unit 402 generates the corrected low energy image and the corrected high energy image by simulating using the X-ray absorption characteristics, but is not limited to this. The corrected image generating unit according to one aspect of the present disclosure may generate a corrected first transmission image based on X-rays of a first energy band that are transmitted through another object, which is an actual object having a thickness different from that of the object, and are detected by the X-ray detection unit, and may generate a corrected second transmission image based on X-rays of a second energy band that are transmitted through the other object and are detected by the X-ray detection unit. In this case, the corrected first transmission image and the corrected second transmission image can be obtained by irradiating X-rays to the other object.
[0057] In the above embodiment, the corrected image generating unit 402 generates the corrected low energy image and the corrected high energy image by simulating using the X-ray absorption characteristics, but is not limited thereto. The corrected image generating unit according to one aspect of the present disclosure may generate the first transmission image and the second transmission image when X-rays are irradiated from the X-ray irradiating unit with the irradiation time, X-ray tube current, or X-ray tube voltage of the X-ray irradiating unit set to a first value. The corrected image generating unit may generate the corrected first transmission image based on the X-rays of the first energy band that have passed through the article and been detected by the X-ray detecting unit, and may generate the corrected second transmission image based on the X-rays of the second energy band that have passed through the article and been detected by the X-ray detecting unit, when X-rays are irradiated from the X-ray irradiating unit with the irradiation time, X-ray tube current, or X-ray tube voltage of the X-ray irradiating unit set to a second value different from the first value. In this way, the corrected first transmission image and the corrected second transmission image can be obtained by changing the irradiation conditions of the X-rays on the article. In addition, the same effect can be obtained by obtaining the corrected first transmission image and the corrected second transmission image without changing the X-ray irradiation conditions or by changing the exposure time or gain of the X-ray detection unit 300 in addition to changing the X-ray irradiation conditions.
[0058] In the above embodiment, the brightness conversion function generating unit 406 may generate a low-energy histogram based on the low-energy image P100 and the modified low-energy image, generate a high-energy histogram based on the high-energy image P200 and the modified high-energy image, and generate the brightness conversion function T150 based on these. In this case, the brightness conversion function T150 can be specifically generated.
[0059] In the above embodiment, the X-ray detection unit 300 may be capable of detecting X-rays by a photon counting method. In this case, X-rays can be detected by using the photon counting method. In the above embodiment, the brightness conversion function generation unit 406 may perform complementation of the generated brightness conversion function T150 by a Bezier curve or the like.
[0060] In the above embodiment, the corrected image generating unit 402 may obtain the magnification factor n of the thickness of the virtual object based on at least one of the first and second histograms H100, H200. For example, the corrected image generating unit 402 may have a data table indicating the relationship between "at least one of the peak values of the first and second histograms H100, H200" and "the magnification factor n of the thickness of the virtual object (e.g., eight values from 1.5 to 5.0 (in units of 0.5)"). The corrected image generating unit 402 may automatically select the magnification factor n of the thickness of the virtual object from at least one of the first and second histograms H100, H200 using the data table.
[0061] This makes it possible to specifically determine the desired magnification n of the thickness of the virtual object from at least one of the first and second histograms H100, H200. This is for the following reason. That is, when synthesizing the first and second luminance conversion functions T100, T200, it is preferable that the range of luminance values in which there are no pixels in the second luminance conversion function T200 is narrower, and even if there are pixels, it is preferable that the luminance values in that range are smaller. In this regard, by using at least one of the first and second histograms H100, H200 as an index, it is possible to predict the desired magnification n or its target based on the relationship of the above formula (4).
[0062] In the above embodiment, at least one of the processes of the image generating unit 401 and the corrected image generating unit 402 may be performed separately in the direction in which the multiple X-ray detection elements of the X-ray detection unit 300 are arranged. For example, the image generating unit 401 and the corrected image generating unit 402 may generate each image for each of the multiple X-ray detection elements arranged in the horizontal direction perpendicular to the conveying direction. In this case, each image generated by the image generating unit 401 and the corrected image generating unit 402 may be corrected in consideration of the angle of incidence of the X-rays of the inspection object A for each of the multiple X-ray detection elements arranged in the horizontal direction perpendicular to the conveying direction D1. In this case, it is possible to improve the simulation accuracy when generating the corrected low-energy image and the corrected high-energy image by simulation. [Explanation of symbols]
[0063] 1...X-ray inspection apparatus, 200...X-ray irradiation section, 300...X-ray detection section, 310...low energy sensor (first detection section), 320...high energy sensor (second detection section), 401...image generation section, 402...corrected image generation section, 406...brightness conversion function generation section, 411...inspection section, A...object to be inspected (item), H100...first histogram, H110...third histogram, H200...second histogram, H210...fourth histogram, P100...low energy image (first transmission image), P200...high energy image (second transmission image), T100...first brightness conversion function, T200...second brightness conversion function, T150...brightness conversion function.
Claims
1. an X-ray irradiation unit that irradiates an article with X-rays including at least a first energy band and a second energy band; an X-ray detection unit that detects the X-rays in the first energy band and the X-rays in the second energy band that have passed through the article; an image generating unit that generates a first transmission image based on the X-rays in the first energy band detected by the X-ray detection unit, and generates a second transmission image based on the X-rays in the second energy band detected by the X-ray detection unit; a corrected image generating unit for generating a corrected first transmission image by varying the luminance of the first transmission image and for generating a corrected second transmission image by varying the luminance of the second transmission image; and a brightness conversion function generating unit that generates a brightness conversion function for matching or approximating a brightness of the first transmission image to a brightness of the second transmission image based on the first transmission image, the corrected first transmission image, the second transmission image, and the corrected second transmission image.
2. 2. The X-ray inspection apparatus according to claim 1, wherein the corrected image generation unit generates the corrected first transmission image of a virtual object having a thickness different from that of the object from the first transmission image by using an X-ray absorption characteristic related to a thickness of the object, and generates the corrected second transmission image of the virtual object from the second transmission image.
3. The corrected image generating unit 2. The X-ray inspection device according to claim 1, wherein the corrected first transmission image is generated based on X-rays of the first energy band that have passed through another object having a thickness different from that of the object and have been detected by the X-ray detection unit, and the corrected second transmission image is generated based on X-rays of the second energy band that have passed through the other object and have been detected by the X-ray detection unit.
4. the image generating unit generates the first transmission image and the second transmission image when X-rays are irradiated from the X-ray irradiator with an X-ray tube current or an X-ray tube voltage of the X-ray irradiator set to a first value; 2. The X-ray inspection device according to claim 1, wherein, when X-rays are irradiated from the X-ray irradiating unit with an X-ray tube current or an X-ray tube voltage of the X-ray irradiating unit set to a second value different from the first value, the corrected image generating unit generates the corrected first transmission image based on X-rays of the first energy band that have passed through the article and been detected by the X-ray detection unit, and generates the corrected second transmission image based on X-rays of the second energy band that have passed through the article and been detected by the X-ray detection unit.
5. The luminance conversion function generation unit generating a first histogram based on the first transmission image and the modified first transmission image; generating a second histogram based on the second transmission image and the modified second transmission image; The X-ray inspection apparatus of claim 1 , wherein the brightness conversion function is generated based on the first histogram and the second histogram.
6. The luminance conversion function generation unit generating a first histogram based on the first transmission image; generating a second histogram based on the second transmission image; generating a third histogram based on the modified first transmission image; generating a fourth histogram based on the modified second transmission image; generating a first luminance transformation function based on the first and second histograms; generating a second luminance transformation function based on the third and fourth histograms; The X-ray inspection apparatus of claim 1 , further comprising: generating the brightness conversion function based on the first and second brightness conversion functions.
7. The luminance conversion function generation unit generating a first luminance transformation function based on the first and second transmitted images; generating a second luminance transformation function based on the modified first transmission image and the modified second transmission image; The X-ray inspection apparatus of claim 1 , further comprising: generating the brightness conversion function based on the first and second brightness conversion functions.
8. The X-ray inspection apparatus according to claim 1 , wherein the X-ray detection unit is capable of detecting the X-rays by a photon counting method.
9. 2. The X-ray inspection device according to claim 1, wherein the X-ray detection unit is a dual energy sensor including a first detection unit that detects X-rays in the first energy band and a second detection unit that detects X-rays in the second energy band.
10. the luminance conversion function generating unit generates a first histogram based on the first transmission image and generates a second histogram based on the second transmission image; The X-ray inspection apparatus according to claim 2 , wherein the corrected image generating unit determines a magnification of the thickness of the virtual object relative to the thickness of the object based on at least one of the first and second histograms.
11. an X-ray irradiation step of irradiating the article with X-rays including at least a first energy band and a second energy band; a detection step of detecting the X-rays in the first energy band and the X-rays in the second energy band that have passed through the article; an image generating step of generating a first transmission image based on the X-rays of the first energy band detected in the detecting step, and generating a second transmission image based on the X-rays of the second energy band detected in the detecting step; a corrected image generating step of generating a corrected first transmission image by varying the luminance of the first transmission image and generating a corrected second transmission image by varying the luminance of the second transmission image; a brightness conversion function generating step of generating a brightness conversion function that causes a brightness of the first transmission image to match or approximate a brightness of the second transmission image based on the first transmission image, the corrected first transmission image, the second transmission image and the corrected second transmission image.
Citation Information
Patent Citations
Tracking system
JP1982071013A
