WO2022065110A1 - X線検査装置およびx線検査方法 - Google Patents

X線検査装置およびx線検査方法 Download PDF

Info

Publication number
WO2022065110A1
WO2022065110A1 PCT/JP2021/033560 JP2021033560W WO2022065110A1 WO 2022065110 A1 WO2022065110 A1 WO 2022065110A1 JP 2021033560 W JP2021033560 W JP 2021033560W WO 2022065110 A1 WO2022065110 A1 WO 2022065110A1
Authority
WO
WIPO (PCT)
Prior art keywords
ray
inspection
image
inspection image
inspected
Prior art date
Application number
PCT/JP2021/033560
Other languages
English (en)
French (fr)
Inventor
勝 石田
Original Assignee
アンリツ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2020158379A external-priority patent/JP7506568B2/ja
Application filed by アンリツ株式会社 filed Critical アンリツ株式会社
Priority to EP21872240.3A priority Critical patent/EP4220142A1/en
Priority to US18/245,200 priority patent/US20230366838A1/en
Publication of WO2022065110A1 publication Critical patent/WO2022065110A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N23/00Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00
    • G01N23/02Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material
    • G01N23/06Investigating or analysing materials by the use of wave or particle radiation, e.g. X-rays or neutrons, not covered by groups G01N3/00 – G01N17/00, G01N21/00 or G01N22/00 by transmitting the radiation through the material and measuring the absorption
    • G01N23/18Investigating the presence of flaws defects or foreign matter
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2223/00Investigating materials by wave or particle radiation
    • G01N2223/10Different kinds of radiation or particles
    • G01N2223/101Different kinds of radiation or particles electromagnetic radiation
    • G01N2223/1016X-ray
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2223/00Investigating materials by wave or particle radiation
    • G01N2223/30Accessories, mechanical or electrical features
    • G01N2223/302Accessories, mechanical or electrical features comparative arrangements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2223/00Investigating materials by wave or particle radiation
    • G01N2223/30Accessories, mechanical or electrical features
    • G01N2223/305Accessories, mechanical or electrical features computer simulations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2223/00Investigating materials by wave or particle radiation
    • G01N2223/30Accessories, mechanical or electrical features
    • G01N2223/33Accessories, mechanical or electrical features scanning, i.e. relative motion for measurement of successive object-parts
    • G01N2223/3308Accessories, mechanical or electrical features scanning, i.e. relative motion for measurement of successive object-parts object translates
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2223/00Investigating materials by wave or particle radiation
    • G01N2223/40Imaging
    • G01N2223/401Imaging image processing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2223/00Investigating materials by wave or particle radiation
    • G01N2223/60Specific applications or type of materials
    • G01N2223/646Specific applications or type of materials flaws, defects

