JP2005031069A - X-ray inspection apparatus - Google Patents

X-ray inspection apparatus Download PDF

Info

Publication number
JP2005031069A
JP2005031069A JP2004175922A JP2004175922A JP2005031069A JP 2005031069 A JP2005031069 A JP 2005031069A JP 2004175922 A JP2004175922 A JP 2004175922A JP 2004175922 A JP2004175922 A JP 2004175922A JP 2005031069 A JP2005031069 A JP 2005031069A
Authority
JP
Japan
Prior art keywords
ray
inspection
perimeter
image
inspection apparatus
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2004175922A
Other languages
Japanese (ja)
Inventor
Takashi Kabumoto
隆司 株本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ishida Co Ltd
Original Assignee
Ishida Co Ltd
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
Application filed by Ishida Co Ltd filed Critical Ishida Co Ltd
Priority to JP2004175922A priority Critical patent/JP2005031069A/en
Publication of JP2005031069A publication Critical patent/JP2005031069A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To maintain high inspection accuracy while shortening the time required for inspection for counting the number of articles in an X-ray inspection apparatus. <P>SOLUTION: The X-ray inspection apparatus includes an X-ray irradiating device 13 for irradiating X-rays; an X-ray line sensor 14; and a control computer 20. The X-ray line sensor 14 receives X-rays from the X-ray irradiating device 13. The control computer 20 performs image processing on an image by the X-rays received by the X-ray line sensor 14 and inspects merchandise passing between the X-ray irradiating device 13 and the X-ray line sensor 14. In image processing or inspection, the control computer 20 computes the perimeters of lump parts on the image on the basis of the arrangement of circumference pixels forming the circumferences of the lump parts and compares them with a reference perimeter. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、X線検査装置、特に、X線による画像に対して画像処理を施して物品の検査を行うX線検査装置に関する。   The present invention relates to an X-ray inspection apparatus, and more particularly to an X-ray inspection apparatus that inspects an article by performing image processing on an X-ray image.

食品などの商品の生産ラインにおいては、商品への異物混入や商品の割れ欠けがある場合にそのような商品を出荷しないために、X線検査装置により検査が為されることがある。このX線検査装置では、連続搬送されてくる物品に対してX線を照射し、そのX線の透過状態をX線ラインセンサで検出して、物品中に異物が混入していないか、あるいは物品に割れ欠けが生じていたりパッケージ内の単位物品の数量が不足していたりしないかを判別する。また、X線検査装置によって、パッケージ内の物品の数量を数える検査が行われることもある。   In the production line of commodities such as foods, an inspection may be performed by an X-ray inspection apparatus in order to prevent shipment of such commodities when foreign matters are mixed into the commodities or the products are cracked. In this X-ray inspection apparatus, X-rays are irradiated to articles continuously conveyed, the X-ray transmission state is detected by an X-ray line sensor, and foreign matters are not mixed in the articles, or It is determined whether or not the product is cracked or missing or the quantity of unit items in the package is insufficient. In addition, the X-ray inspection apparatus may perform an inspection that counts the number of articles in the package.

このようなX線検査装置により物品の検査を行う場合には、検出画像と基準画像とのパターンマッチングを行うことが一般的である(例えば、特許文献1参照。)。
しかし、検出画像と基準画像とのパターンマッチングでは、両画像の方向を適合させたり複雑な類似判断処理を行ったりする必要があり、ある程度の時間がかかってしまう。
これに対し、高速性が要求される食品等の生産ラインに配備されるX線検査装置では、物品の数量を数えたり物品の数量を確認したりする検査についても、できるだけ画像処理にかかる時間を短くすることが求められている。また、物品の形状異常を検査するX線検査装置においても、同様に複雑な類似判断処理などに時間がかかっているが、できるだけ検査時間を短縮することが要求されている。
When inspecting an article with such an X-ray inspection apparatus, it is common to perform pattern matching between a detected image and a reference image (see, for example, Patent Document 1).
However, pattern matching between the detected image and the reference image requires a certain amount of time because it is necessary to adapt the directions of the two images or to perform a complicated similarity determination process.
In contrast, in an X-ray inspection apparatus deployed in a production line for food or the like that requires high speed, the time required for image processing is as much as possible for inspections that count the number of articles and confirm the quantity of articles. There is a need to shorten it. Also, in an X-ray inspection apparatus that inspects an abnormality in the shape of an article, it takes time to perform a similar similarity determination process. However, it is required to reduce the inspection time as much as possible.

もちろん、高価なハードウェアやソフトウェアを用いれば、パターンマッチングの処理を高速に行うことも可能であるが、現実的には高速性とともに低コストの要求も存在する。
このような課題を解決する技術が、特許文献2において提案されている。この検査装置では、検査対象物品の周囲を構成する画素の積算数を求め、その積算数が所定範囲にあるか否かにより検査対象物品の割れ欠けの有無を判別している。
特開2002−98652号公報(第6頁右欄) 特開2002−310946号公報
Of course, if expensive hardware or software is used, pattern matching processing can be performed at high speed, but in reality, there is a demand for low speed as well as high speed.
A technique for solving such a problem is proposed in Patent Document 2. In this inspection apparatus, the integrated number of pixels constituting the periphery of the inspection target article is obtained, and whether or not the inspection target article is cracked is determined based on whether or not the integrated number is within a predetermined range.
JP 2002-98652 A (right column on page 6) JP 2002-310946 A

特許文献2の検査装置においては、検査対象物品の周囲を構成する画素の積算数が検査対象物品の周囲長に比例すると見なし、積算数を判断対象としている。
しかし、このような積算数によって検査対象物品の周囲長を近似させるのでは、実際には誤差が大きくなって正確な検査を行うことが困難である。特に、検査対象物品の形状が複雑であったり湾曲部分を多く含むものであったりすると、検査対象物品の周囲を構成する画素の積算数が検査対象物品の周囲長に比例したものにならないことが多くなる。
In the inspection apparatus of Patent Document 2, it is assumed that the integrated number of pixels constituting the periphery of the inspection target article is proportional to the peripheral length of the inspection target article, and the integrated number is a determination target.
However, approximating the perimeter of the article to be inspected by such an integrated number actually increases the error and makes it difficult to perform an accurate inspection. In particular, when the shape of the inspection target article is complicated or includes many curved portions, the cumulative number of pixels that form the periphery of the inspection target article may not be proportional to the peripheral length of the inspection target article. Become more.

本発明の課題は、X線検査装置において、物品の検査に要する時間を短縮しつつ、検査の精度を高く維持することにある。   An object of the present invention is to maintain high inspection accuracy while reducing the time required for inspection of an article in an X-ray inspection apparatus.

請求項1に係るX線検査装置は、X線を照射するX線源と、X線受光部と、検査部とを備えている。X線受光部は、X線源からのX線を受光する。検査部は、X線受光部で受光したX線による画像に対して画像処理を施し、X線源とX線受光部との間を通る物品の検査を行う。また、検査部は、画像処理あるいは検査において、画像上の塊部分の周囲長を、その塊部分の周囲を形成する周囲画素の配列に基づき算出し、基準周囲長と比較する。   An X-ray inspection apparatus according to a first aspect includes an X-ray source that emits X-rays, an X-ray light receiving unit, and an inspection unit. The X-ray light receiving unit receives X-rays from the X-ray source. The inspection unit performs image processing on the X-ray image received by the X-ray light receiving unit, and inspects an article passing between the X-ray source and the X-ray light receiving unit. Further, in the image processing or inspection, the inspection unit calculates the peripheral length of the block portion on the image based on the arrangement of surrounding pixels that form the periphery of the block portion, and compares it with the reference peripheral length.

ここでは、X線源からのX線は、物品が存在するときには物品を透過して、それ以外のときには物品を透過せずに、X線受光部に届く。このX線による画像に対して画像処理が施され、さらに物品の検査が行われる。このようにして、検査部は、検体の形状が異常でないか、あるいは検体中の単位物品の数量が正常かといった検査を行う。
そして、ここでは、画像処理あるいは検査において、検査部が、画像上の塊部分の周囲長を基準周囲長と比較している。このように、物品を示す又は物品と推定される塊部分の周囲長と基準周囲長との比較を行うことで、簡易、高速、且つ比較的精度よく、画像処理や検査を行うことができるようになる。これにより、このX線検査装置では、物品の検査に要する時間が短縮される。
Here, the X-rays from the X-ray source pass through the article when the article is present, and otherwise reach the X-ray light receiving unit without passing through the article. Image processing is performed on the X-ray image, and further inspection of the article is performed. In this way, the inspection unit performs an inspection as to whether the shape of the sample is not abnormal or whether the number of unit articles in the sample is normal.
Here, in the image processing or inspection, the inspection unit compares the peripheral length of the block portion on the image with the reference peripheral length. As described above, by comparing the perimeter of the lump portion indicating the article or estimated as the article with the reference perimeter, image processing and inspection can be performed easily, at high speed, and with relatively high accuracy. become. Thereby, in this X-ray inspection apparatus, the time required for the inspection of the article is shortened.

また、ここでは、塊部分の周囲を形成する周囲画素の配列に基づいて塊部分の周囲長を算出しているため、単に周囲画素の数を積算して塊部分の周囲長を近似させる場合に較べて、塊部分の周囲長を精度よく求めることができている。このため、このX線検査装置では、物品の検査に要する時間を短縮できるとともに、検査の精度を高く維持することができる。   Here, since the perimeter of the lump portion is calculated based on the arrangement of surrounding pixels that form the perimeter of the lump portion, the number of surrounding pixels is simply added to approximate the perimeter of the lump portion. In comparison, the perimeter of the lump portion can be obtained with high accuracy. For this reason, in this X-ray inspection apparatus, the time required for the inspection of the article can be shortened, and the inspection accuracy can be maintained high.