Definitions

  • the present invention relates to an X-ray inspection apparatus and an X-ray inspection method, and is particularly suitable for detecting foreign substances and missing items, and inspecting the shape and arrangement of the contents of an article to be inspected by using a plurality of inspection images.
  • the present invention relates to an inspection device and an X-ray inspection method.
  • An X-ray inspection device that inspects the quality condition required for the inspected object by X-rays, especially the cumulative permeation amount of X-rays irradiated to the inspected object being transported for each predetermined period is measured by an X-ray detector for each transmission region.
  • An X-ray inspection device that detects and creates an X-ray image has been known for some time.
  • an inspection method in such an X-ray inspection apparatus data of a plurality of different X-ray images are acquired, and an image useful for foreign matter detection processing is generated based on the data of the X-ray images to detect foreign matter, etc. It is known to improve the accuracy of the inspection.
  • Conventional X-ray inspection devices and X-ray inspection methods include, for example, an observation image obtained by weighting and synthesizing an X-ray image of an inspected object, an image of a foreign substance and an image of an inspected object containing no foreign substance.
  • an observation image obtained by weighting and synthesizing an X-ray image of an inspected object, an image of a foreign substance and an image of an inspected object containing no foreign substance.
  • the object to be inspected is irradiated with fan beam-shaped X-rays in a direction away from the transport surface but different from each other, and foreign matter is recognized by X-rays from each direction or X-rays from either direction.
  • the inspected object being transported is imaged in a preset direction. Since the inspection method was based on the X-ray image and the imaging direction was the observation direction (line-of-sight direction), if an unexpected posture change or shape change occurs for some reason, for example, a change in the transport state such as overlap. In the case where the product is bent, damaged, broken, etc., it is not easy to separate foreign matter components and grasp the characteristics of the shape because the observation direction is not suitable, and there is a concern that erroneous detection may occur.
  • the present invention has been made to solve the above-mentioned conventional problems, and changes in the shape and posture of the object to be inspected during transportation while simply arranging the X-ray source and the X-ray detector in a simple configuration. Regardless of the above, an X-ray inspection device and an X-ray inspection method that can accurately observe the inspection target with an X-ray image from a suitable observation direction, prevent false detections at low cost, and reduce the size. The purpose is to provide.
  • the X-ray inspection apparatus detects an X-ray generator that generates X-rays that pass through the transported object and an X-ray that has passed through the inspected object in order to achieve the above object.
  • an X-ray inspection apparatus including an X-ray detector that outputs an X-ray detection signal and a determination unit that determines the quality state of the object to be inspected from an inspection image generated based on the X-ray detection signal.
  • An X-ray image storage unit that stores a first inspection image corresponding to the X-ray detection signal output from the X-ray detector and whose observation direction is the direction in which the X-ray passes through the object to be inspected.
  • the determination unit includes an inspection image generation unit that creates a second inspection image in a different observation direction, and the determination unit executes the determination based on at least the second inspection image created by the inspection image generation unit. It is a thing.
  • the original image stored in the X-ray image storage unit is the learning target product type.
  • a second inspection image having a different observation direction from the inspection image is created by the inspection image generation unit based on the first inspection image relating to the cultivar to be learned, and the first inspection image having different observation directions is created.
  • the determination by the determination unit is executed based on at least the second inspection image of the second inspection image.
  • the X-ray inspection device has a plurality of observation directions and has high detection accuracy, a mechanism for changing and holding the arrangement of the X-ray source and the X-ray detector according to the observation direction becomes unnecessary, and the configuration is simple. It will be possible. As a result, regardless of changes in the posture or shape of the object to be inspected during transportation, the inspection target can be accurately observed with an X-ray image from a suitable observation line-of-sight direction, and false detection can be prevented at low cost and small size. It will be an X-ray inspection device that can be used.
  • the configuration may further include a designating means for designating the observation direction when creating the second inspection image based on the pseudo three-dimensional information.
  • a suitable observation direction that is empirically predicted for the cultivar to be learned or naturally predicted from the transport conditions can be specified or adjusted in advance by the designating means, and the processing time can be shortened or observed.
  • Direction optimization is possible.
  • the determination unit has an image processing means for executing a predetermined feature extraction process based on the first inspection image and the second inspection image. It can also be configured.
  • the predetermined feature extraction process is, for example, a process of performing differential processing on X-ray image data to emphasize edges with steep changes in image density according to the amount of X-ray transmittance, contours of the shape to be detected, and the like. It is possible to capture the characteristics of local shading that appears in an X-ray transmission image.
  • the pseudo three-dimensional information generation model responds to the three-dimensional shape of the product type to be inspected from X-ray images in a plurality of observation directions regarding the product type to be inspected. It can be assumed that the shade pattern has been learned.
  • the plurality of observation directions referred to here may include the observation direction of the first inspection image relating to the type of the object to be inspected and another plurality of observation directions in which the viewpoint position is moved back and forth and left and right with respect to the same observation direction. It can include, for example, a plurality of different observation directions that are substantially orthogonal to the observation direction of the first inspection image.
  • the designating means may be configured to be capable of designating a plurality of the observation directions when creating the second inspection image.
  • an X-ray generation step that generates X-rays that pass through the transported object and an X-ray that has passed through the inspected object are detected.
  • An X-ray inspection method including an X-ray detection step for outputting an X-ray detection signal and a determination step for determining the quality state of the inspected object from an inspection image generated based on the X-ray detection signal. Therefore, an X-ray image storage step corresponding to the X-ray detection signal output in the X-ray detection step and storing a first inspection image whose observation direction is the direction in which the X-ray passes through the object to be inspected.
  • the inspected object has a different observation direction from the first inspection image. It further includes an inspection image generation step for creating the inspection image of 2, and the determination step is characterized in that the determination is executed based on at least the second inspection image generated in the inspection image generation step. do.
  • the first image relating to the product type is used. Based on the inspection image, a second inspection image having a different observation direction from the inspection image is created, and based on at least the second inspection image of the first inspection image and the second inspection image having different observation directions. , Perform a judgment on the quality status of the object to be inspected.
  • the observation direction of the first inspection image that is, the X-ray image whose observation direction is an arbitrary direction that is not constrained by the direction of irradiating the X-ray to the inspected object
  • the observation direction constrained by the overlapping state in which the transport form forms an unexpected shape or the placement state that is prioritized to stabilize the transport of the inspected object that is liable to fall causes a blind spot in the X-ray image. It is possible to perform an inspection that can accurately detect a foreign substance or a specific shape even in a state where the image is allowed to be formed.
  • an X-ray image from a suitable observation line-of-sight direction is used for inspection regardless of changes in the posture or shape of the object to be inspected during transportation. It is possible to provide an X-ray inspection apparatus capable of accurately observing an object, preventing false detections at low cost, and reducing the size.
  • (First Embodiment) 1 to 3 show a first embodiment for carrying out the present invention as an X-ray detection device and an X-ray inspection method capable of detecting foreign substances mixed in a transported object (article) to be inspected. ing.
  • the X-ray inspection apparatus 1 includes a transport unit 10, an X-ray inspection unit 20, and a control unit 30 thereof, and the inspected object W to be conveyed by the transport unit 10 on a conveyor.
  • the X-ray inspection unit 20 irradiates X-rays on the subject, and inspects the quality state of the inspected object W based on the transmitted X-ray dose distribution image data. It is designed to detect contamination (see FIG. 3).
  • the quality condition referred to here is the appropriateness of the quality and physical quantity required for the product W to be inspected, for example, the presence or absence of mixed foreign matter, the presence or absence of missing items, and the pass / fail of the shape, size, storage state, etc. of the contents. , Density / thickness / volume or mass distribution, etc.
  • the transport unit 10 may wind the loop-shaped conveyor belt 11 around a plurality of conveyor rollers 12 and 13 and sequentially convey the object W to be inspected in the right direction in FIG. 1 by the traveling section 11a of the conveyor belt 11. It is a conveyor that can be used and is supported by a housing (not shown).
  • the X-ray inspection unit 20 has an X-ray generator 21 (X-ray source) that generates X-rays in a predetermined energy band that passes through the inspected object W conveyed by the transfer unit 10, and is an X-ray generator.
  • 21 is a known X-ray tube 22, which generates X-rays having a wavelength and intensity corresponding to the tube current and tube voltage, and passes through the X-ray window portion 23a of the enclosure 23 to perform a predetermined inspection on the transport belt 11.
  • the inspected object W in the section can be irradiated with fan beam-shaped X-rays directed in the main observation direction orthogonal to the article transporting direction of the transporting unit 10.
  • the X-ray inspection unit 20 further has an X-ray detector 24 arranged directly below the traveling section 11a of the transport belt 11.
  • a detection element composed of a scintillator which is a phosphor and a photodiode or a charge coupling element is arranged in an array at a predetermined pitch in the width direction of the transport path of the transport unit 10. It is composed of an X-ray line sensor camera that is arranged to detect X-rays at a predetermined resolution, and is arranged at a predetermined position in the transport direction corresponding to the X-ray irradiation position from the X-ray generator 21. ..
  • the X-ray detector 24 detects X-rays irradiated from the X-ray generator 21 and transmitted through the object W to be inspected for each predetermined transmission region corresponding to the detection element, and corresponds to the amount of the X-rays transmitted. It is possible to output an X-ray detection signal for generating an X-ray transmission image whose observation direction is the direction in which the X-ray is transmitted by converting it into an electrical signal.
  • the control unit 30 controls the transport control means for controlling the transport speed and the transport interval of the object W to be inspected by the transport belt 11 in the transport unit 10, and controls the X-ray irradiation intensity and the irradiation period in the X-ray inspection unit 20. It includes an inspection control means for controlling the X-ray detection cycle by the X-ray line sensor of the X-ray detector 24 according to the transport speed of the inspected object W, the detection period of each inspected object W, and the like. , Detailed illustration is omitted.
  • the control unit 30 also includes an X-ray image storage unit 31 that captures an X-ray detection signal from the X-ray detector 24 at predetermined intervals and stores an X-ray transmission image during the inspection period of each object W to be inspected.
  • the image processing unit 32 which captures an X-ray image generated based on the image data captured in the X-ray image storage unit 31 as an inspection image and executes image processing such as predetermined filter processing, and the image processing unit 32 thereof. It has a determination unit 33 that executes a predetermined determination process based on the processed image data, for example, a determination process for the presence or absence of a foreign substance, and a display 34 that can display and output the determination result of the determination unit 33. ..
  • the X-ray image storage unit 31 is an image input unit, and for example, X-ray detection signals for a plurality of transmission regions from a plurality of detection elements of the X-ray detector 24 are A / D converted, respectively, in the X-ray detector 24. Cumulative transmission amount within the unit time for all n detection element regions (n is an integer larger than 1, for example 640) for each predetermined unit transfer time corresponding to the detection element size.
  • line scanning The operation of writing the data of the above to the image memory as digital data of the density level representing the gradation from 0 to 1023 (hereinafter referred to as line scanning) is executed.
  • the X-ray image storage unit 31 sequentially generates transmission density data written in the memory as X-ray image data D1. It has a data processing program and a work memory (not shown) that exert a function of outputting to the image processing unit 32.
  • the image processing unit 32 and the determination unit 33 cooperate with the ROM, for example, a microcomputer having a CPU, a ROM, a RAM, and an I / O interface (not shown), and a control program for exerting each function of a plurality of processing units described later. It is configured to include an auxiliary storage device that is readable and stored, a timer circuit, etc., and a predetermined arithmetic process is performed while the CPU sends and receives data to and from the RAM, etc., according to a control program stored in the ROM, etc. Is executed and the control program is executed.
  • the ROM for example, a microcomputer having a CPU, a ROM, a RAM, and an I / O interface (not shown), and a control program for exerting each function of a plurality of processing units described later. It is configured to include an auxiliary storage device that is readable and stored, a timer circuit, etc., and a predetermined arithmetic process is performed while the CPU sends and receive
  • the image processing unit 32 has a filter processing means 32a that performs predetermined filter processing, length calculation processing, and the like on the X-ray image for each inspected object W taken in from the X-ray image storage unit 31.
  • the filter processing means 32a is a feature extraction filter that enhances the contour (edge) of a foreign substance on the X-ray image for each object W to be inspected, for example, a differential filter such as a Sobel filter, and is predetermined in a region near the pixel of interest. The edge of the foreign matter is emphasized by performing differential processing based on the calculation formula.
  • the image processing unit 32 further has a foreign matter detection program that detects foreign matter mixed in the object W to be measured, and this foreign matter detection program is the original X-ray image data D1 as a plurality of X-ray images having different observation directions.
  • the above-mentioned feature extraction filter processing by the filter processing means 32a can be executed for the first inspection image Pe corresponding to the above and the second inspection images Ps1 and Ps2 corresponding to the data D2 of the pseudo inspection image described later. ing.
  • the determination unit 33 detects the feature shape, foreign matter, etc. detected in the inspected object W from a plurality of inspection images in different observation directions from the image processing unit 32, and the area, contour length, and density of the detection object. By calculating a feature amount such as a sum and comparing such a feature amount with a predetermined judgment reference value, a foreign substance or a defective shape (including a local feature shape) satisfying the judgment condition is found in the inspected object W. It is designed to determine whether or not it is included in.
  • the control unit 30 further obtains X-ray images (transparent images) of a plurality of observation directions taken in advance by X-rays of the article as the learning target cultivar with respect to the cultivar of the object W to be inspected.
  • the first is performed by performing three-dimensional recognition based on a known shape or the like, or performing deep learning in the forward propagation direction using a plurality of X-ray images having different observation directions for the same observation region as teacher images.
  • Pseudo-three-dimensional information generation model 41 which is a generation model for acquiring pseudo-three-dimensional information for enabling generation of second inspection images Ps1 and Ps2 having different observation directions from the inspection image Pe, and an X-ray image storage unit.
  • a predetermined rendering process is executed on the first inspection image Pe of the two-dimensional predetermined image size from 31 based on the pseudo three-dimensional information supplied from the pseudo three-dimensional information generation model 41, and a plurality of images having different observation directions are executed.
  • the inspection image generation unit 42 that creates the pseudo inspection image of the above as the second inspection images Ps1 and Ps2, the setting input of the learning target product type, and the designated input of the observation direction (different observation direction) of the second inspection images Ps1 and Ps2. It has a possible setting device 43 (designating means).
  • the article of the learning target variety referred to here refers to a sample article (Ws: not shown) having a similar shape and packaging form to the inspected object W to be inspected. Further, a plurality of sample articles (Ws1, Ws2, ...) That reproduce the expected fluctuations in the shape and packaging form of the contents may be used. Such sample articles (Ws) are preferably of the same type and packaging form (quantity of contents, etc.) as the inspected object W, but are not necessarily the same as the inspected object to be actually inspected. It should be noted that even if the materials, shapes, and packaging forms are similar, it is possible to generate a model with practically no problem.
  • the pseudo three-dimensional information generation model 41 uses image data of a plurality of multi-tone density X-ray images acquired in advance for articles (Ws) of each learning target variety in different observation directions (for example, evenly distributed in all directions). , The difference in the observation direction between those images and the accompanying shape change and image density distribution (for example, brightness gradient) of each element in the local and wider two-dimensional projection image of the inspected object W. After learning the difference in the feature amount such as the change of the feature amount, and further grasping the known unevenness and texture information, etc., learn using the principle of triangular survey based on multiple 2D images with different feature amount. It is configured to include a learning device (not shown) capable of acquiring information on a three-dimensional model shape of an article (Ws) of a target type.
  • This pseudo three-dimensional information generation model 41 preferably uses image data of an X-ray image having a multi-tone density in an omnidirectional multi-observation direction in a predetermined angle unit to provide information on the shape of the three-dimensional model for the cultivar to be learned. get.
  • the plurality of observation directions referred to here are at least one of the observation direction of the first inspection image relating to the cultivar to be learned and at least one in which the viewpoint position is moved so that the line of sight is tilted (intersected) with respect to the same observation direction.
  • An observation direction can be included, and a direction orthogonal to the observation direction of the first inspection image or another observation direction in which the viewpoint position is moved so as to rotate the orthogonal direction around the main observation direction can be included. ..
  • the inspection image generation unit 42 creates data of the second inspection image having a different observation direction from the input data of the first inspection image by using the pseudo three-dimensional information.
  • the pseudo-three-dimensional information generation model 41 is a plurality of pre-labeled learning targets of the inspected object W of the same type, for example, for each observation direction that can be specified for the inspected object W of the type to be learned.
  • a small area that can be filtered (feature extraction) is set in each X-ray image, and a convolution process for extracting a local feature amount from the image data of the small area is performed in the small area in the X-ray image. Is adjacent to feature extraction to create a layer image of a single convolutional layer in which the information in the filter is convoluted, or to create a layer image of a single layer of pooling layer by further compressing it.
  • the feature extraction of the combination from the random weighted combination of the nodes (values of the features mentioned above) between the layer images is executed in multiple layers by changing the filter, movement range, etc., and if it is not region-based, it is extracted. It is configured to include a multi-layer (n-layer) neural network that can automatically extract difficult feature quantity changes regardless of the positional deviation or rotation of the object W to be inspected in the target image.
  • the pseudo three-dimensional information generation model 41 captures the feature points of a large number of first inspection images and second inspection images to be learned, which are sampled by X-ray photography for each predetermined type of the object W to be inspected. After detecting in advance, the relationship between the feature amount of each layer of the neural network and the feature amount between adjacent or adjacent layer nodes is compared among a plurality of observation directions, and the irradiation direction of the X-ray applied to the inspected object W is compared. Differences in features corresponding to differences in crossing angles and crossing directions formed by the observation direction, such as feature shapes in local and wider areas of a two-dimensional projected image, their length and radius, brightness gradient, transmission amount, etc.
  • the calculation formulas such as the weighting coefficient of the feature amount and the activation function in the combination of the connection of specific nodes between the layers of the multi-layer neural network are specified, which is different from the observation direction of the first inspection image. It can be output as the above-mentioned pseudo three-dimensional information for creating a pseudo inspection image of an X-ray image obtained when the second inspection image is changed to an arbitrary second inspection image.
  • the inspection image generation unit 42 has a neural network for image generation corresponding to the multi-layered neural network in the pseudo three-dimensional information generation model 41, for example, a convolutional neural network using parameters and weighting coefficients of local features of each trained layer.
  • a neural network for image generation corresponding to the multi-layered neural network in the pseudo three-dimensional information generation model 41 for example, a convolutional neural network using parameters and weighting coefficients of local features of each trained layer.
  • the data D2 of the second inspection image is a pseudo inspection image Ps1 in the A direction and a pseudo inspection image in the B direction which are substantially parallel to the transport surface orthogonal to the main observation direction and orthogonal to each other.
  • Ps2 is included, the observation direction and the number thereof of the second inspection image are arbitrary, and can be set and changed by the setting device 43 which is a means for designating the observation direction.
  • the inspection image generation unit 42 calculates the error of the local feature amount between the neural network output for the input and the teacher image of the corresponding second inspection image.
  • parameter learning by the so-called back propagation method is executed, and it is output from the inspection image generation unit 42 when the teacher image of the first inspection image is input.
  • the degree to which the data D2 mimics the teacher image of the second inspection image can be improved to a required similarity level.
  • the control unit 30 Based on the X-ray image data (for example, data of n rows and k columns) of the first inspection image and the second inspection image whose observation directions are different from each other, the control unit 30 has a plurality of them with respect to the inspected object W.
  • the difference in the amount of local features in the inspection image in the observation direction is learned by the pseudo-three-dimensional information generation model 41 having a multi-layered neural network configuration, and the inspection image generation unit 42 using the learning result enables the X-ray image storage unit 31.
  • the data D2 of the second inspection image in another observation direction based on the data D1 of the first inspection image, it is configured so that an accurate observation image such as a foreign substance or a defective shape can be obtained. ..
  • Each of the second inspection images generated by the inspection image generation unit 42 is taken into the image processing unit 32 in the same manner as the first inspection image from the X-ray image storage unit 31, and there, the above-mentioned filter processing means 32a Image processing and the like for emphasizing the edges of foreign matter and the like contained in the object W to be inspected are performed and output to the determination unit 33. Then, the determination unit 33 calculates, for example, three types of extraordinary traces of the area, contour length, and sum of concentrations of the object from the binary image of the object contained inside the object W to be inspected, and determines the extraordinary traces thereof. By comparing with the determination reference value of, it is determined whether or not the foreign matter is contained in the inspected object W.
  • the observation is performed based on the data D1 of the first inspection image in the main observation direction stored in the X-ray image storage unit 31 each time the object W to be inspected passes through the predetermined inspection section.
  • Data D2 of a second inspection image in a different observation direction is created, and the second inspection image is created as a pseudo inspection image Ps1 in the A direction and a pseudo inspection image Ps2 in the B direction in which the observation directions are different from each other.
  • This causes a change in the transport shape such that the objects W to be inspected partially overlap, and the image density of the overlapped portion in the main observation direction increases according to the X-ray transmission thickness of the overlapped portion, resulting in X-ray absorption.
  • the first inspection image is treated as a true transmission image that specifies the main observation direction
  • the determination by the determination unit 33 is the second inspection among the first and second inspection images having different observation directions.
  • the determination by the determination unit 33 can be executed based on at least the second inspection image among the first and second inspection images.
  • FIG. 2 shows a schematic processing procedure in the X-ray inspection method of one embodiment executed by the X-ray inspection apparatus 1 of the present embodiment.
  • the object W to be inspected (for example, a plurality of sausages in FIG. 3) is transported by the transport unit 10 at a predetermined speed and at a transport interval, and passes through a predetermined inspection section. do.
  • the X-ray generator 21 of the X-ray inspection unit 20 generates X-rays that can pass through the inspected object W. (X-ray generation step).
  • This X-ray is applied to the object W to be inspected, and the transmitted X-ray is detected for each predetermined transmission region by the line scanning of the X-ray detector 24 (X-ray detection step), and the X-ray transmission amount corresponds to the transmission amount.
  • the X-ray detection signal is output from the X-ray detector 24 and sequentially taken into the X-ray image storage unit 31 (X-ray image storage step).
  • the original image (hereinafter, the original image) in which the transmission amount sequentially written in the X-ray image storage unit 31 is used as the density value of each pixel. ()) Is acquired (step S11), and is output to the image processing unit 32 as the data D1 of the first inspection image, and is also output to the inspection image generation unit 42.
  • the inspection image generation unit 42 determines the observation direction based on the first inspection image which is an input image from the X-ray image storage unit 31 and the above-mentioned pseudo three-dimensional information from the pseudo three-dimensional information generation model 41.
  • Data D2 of the second inspection image, which is a different pseudo inspection image, is generated (step S12; inspection image generation step).
  • the image processing unit 32 uses the first inspection image Pe in the main observation direction from the X-ray image storage unit 31, the pseudo inspection image Ps1 in the A direction, which is the second inspection image from the inspection image generation unit 42, and Using the pseudo inspection image Ps2 in the B direction, the inspection images Pe, Ps1 and Ps2 in each observation direction are subjected to processing such as edge enhancement of foreign matter and contours to generate judgment image data D3 and for judgment.
  • the image data D3 is, for example, binarized, and a predetermined extra trace amount D4 (for example, length) is calculated.
  • the determination unit 33 compares the extra-trace amount D4 with a predetermined determination reference value to execute a pass / fail determination corresponding to the presence or absence of a foreign substance (step S13; determination step).
  • the first inspection image Pe in FIG. As shown in the pseudo inspection image Ps2 in the B direction, the density of the X-ray image becomes high due to the increase in the absorbed dose of X-rays in the observation in the overlapping portion and the length direction, and the foreign matter C is mixed in the range. There is a concern that it cannot be easily determined from the observation image. However, in the present embodiment, in the pseudo inspection image Ps1 from the A direction, there is no overlapping portion of the inspected object W, and the foreign matter C mixed in one of the inspected objects W can be accurately observed.
  • the first inspection image stored in the X-ray image storage unit 31 as the original image corresponding to the X-ray detection signal from the X-ray detector 24 is registered in advance.
  • the inspection image generation unit 42 generates data D2 of a second inspection image different from the inspection image based on the data D1 of the first inspection image relating to the learning target cultivar. Will be done. Then, by executing a predetermined determination process by the determination unit 33 based on the first inspection image Pe and the second inspection images Ps1 and Ps2 having different observation directions, high foreign matter detection accuracy having a plurality of observation directions is performed.
  • the X-ray generator 21 and the X-ray detector 24 can be simply arranged.
  • the inspection target should be accurately observed with an X-ray image from an observation line-of-sight direction suitable for always detecting a suitable foreign substance and grasping a positional relationship. It is possible to provide an X-ray inspection apparatus capable of preventing false detections and reducing the size at low cost.
  • the setting device 43 as a designating means for designating the observation direction when creating the data D2 of the second inspection image by the pseudo three-dimensional information generation model 41 is provided, for example, a learning target.
  • An observation direction with little overlap on the image which is empirically predicted or determined from the shape of the variety, or a suitable observation direction naturally predicted from the transport conditions can be specified in advance by the setting device 43, or the observation direction thereof.
  • the horizontal orientation and vertical tilt angle of the can be adjusted, and the processing time can be shortened and the observation direction can be optimized.
  • the data D1 of the first inspection image and the data D2 of the second inspection image are two-dimensional images, respectively, and the control unit 30 adds the data of both inspection images to the determination unit 33. Since it has an image processing unit 32 (image processing means) that executes a predetermined feature extraction process for D1 and D2, for example, X-ray transmission is performed by subjecting the data D1 and D2 of each inspection image to differential processing. It is possible to emphasize edges with steep changes in image density according to the amount, contours of the shape to be detected, and the like, and it is possible to effectively improve inspection accuracy by capturing local features of an X-ray transmission image.
  • the pseudo three-dimensional information generation model 41 is assumed to have learned the three-dimensional shape of the object W to be inspected from the omnidirectional multi-observation X-ray image of the cultivar to be learned. Pseudo-three-dimensional information effective for generating the data D2 of the second inspection image can be generated.
  • the setting device 43 can specify a plurality of observation directions when creating the second inspection image as the designating means, any plurality of directions that are not constrained by the observation direction of the first inspection image.
  • the observation image from the above can be used as the second inspection image, and foreign matter and a specific shape can be accurately detected even if the transported form of the object W to be inspected is in an overlapping state such as forming an unexpected shape. Inspection is possible.
  • the designation of another observation direction by the setting device 43 is a plurality of candidates having a predetermined crossing angle (for example, 90 degrees, 45 degrees, etc.) with respect to the main observation direction and having equal intervals (for example, 90 degrees, 45 degrees, etc.) with each other. Any one of the observation directions may be selected and specified, or the predetermined crossing angle and the equiangular interval may be variably set.
  • the first inspection image relating to that type is used.
  • Second inspection images Ps1 and Ps2 having different observation directions from the inspection images are created based on Pe, and at least the second of the first inspection images Pe and the second inspection images Ps1 and Ps2 having different observation directions. Based on the inspection images Ps1 and Ps2 of the above, the determination process regarding the quality state of the inspected object is executed.
  • the X-ray images whose observation direction is an arbitrary direction that is not constrained by the observation direction of the first inspection image Pe, that is, the direction in which the X-ray is irradiated to the object to be inspected are the second inspection images Ps1 and Ps2.
  • the observation direction that is constrained by the overlapping state in which the transport form forms an unexpected shape or the placement state that is prioritized to stabilize the transport of the inspected object that is liable to fall causes a blind spot in the X-ray image. It is possible to perform an inspection process that can accurately detect a foreign substance or a specific shape even in a state where it is caused.
  • the inspection target is accurately observed with an X-ray image from a suitable observation line-of-sight direction regardless of changes in the posture or shape of the object to be inspected W during transportation, even though the configuration is simple. It is possible to provide an X-ray inspection apparatus and an X-ray inspection method which can prevent false detection and reduce the size at low cost.
  • FIG. 4 shows a second embodiment for implementing the present invention as an X-ray detector capable of detecting a defective shape product that deviates from the allowable range of the shape and size of the object W to be inspected.
  • the basic device configuration is the same as that of the first embodiment shown in FIG. 1, and the operation thereof is an X-ray inspection process that generates a plurality of pseudo inspection images having different observation directions from the original image. Is different from the first embodiment in that by executing the above, deformation such as bending of the object W to be inspected or insufficient length due to bending is detected as a defect.
  • the same reference numerals as those of the corresponding components shown in FIG. 1 will be used for the same configurations as those of the first embodiment, and the differences from the first embodiment will be mainly described.
  • the control unit 30 has a pseudo three-dimensional information generation model 41 that acquires the above-mentioned pseudo three-dimensional information by deep learning, and a first two-dimensional predetermined image size from the X-ray image storage unit 31.
  • the first inspection image Pe from the X-ray image storage unit 31 has the A direction and the B direction orthogonal to the main observation direction of the first inspection image Pe as two separate observation directions.
  • the information such as the learned three-dimensional shape of the inspected object W of the learning target cultivar is output to the inspection image generation unit 42 as pseudo three-dimensional information.
  • the inspection image generation unit 42 uses the input first inspection image Pe and the corresponding pseudo three-dimensional information to obtain a second inspection image having a different observation direction from the input data D1 of the first inspection image Pe. Data D2 of Ps1 and Ps2 is created.
  • the inspection image Pe As shown in the inspection image Pe and the pseudo inspection images Ps1 and Ps2 which are the second inspection images, it is possible to grasp the defective shape of insufficient length (including the length in the width direction) by observing from the main observation direction and the A direction. Become.
  • the length width of the product is normal due to the warp or curvature of the object W to be inspected, the length is insufficient when observed from the main observation direction. If it is observed, there is a concern that even a normal product that satisfies the required product mass may be determined to be defective due to insufficient length. Of course, since the objects W to be inspected overlap each other, there is a concern that it may be determined that the length is excessive when observed from the main observation direction.
  • the object to be inspected is from the observation image in the B direction.
  • the X-ray generator 21 and the X-ray detector 24 are arranged in a simple configuration, but the observation line of sight is suitable regardless of the change in the posture or shape of the object to be inspected during transportation.
  • the inspection target can be accurately observed by the X-ray image from the direction, and the same effect as that of the first embodiment can be obtained.
  • (Third Embodiment) 5 and 6 show the present invention as an X-ray detector capable of detecting that the object W to be inspected is a defective shape product whose shape or size of the content or lumen is out of the allowable range. 3 Embodiments are shown.
  • the present embodiment also has the same basic device configuration as the first embodiment shown in FIG. 1, and the operation thereof is a plurality of pseudos having different observation directions from the original image. It differs from the first and second embodiments in that it detects defects in the shape and size of the contents of the object W to be inspected and the lumen by executing the X-ray inspection process for generating the inspection image.
  • the control unit 30 includes the above-mentioned pseudo three-dimensional information generation model 41 and the inspection image generation unit 42, and the pseudo three-dimensional information generation model 41 is an X-ray image storage.
  • the inspection image generation unit 42 uses information such as the three-dimensional shape learned about the inspected object W of the learning target cultivar as pseudo three-dimensional information. Output to. Then, the inspection image generation unit 42 uses the input first inspection image Pe and the corresponding pseudo three-dimensional information to obtain a second inspection image having a different observation direction from the input data D1 of the first inspection image Pe. Data D2 of Ps1 and Ps2 is created.
  • each food w1 to w6 is, for example, the contents of an ingredient or pulp having a predetermined shape wrapped in another edible casing material or the like.
  • the content of the food w4 is displayed in the first inspection image Pe in the main observation direction. It will be observed from the observation direction tilted in the length direction, and although it looks short, it is a normal product.
  • the pseudo inspection images Ps11 and Ps12 from the B direction and the pseudo inspection images Ps21 from the A direction are used for each observation transmission region including the shape of the contents of each food w1 to w6.
  • the content of the food w4 only looks thicker than the others in the A-direction image in FIG. 5, but as shown in the B-direction image in FIG. 5, the posture of the content of the food w4 is changed. Since it can be grasped, it can be prevented that the size is insufficient when observing from the main observation direction even though the contents are normal.
  • the pseudo inspection images Ps11 and Ps12 from the B direction and the pseudo inspection images Ps21 from the A direction are used for each observation transmission region including the local feature amount such as the shape of the contents of each food w1 to w6.
  • the contents of the food w4 only look like the others in the A-direction image in FIG. 6, but as shown in the B-direction image in FIG. 6, the length of the contents of the food w4. Since it is possible to accurately grasp that the content is insufficient, it is possible to prevent erroneous determination as normal even though the content is defective.
  • the X-ray generator 21 and the X-ray detector 24 are arranged in a simple configuration, but the observation line of sight is suitable regardless of the change in the posture or shape of the object to be inspected during transportation.
  • the inspection target can be accurately observed by the X-ray image from the direction, and the same effect as that of the first embodiment can be obtained.
  • the first inspection image Pe is an X-ray image only from the main observation direction in the vertical direction, but the present invention is inclined in opposite directions with respect to the vertical direction.
  • the X-ray inspection as in the first to third embodiments by the plurality of first inspection images and the plurality of second inspection images in the corresponding different observation directions. Needless to say, the processing of may be executed.
  • the inspection image generation unit 42 for creating a pseudo-transparent image uses a learner or an image generation model having a multi-layered neural network configuration using AI (artificial intelligence), but it depends on the product. Is a fixed form, and it is possible to generate pseudo-three-dimensional information using conventional three-dimensional recognition technology from the inclination and shape change of the fixed-form part depending on the observation direction in the X-ray image information observed in multiple directions, the image density gradient, and the like. There may be cases.
  • AI artificial intelligence
  • the inspection image output by the inspection image creation unit 42 to the determination unit 33 has been described as the second inspection images Ps1, Ps2 and the like which are pseudo inspection images, but of course, the data of the first and second inspection images. It goes without saying that after processing D1 and D2 into images suitable for determination, the corresponding images can be output to the determination unit 33, and comprehensive determination can be made based on a plurality of determination results.
  • the present invention always arranges the X-ray source and the X-ray detector in a simple configuration, but always X from a suitable observation direction regardless of the change in the shape or posture of the object to be inspected during transportation. It is possible to provide an X-ray inspection apparatus capable of accurately observing an inspection target with a line image, preventing false detections at low cost, and reducing the size.
  • the present invention is useful for all X-ray inspection devices suitable for detecting foreign substances, detecting missing items, and inspecting the shape and arrangement of the contents of an article to be inspected by using a plurality of inspection images.
  • X-ray inspection device 10 Conveyance unit 11 Conveyance belt 11a Running section 12, 13 Conveyor roller 20 X-ray inspection unit 21 X-ray generator (X-ray source) 22 X-ray tube 23 Enclosure 23a X-ray window 24 X-ray detector (X-ray sensor) 30 Control unit 31 X-ray image storage unit 32 Image processing unit 32a Filter processing means 33 Judgment unit 34 Display 41 Pseudo-three-dimensional information generation model (learner, inspection image creation unit) 42 Inspection image generation unit (inspection image creation unit, pseudo inspection image generation unit) 43 Setting device (designating means) D1 First inspection image data (original X-ray image data) D2 Second inspection image data (pseudo inspection image data) D3 Judgment image data D4 Extra-trace Pe 1st inspection image (original X-ray image) Ps1, Ps2 pseudo inspection image (second inspection image, observation image) Ps11, Ps12 pseudo inspection image (second inspection image, observation image) Ps

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