請求項2に係るX線検査装置は、請求項1に記載のX線検査装置であって、検査部は、画像から物品と推定される塊部分と背景部分(塊部分の外側の部分)とを区別した後に、物品と推定される塊部分の周囲長を基準周囲長と比較することで、複数の物品の接触による画像上での複数の物品の一体化現象をチェックする。
複数の物品を含む画像に対して画像処理を施して検査を行う場合には、例えば、隣り合う2つの物品が接触するほど近くに位置しているとき、あるいは隣り合う2つの物品が実際に接触しているときに、画像上で2つの物品が1つに認識されてしまう可能性がある。こうなると、物品の数量を数える検査の場合には誤った数量を検知するようになり、物品の形状を検査する場合には正常物品を誤って異常物品と認識するようになってしまう。
The X-ray inspection apparatus according to claim 2 is the X-ray inspection apparatus according to claim 1, wherein the inspection unit includes a lump portion estimated as an article from an image and a background portion (a portion outside the lump portion). Then, the integration of the plurality of articles on the image due to the contact of the plurality of articles is checked by comparing the perimeter of the mass portion estimated as the article with the reference perimeter.
When inspecting an image including a plurality of articles by performing image processing, for example, when the two adjacent articles are close enough to contact each other, or the two adjacent articles are actually in contact with each other. The two articles may be recognized as one on the image. In this case, an incorrect quantity is detected in the case of inspection for counting the number of articles, and a normal article is erroneously recognized as an abnormal article when inspecting the shape of the article.

これに対し、請求項2の装置では、塊部分と背景部分とを区別した後に塊部分の周囲長を基準周囲長と比較することで、画像上での複数の物品の一体化現象をチェックできるようになっている。したがって、一体化現象が生じているにもかかわらず一体化現象がない場合と同様の画像処理や検査を継続して誤った検査結果を出してしまうことが抑制される。   On the other hand, in the apparatus of claim 2, the integration phenomenon of a plurality of articles on the image can be checked by distinguishing the lump portion and the background portion and comparing the peripheral length of the lump portion with the reference peripheral length. It is like that. Accordingly, it is possible to suppress the same image processing and inspection as in the case where there is no integration phenomenon despite the occurrence of the integration phenomenon, and giving erroneous inspection results.

請求項3に係るX線検査装置は、請求項2に記載のX線検査装置であって、検査部は、物品と推定される塊部分の周囲長を基準周囲長と比較することで画像上での複数の物品の一体化現象をチェックした後に、一体化現象が確認された塊部分について複数の物品に切り離す画像処理を行う。
ここでは、一体化現象を確認した場合に、一体化している複数の物品を画像上で切り離す処理を行うため、その切り離しの画像処理の後は、通常のロジックにより画像処理や検査を行うことができる。
The X-ray inspection apparatus according to claim 3 is the X-ray inspection apparatus according to claim 2, wherein the inspection unit compares the perimeter of the lump portion estimated as the article with the reference perimeter. After checking the integration phenomenon of the plurality of articles in the image processing, image processing for separating the lump portion in which the integration phenomenon is confirmed into a plurality of articles is performed.
Here, when the integration phenomenon is confirmed, a process of separating a plurality of integrated articles on the image is performed. After the separation image processing, image processing and inspection can be performed by normal logic. it can.

なお、本項の切り離しの画像処理を行わない場合には、検査の判定ロジックなどを変える必要が出てくる。例えば、2つの物品が画像上で一体化している場合に、周囲長から1つや3つではなく2つの物品が接触して一体化していることを認識して、その認識に基づいて物品の数量を検査するようなことが必要となる。
請求項4に係るX線検査装置は、請求項2又は3に記載のX線検査装置であって、検査部は、物品と推定される塊部分の周囲長を基準周囲長と比較することに加え、その塊部分の面積を基準面積と比較することで、画像上での複数の物品の一体化現象をチェックする。
Note that if the separation image processing described in this section is not performed, it is necessary to change the inspection determination logic and the like. For example, when two articles are integrated on the image, it is recognized from the perimeter that two articles are in contact with each other instead of one or three, and the quantity of the articles is based on the recognition. It is necessary to inspect.
The X-ray inspection apparatus according to claim 4 is the X-ray inspection apparatus according to claim 2 or 3, wherein the inspection unit compares the perimeter of the lump portion estimated as the article with the reference perimeter. In addition, the integration phenomenon of a plurality of articles on the image is checked by comparing the area of the lump portion with the reference area.

ここでは、画像上の塊部分の周囲長および面積の両方を基準値(基準周囲長および基準面積)と比較しているため、画像処理や検査の精度がより高くなる。
請求項5に係るX線検査装置は、請求項1から4のいずれかに記載のX線検査装置であって、検査部は、複数の物品の数量を検査する。
ここでは、箱などのパッケージに入った複数の物品の数量を計測したり所定数量と比較したりする検査を行うことができる。
Here, since both the perimeter and area of the lump portion on the image are compared with the reference values (reference perimeter and reference area), the accuracy of image processing and inspection becomes higher.
An X-ray inspection apparatus according to a fifth aspect is the X-ray inspection apparatus according to any one of the first to fourth aspects, wherein the inspection unit inspects the quantity of a plurality of articles.
Here, it is possible to perform an inspection in which the quantity of a plurality of articles contained in a package such as a box is measured or compared with a predetermined quantity.

請求項6に係るX線検査装置は、請求項5に記載のX線検査装置であって、複数の物品は、パッケージ内に収容されている内容物である。そして、検査部は、複数の内容物それぞれの平面的な重心の位置を画像上で求め、それらの重心の位置を基準重心位置と比較して、パッケージ内における複数の内容物の配置をさらに検査する。
ここでは、塊部分の周囲長を基準周囲長と比較して画像上での複数の物品(内容物)の一体化現象をチェックできるため、それぞれの内容物の重心位置の特定および基準重心位置との比較が可能となり、パッケージ内における複数の内容物の配置が検査できるようになっている。
An X-ray inspection apparatus according to a sixth aspect is the X-ray inspection apparatus according to the fifth aspect, wherein the plurality of articles are contents contained in a package. Then, the inspection unit obtains the position of the planar center of gravity of each of the plurality of contents on the image, compares the position of the center of gravity with the reference center of gravity position, and further inspects the arrangement of the plurality of contents in the package. To do.
Here, since the integration phenomenon of a plurality of articles (contents) on the image can be checked by comparing the peripheral length of the lump part with the reference peripheral length, the identification of the center of gravity of each content and the reference center of gravity position The arrangement of a plurality of contents in the package can be inspected.

請求項7に係るX線検査装置は、請求項1に記載のX線検査装置であって、検査部は、物品の形状の異常を検査する。
ここでは、物品を示す又は物品と推定される塊部分の周囲長と基準周囲長との比較を行うことで、簡易、高速、且つ比較的精度よく、物品の形状の異常を検査することができるようになる。
An X-ray inspection apparatus according to a seventh aspect is the X-ray inspection apparatus according to the first aspect, wherein the inspection unit inspects an abnormality in the shape of the article.
Here, by comparing the peripheral length of the lump portion indicating the article or estimated as the article with the reference peripheral length, it is possible to inspect abnormalities in the shape of the article easily, at high speed, and with relatively high accuracy. It becomes like this.

請求項8に係るX線検査装置は、請求項1に記載のX線検査装置であって、検査部は、塊部分の周囲長を基準周囲長と比較することに加え、塊部分の面積を基準面積と比較する。
ここでは、画像上の塊部分の周囲長および面積の両方を基準値(基準周囲長および基準面積)と比較しているため、画像処理や検査の精度がより高くなる。
An X-ray inspection apparatus according to claim 8 is the X-ray inspection apparatus according to claim 1, wherein the inspection unit compares the peripheral length of the lump portion with the reference peripheral length, Compare with reference area.
Here, since both the perimeter and area of the lump portion on the image are compared with the reference values (reference perimeter and reference area), the accuracy of image processing and inspection becomes higher.

請求項9に係るX線検査装置は、請求項1から8のいずれかに記載のX線検査装置であって、検査部は、隣接する周囲画素同士の距離の違いを加味して、塊部分の周囲長を算出する。
ここでは、周囲画素の配列に基づき、隣接する周囲画素同士の距離の違いを考慮に入れて、塊部分の周囲長を算出している。このため、塊部分の周囲長が精度よく求まる。
The X-ray inspection apparatus according to claim 9 is the X-ray inspection apparatus according to any one of claims 1 to 8, wherein the inspection unit takes into account a difference in distance between adjacent neighboring pixels, and a lump portion Calculate the perimeter of.
Here, based on the arrangement of surrounding pixels, the perimeter of the block portion is calculated taking into account the difference in distance between adjacent surrounding pixels. For this reason, the circumference of the lump portion can be obtained with high accuracy.

請求項10に係るX線検査装置は、請求項1から9のいずれかに記載のX線検査装置であって、画像は、縦横の2次元に配列された多数の画素により構成されている。そして、検査部は、隣接する周囲画素同士が縦または横に並んでいるのか、あるいは斜めに並んでいるのかを加味して、塊部分の周囲長を算出する。
ここでは、画素が縦横の2次元に配列されているため、隣接する周囲画素が縦や横に配置されている場合と斜めに配置されている場合とで、隣接する周囲画素同士の距離に違いが出る。隣接する周囲画素が縦や横に配置されている場合に較べて、隣接する周囲画素が斜めに配置されている場合には、周囲画素同士の距離が大きくなる。このようなことを加味して塊部分の周囲長を算出しているため、ここでは、算出した塊部分の周囲長が精度の高いものとなる。
An X-ray inspection apparatus according to a tenth aspect is the X-ray inspection apparatus according to any one of the first to ninth aspects, wherein the image is composed of a large number of pixels arranged in two dimensions vertically and horizontally. Then, the inspection unit calculates the perimeter of the lump portion by taking into account whether adjacent surrounding pixels are aligned vertically or horizontally or diagonally.
Here, since the pixels are arranged two-dimensionally in the vertical and horizontal directions, the distance between adjacent peripheral pixels differs depending on whether the adjacent peripheral pixels are arranged vertically or horizontally and obliquely. coming out. Compared to the case where adjacent surrounding pixels are arranged vertically or horizontally, when the adjacent surrounding pixels are arranged obliquely, the distance between the surrounding pixels is increased. Since the perimeter of the lump portion is calculated in consideration of the above, the calculated perimeter of the lump portion is highly accurate here.