X線発生器(21)と、X線検出器(24)と、X線検出信号に基づいて被検査物(W)の品質状態を判定する判定部(33)とを備えるX線検査装置で、透過領域ごとのX線検出信号に対応する第1のX線画像(Pe)を記憶するX線画像記憶部(31)と、学習対象品種に関する疑似3次元情報を生成する疑似3次元情報生成モデル(41)と、学習対象品種に関する第1の検査画像(Pe)を基に疑似3次元情報により第1の検査画像(Pe)とは観察方向が異なる疑似の第2の検査画像(Ps1、Ps2)を作成する検査画像生成部(42)と、を備え、判定部(33)は、少なくとも検査画像生成部(42)で作成された第2の検査画像(Ps1、Ps2)に基づき、判定を実行する。

Description

X線検査装置およびX線検査方法
 本発明は、X線検査装置およびX線検査方法に関し、特に複数の検査画像を用いて異物検出や欠品検出、検査対象物品の内容物の形状や配置等を検査するのに好適なX線検査装置およびX線検査方法に関する。
 X線により被検査物に要求される品質状態を検査するX線検査装置、特に搬送中の被検査物に照射したX線の所定期間ごとの累積透過量を透過領域ごとのX線検出器により検出し、X線画像を作成するようにしたX線検査装置が、従前より知られている。
 また、このようなX線検査装置における検査方法として、異なる複数のX線画像のデータを取得し、それらX線画像のデータを基に異物検出処理に有用な画像を生成して、異物検出等の検査の精度を高めるようにしたものが知られている。
 従来のこの種のX線検査装置およびX線検査方法としては、例えば被検査物のX線画像を、異物の画像および異物を含まない被検査物の画像をそれぞれ重み付けして合成した観測画像と見做し、各検査対象物品についてエネルギ帯の異なる複数のX線透過画像を取得することで、異物と被検査物の重み付けを変化させた複数の観測画像を得るようにして、独立成分分析による分離画像に基づいた異物の画像識別および検出処理を行なうものがある(特許文献1参照)。
 また、被検査物に対し搬送面から外れる方向であって互いに異なる複数方向にファンビーム状のX線を照射して、各方向からのX線またはいずれかの方向からのX線により異物を認識可能にすることで、異物の形状や配置にかかわらず所要精度の異物検出を実行できるようにしたものもある(特許文献2参照)。