請求項11に係るX線検査装置は、請求項1から10のいずれかに記載のX線検査装置であって、物品の実際の周囲長の寸法を入力する入力部をさらに備えている。
ここでは、X線検査装置の使用者は、入力部において、物品の実際の周囲長をそのまま手入力すればよく、物品の実際の周囲長をX線画像における周囲画素の数などに換算する必要がない。例えば、X線検査装置の近傍にスケールを配備しておけば、物品の実際の周囲長をX線検査装置の使用者が容易に測定することができる。
An X-ray inspection apparatus according to an eleventh aspect is the X-ray inspection apparatus according to any one of the first to tenth aspects, further comprising an input unit for inputting a dimension of an actual peripheral length of the article.
Here, the user of the X-ray inspection apparatus has only to manually input the actual perimeter of the article as it is in the input unit, and it is necessary to convert the actual perimeter of the article into the number of surrounding pixels in the X-ray image. There is no. For example, if a scale is provided near the X-ray inspection apparatus, the actual perimeter of the article can be easily measured by the user of the X-ray inspection apparatus.

本発明では、画像処理あるいは検査において、検査部が、画像上の塊部分の周囲長を基準周囲長と比較している。このように、物品を示す又は物品と推定される塊部分の周囲長と基準周囲長との比較を行うことで、簡易、高速、且つ比較的精度よく、画像処理や検査を行うことができるようになる。これにより、このX線検査装置では、物品の検査に要する時間が短縮される。また、本発明では、塊部分の周囲を形成する周囲画素の配列に基づいて塊部分の周囲長を算出しているため、単に周囲画素の数を積算して塊部分の周囲長を近似させる場合に較べて、塊部分の周囲長を精度よく求めることができている。このため、このX線検査装置では、物品の検査に要する時間を短縮できるとともに、検査の精度を高く維持することができる。   In the present invention, in image processing or inspection, the inspection unit compares the peripheral length of the block portion on the image with the reference peripheral length. As described above, by comparing the perimeter of the lump portion indicating the article or estimated as the article with the reference perimeter, image processing and inspection can be performed easily, at high speed, and with relatively high accuracy. become. Thereby, in this X-ray inspection apparatus, the time required for the inspection of the article is shortened. In the present invention, the perimeter of the lump portion is calculated based on the arrangement of surrounding pixels that form the perimeter of the lump portion. Therefore, when the peripheral length of the lump portion is approximated simply by adding the number of surrounding pixels Compared to the above, the perimeter of the lump portion can be obtained with high accuracy. For this reason, in this X-ray inspection apparatus, the time required for the inspection of the article can be shortened, and the inspection accuracy can be maintained high.

本発明の一実施形態に係るX線検査装置の外観を、図1に示す。このX線検査装置10は、食品等の商品の生産ラインにおいて品質検査を行う装置の1つであって、連続的に搬送されてくる商品に対してX線を照射して、商品を透過したX線量を基に商品の不良判断を行う装置である。
X線検査装置10の検体である商品Gは、図4に示すように、前段コンベア60によりX線検査装置10に運ばれてくる。商品Gは、X線検査装置10において異物混入検査、形状検査、内容物の数量検査の少なくとも1つの検査を受ける。このX線検査装置10での判断結果は、X線検査装置10の下流側に配置される振分機構70に送られる。振分機構70は、商品GがX線検査装置10において良品と判断された場合には商品Gを正規のラインコンベア80へと送り、商品GがX線検査装置10において不良品と判断された場合には商品Gを不良品貯留コンベア90へと振り分ける。
An appearance of an X-ray inspection apparatus according to an embodiment of the present invention is shown in FIG. This X-ray inspection apparatus 10 is one of the apparatuses that perform quality inspection in the production line of products such as foods. The X-ray inspection apparatus 10 transmits X-rays to the products that are continuously conveyed and transmits the products. This is a device for judging the defect of a product based on the X-ray dose.
As shown in FIG. 4, the product G, which is a specimen of the X-ray inspection apparatus 10, is conveyed to the X-ray inspection apparatus 10 by the front conveyor 60. The product G is subjected to at least one inspection of foreign matter mixing inspection, shape inspection, and content quantity inspection in the X-ray inspection apparatus 10. The determination result in the X-ray inspection apparatus 10 is sent to a distribution mechanism 70 disposed on the downstream side of the X-ray inspection apparatus 10. The distribution mechanism 70 sends the product G to the regular line conveyor 80 when the product G is determined to be a non-defective product in the X-ray inspection device 10, and the product G is determined to be a defective product in the X-ray inspection device 10. In this case, the product G is distributed to the defective product storage conveyor 90.

<X線検査装置の構成>
X線検査装置10は、図1及び図2に示すように、主として、シールドボックス11と、コンベア12と、X線照射器(X線源)13と、X線ラインセンサ(X線受光部)14と、タッチパネル機能付きのモニタ30と、制御コンピュータ20(図5参照)とから構成されている。
<Configuration of X-ray inspection apparatus>
As shown in FIGS. 1 and 2, the X-ray inspection apparatus 10 mainly includes a shield box 11, a conveyor 12, an X-ray irradiator (X-ray source) 13, and an X-ray line sensor (X-ray light receiving unit). 14, a monitor 30 with a touch panel function, and a control computer 20 (see FIG. 5).

〔シールドボックス〕
シールドボックス11は、両側面に、商品を搬出入するための開口11aを有している。このシールドボックス11の中に、コンベア12、X線照射器13、X線ラインセンサ14、制御コンピュータ20などが収容されている。
なお、図1には図示していないが、開口11aは、シールドボックス11の外部へのX線の漏洩を抑えるための遮蔽ノレンにより塞がれている。この遮蔽ノレンは、鉛を含むゴムから成形されるもので、商品が搬出入されるときには商品により押しのけられる。
[Shield box]
The shield box 11 has an opening 11a for carrying in / out a product on both side surfaces. In this shield box 11, a conveyor 12, an X-ray irradiator 13, an X-ray line sensor 14, a control computer 20 and the like are accommodated.
Although not shown in FIG. 1, the opening 11 a is closed with a shielding nore for suppressing leakage of X-rays to the outside of the shielding box 11. This shielding nolen is formed from rubber containing lead, and is pushed away by the product when the product is carried in and out.

また、シールドボックス11の正面上部には、モニタ30の他、キーの差し込み口や電源スイッチが配置されている。
〔コンベア〕
コンベア12は、シールドボックス11内において商品を搬送するものであり、図5に示すコンベアモータ12aにより駆動する。コンベア12による搬送速度は、使用者が入力した設定速度になるように、制御コンピュータ20によるコンベアモータ12aのインバータ制御によって細かく制御される。
In addition to the monitor 30, a key insertion slot and a power switch are arranged on the upper front portion of the shield box 11.
〔Conveyor〕
The conveyor 12 conveys goods in the shield box 11, and is driven by a conveyor motor 12a shown in FIG. The conveyance speed by the conveyor 12 is finely controlled by the inverter control of the conveyor motor 12a by the control computer 20 so as to be the set speed input by the user.

〔X線照射器〕
X線照射器13は、図2に示すように、コンベア12の上方に配置されており、下方のX線ラインセンサ14に向けて扇状のX線(図2の斜線範囲Xを参照)を照射する。
〔X線ラインセンサ〕
X線ラインセンサ14は、コンベア12の下方に配置されており、商品Gやコンベア12を透過してくるX線を検出する。このX線ラインセンサ14は、図3に示すように、コンベア12による搬送方向に直交する向きに一直線に水平配置された多くの画素14aから構成されている。
[X-ray irradiator]
As shown in FIG. 2, the X-ray irradiator 13 is disposed above the conveyor 12 and radiates fan-shaped X-rays (see the hatched area X in FIG. 2) toward the lower X-ray line sensor 14. To do.
[X-ray line sensor]
The X-ray line sensor 14 is disposed below the conveyor 12 and detects X-rays that pass through the product G and the conveyor 12. As shown in FIG. 3, the X-ray line sensor 14 includes a large number of pixels 14 a that are horizontally arranged in a straight line in a direction orthogonal to the conveying direction by the conveyor 12.

〔LCDモニタ〕
モニタ30は、フルドット表示の液晶ディスプレイである。また、モニタ30は、タッチパネル機能を有しており、初期設定や不良判断に関するパラメータ入力などを促す画面の表示も行う。
〔制御コンピュータ〕
制御コンピュータ20は、CPU21において、制御プログラムに含まれる異物検査ルーチン27、形状検査ルーチン28、数量検査ルーチン29などを実行する。また、制御コンピュータ20は、HDD25等の記憶部に、不良商品について検査で使った画像や検査結果を保存蓄積する。
[LCD monitor]
The monitor 30 is a full dot display liquid crystal display. The monitor 30 also has a touch panel function, and displays a screen that prompts input of parameters relating to initial settings and defect determination.
[Control computer]
In the CPU 21, the control computer 20 executes a foreign substance inspection routine 27, a shape inspection routine 28, a quantity inspection routine 29 and the like included in the control program. The control computer 20 also stores and accumulates images and inspection results used for inspection of defective products in a storage unit such as the HDD 25.

具体的な構成として、制御コンピュータ20は、図5に示すように、CPU21を搭載するとともに、このCPU21が制御する主記憶部としてROM22、RAM23、及びHDD(ハードディスク)25を搭載している。HDD25には、後述する商品毎の基準周囲長や基準面積といった基準値を記憶する基準値ファイル25a、検査画像や検査結果を記憶する検査結果ログファイル25bなどが収納されている。また、制御コンピュータ20は、フレキシブルディスクとの入出力を行うFDD(フレキシブルディスクドライブ)24も有している。   As a specific configuration, as shown in FIG. 5, the control computer 20 includes a CPU 21, and a ROM 22, a RAM 23, and an HDD (hard disk) 25 as a main storage unit controlled by the CPU 21. The HDD 25 stores a reference value file 25a for storing reference values such as a reference perimeter and a reference area for each product, which will be described later, and an inspection result log file 25b for storing inspection images and inspection results. The control computer 20 also has an FDD (flexible disk drive) 24 that performs input / output with the flexible disk.

さらに、制御コンピュータ20は、モニタ30に対するデータ表示を制御する表示制御回路、モニタ30のタッチパネルからのキー入力データを取り込むキー入力回路、図示しないプリンタにおけるデータ印字の制御等を行うためのI/Oポート等を備えている。
そして、CPU21、ROM22、RAM23、FDD24、HDD25などは、アドレスバス,データバス等のバスラインを介して相互に接続されている。
Further, the control computer 20 includes a display control circuit that controls data display on the monitor 30, a key input circuit that captures key input data from the touch panel of the monitor 30, and an I / O for controlling data printing in a printer (not shown). It has a port.
The CPU 21, ROM 22, RAM 23, FDD 24, HDD 25, and the like are connected to each other via a bus line such as an address bus or a data bus.

また、制御コンピュータ20は、コンベアモータ12a、ロータリエンコーダ12b、光電センサ15、X線照射器13、X線ラインセンサ14等と接続されている。
ロータリエンコーダ12bは、コンベアモータ12aに装着され、コンベア12の搬送速度を検知して制御コンピュータ20に送る。
光電センサ15は、検体である商品GがX線ラインセンサ14の位置にくるタイミングを検知するための同期センサであり、コンベアを挟んで配置される一対の投光器及び受光器から構成されている。
The control computer 20 is connected to a conveyor motor 12a, a rotary encoder 12b, a photoelectric sensor 15, an X-ray irradiator 13, an X-ray line sensor 14, and the like.
The rotary encoder 12b is mounted on the conveyor motor 12a, detects the conveying speed of the conveyor 12, and sends it to the control computer 20.
The photoelectric sensor 15 is a synchronous sensor for detecting the timing at which the product G as a specimen comes to the position of the X-ray line sensor 14, and is composed of a pair of light projectors and light receivers arranged with a conveyor interposed therebetween.

<制御コンピュータによる商品不良の判断>
〔X線画像作成〕
制御コンピュータ20は、光電センサ15からの信号を受けて、商品Gが扇状のX線照射部(図2参照)を通過するときに、X線ラインセンサ14によるX線透視像信号(図3参照)を細かい時間間隔で取得して、それらのX線透視像信号を基にして商品GのX線画像を作成する。すなわち、X線ラインセンサ14の各画素101等から細かい時間間隔をあけて各時刻のデータを得て、それらのデータから2次元画像が作成される。この2次元画像は、例えば図6(a)に示す画像61である。
<Determination of product defects by control computer>
[Create X-ray image]
The control computer 20 receives a signal from the photoelectric sensor 15, and when the product G passes through the fan-shaped X-ray irradiation unit (see FIG. 2), an X-ray fluoroscopic image signal (see FIG. 3) by the X-ray line sensor 14. ) At fine time intervals, and an X-ray image of the product G is created based on these X-ray fluoroscopic image signals. That is, data at each time is obtained from each pixel 101 of the X-ray line sensor 14 with a fine time interval, and a two-dimensional image is created from these data. This two-dimensional image is, for example, an image 61 shown in FIG.

〔異物混入検査〕
制御コンピュータ20のCPU21で実施される異物検査ルーチン27は、上記のようにして得られたX線画像を画像処理して、複数の判断方式によって商品の良・不良(異物が混入していないかどうか)を判断する。判断方式には、例えば、トレース検出方式、2値化検出方式、マスク2値化検出方式などがある。これらの判断方式で判断した結果、1つでも不良と判断するものがあれば、その商品Gは不良品と判断される。
[Foreign matter contamination inspection]
The foreign matter inspection routine 27 executed by the CPU 21 of the control computer 20 performs image processing on the X-ray image obtained as described above, and determines whether the product is good or bad (no foreign matter is mixed) by a plurality of judgment methods. Please). Examples of the determination method include a trace detection method, a binarization detection method, and a mask binarization detection method. As a result of the determination by these determination methods, if even one item is determined to be defective, the product G is determined to be defective.

トレース検出方式及び2値化検出方式は、画像のマスクされていない領域に対して判断を行う。一方、マスク2値化方式は、画像のマスクされている領域に対して判断を行う。マスクは、商品Gの容器部分などに対して設定される。
トレース検出方式は、被検出物の大まかな厚さに沿って基準レベル(しきい値)を設定し、像がそれよりも暗くなったときに商品G内に異物が混入していると判断する方式である。この方式では、比較的小さな異物を検出することができる。
In the trace detection method and the binarization detection method, a determination is made on an unmasked area of an image. On the other hand, in the mask binarization method, a determination is made on a masked area of an image. The mask is set for the container portion of the product G and the like.
In the trace detection method, a reference level (threshold value) is set along the rough thickness of the object to be detected, and it is determined that foreign matter is mixed in the product G when the image becomes darker than that. It is a method. In this method, a relatively small foreign object can be detected.

2値化検出方式及びマスク2値化方式は、一定の明るさに基準レベルを設定し、像がそれよりも暗くなったときに商品G内に異物が混入していると判断する方式である。この2値化検出方式は、比較的大きい異物を検出するために設定されている。
各判断方式における基準レベルやマスク領域については、モニタ30のタッチパネル機能を使った使用者からの入力によって、設定及び変更が為される。
The binarization detection method and the mask binarization method are methods in which a reference level is set at a constant brightness, and it is determined that foreign matter is mixed in the product G when the image becomes darker than that. . This binarization detection method is set to detect a relatively large foreign object.
The reference level and mask area in each determination method are set and changed by an input from the user using the touch panel function of the monitor 30.

〔数量検査〕
制御コンピュータ20のCPU21で実施される数量検査ルーチン29は、得られたX線画像に以下のような画像処理を施した後、複数の内容物が箱に収容された商品について、内容物の数量をカウントして商品が正常か否かを判定する検査を行う。
まず、数量検査ルーチン29は、X線ラインセンサ14によるX線透視像信号から得られるX線画像61(図6(a))を、2値化処理によって背景と背景以外とに分け、図6(b)に示す画像62を作成する。画像62において黒くなっている部分が背景である。ここでは、各内容物が白く現れているとともに、パッケージである箱も白く現れている。
[Quantity inspection]
The quantity inspection routine 29 executed by the CPU 21 of the control computer 20 performs the following image processing on the obtained X-ray image, and then the quantity of the contents for a product in which a plurality of contents are contained in a box. To check whether the product is normal or not.
First, the quantity inspection routine 29 divides the X-ray image 61 (FIG. 6A) obtained from the X-ray fluoroscopic image signal from the X-ray line sensor 14 into a background and a non-background by binarization processing. An image 62 shown in (b) is created. The black portion in the image 62 is the background. Here, the contents appear white, and the package box also appears white.

次に、画像62において周りを背景に囲まれている白い塊部分に対して、ラベリングが行われる。このラベリングでは、図7に示すように、各白領域(各塊部分)に対して、グループG1,グループG2,グループG3,・・・,グループGnというように、順にグループ番号が振られる。
次に、数量検査ルーチン29は、各グループについて、その領域の周囲長および面積を演算する。ここでは、図16に示す2値化処理後のX線画像における1つの白い塊部分(1つのグループ)を例にとって、そのグループの領域の周囲長および面積の算出方法について説明する。なお、図16に示すグループは、周囲長および面積の算出方法の説明のためのサンプルであり、図7に示すグループの何れかと一致するものではない(図7に示す各グループに較べて図16に示すグループは小さな周囲長および面積となっている。)。
Next, labeling is performed on the white block portion surrounded by the background in the image 62. In this labeling, as shown in FIG. 7, group numbers are sequentially assigned to each white region (each block portion) as group G1, group G2, group G3,..., Group Gn.
Next, the quantity inspection routine 29 calculates the perimeter and area of the region for each group. Here, a method of calculating the peripheral length and area of the area of the group will be described by taking one white lump portion (one group) in the binarized X-ray image shown in FIG. 16 as an example. Note that the group shown in FIG. 16 is a sample for explaining the calculation method of the perimeter and area, and does not coincide with any of the groups shown in FIG. 7 (as compared to each group shown in FIG. The group shown in Figure 2 has a small perimeter and area.)