特開2009-192519号公報 特開2002-168802号公報
 しかしながら、上記従来の前者のX線検査装置およびX線検査方法にあっては、独立成分分析による異物画像の分離が可能になるものの、搬送中の被検査物を予め設定された方向で撮像したX線画像を基にその撮像方向を観察方向(視線方向)とする検査方式となっていたため、何らかの理由で不測の姿勢変化や形状変化が生じたような場合、例えば重なり等の搬送状態の変化、製品の曲がりや破損、折損等が生じた場合等に、観察方向が好適でないために異物成分の分離や形状の特徴把握が容易でなく、誤検知等を生じてしまう懸念があった。
 また、上記従来の後者のX線検査装置およびX線検査方法にあっては、複数方向からのX線ファンビームを被検査物の検査領域内で交差させる構成であったため、複数のX線源および複数のX線検出器が必要になり、X線検査装置の大型化やコスト高を招来してしまうという問題があった。
 本発明は、上述のような従来の課題を解決すべくなされたものであり、X線源やX線検出器を構成簡素に配置しながらも、搬送中の被検査物の形状や姿勢の変化にかかわらず常に好適な観察方向からのX線画像で検査対象を的確に観察でき、低コストで誤検知を未然に防止しかつ小型化を図ることができるX線検査装置およびX線検査方法を提供することを目的とする。
 (1)本発明に係るX線検査装置は、上記目的達成のため、搬送される被検査物を透過するX線を発生するX線発生器と、前記被検査物を透過したX線を検出してX線検出信号を出力するX線検出器と、前記X線検出信号に基づいて生成される検査画像により前記被検査物の品質状態を判定する判定部と、を備えるX線検査装置において、前記X線検出器から出力されるX線検出信号に対応し、前記X線が前記被検査物を透過する方向を観察方向とする第1の検査画像を記憶するX線画像記憶部と、前記被検査物の品種に関する疑似3次元情報を生成する疑似3次元情報生成モデルと、前記第1の検査画像と前記疑似3次元情報とにより、前記被検査物について前記第1の検査画像とは異なる観察方向の第2の検査画像を作成する検査画像生成部と、を備え、前記判定部は、少なくとも前記検査画像生成部で作成された前記第2の検査画像に基づき、前記判定を実行するものである。
 この構成により、本発明のX線検査装置では、X線検出器からのX線検出信号に対応する第1の検査画像として、X線画像記憶部に記憶される元の画像が学習対象品種の画像であるとき、学習対象品種に関する第1の検査画像を基にその検査画像とは観察方向の異なる第2の検査画像が検査画像生成部によって作成され、それら観察方向の異なる第1の検査画像および第2の検査画像のうち少なくとも第2の検査画像に基づいて判定部による判定が実行される。
 したがって、複数の観察方向を有する高検出精度のX線検査装置としながらも、X線源やX線検出器の配置を観察方向に応じて変更、保持するための機構が不要となり、簡素に構成可能となる。その結果、搬送中の被検査物の姿勢や形状の変化にかかわらず常に好適な観察視線方向からのX線画像で検査対象を的確に観察でき、低コストで誤検知を未然に防止しかつ小型化を図ることができるX線検査装置となる。
 (2)本発明の好ましい実施形態においては、前記疑似3次元情報により前記第2の検査画像を作成するときの前記観察方向を指定する指定手段をさらに有する構成とすることができる。
 この場合、例えば学習対象品種について経験的に予測され、あるいは搬送条件から当然に予測される好適な観察方向を指定手段によって予め指定したり、調整したりすることができ、処理時間の短縮や観察方向の最適化が可能となる。
 (3)本発明の好ましい実施形態においては、前記判定部が、前記第1の検査画像および前記第2の検査画像に基づいて、所定の特徴抽出処理を実行する画像処理手段を有している構成とすることもできる。
 所定の特徴抽出処理は、例えばX線画像データに微分処理を施すことによってX線透過量に応じた画像濃度の変化が急峻なエッジや検出対象形状の輪郭等を強調するような処理であり、X線透過画像にあらわれる局所的な濃淡の特徴をとらえることができる。
 (4)本発明の好ましい実施形態においては、前記疑似3次元情報生成モデルは、前記被検査物の品種に関する複数の観察方向のX線画像から、前記被検査物の品種の3次元形状に応じた濃淡パターンを学習したものとすることができる。
 ここにいう複数の観察方向には、被検査物の品種に関する第1の検査画像の観察方向と、同観察方向に対し視点位置を前後左右に移動させた別の複数の観察方向を含めることができ、例えば第1の検査画像の観察方向に対し略直交する複数の別観察方向を含めることができる。
 (5)本発明の好ましい実施形態においては、前記指定手段は、前記第2の検査画像を作成するときの前記観察方向を複数指定可能である構成とするのがよい。
 (6)本発明に係るX線検査方法は、上記目的達成のため、搬送される被検査物を透過するX線を発生するX線発生ステップと、前記被検査物を透過したX線を検出してX線検出信号を出力するX線検出ステップと、前記X線検出信号に基づいて生成される検査画像により前記被検査物の品質状態を判定する判定ステップと、を含むX線検査方法であって、前記X線検出ステップで出力されるX線検出信号に対応し、前記X線が前記被検査物を透過する方向を観察方向とする第1の検査画像を記憶するX線画像記憶ステップと、前記被検査物の品種に関する疑似3次元情報を生成する疑似3次元情報生成モデルと前記第1の検査画像とにより、前記被検査物について前記第1の検査画像とは異なる観察方向の第2の検査画像を作成する検査画像生成ステップと、をさらに含み、前記判定ステップでは、少なくとも前記検査画像生成ステップで生成された前記第2の検査画像に基づき、前記判定を実行することを特徴とする。
 この構成により、本発明のX線検査方法では、X線検出信号に対応する第1の検査画像として記憶された元の画像が被検査物の品種の画像であるとき、その品種に関する第1の検査画像を基にその検査画像とは観察方向の異なる第2の検査画像を作成し、それら観察方向の異なる第1の検査画像および第2の検査画像のうち少なくとも第2の検査画像に基づいて、被検査物の品質状態についての判定を実行する。
 このようにすると、第1の検査画像の観察方向すなわち被検査物に対してX線を照射する方向に拘束されない任意の方向を観察方向とするX線画像を第2の検査画像とすることができ、例えば搬送形態が不測の形状をなすような重なり状態や、倒れやすい被検査物の搬送を安定化するために優先される載置状態によって制約を受ける観察方向がX線画像に死角を生じさせる状態等であっても、異物や特定形状を的確に検出可能な検査が可能となる。
 本発明によれば、X線源やX線検出器を構成簡素に配置しながらも、搬送中の被検査物の姿勢や形状の変化にかかわらず好適な観察視線方向からのX線画像で検査対象を的確に観察でき、低コストで誤検知を未然に防止しかつ小型化を図ることができるX線検査装置を提供することができる。