グループの領域の面積については、グループを構成する白の画素の総数に1画素の面積(単位面積)を乗じて算出される。図16に示すグループの場合には、0.4ミリメートル角に相当する1画素の面積である0.16平方ミリメートルに、画素数の29を乗じることにより、4.64平方ミリメートルというグループの面積が算出される。
グループの領域の周囲長については、領域の周囲を形成する周囲画素の配列に基づき算出が行われる。具体的には、隣接する周囲画素同士の距離の違いを考慮して、隣接する周囲画素同士が縦または横に並んでいるのか、あるいは斜めに並んでいるのかを加味して、グループの領域の周囲長が算出される。このグループの領域の周囲長の算出方法について、図17から図20を参照して詳述する。まず、グループを構成する白い画素のうち左上の画素を注目画素に設定し、その座標を記憶する。縦横の2次元に配列された画素について図17に示すように座標が設定されている場合、左上の注目画素は「キ24」の座標にある画素となる。次に、この注目画素に隣接する画素を反時計回りに調べ(図17の矢印A101参照)、黒から白に変化する画素を特定する。ここでは、「キ23」の座標にある画素から「ク23」の座標にある画素に向かうときに画素が黒から白に変化し、そのうち白の画素(後者の「ク23」の座標にある画素)が特定される。この特定された画素が、2番目の注目画素となる。その次には、2番目の注目画素である「ク23」の座標にある画素に隣接する画素を反時計回りに調べ(図18の矢印A102参照)、同じく黒から白に変化する画素を特定する。このようなことを繰り返すと、注目画素が最初の注目画素に戻る。このときには、図19に示すように、注目画素となった画素群(「キ24」、「ク23」、「ケ22」、「コ22」、「サ23」、「シ24」、「シ25」、「サ26」、「コ27」、「ケ28」、「ク28」、「キ27」、「キ26」、「キ25」の座標にある画素)が、グループの領域の周囲を構成する全ての周囲画素と一致するようになる。このようにしてグループの領域の周囲画素が特定されると、数量検査ルーチン29は、グループの領域の周囲を一周する間に、上下(縦)あるいは左右(横)に移動した回数M1と、斜めに移動した回数M2と、縦横の画素の配設ピッチPLから、以下の式によりグループの領域の周囲長SLを算出する。
The area of the group region is calculated by multiplying the total number of white pixels constituting the group by the area (unit area) of one pixel. In the case of the group shown in FIG. 16, the area of the group of 4.64 square millimeters is obtained by multiplying 0.16 square millimeters, which is the area of one pixel corresponding to 0.4 millimeter square, by 29 of the number of pixels. Calculated.
The perimeter of the group area is calculated based on the arrangement of surrounding pixels that form the perimeter of the area. Specifically, considering the difference in distance between adjacent surrounding pixels, whether the adjacent surrounding pixels are aligned vertically or horizontally, or whether they are aligned diagonally, The perimeter is calculated. A method of calculating the perimeter of this group area will be described in detail with reference to FIGS. First, the upper left pixel among the white pixels constituting the group is set as a target pixel, and its coordinates are stored. When coordinates are set as shown in FIG. 17 for two-dimensionally arranged pixels in the vertical and horizontal directions, the pixel of interest at the upper left is the pixel at the coordinates of “Ki 24”. Next, a pixel adjacent to this pixel of interest is examined counterclockwise (see arrow A101 in FIG. 17), and a pixel that changes from black to white is specified. Here, the pixel changes from black to white when moving from the pixel at the coordinates of “Ki 23” to the pixel at the coordinates of “K 23”, of which the white pixel (the latter is at the coordinates of “K 23”). Pixel) is specified. This identified pixel becomes the second pixel of interest. Next, the pixel adjacent to the pixel at the coordinates of “K23”, which is the second target pixel, is examined counterclockwise (see arrow A102 in FIG. 18), and the pixel that similarly changes from black to white is specified. To do. If this is repeated, the target pixel returns to the first target pixel. At this time, as shown in FIG. 19, the pixel group (“K 24”, “K 23”, “K 22”, “K 22”, “S 23”, “S 24”, “ 25 ”,“ S26 ”,“ K27 ”,“ K28 ”,“ K28 ”,“ Ki27 ”,“ Ki26 ”,“ Ki25 ”pixels) around the group area It coincides with all the surrounding pixels that constitute. When the surrounding pixels of the group area are specified in this way, the quantity inspection routine 29 is inclined with the number of times M1 moved up and down (vertical) or left and right (horizontal) while making a round around the group area. The perimeter length SL of the group area is calculated from the number M2 of movements and the arrangement pitch PL of the vertical and horizontal pixels by the following formula.

SL=PL×(M1+M2×√2)
このように、斜めに移動した分について√2を乗じるようにすることで、単に移動回数を積算する場合に較べて周囲長SLが実際の周囲長に近い値になることが期待できる。ここでは、上下あるいは左右に移動した回数M1が、図20の矢印A3,A6,A10,A12,A13,A14で示すように6、斜めに移動した回数M2が、図20の矢印A1,A2,A4,A5,A7,A8,A9,A11で示すように8なので、
SL=0.4mm×(6+8×√2)=0.4mm×17.3=6.9mm
となる。
SL = PL × (M1 + M2 × √2)
In this way, by multiplying the amount of movement by √2, it can be expected that the peripheral length SL becomes a value close to the actual peripheral length as compared with the case where the number of movements is simply integrated. Here, the number of times M1 moved up and down or left and right is 6 as shown by arrows A3, A6, A10, A12, A13, and A14 in FIG. 20, and the number of times M2 moved obliquely is the arrows A1, A2, and A2 in FIG. Since it is 8 as shown by A4, A5, A7, A8, A9, A11,
SL = 0.4 mm × (6 + 8 × √2) = 0.4 mm × 17.3 = 6.9 mm
It becomes.

上記のような算出方法によって、各グループについて周囲長および面積を演算すると、例えば図8に示すような結果が得られる。
次に、各グループの周囲長および面積を、基準周囲長および基準面積と比較する。基準周囲長および基準面積は、数量検査が必要な商品についてそれぞれ予め設定されており、タッチパネル機能付のモニタ30から初期設定時に手入力された値がHDD25の基準値ファイル25aに記憶されている。手入力される基準周囲長および基準面積は、箱に収容された複数の内容物から成る商品のうち1つの内容物についての実際の寸法である。数量検査ルーチン29は、基準値ファイル25aからRAM23に対象商品の内容物の基準周囲長および基準面積を呼び出し、それらとグループ番号が振られた各白領域の周囲長および面積とを比較する。ここでは、基準周囲長が150ミリメートル以上250ミリメートル以下の範囲に、基準面積が2000平方ミリメートル以上2500平方ミリメートル以下の範囲に設定されている。したがって、図8を参照するとわかるように、パッケージである箱の一部と思われるグループG1とグループGnとの周囲長および面積が基準周囲長および基準面積の範囲から外れているとともに、2つの内容物が接触により画像上で一体化していると思われるグループG4の周囲長および面積が基準周囲長および基準面積の範囲から外れている。
When the perimeter and area are calculated for each group by the above calculation method, for example, a result as shown in FIG. 8 is obtained.
Next, the perimeter and area of each group are compared to the reference perimeter and reference area. The reference perimeter and the reference area are set in advance for each product requiring quantity inspection, and values manually input from the monitor 30 with a touch panel function at the time of initial setting are stored in the reference value file 25a of the HDD 25. The manually input reference perimeter and reference area are actual dimensions of one content among commodities composed of a plurality of contents contained in a box. The quantity inspection routine 29 calls the reference perimeter length and reference area of the contents of the target product from the reference value file 25a to the RAM 23, and compares them with the perimeter length and area of each white region to which the group number is assigned. Here, the reference peripheral length is set in a range of 150 millimeters to 250 millimeters and the reference area is set in a range of 2000 square millimeters to 2500 square millimeters. Therefore, as can be seen with reference to FIG. 8, the perimeter and area of the group G1 and the group Gn which are considered to be part of the package box are out of the range of the reference perimeter and reference area, and the two contents The perimeter and area of the group G4 where objects are considered to be integrated on the image by contact are out of the range of the reference perimeter and reference area.

次に、周囲長および面積が基準周囲長および基準面積の範囲から外れているグループ(ここでは、グループG1,G4,Gn)のうち周囲長および面積が基準周囲長および基準面積よりも大きいものについて、フィルタリングによる切り離し処理を施す。すなわち、ここでは、グループG4について切り離し処理を施す。図9(a)に示すように2つの内容物が画像上で一体化しているグループG4に切り離し処理を施すと、図9(b)に示すように2つの内容物が切り離された状態となる。この切り離し処理では、図10に示すように、背景(図10では、見易さを考慮して黒の代わりに斜線で示す)に囲まれたグループG4の白領域の各ポイントにおいて、そのポイントを中心とする所定半径の円を描いたときに背景領域とグループG4の領域との境界を何回通過するのかを数えて、その数が3以上となるポイントを背景に変える(黒に変える)。例えば、図10のポイントP1では描く円C1が上記境界を通過する回数が4回、ポイントP2では描く円C2が上記境界を通過する回数が2回、ポイントP3では描く円C3が上記境界を通過する回数が0回であるので、ポイントP1については白から黒に変更し、ポイントP2,P3については変更をしない。このような処理をグループG4の白領域全体に施すことにより、グループG4は、図9(b)に示すように2つのグループG4a,G4bに切り離された状態となる。   Next, among groups (here, groups G1, G4, and Gn) in which the perimeter and area are out of the range of the reference perimeter and reference area, the perimeter and area are larger than the reference perimeter and reference area. The separation process by filtering is performed. That is, here, the separation processing is performed on the group G4. When the separation processing is performed on the group G4 in which the two contents are integrated on the image as shown in FIG. 9A, the two contents are separated as shown in FIG. 9B. . In this separation process, as shown in FIG. 10, at each point in the white area of the group G4 surrounded by the background (in FIG. 10, it is shown by hatching instead of black for ease of viewing), the point is When a circle with a predetermined radius at the center is drawn, the number of times the boundary between the background region and the group G4 is passed is counted, and a point where the number is 3 or more is changed to the background (changed to black). For example, at the point P1 in FIG. 10, the circle C1 drawn passes the above boundary four times, at the point P2, the circle C2 drawn passes the above boundary twice, and at the point P3 the circle C3 drawn passes the above boundary. Since the number of times is 0, the point P1 is changed from white to black, and the points P2 and P3 are not changed. By performing such processing on the entire white area of the group G4, the group G4 is separated into two groups G4a and G4b as shown in FIG. 9B.

このように、上記のフィルタリングによる切り離し処理が終わると、図7に示すグループ構成が図11に示すグループ構成に変わる。そして、図11に示す各グループについて周囲長および面積を基準周囲長および基準面積と比較すると、基準周囲長および基準面積の範囲を外れるグループは、パッケージである箱の一部と思われるグループG1とグループGnとに絞られる。ここで、周囲長および面積が基準周囲長および基準面積の範囲にあるグループだけを抽出すれば図12に示す画像63が得られ、周囲長および面積が基準周囲長および基準面積の範囲にないグループだけを抽出すれば図13に示す画像64が得られる。画像63は、カウント対象である内容物だけを抽出した画像となり、画像64は、パッケージの部分だけを抽出した画像となる。   As described above, when the separation process by the filtering is completed, the group configuration illustrated in FIG. 7 is changed to the group configuration illustrated in FIG. Then, when the perimeter and the area are compared with the reference perimeter and the reference area for each group shown in FIG. 11, a group out of the range of the reference perimeter and the reference area is a group G1 that is considered to be a part of the package box. Focused on group Gn. Here, if only groups whose perimeter and area are in the range of the reference perimeter and reference area are extracted, the image 63 shown in FIG. 12 is obtained, and the group whose perimeter and area are not in the range of the reference perimeter and reference area. If only this is extracted, an image 64 shown in FIG. 13 is obtained. The image 63 is an image obtained by extracting only the contents to be counted, and the image 64 is an image obtained by extracting only the package portion.