本発明の第1実施形態に係るX線検査装置の概略構成図である。 本発明の第1実施形態に係るX線検査装置で実施されるX線検査方法の概略の処理手順を示すフローチャートである。 本発明の第1実施形態に係るX線検査装置におけるX線検査方法で、元の画像から観察方向の異なる複数の疑似検査画像を生成する段階の説明図である。 本発明の第2実施形態に係るX線検査装置におけるX線検査方法で、元の画像から観察方向の異なる複数の疑似検査画像を生成する段階の説明図である。 本発明の第3実施形態に係るX線検査装置におけるX線検査方法で、被検査物をX線透視した元の画像から観察方向の異なる複数の疑似検査画像を生成する段階の説明図である。 本発明の第3実施形態に係るX線検査装置におけるX線検査方法で、不良の被検査物をX線透視した元の画像から観察方向の異なる複数の疑似検査画像を生成する段階の説明図である。
 以下、本発明を実施するための形態について、図面を参照しつつ説明する。
 (第1実施形態)
 図1ないし図3は、本発明を、搬送される被検査物(物品)中に混入した異物の検出が可能なX線検出装置およびX線検査方法として実施するための第1実施形態を示している。
 まず、本実施形態のX線検査装置の構成について説明する。
 図1および図2に示すように、X線検査装置1は、搬送部10、X線検査部20およびそれらの制御部30を具備しており、搬送部10によりコンベア搬送される被検査物Wに対しX線検査部20でX線を照射し、その透過X線量分布画像データを基に被検査物Wの品質状態を検査、例えば包装された食品等の被検査物W中への異物C(図3参照)の混入を検出するようになっている。なお、ここにいう品質状態とは、被検査物Wに製品として要求される品質や物理量の適否等、例えば混入異物の有無、欠品の有無、内容物の形状・サイズ・収納状態等の合否、密度・厚さ・体積もしくは質量の分布等である。
 搬送部10は、ループ状の搬送ベルト11を複数の搬送ローラ12、13に巻回させ、搬送ベルト11の上走区間11aにより被検査物Wを図1中の右方向に順次搬送することができるコンベアであり、図示しない筐体に支持されている。
 X線検査部20は、搬送部10により搬送される被検査物Wを透過する所定エネルギ帯のX線を発生するX線発生器21(X線源)を有しており、X線発生器21は、公知のX線管22でその管電流および管電圧に応じた波長および強度のX線を発生させるとともに、外囲器23のX線窓部23aを通し、搬送ベルト11上の所定検査区間の被検査物Wに対して、搬送部10の物品搬送方向とは直交する主観察方向に向かうファンビーム状のX線を照射できるようになっている。
 X線検査部20は、さらに、搬送ベルト11の上走区間11aの直下に配置されたX線検出器24を有している。
 このX線検出器24は、詳細を図示しないが、例えば蛍光体であるシンチレータとフォトダイオードもしくは電荷結合素子とからなる検出素子を、搬送部10の搬送路の幅員方向にアレイ状に所定ピッチで配設し、所定解像度でのX線検出を行なうようにしたX線ラインセンサカメラで構成されており、X線発生器21からのX線照射位置に対応する搬送方向所定位置に配置されている。
 すなわち、X線検出器24は、X線発生器21から照射されて被検査物Wを透過したX線を前記検出素子に対応する所定透過領域ごとに検出し、そのX線の透過量に応じた電気信号に変換して、X線の透過する方向を観察方向とするX線透過画像を生成するためのX線検出信号を出力できるようになっている。
 制御部30は、搬送部10での搬送ベルト11による被検査物Wの搬送速度や搬送間隔等を制御する搬送制御手段と、X線検査部20におけるX線照射強度や照射期間を制御したり被検査物Wの搬送速度に応じたX線検出器24のX線ラインセンサでのX線検出周期および各被検査物Wの検出期間等を制御したりする検査制御手段とを含んでいるが、詳細な図示は省略している。
 制御部30は、また、各被検査物Wの検査期間中にX線検出器24からの所定周期ごとのX線検出信号を取り込んでX線透過画像を記憶するX線画像記憶部31と、X線画像記憶部31に取り込まれた画像データを基に生成されるX線画像を検査画像として取り込んで所定のフィルタ処理等の画像処理を実行する画像処理部32と、その画像処理部32による処理後の画像データを基に所定の判定処理、例えば異物の有無の判定処理を実行する判定部33と、判定部33での判定結果を表示出力可能な表示器34と、を有している。
 X線画像記憶部31は、画像入力ユニットであり、例えばX線検出器24の複数の検出素子からの複数透過領域分のX線検出信号をそれぞれA/D変換し、X線検出器24における検出素子サイズに対応する所定の単位搬送時間ごとに、その検出素子の数n個(nは1より大きい整数で、例えば640個)すべての検出素子領域について、その単位時間内の累積の透過量のデータを、例えば0から1023までの階調を表す濃度レベルのデジタルデータとして画像メモリに書き込む動作(以下、ライン走査という)を実行するようになっている。
 また、X線画像記憶部31は、ライン走査が各被検査物Wの検査期間に応じた所定走査回数だけ繰り返されるとき、順次メモリに書き込まれた透過濃度データをX線画像データD1として生成し、画像処理部32に出力する機能を発揮するデータ処理プログラムおよび作業メモリ(図示していない)を有している。
 画像処理部32および判定部33は、例えば図示しないCPU、ROM、RAMおよびI/Oインターフェースを有するマイクロコンピュータと、後述する複数の処理部の各機能を発揮するための制御プログラムをROMと協働して読み出し可能に記憶した補助記憶装置と、タイマー回路等を含んで構成されており、ROM等に格納された制御プログラムに従って、CPUがRAM等との間でデータを授受しながら所定の演算処理を実行するとともに前記制御プログラムを実行するようになっている。
 画像処理部32は、X線画像記憶部31から取り込まれる被検査物WごとのX線画像に所定のフィルタ処理や長さ算出処理等を施すフィルタ処理手段32aを有している。このフィルタ処理手段32aは、被検査物WごとのX線画像に異物の輪郭(エッジ)の強調処理を施す特徴抽出フィルタ、例えばSobelフィルタのような微分フィルタで、注目画素の近傍領域に所定の演算式に基づく微分処理等を施して異物のエッジを強調するようになっている。
 画像処理部32は、さらに被測定物Wの混入異物検出を行う異物検出プログラムを有しており、この異物検出プログラムは、観察方向が異なる複数のX線画像として、元のX線画像データD1に対応する第1の検査画像Peと、後述する疑似検査画像のデータD2に対応する第2の検査画像Ps1、Ps2とについて、フィルタ処理手段32aによる前述の特徴抽出フィルタ処理を実行できるようになっている。
 判定部33は、画像処理部32からの観察方向の異なる複数の検査画像から被検査物W中に検出された特徴形状や異物等を検出したり、その検出対象物の面積、輪郭長および濃度和等の特徴量を算出したりして、そのような特徴量を所定の判定基準値と比較することで、判定条件を満たす異物あるいは不良形状(局所の特徴形状を含む)が被検査物W内に含まれるか否かを判定するようになっている。
 図1および図3に示すように、制御部30は、さらに、被検査物Wの品種に関して学習対象品種とした物品について、予めX線撮影した複数の観察方向のX線画像(透視画像)を基に、既知形状等に基づく3次元認識を行ったり、同一観察領域について互いに観察方向が異なる複数のX線画像を教師画像とする順伝播方向の深層学習を行ったりすることで、第1の検査画像Peからそれとは観察方向の異なる第2の検査画像Ps1、Ps2を生成可能にするための疑似3次元情報を取得する生成モデルである疑似3次元情報生成モデル41と、X線画像記憶部31からの2次元の所定画像サイズの第1の検査画像Peに対し、疑似3次元情報生成モデル41から供給される疑似3次元情報を基に所定のレンダリング処理を実行し、観察方向の異なる複数の疑似検査画像を第2の検査画像Ps1、Ps2として作成する検査画像生成部42と、学習対象品種の設定入力および第2の検査画像Ps1、Ps2の観察方向(別観察方向)の指定入力が可能な設定器43(指定手段)とを有している。
 ここでいう学習対象品種の物品とは、検査対象の被検査物Wに対して、内容物の形状や包装形態が類似したサンプル物品(Ws:図示せず)を指す。さらには、内容物の形状や包装形態について想定される変動を再現した複数のサンプル物品(Ws1、Ws2、・・・)としても良い。このようなサンプル物品(Ws)は、好ましくは、被検査物Wと同一種類、同一包装形態(内容物の数量等)であるとよいが、必ずしも実際に検査対象となる被検査物と同一でなくとも、材質、形状や包装形態が類似していれば、実用上問題ない精度のモデルが生成可能である点に留意すべきである。
 疑似3次元情報生成モデル41は、各学習対象品種の物品(Ws)について予め取得された観察方向が異なる(例えば満遍なく全方位にばらつく)複数の多諧調濃度のX線画像の画像データを用いて、それらの画像間における観察方向の違いとそれに伴う被検査物Wの局所的な、および、それより広い領域的な2次元投影像中の各要素の形状変化や画像濃度分布(例えば輝度勾配)の変化等といった特徴量の違いを学習し、更には既知の凹凸やテクスチャ情報等を把握した上で、それら特徴量の相違する複数の2次元画像を基に三角測量の原理等を用いて学習対象品種の物品(Ws)についての3次元モデル形状の情報を取得することができる学習器(図示せず)を含んで構成されている。
 この疑似3次元情報生成モデル41は、好ましくは所定角度単位の全方位的な多観察方向の多諧調濃度のX線画像の画像データを用いて、学習対象品種についての3次元モデル形状の情報を取得する。また、ここにいう複数の観察方向には、学習対象品種に関する第1の検査画像の観察方向と、同観察方向に対し視線が傾く(交差する)ように視点位置を移動させた少なくとも1つの別観察方向を含めることができ、さらに、第1の検査画像の観察方向に対し直交する方向やその直交方向を主観察方向回りに回転させるよう視点位置を移動させた別観察方向を含めることができる。このとき、ボトル入りの液体など倒れやすい形状の被検査物Wについて搬送形態に制約がある場合でも、保持姿勢を変えることができるケースなどを用いれば、容易に別観察方向のX線画像の画像データを得られる。
 また、疑似3次元情報生成モデル41は、X線画像記憶部31からの第1の検査画像の入力データが学習対象品種であるとき、その学習対象品種の被検査物Wについて学習済みの3次元形状等の情報を疑似3次元情報として検査画像生成部42に出力することができる。そして、検査画像生成部42は、疑似3次元情報を用いて、第1の検査画像の入力データから観察方向の異なる第2の検査画像のデータを作成するようになっている。
 具体的には、疑似3次元情報生成モデル41は、例えば学習対象品種の被検査物Wについて指定され得る観察方向ごとに、同品種の被検査物Wの予めラベル付けされた複数の学習対象のX線画像について、例えば各X線画像中にフィルタ(特徴抽出)処理可能な小領域を設定し、その小領域の画像データから局所特徴量を抜き出す畳み込み処理を、そのX線画像中で小領域を順次スライドさせながら繰り返してフィルタ内情報が畳み込まれた1層の畳込み層のレイヤ画像を作成したり、これを更に圧縮した1層のプーリング層のレイヤ画像を作成する特徴抽出と隣接するレイヤ画像間のノード(前述の特徴量の値)のランダムな重み付け結合からの組合せの特徴抽出を、フィルタや移動範囲等を変化させて多層に実行したりして、領域ベースでなければ抽出し難い特徴量変化を対象画像中の被検査物Wの位置ずれや回転等にかかわらず自動抽出可能な多層(n層)のニューラルネットワークを含んで構成されている。
 また、疑似3次元情報生成モデル41は、被検査物Wの所定の品種ごとにX線撮影によりサンプル作成された多数の第1の検査画像および第2の検査画像の学習対象画像の特徴点を予め検出した上で、ニューラルネットワークの各層の特徴量や隣接もしくは近接層のノード間の特徴量の関係を複数の観察方向の間で比較し、被検査物Wに照射されるX線の照射方向と観察方向のなす交差角度および交差方向の差異に対応する特徴量の差異、例えば2次元投影像の局所的なおよびそれより広い領域の特徴形状、その長さや半径、輝度勾配、透過量等の変化を把握して、多層のニューラルネットワークのレイヤ間の特定のノードの結合の組合せにおける特徴量の重み付け係数や活性化関数等の演算式を特定し、第1の検査画像の観察方向とは異なる任意の別観察方向の第2の検査画像に変更した場合に得られるX線画像の擬似検査画像を作成するための前述の疑似3次元情報として出力できるようになっている。
 検査画像生成部42は、疑似3次元情報生成モデル41における多層のニューラルネットワークに対応する画像生成用のニューラルネットワーク、例えば学習済みの各層の局所特徴のパラメータや重み付け係数等を用いる畳み込みニューラルネットワークを有しており、X線画像記憶部31からX線透過方向に対応する主観察方向の第1の検査画像のデータが入力されるとき、その入力画像と、疑似3次元情報生成モデル41からの前述の疑似3次元情報とに基づいて、主観察方向とは異なる観察方向として予め指定された観察方向の疑似検査画像である第2の検査画像のデータD2を生成することができる。なお、図1中では、第2の検査画像のデータD2は、主観察方向に対して直交する搬送面に対しそれぞれ略平行で互いに直交するA方向の疑似検査画像Ps1とB方向の疑似検査画像Ps2とを含んでいるが、第2の検査画像の観察方向およびその数は任意であり、観察方向の指定手段である設定器43により設定可能および変更可能である。
 検査画像生成部42は、さらに、第1の検査画像の教師画像を入力したとき、その入力に対するニューラルネットワーク出力と対応する第2の検査画像の教師画像との間における局所特徴量の誤差を算出し、その誤差を最小化するように、いわゆる逆伝播法によるパラメータ学習等を実行するようになっており、第1の検査画像の教師画像を入力したときの検査画像生成部42から出力されるデータD2が、第2の検査画像の教師画像に疑似する程度を所要の類似レベルに向上させ得るようになっている。
 制御部30は、このように観察方向が互いに異なる第1の検査画像および第2の検査画像のX線画像データ(例えばn行k列のデータ)を基に、被検査物Wに対するそれら複数の観察方向の検査画像における局所特徴量の違いを、多層のニューラルネットワーク構成の疑似3次元情報生成モデル41で学習しておき、その学習結果を用いる検査画像生成部42により、X線画像記憶部31から第1の検査画像のデータD1を基に他の観察方向の第2の検査画像のデータD2を作成することで、異物や不良形状等の的確な観察画像を取得できるように構成されている。
 この検査画像生成部42で生成された各第2の検査画像は、X線画像記憶部31からの第1の検査画像と同様に画像処理部32に取り込まれ、そこで、前述のフィルタ処理手段32aによって被検査物W内に含まれる異物等のエッジを強調する画像処理等がなされて判定部33に出力される。そして、判定部33により、例えば被検査物Wの内部に含まれる物体の2値画像から、その物体の面積、輪郭長および濃度和の3種類の特微量を算出し、それらの特微量を所定の判定基準値と比較することで、異物が被検査物W内に含まれるか否かが判定される。
 このように、本実施形態では、被検査物Wが所定の検査区間を通過する度にX線画像記憶部31に記憶される主観察方向の第1の検査画像のデータD1を基に、観察方向が異なる別観察方向の第2の検査画像のデータD2が作成されるとともに、その第2の検査画像が互いに観察方向の異なるA方向の疑似検査画像Ps1およびB方向の疑似検査画像Ps2として作成される。これにより、被検査物Wが部分的に重なってしまうような搬送形状変化が生じて、重なり部のX線透過厚さに応じて主観察方向における重なり部の画像濃度が増加し、X線吸収線量が大きい異物等と重なり部が区別し難くなるような場合でも、いずれかの観察方向の好適な第2の検査画像、例えばA方向の疑似検査画像Ps1を用いることで、異物等やその位置関係を的確に観察可能にしている。
 なお、ここでは、第1の検査画像は主観察方向を特定する真の透過画像として扱い、判定部33による判定は、互いに観察方向の異なる第1および第2の検査画像のうち第2の検査画像に基づいて実行されるものとしているが、必要に応じ第2の検査画像と併せて第1の検査画像を判定に用いることは勿論可能である。すなわち、判定部33による判定は、第1および第2の検査画像のうち少なくとも第2の検査画像に基づいて実行され得るものである。
 次に、本実施形態の作用について説明する。
 図2は、本実施形態のX線検査装置1で実行される一実施形態のX線検査方法における概略の処理手順を示している。
 図2および図3に示すように、まず、搬送部10により被検査物W(図3中では、例えば複数のソーセージ)が所定の速度および搬送間隔で搬送されるとともに、所定の検査区間を通過する。次いで、検査区間内への被検査物Wの進入が図示しない物品検知センサで検知されると、X線検査部20のX線発生器21で被検査物Wを透過可能なX線を発生させる(X線発生ステップ)。このX線は被検査物Wに照射され、透過したX線がX線検出器24のライン走査によって所定透過領域ごとに検出されて(X線検出ステップ)、そのX線の透過量に応じたX線検出信号が、X線検出器24から出力されてX線画像記憶部31に順次取り込まれる(X線画像記憶ステップ)。
 そして、X線検出器24のライン走査が所定走査回数だけ繰り返される間に、X線画像記憶部31に順次書き込まれた透過量をその各画素の濃度値とする元の画像(以下、元画像という)のデータが取得され(ステップS11)、第1の検査画像のデータD1として画像処理部32に出力されるとともに、検査画像生成部42にも出力される。
 次いで、検査画像生成部42により、X線画像記憶部31からの入力画像である第1の検査画像と疑似3次元情報生成モデル41からの前述の疑似3次元情報とに基づいて、観察方向の異なる疑似検査画像である第2の検査画像のデータD2が生成される(ステップS12;検査画像生成ステップ)。
 次いで、画像処理部32により、X線画像記憶部31からの主観察方向の第1の検査画像Peと、検査画像生成部42からの第2の検査画像であるA方向の疑似検査画像Ps1およびB方向の疑似検査画像Ps2とを用いて、各観察方向の検査画像Pe、Ps1、Ps2について、異物や輪郭のエッジ強調等の処理がなされた判定用画像データD3が生成されるとともに、判定用画像データD3が例えば2値化され、所定の特微量D4(例えば長さ)が算出される。そして、判定部33で、特微量D4を所定の判定基準値と比較することで、異物の有無に対応する良否判定が実行される(ステップS13;判定ステップ)。
 このとき、例えば複数の被検査物Wの搬送形態が相互の重なりを生じ、その重なり部分で片方の被検査物Wに異物Cが混入していたとすると、図3中の第1の検査画像PeおよびB方向の疑似検査画像Ps2に示すように、重なり部分や長さ方向への観察ではX線の吸収線量が増加するためにX線画像の濃度が濃くなり、その範囲内に異物Cが混入していることが観察画像から容易に判定できないことが懸念される。しかしながら、本実施形態では、A方向からの疑似検査画像Ps1においては被検査物Wの重なり部分がなく、片方の被検査物W中に混入した異物Cが的確に観察可能となる。
 このように、本実施形態においては、X線検出器24からのX線検出信号に対応する元の画像としてX線画像記憶部31に記憶される第1の検査画像が、予め登録された学習対象品種の画像であるとき、その学習対象品種に関する第1の検査画像のデータD1を基に、その検査画像とは観察方向の異なる第2の検査画像のデータD2が検査画像生成部42によって生成される。そして、それら観察方向の異なる第1の検査画像Peおよび第2の検査画像Ps1、Ps2に基づいて判定部33による所定の判定処理が実行されることで、複数の観察方向を有する高異物検出精度のX線検査装置としながらも、X線発生器21やX線検出器24を簡素に配置可能な装置構成となる。その結果、被検査物Wの搬送中の姿勢や形状の変化にかかわらず常に好適な異物の検出や位置関係の把握に好適な観察視線方向からのX線画像で検査対象を的確に観察することができ、低コストで誤検知を未然に防止しかつ小型化を図ることができるX線検査装置を提供することができる。
 また、本実施形態では、疑似3次元情報生成モデル41により第2の検査画像のデータD2を作成するときの観察方向を指定する指定手段としての設定器43を有しているので、例えば学習対象品種について経験的に予測される、または形状から決定づけられる画像上での重なり合いが少ない観察方向、あるいは搬送条件から当然に予測される好適な観察方向を設定器43によって予め指定したり、その観察方向の水平方向の向きや垂直方向の傾き角を調整したりすることができ、処理時間の短縮や観察方向の最適化ができる。
 さらに、本実施形態では、第1の検査画像のデータD1および第2の検査画像のデータD2がそれぞれ2次元の画像であり、制御部30が、判定部33に加えて、両検査画像のデータD1、D2に対して、所定の特徴抽出処理を実行する画像処理部32(画像処理手段)を有しているので、例えば各検査画像のデータD1、D2に微分処理を施すことによってX線透過量に応じた画像濃度の変化が急峻なエッジや検出対象形状の輪郭等を強調することが可能となり、X線透過画像の局所的な特徴をとらえて検査精度を有効に高めることができる。
 加えて、本実施形態では、疑似3次元情報生成モデル41を、学習対象品種に関する全方位的な多観察方向のX線画像から、被検査物Wの3次元形状を学習したものとするので、第2の検査画像のデータD2を生成するのに有効な疑似3次元情報を生成可能となる。
 また、本実施形態では、指定手段として設定器43が、第2の検査画像を作成するときの観察方向を複数指定可能であるので、第1の検査画像の観察方向に拘束されない任意の複数方向からの観察画像を第2の検査画像とすることができ、例えば被検査物Wの搬送形態が不測の形状をなすような重なり状態等であっても、異物や特定形状を的確に検出可能な検査が可能となる。
 設定器43による別観察方向の指定は、主観察方向に対して所定交差角(例えば90度、45度等)をなすとともに互いに等角度間隔(例えば90度、45度等)をなす複数の候補観察方向のうちいずれかを選択して指定するものであってもよいし、その所定交差角や等角度間隔を可変設定するものであってもよい。
 本実施形態のX線検査方法では、X線検出信号に対応する第1の検査画像Peとして記憶された元の画像が被検査物の品種の画像であるとき、その品種に関する第1の検査画像Peを基にその検査画像とは観察方向の異なる第2の検査画像Ps1、Ps2が作成され、それら観察方向の異なる第1の検査画像Peおよび第2の検査画像Ps1、Ps2のうち少なくとも第2の検査画像Ps1、Ps2に基づいて、被検査物の品質状態についての判定処理が実行される。
 したがって、第1の検査画像Peの観察方向すなわち被検査物に対してX線を照射する方向に拘束されない任意の方向を観察方向とするX線画像を第2の検査画像Ps1、Ps2とすることができ、例えば搬送形態が不測の形状をなすような重なり状態や、倒れやすい被検査物の搬送を安定化するために優先される載置状態によって制約を受ける観察方向がX線画像に死角を生じさせる状態等であっても、異物や特定形状を的確に検出可能な検査処理が可能となる。
 このように、本実施形態においては、簡素な構成にしながらも、搬送中の被検査物Wの姿勢や形状の変化にかかわらず好適な観察視線方向からのX線画像で検査対象を的確に観察でき、低コストで誤検知を未然に防止しかつ小型化を図ることができるX線検査装置およびX線検査方法を提供することができる。
 (第2実施形態)
 図4は、本発明を、被検査物Wの形状やサイズの許容範囲から外れる形状不良品を検出可能なX線検出装置として実施するための第2実施形態を示している。
 本実施形態は、基本的な装置構成が図1に示す第1実施形態と同様のものであり、その動作が、元の画像から観察方向の異なる複数の疑似検査画像を生成するX線検査処理を実行することにより、被検査物Wの曲がり等の変形や折れによる長さ不足等を不良として検出する点で、第1実施形態とは相違する。以下、第1実施形態と同様な構成については図1に示した対応する構成要素と同一の符号を用い、主に第1実施形態との相違点について説明する。
 図4に示すように、制御部30は、前述の疑似3次元情報を深層学習によって取得する疑似3次元情報生成モデル41と、X線画像記憶部31からの2次元の所定画像サイズの第1の検査画像Peに対し、疑似3次元情報生成モデル41からの疑似3次元情報を基に、観察方向の異なる複数の第2の検査画像Ps1、Ps2を作成する検査画像生成部42とを含んで構成されている。
 疑似3次元情報生成モデル41は、第1の検査画像Peの主観察方向に対し直交するA方向およびB方向を2つの別観察方向として、X線画像記憶部31からの第1の検査画像Peが学習対象品種に関するものであるとき、その学習対象品種の被検査物Wについて学習済みの3次元形状等の情報を疑似3次元情報として検査画像生成部42に出力する。
 そして、検査画像生成部42は、入力される第1の検査画像Peと対応する疑似3次元情報とを用いて、第1の検査画像Peの入力データD1から観察方向の異なる第2の検査画像Ps1、Ps2のデータD2を作成する。
 このとき、例えば折れ易い被検査物Wの一部が折れて脱落してしまい、被検査物Wが形状やサイズの許容範囲から外れる程度に短くなってしまったとすると、図4中の第1の検査画像Peおよび第2の検査画像である疑似検査画像Ps1、Ps2に示すように、主観察方向およびA方向からの観察によって長さ(幅方向長さを含む)不足の不良形状を把握可能となる。
 ただし、B方向からの観察画像に示すように、被検査物Wに反りや湾曲が生じたために製品としての長さ幅が正常であるにもかかわらず、主観察方向からの観察では長さ不足と観察される場合には、必要な製品質量を満たす正常品であっても長さ不足の不良と判定されることが懸念される。勿論、被検査物Wが重なったために、主観察方向からの観察では長さが過大となる形状不良と判定されることも懸念される。
 本実施形態では、被検査物Wに曲りが生じ、A方向の疑似検査画像Ps1では厚さが増した程度でその曲りが把握し難い場合であっても、B方向の観察画像から被検査物Wの側面の輪郭形状を把握したりその輪郭長さを算出したりすることで、製品が正常品で長さ不足でないことが的確に判定可能となる。
 このように、本実施形態においても、X線発生器21やX線検出器24を構成簡素に配置しながらも、搬送中の被検査物Wの姿勢や形状の変化にかかわらず好適な観察視線方向からのX線画像で検査対象を的確に観察でき、第1実施形態と同様な効果を得ることができるものとなる。
 (第3実施形態)
 図5および図6は、本発明を、被検査物Wが内容物や内腔の形状もしくはサイズの許容範囲から外れる形状不良品であることを検出可能なX線検出装置として実施するための第3実施形態を示している。
 本実施形態も、第2実施形態と同様に、基本的な装置構成が図1に示す第1実施形態と同様のものであって、その動作が、元の画像から観察方向の異なる複数の疑似検査画像を生成するX線検査処理を実行することにより、被検査物Wの内容物や内腔の形状やサイズの不良を検出する点で、第1、第2実施形態とは相違する。
 図5および図6に示すように、制御部30は、前述の疑似3次元情報生成モデル41および検査画像生成部42を含んで構成されおり、疑似3次元情報生成モデル41は、X線画像記憶部31からの第1の検査画像Peが学習対象品種に関するものであるとき、その学習対象品種の被検査物Wについて学習済みの3次元形状等の情報を疑似3次元情報として検査画像生成部42に出力する。そして、検査画像生成部42は、入力される第1の検査画像Peと対応する疑似3次元情報とを用いて、第1の検査画像Peの入力データD1から観察方向の異なる第2の検査画像Ps1、Ps2のデータD2を作成する。
 ここで、被検査物Wが複数の食品w1ないしw6を含み、各食品w1~w6が例えば所定形状の具材や果肉等の中身を他の食用ケーシング材等で包んだものであった場合、図5に示すように食品w4の中身が他の食品w1~w3、w5、w6の中身とは異なる斜め姿勢になったときには、主観察方向の第1の検査画像Pe中では食品w4の中身がその長さ方向に傾いた観察方向から観察されることになり、短く見えるが、正常品である。
 この場合、主観察方向の第1の検査画像Peのみで良否判定を行うと、被検査物Wに入った食品w4の中身がサイズ不足と判定されることが懸念される。
 しかしながら、本実施形態では、各食品w1~w6の中身の形状のような局所特徴量を含む観察透過領域ごとに、B方向からの疑似検査画像Ps11、Ps12やA方向からの疑似検査画像Ps21、Ps22、Ps23を準備することで、図5中のA方向画像では食品w4の中身は他より厚く見えるだけであるが、図5中のB方向画像に示すように、食品w4の中身の姿勢を把握できるので、中身が正常であるにもかかわらず、主観察方向からの観察ではサイズ不足と観察されることを防止できる。
 一方、図6に示すように食品w4の中身が他の食品w1~w3、w5、w6の中身より短いサイズ不足の不良品であったときには、主観察方向の第1の検査画像Pe中では食品w4の中身の長さが不足に見えるが姿勢が傾いたものかも知れず、的確に把握できない。よって、主観察方向の第1の検査画像Peのみで良否判定を行うと、被検査物Wに入った食品w4の中身がサイズ不足と判定されないことが懸念される。
 しかしながら、本実施形態では、各食品w1~w6の中身の形状のような局所特徴量を含む観察透過領域ごとに、B方向からの疑似検査画像Ps11、Ps12やA方向からの疑似検査画像Ps21、Ps22、Ps23を準備することで、図6中のA方向画像では食品w4の中身は他と同様に見えるだけであるが、図6中のB方向画像に示すように、食品w4の中身の長さが不足していることが的確に把握できるので、中身が不良であるにもかかわらず、正常と誤判定されることが防止できることになる。
 このように、本実施形態においても、X線発生器21やX線検出器24を構成簡素に配置しながらも、搬送中の被検査物Wの姿勢や形状の変化にかかわらず好適な観察視線方向からのX線画像で検査対象を的確に観察でき、第1実施形態と同様な効果を得ることができるものとなる。
 なお、上述の第1実施形態においては、第1の検査画像Peが鉛直方向の主観察方向のみからのX線画像であるものとしたが、本発明は、鉛直方向に対し互いに逆方向に傾く2つの主観察方向からの元画像を用いて、それら複数の第1の検査画像と対応する別観察方向の複数の第2の検査画像とによって第1ないし第3実施形態におけるようなX線検査の処理を実行するようにしてもよいことはいうまでもない。
 また、本発明にいう疑似透過画像を作成する検査画像生成部42は、AI(人工知能)を用いた多層式のニューラルネットワーク構成の学習器や画像生成モデルを使用するものとしたが、製品によっては定形であり、多方向観察したX線画像情報中での観察方向による定形部分の傾きや形状変化、画像濃度勾配等から従来の3次元認識技術を用いて疑似3次元情報を生成可能となる場合も考えられる。
 さらに、検査画像作成部42が判定部33に対して出力する検査画像を疑似検査画像である第2の検査画像Ps1、Ps2等として説明したが、勿論、第1、第2の検査画像のデータD1、D2を判定に適した画像に処理した後、それぞれに対応する画像を判定部33に出力することもでき、複数の判定結果を基に総合判定することができることはいうまでもない。
 以上説明したように、本発明は、X線源やX線検出器を構成簡素に配置しながらも、搬送中の被検査物の形状や姿勢の変化にかかわらず常に好適な観察方向からのX線画像で検査対象を的確に観察でき、低コストで誤検知を未然に防止しかつ小型化を図ることができるX線検査装置を提供することができるものである。かかる本発明は、複数の検査画像を用いて異物検出や欠品検出、検査対象物品の内容物の形状や配置等を検査するのに好適なX線検査装置全般に有用である。
 1 X線検査装置
 10 搬送部
 11 搬送ベルト
 11a 上走区間
 12、13 搬送ローラ
 20 X線検査部
 21 X線発生器(X線源)
 22 X線管
 23 外囲器
 23a X線窓部
 24 X線検出器(X線ラインセンサ)
 30 制御部
 31 X線画像記憶部
 32 画像処理部
 32a フィルタ処理手段
 33 判定部
 34 表示器
 41 疑似3次元情報生成モデル(学習器、検査画像作成部)
 42 検査画像生成部(検査画像作成部、疑似検査画像生成部)
 43 設定器(指定手段)
 D1 第1の検査画像のデータ(元のX線画像のデータ)
 D2 第2の検査画像のデータ(疑似検査画像のデータ)
 D3 判定用画像データ
 D4 特微量
 Pe 第1の検査画像(元のX線画像)
 Ps1、Ps2 疑似検査画像(第2の検査画像、観察画像)
 Ps11、Ps12 疑似検査画像(第2の検査画像、観察画像)
 Ps21、Ps22、Ps23 疑似検査画像(第2の検査画像、観察画像)
 W 被検査物
 w1~w6 食品(中身、内容物)
 

Claims (6)

  1.  搬送される被検査物を透過するX線を発生するX線発生器と、
     前記被検査物を透過したX線を検出してX線検出信号を出力するX線検出器と、
     前記X線検出信号に基づいて生成される検査画像により前記被検査物の品質状態を判定する判定部と、を備えるX線検査装置において、
     前記X線検出器から出力されるX線検出信号に対応し、前記X線が前記被検査物を透過する方向を観察方向とする第1の検査画像を記憶するX線画像記憶部と、
     前記被検査物の品種に関する疑似3次元情報を生成する疑似3次元情報生成モデルと、
     前記第1の検査画像と前記疑似3次元情報とにより、前記被検査物について前記第1の検査画像とは異なる観察方向の第2の検査画像を作成する検査画像生成部と、を備え、
     前記判定部は、少なくとも前記検査画像生成部で作成された前記第2の検査画像に基づき、前記判定を実行することを特徴とするX線検査装置。
  2.  前記疑似3次元情報により前記第2の検査画像を作成するときの前記観察方向を指定する指定手段をさらに有することを特徴とする請求項1に記載のX線検査装置。
  3.  前記判定部が、前記第1の検査画像および前記第2の検査画像に基づいて、所定の特徴抽出処理を実行する画像処理手段を有していることを特徴とする請求項1または2に記載のX線検査装置。
  4.  前記疑似3次元情報生成モデルは、前記被検査物の品種に関する複数の観察方向のX線画像から、前記被検査物の品種の3次元形状に応じた濃淡パターンを学習したものであることを特徴とする請求項1ないし3のうちいずれか一項に記載のX線検査装置。
  5.  前記指定手段は、前記第2の検査画像を作成するときの前記観察方向を複数指定可能であることを特徴とする請求項2に記載のX線検査装置。
  6.  搬送される被検査物を透過するX線を発生するX線発生ステップと、
     前記被検査物を透過したX線を検出してX線検出信号を出力するX線検出ステップと、
     前記X線検出信号に基づいて生成される検査画像により前記被検査物の品質状態を判定する判定ステップと、を含むX線検査方法であって、
     前記X線検出ステップで出力されるX線検出信号に対応し、前記X線が前記被検査物を透過する方向を観察方向とする第1の検査画像を記憶するX線画像記憶ステップと、
     前記被検査物の品種に関する疑似3次元情報を生成する疑似3次元情報生成モデルと前記第1の検査画像とにより、前記被検査物について前記第1の検査画像とは異なる観察方向の第2の検査画像を作成する検査画像生成ステップと、をさらに含み、
     前記判定ステップでは、少なくとも前記検査画像生成ステップで生成された前記第2の検査画像に基づき、前記判定を実行することを特徴とするX線検査方法。
     