上記のような画像処理により得られた図12の画像63に基づき、数量検査ルーチン29は、内容物の数量をカウントし、それが正常か否かを判定する。
また、制御コンピュータ20は、パッケージの部分だけを示す図13の画像64に基づき、パッケージの検査をすることも可能である。
〔形状検査〕
制御コンピュータ20のCPU21で実施される形状検査ルーチン28は、商品の外形が正常であるか否かを判定して、割れ欠けがあるような不良商品を不良品貯留コンベア90へと振り分けさせる。例えば、図14(a)に示すような丸い煎餅である商品Gが図14(b)に示すような欠けEがあるようなものになっていないかが検査される。
Based on the image 63 of FIG. 12 obtained by the image processing as described above, the quantity inspection routine 29 counts the quantity of contents and determines whether or not it is normal.
The control computer 20 can also inspect the package based on the image 64 of FIG. 13 showing only the package portion.
[Shape inspection]
The shape inspection routine 28 executed by the CPU 21 of the control computer 20 determines whether or not the outer shape of the product is normal, and distributes defective products having cracks to the defective product storage conveyor 90. For example, it is inspected whether the product G, which is a round rice cracker as shown in FIG. 14 (a), has a chip E as shown in FIG. 14 (b).

ここでも、数量検査と同様に、まず、X線ラインセンサ14によるX線透視像信号から得られるX線画像が、2値化処理によって背景と背景以外とに分けられる。
次に、背景の囲まれた商品を示す領域の周囲長および面積が演算され、その周囲長および面積が基準周囲長および基準面積と比較される。ここで、図14(a)に示す正常な商品Gであれば周囲長および面積が基準周囲長および基準面積の範囲に一致するが、図14(b)に示す欠けEのある商品Geであれば周囲長および面積が基準周囲長および基準面積の範囲から外れる。
Here, as in the quantity inspection, first, the X-ray image obtained from the X-ray fluoroscopic image signal by the X-ray line sensor 14 is divided into a background and a non-background by binarization processing.
Next, the perimeter and area of the region indicating the product surrounded by the background are calculated, and the perimeter and area are compared with the reference perimeter and reference area. Here, in the case of the normal product G shown in FIG. 14A, the perimeter and the area coincide with the reference perimeter and the range of the reference area, but the product Ge having the chip E shown in FIG. For example, the perimeter and area are out of the range of the reference perimeter and reference area.

そして、形状検査ルーチン28は、周囲長および面積が基準周囲長および基準面積の範囲から外れた商品を、割れや欠けがある不良商品であると判定し、振分機構70に振り分け指示を送る。
〔表示制御〕
制御コンピュータ20は、通常の検査が行われているときには、得られた商品GのX線画像及び各判断方式による判断に関する情報をモニタ30に表示させる。また、初期設定時やテスト時には、商品の特定や、上記の基準周囲長および基準面積を含む検査パラメータの入力画面などをモニタ30に表示させる。
Then, the shape inspection routine 28 determines that a product whose perimeter and area are out of the range of the reference perimeter and reference area is a defective product having a crack or a chip, and sends a sorting instruction to the sorting mechanism 70.
〔Display control〕
The control computer 20 causes the monitor 30 to display the X-ray image of the obtained product G and information related to the determination by each determination method when a normal inspection is performed. Further, at the time of initial setting or testing, the monitor 30 is displayed on the monitor 30 for specifying the product and inputting the inspection parameters including the reference perimeter and reference area.

<X線検査装置の主な特徴>
(1)
上記のX線検査装置10における検査は、従来と較べて以下のような利点を有する。
〔従来のX線検査装置〕
従来のX線検査装置においては、パターンマッチングによるカウント方式を採用しており、基準パターン画像の各部と撮像した画素との濃淡パターンの比較を行う。具体的には、まず、全体領域もしくは所定領域内の画像よりも狭い基準画像と個々の画像とを比較して、類似性を判断する。そして、領域内に基準画像と類似もしくは合致するものがいくつあるのかをカウントする。
<Main features of X-ray inspection equipment>
(1)
The inspection in the X-ray inspection apparatus 10 has the following advantages compared to the prior art.
[Conventional X-ray inspection equipment]
A conventional X-ray inspection apparatus employs a count method based on pattern matching, and compares the density patterns of each part of the reference pattern image and the captured pixels. Specifically, first, a similarity is determined by comparing a reference image narrower than an image in the entire region or a predetermined region with individual images. Then, the number of objects that are similar to or match the reference image in the region is counted.

しかし、個々の内容物が方向性を持つ場合、基準画像との方向性を適合させる必要がある。さらに、形状のマッチングをとる場合には、類似性を判断する複雑な処理(基準画像の回転など)が必要となる。
そして、全てのパターンマッチングが終わらなければ全体の数量がわからないため、複数の内容物の数量をカウントする数量検査において長い時間がかかってしまう。
However, when the individual contents have directionality, it is necessary to match the directionality with the reference image. Furthermore, when matching the shapes, complicated processing (such as rotation of the reference image) for determining similarity is required.
Then, since all the quantities cannot be known unless all the pattern matchings are completed, it takes a long time in the quantity inspection for counting the quantities of a plurality of contents.

また、パッケージの形状などは、通常、処理対象外として検査の対象から外れることも多い。検査対象とする場合には、上記と同様の複雑なパターンマッチングの処理が必要となる。
〔本実施形態のX線検査装置〕
X線検査装置10では、制御コンピュータ20は、形状検査ルーチン28や数量検査ルーチン29における画像処理において、画像上で塊部分(2値化後の背景以外の白領域)の周囲長を基準周囲長と比較している。このように、商品中の内容物あるいは商品を示す又は内容物と推定される塊部分の周囲長と基準周囲長との比較を行うことで、簡易、高速、且つ比較的精度よく、複数の内容物の数量のカウントや商品の形状検査を行うことができている。これにより、このX線検査装置10では、商品の検査に要する時間が従来よりもかなり短縮されている。
In addition, the shape of the package or the like is often excluded from the inspection target as a non-processing target. In the case of an inspection target, the same complicated pattern matching process as described above is required.
[X-ray inspection apparatus of this embodiment]
In the X-ray inspection apparatus 10, the control computer 20 uses the peripheral length of the lump portion (white area other than the background after binarization) on the image as the reference peripheral length in the image processing in the shape inspection routine 28 and the quantity inspection routine 29. Compare with In this way, by comparing the perimeter of the lump portion indicating the contents in the product or the product or estimated to be the content with the reference perimeter, a plurality of contents can be obtained simply, at high speed and with relatively high accuracy. It can count the quantity of goods and inspect the shape of products. Thereby, in this X-ray inspection apparatus 10, the time required for the inspection of the product is considerably shortened compared with the conventional case.

また、X線検査装置10では、画像上の塊部分の周囲長と基準周囲長との比較だけではなく、画像上の塊部分の面積と基準面積との比較を行って内容物を特定しているため、数量検査や形状検査の精度が十分に確保されるようになっている。
このような方法で数量検査や形状検査を行っているため、X線検査装置10では、従来のものに較べて検査の結果が出るまでの時間が短縮されている。
In addition, the X-ray inspection apparatus 10 specifies not only the comparison between the perimeter of the lump portion on the image and the reference perimeter, but also the comparison of the area of the lump portion on the image with the reference area to identify the contents. Therefore, sufficient accuracy of quantity inspection and shape inspection is ensured.
Since quantity inspection and shape inspection are performed by such a method, in the X-ray inspection apparatus 10, the time until the inspection result is obtained is shortened compared to the conventional one.

さらに、X線検査装置10では、塊部分の周囲を形成する周囲画素の配列に基づいて塊部分の周囲長を算出している。より具体的には、隣接する周囲画素同士の距離の違いが加味されるように、隣接する周囲画素同士が縦または横に並んでいるのか、あるいは斜めに並んでいるのかを考慮して、塊部分の周囲長を算出している。このため、単に周囲画素の数を積算して塊部分の周囲長を近似させる場合に較べて、塊部分の周囲長を精度よく求めることができている。   Further, the X-ray inspection apparatus 10 calculates the perimeter of the lump portion based on the arrangement of surrounding pixels that form the periphery of the lump portion. More specifically, in consideration of whether adjacent neighboring pixels are arranged vertically, horizontally, or diagonally so as to take into account the difference in distance between neighboring neighboring pixels, The perimeter of the part is calculated. For this reason, compared with the case where the number of surrounding pixels is simply added to approximate the circumference of the chunk, the circumference of the chunk can be determined with high accuracy.

(2)
複数の内容物を含む商品のX線画像に対して画像処理を施して数量検査を行う場合、例えば、隣り合う2つの内容物が接触するほど近くに位置しているとき、あるいは隣り合う2つの内容物が実際に接触しているときに、図7および図8(a)に示すように画像上で2つの内容物が1つに認識されてしまう可能性がある。こうなると、内容物の数量検査において誤った数量をカウントしてしまうなどの不具合が生じる。
(2)
When performing quantity inspection by performing image processing on an X-ray image of a product including a plurality of contents, for example, when two adjacent contents are close enough to contact each other or two adjacent contents When an object is actually in contact, two contents may be recognized as one on the image as shown in FIGS. 7 and 8A. If this happens, there will be problems such as counting the wrong quantity in the quantity inspection of the contents.

これに対し、X線検査装置10では、数量検査ルーチン29において、塊部分と背景部分とを2値化処理により区別した後に塊部分(白領域部分)の周囲長および面積を基準周囲長および基準面積と比較することで、画像上での複数の内容物の一体化現象をチェックしている。したがって、一体化現象が生じているにもかかわらず一体化現象がない場合と同様の画像処理や検査を継続して誤った検査結果を出してしまうという不具合が回避される。具体的には、複数の内容物の一体化現象が見つかった場合、一体化している複数の内容物を画像上で切り離す処理を行っている(図9参照)。   On the other hand, in the X-ray inspection apparatus 10, in the quantity inspection routine 29, after distinguishing the lump portion and the background portion by binarization processing, the perimeter length and area of the lump portion (white area portion) are set as the reference perimeter length and the reference length. The integration phenomenon of a plurality of contents on the image is checked by comparing with the area. Therefore, the problem that the same image processing and inspection as those in the case where there is no integration phenomenon despite the occurrence of the integration phenomenon is continued and an erroneous inspection result is output is avoided. Specifically, when an integration phenomenon of a plurality of contents is found, a process of separating the plurality of integrated contents on the image is performed (see FIG. 9).