PCT/JP2021/033560 2020-09-23 2021-09-13 X線検査装置およびx線検査方法 WO2022065110A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21872240.3A EP4220142A1 (en) 2020-09-23 2021-09-13 X-ray inspection device and x-ray inspection method
US18/245,200 US20230366838A1 (en) 2020-09-23 2021-09-13 X-ray inspection apparatus and x-ray inspection method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-158379 2020-09-23
JP2020158379A JP7506568B2 (ja) 2020-09-23 X線検査装置およびx線検査方法

Publications (1)

Publication Number Publication Date
WO2022065110A1 true WO2022065110A1 (ja) 2022-03-31

Family

ID=80845383

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/033560 WO2022065110A1 (ja) 2020-09-23 2021-09-13 X線検査装置およびx線検査方法

Country Status (3)

Country Link
US (1) US20230366838A1 (ja)
EP (1) EP4220142A1 (ja)
WO (1) WO2022065110A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023248573A1 (ja) * 2022-06-24 2023-12-28 富士フイルム株式会社 表示制御装置、表示制御方法、及び表示制御プログラム

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002168802A (ja) 2000-11-30 2002-06-14 Anritsu Corp X線異物検出装置
JP2002189002A (ja) * 2000-06-29 2002-07-05 Matsushita Electric Ind Co Ltd X線検査装置及び方法
JP2004340606A (ja) * 2003-05-13 2004-12-02 Matsushita Electric Ind Co Ltd X線異物位置検出装置及び方法
JP2009192519A (ja) 2008-01-17 2009-08-27 Anritsu Sanki System Co Ltd X線異物検出装置
US20100290582A1 (en) * 2005-11-16 2010-11-18 Matrix Technologies Gmbh X-ray testing method and x-ray testing device
JP2019023664A (ja) * 2018-11-14 2019-02-14 オムロン株式会社 X線検査の処理装置およびx線検査方法
JP6537008B1 (ja) * 2018-02-14 2019-07-03 株式会社イシダ 検査装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002189002A (ja) * 2000-06-29 2002-07-05 Matsushita Electric Ind Co Ltd X線検査装置及び方法
JP2002168802A (ja) 2000-11-30 2002-06-14 Anritsu Corp X線異物検出装置
JP2004340606A (ja) * 2003-05-13 2004-12-02 Matsushita Electric Ind Co Ltd X線異物位置検出装置及び方法
US20100290582A1 (en) * 2005-11-16 2010-11-18 Matrix Technologies Gmbh X-ray testing method and x-ray testing device
JP2009192519A (ja) 2008-01-17 2009-08-27 Anritsu Sanki System Co Ltd X線異物検出装置
JP6537008B1 (ja) * 2018-02-14 2019-07-03 株式会社イシダ 検査装置
JP2019023664A (ja) * 2018-11-14 2019-02-14 オムロン株式会社 X線検査の処理装置およびx線検査方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023248573A1 (ja) * 2022-06-24 2023-12-28 富士フイルム株式会社 表示制御装置、表示制御方法、及び表示制御プログラム