<変形例>
(A)
上記実施形態において、数量検査ルーチン29では、フィルタリングによる切り離し処理後のグループ構成を示す図11の画像に基づき、カウント対象である内容物だけを抽出した画像63(図12参照)やパッケージの部分だけを抽出した画像64(図13参照)を作成し、内容物の数量のカウントやパッケージの検査を行っている。
<Modification>
(A)
In the above embodiment, in the quantity inspection routine 29, based on the image of FIG. 11 showing the group structure after the separation process by filtering, only the contents of the image 63 (see FIG. 12) extracted from the contents to be counted or only the package portion. An image 64 (see FIG. 13) is extracted, and the quantity of the contents is counted and the package is inspected.

これに加えて、図11の画像に基づき、複数の内容物それぞれの平面的な重心の位置を画像上で求め、パッケージ内における複数の内容物の配置についてさらに検査することも可能である。各内容物に相当するグループG2,G3,G4a,G4b,G5,・・・,Gn−1の領域に対して重心位置(図15において×印で示す位置)を演算し、それらの重心の位置を基準重心位置と比較すれば、パッケージ内における複数の内容物の配置についても検査もできるようになる。   In addition to this, based on the image of FIG. 11, the position of the planar center of gravity of each of the plurality of contents can be obtained on the image, and the arrangement of the plurality of contents in the package can be further inspected. A centroid position (position indicated by x in FIG. 15) is calculated for the regions of the groups G2, G3, G4a, G4b, G5,. Can be inspected with respect to the arrangement of a plurality of contents in the package.

(B)
上記実施形態では、商品の内容物の基準周囲長などを、タッチパネル機能付のモニタ30から初期設定時に使用者によって手入力してもらう構成を採っている。この場合には、X線検査装置10のモニタ30の近傍にスケールを配備しておき、使用者が内容物の実際の周囲長寸法を容易に測定できるようにしておくことが望ましい。モニタ30は、入力部となって、商品の内容物の基準周囲長として実際の内容物の寸法を受けつけるように構成されているため、使用者はスケールで測定した内容物の実寸法を換算することなくそのまま入力することができる。
(B)
In the above-described embodiment, a configuration is adopted in which the reference perimeter of the contents of the product is manually input by the user at the time of initial setting from the monitor 30 with a touch panel function. In this case, it is desirable to provide a scale near the monitor 30 of the X-ray inspection apparatus 10 so that the user can easily measure the actual perimeter length of the contents. Since the monitor 30 serves as an input unit and is configured to receive the actual content dimensions as the reference perimeter of the product contents, the user converts the actual dimensions of the contents measured on the scale. Can be input without any change.

なお、上記実施形態では基準周囲長が所定の範囲を持ったものになっているが、使用者に上限値および下限値を入力してもらわなくても、例えば使用者が入力した実際の内容物の実周囲長を基にして制御コンピュータ20のほうで+10%〜−10%の所定の範囲を自動演算することができる。
(C)
上記実施形態では、商品の内容物の基準周囲長などを、タッチパネル機能付のモニタ30から初期設定時に使用者によって手入力してもらう構成を採っているが、これを自動入力できるように構成することも可能である。
In the above embodiment, the reference perimeter has a predetermined range, but the actual contents input by the user can be obtained without having the user input the upper limit value and the lower limit value, for example. A predetermined range of + 10% to −10% can be automatically calculated by the control computer 20 based on the actual perimeter.
(C)
In the above embodiment, the configuration is such that the reference perimeter of the contents of the product is manually input by the user at the time of initial setting from the monitor 30 with a touch panel function. It is also possible.

例えば、CCDカメラで商品の内容物を撮影させ画像処理によって自動的に基準周囲長などを演算させてもよいし、割れ欠けのない良品である商品の内容物を予めX線検査装置10に流し、得られたX線画像から画像処理によって基準周囲長などを自動計算させてもよい。そして、その測定周囲長に対して、例えば基準周囲長の範囲が+10%〜−10%となるように制御コンピュータ20のほうで演算式を用意しておけば、使用者による手入力の手間を省くことができる。   For example, the content of the product may be photographed with a CCD camera and the reference perimeter may be automatically calculated by image processing, or the product content that is a good product with no cracks may be flowed to the X-ray inspection apparatus 10 in advance. The reference perimeter may be automatically calculated from the obtained X-ray image by image processing. Then, if an arithmetic expression is prepared in the control computer 20 so that, for example, the range of the reference peripheral length is + 10% to −10% with respect to the measurement peripheral length, the trouble of manual input by the user is reduced. It can be omitted.

(D)
上記実施形態では、数量検査ルーチン29が、X線画像61(図6(a))を2値化処理によって背景と背景以外とに分けて図6(b)に示す画像62を作成し、それぞれの白い塊部分に対して順にグループ番号を振り、各グループの周囲長を算出する際に、図17から図20を参照して説明した上記のような方法により、グループの領域の周囲を構成する周囲画素の特定を行っている。
(D)
In the above embodiment, the quantity inspection routine 29 creates the image 62 shown in FIG. 6B by dividing the X-ray image 61 (FIG. 6A) into a background and a non-background by binarization processing, When the group numbers are sequentially assigned to the white lump portions and the perimeter of each group is calculated, the perimeter of the group area is configured by the method described above with reference to FIGS. The surrounding pixels are specified.

このような周囲画素の特定方法ではなく、他の方法によって周囲画素の特定を行ってもよい。例えば、一般的な微分によるエッジ(周囲画素)の特定方法を用いてもよい。この場合には、グループのエッジ部分となる画素だけが特定され、例えば画像上においてエッジ部分の画素だけが白くなって抽出される。   The surrounding pixels may be specified by other methods instead of such a surrounding pixel specifying method. For example, a general method of specifying an edge (peripheral pixels) by differentiation may be used. In this case, only the pixels that are the edge portions of the group are specified, and for example, only the pixels of the edge portions are extracted white on the image.

本発明に係るX線検査装置は、物品の検査に要する時間を短縮できるとともに、検査の精度を高く維持することができるという特徴を有し、物品の検査装置として有用である。   The X-ray inspection apparatus according to the present invention has features that it can shorten the time required for inspection of an article and can maintain high inspection accuracy, and is useful as an inspection apparatus for an article.

本発明の一実施形態に係るX線検査装置の外観斜視図。1 is an external perspective view of an X-ray inspection apparatus according to an embodiment of the present invention. X線検査装置のシールドボックス内部の簡易構成図。The simple block diagram inside the shield box of a X-ray inspection apparatus. X線検査の原理を示す模式図。The schematic diagram which shows the principle of a X-ray inspection. X線検査装置の前後の構成を示す図。The figure which shows the structure before and behind an X-ray inspection apparatus. 制御コンピュータのブロック構成図。The block block diagram of a control computer. (a)X線ラインセンサによるX線透視像信号に基づくX線画像を示す図。(A) The figure which shows the X-ray image based on the X-ray fluoroscopic image signal by an X-ray line sensor.

(b)2値化処理後の画像を示す図。
2値化処理後の画像におけるラベリングを示す図。 ラベリングされた各グループに対して周囲長および面積を演算した結果を示す図。 (a)2つの内容物が画像上で一体化しているグループの切り離し処理前の図。
(B) The figure which shows the image after a binarization process.
The figure which shows the labeling in the image after a binarization process. The figure which shows the result of having calculated the perimeter and the area with respect to each labeled group. (A) The figure before the separation process of the group in which the two contents are integrated on the image.

(b)2つの内容物が画像上で一体化しているグループの切り離し処理後の図。
2つの内容物が画像上で一体化しているグループの切り離し処理方法を示す図。 切り離し処理後の画像におけるラベリングを示す図。 カウント対象である内容物だけを抽出した画像を示す図。 パッケージの部分だけを抽出した画像を示す図。 (a)欠けのない商品を示す図。
(B) The figure after the separation process of the group in which two contents are integrated on the image.
The figure which shows the separation | separation processing method of the group in which two contents are integrated on the image. The figure which shows the labeling in the image after a separation process. The figure which shows the image which extracted only the content which is a count object. The figure which shows the image which extracted only the part of the package. (A) The figure which shows the goods which are not missing.

(b)欠けのある商品を示す図。
切り離し処理後の画像におけるラベリングおよび重心位置表示を示す図。 各グループに対する周囲長の算出方法を説明するための図。 各グループに対する周囲長の算出方法を説明するための図。 各グループに対する周囲長の算出方法を説明するための図。 各グループに対する周囲長の算出方法を説明するための図。 各グループに対する周囲長の算出方法を説明するための図。
(B) The figure which shows the goods with a chip.
The figure which shows the labeling and center-of-gravity position display in the image after a separation process. The figure for demonstrating the calculation method of the perimeter for each group. The figure for demonstrating the calculation method of the perimeter for each group. The figure for demonstrating the calculation method of the perimeter for each group. The figure for demonstrating the calculation method of the perimeter for each group. The figure for demonstrating the calculation method of the perimeter for each group.

符号の説明Explanation of symbols

10 X線検査装置
13 X線照射器(X線源)
14 X線ラインセンサ(X線受光部)
20 制御コンピュータ(検査部)
25a 基準値ファイル
28 形状検査ルーチン
29 数量検査ルーチン
G1,G2,G3,G4,・・・,Gn グループ
10 X-ray inspection equipment 13 X-ray irradiator (X-ray source)
14 X-ray line sensor (X-ray detector)
20 Control computer (inspection department)
25a Reference value file 28 Shape inspection routine 29 Quantity inspection routine G1, G2, G3, G4,..., Gn group

Claims (11)

X線を照射するX線源と、
前記X線源からのX線を受光するX線受光部と、
前記X線受光部で受光したX線による画像に対して画像処理を施し、前記X線源と前記X線受光部との間を通る物品の検査を行う検査部と、
を備え、
前記検査部は、前記画像処理あるいは前記検査において、前記画像上の塊部分の周囲長を、前記塊部分の周囲を形成する周囲画素の配列に基づき算出し、基準周囲長と比較する、
X線検査装置。
An X-ray source that emits X-rays;
An X-ray light receiving unit for receiving X-rays from the X-ray source;
An inspection unit that performs image processing on an X-ray image received by the X-ray light receiving unit and inspects an article that passes between the X-ray source and the X-ray light receiving unit;
With
In the image processing or the inspection, the inspection unit calculates the perimeter of the block portion on the image based on the arrangement of surrounding pixels that form the periphery of the block portion, and compares it with a reference peripheral length.
X-ray inspection equipment.
前記検査部は、前記画像から前記塊部分と前記塊部分の外側の背景部分とを区別した後に、前記塊部分の周囲長を前記基準周囲長と比較することで、複数の前記物品の接触による前記画像上での複数の前記物品の一体化現象をチェックする、
請求項1に記載のX線検査装置。
The inspection unit distinguishes the lump portion and the background portion outside the lump portion from the image, and then compares the perimeter of the lump portion with the reference perimeter, thereby contacting a plurality of the articles. Checking the integration phenomenon of the plurality of articles on the image;
The X-ray inspection apparatus according to claim 1.
前記検査部は、前記一体化現象をチェックした後に、前記一体化現象が確認された前記塊部分について複数の前記物品に切り離す画像処理を行う、
請求項2に記載のX線検査装置。
The inspection unit, after checking the integration phenomenon, performs image processing for separating the lump portion in which the integration phenomenon is confirmed into a plurality of the articles.
The X-ray inspection apparatus according to claim 2.
前記検査部は、前記塊部分の周囲長を前記基準周囲長と比較することに加え、前記塊部分の面積を基準面積と比較することで、前記画像上での複数の前記物品の一体化現象をチェックする、
請求項2又は3に記載のX線検査装置。
In addition to comparing the peripheral length of the lump portion with the reference peripheral length, the inspection unit compares the area of the lump portion with a reference area, thereby integrating the plurality of articles on the image. Check
The X-ray inspection apparatus according to claim 2 or 3.
前記検査部は、複数の前記物品の数量を検査する、
請求項1から4のいずれかに記載のX線検査装置。
The inspection unit inspects the quantity of the plurality of articles;
The X-ray inspection apparatus according to claim 1.
複数の前記物品は、パッケージ内に収容されている内容物であり、
前記検査部は、複数の前記内容物それぞれの平面的な重心の位置を前記画像上で求め、それらの重心の位置を基準重心位置と比較して、前記パッケージ内における複数の前記内容物の配置をさらに検査する、
請求項5に記載のX線検査装置。
The plurality of articles are contents contained in a package,
The inspection unit obtains a position of a planar center of gravity of each of the plurality of contents on the image, compares the position of the center of gravity with a reference center of gravity position, and arranges the plurality of contents in the package Inspect further,
The X-ray inspection apparatus according to claim 5.
前記検査部は、前記物品の形状の異常を検査する、
請求項1に記載のX線検査装置。
The inspection unit inspects the shape of the article for abnormality;
The X-ray inspection apparatus according to claim 1.
前記検査部は、前記塊部分の周囲長を前記基準周囲長と比較することに加え、前記塊部分の面積を基準面積と比較する、
請求項1に記載のX線検査装置。
In addition to comparing the perimeter of the lump portion with the reference perimeter, the inspection unit compares the area of the lump portion with a reference area.
The X-ray inspection apparatus according to claim 1.
前記検査部は、隣接する前記周囲画素同士の距離の違いを加味して、前記塊部分の周囲長を算出する、
請求項1から8のいずれかに記載のX線検査装置。
The inspection unit calculates the perimeter of the lump portion, taking into account the difference in distance between the adjacent surrounding pixels,
The X-ray inspection apparatus according to claim 1.
前記画像は、縦横の2次元に配列された多数の画素により構成されており、
前記検査部は、隣接する前記周囲画素同士が縦または横に並んでいるのか斜めに並んでいるのかを加味して、前記塊部分の周囲長を算出する、
請求項1から9のいずれかに記載のX線検査装置。
The image is composed of a large number of pixels arranged in two dimensions, vertically and horizontally,
The inspection unit calculates the perimeter of the lump portion by taking into account whether the adjacent surrounding pixels are aligned vertically or horizontally or diagonally.
The X-ray inspection apparatus according to claim 1.
前記物品の実際の周囲長の寸法を入力する入力部をさらに備えた、
請求項1から10のいずれかに記載のX線検査装置。
An input unit for inputting a dimension of an actual perimeter of the article;
The X-ray inspection apparatus according to claim 1.
JP2004175922A 2003-06-19 2004-06-14 X-ray inspection apparatus Pending JP2005031069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004175922A JP2005031069A (en) 2003-06-19 2004-06-14 X-ray inspection apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003174839 2003-06-19
JP2004175922A JP2005031069A (en) 2003-06-19 2004-06-14 X-ray inspection apparatus

Publications (1)

Publication Number Publication Date
JP2005031069A true JP2005031069A (en) 2005-02-03

Family

ID=34220022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004175922A Pending JP2005031069A (en) 2003-06-19 2004-06-14 X-ray inspection apparatus

Country Status (1)

Country Link
JP (1) JP2005031069A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006284294A (en) * 2005-03-31 2006-10-19 Kansai Electric Power Co Inc:The Deterioration diagnosing device of electrolytic capacitor and deterioration diagnosing method using it
JP2012242289A (en) * 2011-05-20 2012-12-10 Anritsu Sanki System Co Ltd X-ray inspection device
WO2014061461A1 (en) * 2012-10-17 2014-04-24 株式会社システムスクエア Apparatus for inspecting packaging body
WO2014087862A1 (en) * 2012-12-07 2014-06-12 株式会社イシダ X-ray inspection device
US8827675B2 (en) 2011-03-30 2014-09-09 Nissei Plastic Industrial Co., Ltd. Mold for insert molding
WO2015041259A1 (en) 2013-09-18 2015-03-26 株式会社イシダ Inspection device
CN104677923A (en) * 2013-11-27 2015-06-03 株式会社石田 X-ray detection device
JP2015161522A (en) * 2014-02-26 2015-09-07 株式会社イシダ X-ray inspection device
WO2016117372A1 (en) * 2015-01-20 2016-07-28 株式会社イシダ Examination device
JP2018031585A (en) * 2016-08-22 2018-03-01 西部電機株式会社 Gravity detection device of bag-like article

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006284294A (en) * 2005-03-31 2006-10-19 Kansai Electric Power Co Inc:The Deterioration diagnosing device of electrolytic capacitor and deterioration diagnosing method using it
US8827675B2 (en) 2011-03-30 2014-09-09 Nissei Plastic Industrial Co., Ltd. Mold for insert molding
JP2012242289A (en) * 2011-05-20 2012-12-10 Anritsu Sanki System Co Ltd X-ray inspection device
JP5720029B2 (en) * 2012-10-17 2015-05-20 株式会社 システムスクエア Packaging inspection equipment
WO2014061461A1 (en) * 2012-10-17 2014-04-24 株式会社システムスクエア Apparatus for inspecting packaging body
US9541499B2 (en) 2012-10-17 2017-01-10 System Square Inc. Package inspection system
JPWO2014061461A1 (en) * 2012-10-17 2016-09-05 株式会社 システムスクエア Packaging inspection equipment
JP2014115138A (en) * 2012-12-07 2014-06-26 Ishida Co Ltd X-ray inspection device
CN104781656A (en) * 2012-12-07 2015-07-15 株式会社石田 X-ray inspection device
WO2014087862A1 (en) * 2012-12-07 2014-06-12 株式会社イシダ X-ray inspection device
WO2015041259A1 (en) 2013-09-18 2015-03-26 株式会社イシダ Inspection device
US9791591B2 (en) 2013-09-18 2017-10-17 Ishida Co., Ltd. Inspection device
CN104677923A (en) * 2013-11-27 2015-06-03 株式会社石田 X-ray detection device
JP2015161522A (en) * 2014-02-26 2015-09-07 株式会社イシダ X-ray inspection device
WO2016117372A1 (en) * 2015-01-20 2016-07-28 株式会社イシダ Examination device
CN107209131A (en) * 2015-01-20 2017-09-26 株式会社石田 Check device
JPWO2016117372A1 (en) * 2015-01-20 2017-11-02 株式会社イシダ Inspection device
JP2018031585A (en) * 2016-08-22 2018-03-01 西部電機株式会社 Gravity detection device of bag-like article

Similar Documents

Publication Publication Date Title
KR20210126163A (en) Inspection device
JP5739230B2 (en) X-ray inspection equipment
KR102387529B1 (en) inspection device
JP6126230B2 (en) Inspection device
JP3828781B2 (en) X-ray foreign object detection device
JP5864404B2 (en) X-ray inspection equipment
JP5243008B2 (en) X-ray foreign object detection device
JP2005031069A (en) X-ray inspection apparatus
JP3618701B2 (en) X-ray foreign object detection device
JP2015137858A (en) Inspection device
JP3917129B2 (en) X-ray inspection equipment
EP3805742A1 (en) Inspection device
JP2007322344A (en) X-ray inspection device
JP2002243665A (en) X-ray foreign-body detection apparatus and method of detecting defective in the same
JP2009080030A (en) X-ray inspection device
JP4170366B2 (en) X-ray inspection equipment
JP3860144B2 (en) X-ray inspection equipment
JP3955559B2 (en) X-ray inspection equipment
JP6861990B2 (en) X-ray inspection equipment
JP4291123B2 (en) Radiation foreign matter inspection apparatus and radiation foreign matter inspection method
JP2008175691A (en) X-ray inspection apparatus and inspection method
JP2010112850A (en) X-ray inspection device
JP2021025874A (en) Inspection device
WO2017159856A1 (en) X-ray inspection apparatus
JP6306352B2 (en) X-ray inspection equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091110

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100309