Also Published As

Publication number Publication date
EP4220142A1 (en) 2023-08-02
JP2022052167A (ja) 2022-04-04
US20230366838A1 (en) 2023-11-16

Similar Documents

Publication Publication Date Title
EP3271717B1 (en) Automated quality control and selection
JP2019164156A (ja) 検査装置
JP6537008B1 (ja) 検査装置
WO2022065110A1 (ja) X線検査装置およびx線検査方法
JP2005024549A (ja) X線検査装置
JP2016156647A (ja) 電磁波を使用した検査装置
JP3860154B2 (ja) X線検査装置
JP6619547B2 (ja) 検査装置
JP2003279503A (ja) X線検査装置
JP7295568B2 (ja) 検査装置及びプログラム
JP3917129B2 (ja) X線検査装置
JP2015137858A (ja) 検査装置
JP2021152489A (ja) 教師データ生成装置、検査装置及びプログラム
WO2019235022A1 (ja) 検査装置
JP7506568B2 (ja) X線検査装置およびx線検査方法
JP4170366B2 (ja) X線検査装置
JPH1062362A (ja) 青果物等の内部欠陥の検査方法
JP7193493B2 (ja) X線検査装置およびx線検査方法
JP3955559B2 (ja) X線検査装置
JP7240780B1 (ja) 検査装置
JP7445621B2 (ja) X線検査装置およびx線検査方法
JP2023114828A (ja) 検査装置、学習モデル生成方法および検査方法
JP6306352B2 (ja) X線検査装置
JP7250301B2 (ja) 検査装置、検査システム、検査方法、検査プログラム及び記録媒体
JP2023114827A (ja) 検査装置、学習モデル生成方法および検査方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21872240

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021872240

Country of ref document: EP

Effective date: 20230424