JP2005031069A - X-ray inspection apparatus - Google Patents
X-ray inspection apparatus Download PDFInfo
- 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
Links
Images
Landscapes
- Image Analysis (AREA)
- Analysing Materials By The Use Of Radiation (AREA)
- Image Processing (AREA)
Abstract
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において提案されている。この検査装置では、検査対象物品の周囲を構成する画素の積算数を求め、その積算数が所定範囲にあるか否かにより検査対象物品の割れ欠けの有無を判別している。
A technique for solving such a problem is proposed in
特許文献2の検査装置においては、検査対象物品の周囲を構成する画素の積算数が検査対象物品の周囲長に比例すると見なし、積算数を判断対象としている。
しかし、このような積算数によって検査対象物品の周囲長を近似させるのでは、実際には誤差が大きくなって正確な検査を行うことが困難である。特に、検査対象物品の形状が複雑であったり湾曲部分を多く含むものであったりすると、検査対象物品の周囲を構成する画素の積算数が検査対象物品の周囲長に比例したものにならないことが多くなる。
In the inspection apparatus of
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
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
請求項3に係るX線検査装置は、請求項2に記載のX線検査装置であって、検査部は、物品と推定される塊部分の周囲長を基準周囲長と比較することで画像上での複数の物品の一体化現象をチェックした後に、一体化現象が確認された塊部分について複数の物品に切り離す画像処理を行う。
ここでは、一体化現象を確認した場合に、一体化している複数の物品を画像上で切り離す処理を行うため、その切り離しの画像処理の後は、通常のロジックにより画像処理や検査を行うことができる。
The X-ray inspection apparatus according to
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
ここでは、画像上の塊部分の周囲長および面積の両方を基準値(基準周囲長および基準面積)と比較しているため、画像処理や検査の精度がより高くなる。
請求項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
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
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
As shown in FIG. 4, the product G, which is a specimen of the
<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
〔シールドボックス〕
シールドボックス11は、両側面に、商品を搬出入するための開口11aを有している。このシールドボックス11の中に、コンベア12、X線照射器13、X線ラインセンサ14、制御コンピュータ20などが収容されている。
なお、図1には図示していないが、開口11aは、シールドボックス11の外部へのX線の漏洩を抑えるための遮蔽ノレンにより塞がれている。この遮蔽ノレンは、鉛を含むゴムから成形されるもので、商品が搬出入されるときには商品により押しのけられる。
[Shield box]
The
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
また、シールドボックス11の正面上部には、モニタ30の他、キーの差し込み口や電源スイッチが配置されている。
〔コンベア〕
コンベア12は、シールドボックス11内において商品を搬送するものであり、図5に示すコンベアモータ12aにより駆動する。コンベア12による搬送速度は、使用者が入力した設定速度になるように、制御コンピュータ20によるコンベアモータ12aのインバータ制御によって細かく制御される。
In addition to the
〔Conveyor〕
The
〔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 line sensor]
The
〔LCDモニタ〕
モニタ30は、フルドット表示の液晶ディスプレイである。また、モニタ30は、タッチパネル機能を有しており、初期設定や不良判断に関するパラメータ入力などを促す画面の表示も行う。
〔制御コンピュータ〕
制御コンピュータ20は、CPU21において、制御プログラムに含まれる異物検査ルーチン27、形状検査ルーチン28、数量検査ルーチン29などを実行する。また、制御コンピュータ20は、HDD25等の記憶部に、不良商品について検査で使った画像や検査結果を保存蓄積する。
[LCD monitor]
The
[Control computer]
In the
具体的な構成として、制御コンピュータ20は、図5に示すように、CPU21を搭載するとともに、このCPU21が制御する主記憶部としてROM22、RAM23、及びHDD(ハードディスク)25を搭載している。HDD25には、後述する商品毎の基準周囲長や基準面積といった基準値を記憶する基準値ファイル25a、検査画像や検査結果を記憶する検査結果ログファイル25bなどが収納されている。また、制御コンピュータ20は、フレキシブルディスクとの入出力を行うFDD(フレキシブルディスクドライブ)24も有している。
As a specific configuration, as shown in FIG. 5, the
さらに、制御コンピュータ20は、モニタ30に対するデータ表示を制御する表示制御回路、モニタ30のタッチパネルからのキー入力データを取り込むキー入力回路、図示しないプリンタにおけるデータ印字の制御等を行うためのI/Oポート等を備えている。
そして、CPU21、ROM22、RAM23、FDD24、HDD25などは、アドレスバス,データバス等のバスラインを介して相互に接続されている。
Further, the
The
また、制御コンピュータ20は、コンベアモータ12a、ロータリエンコーダ12b、光電センサ15、X線照射器13、X線ラインセンサ14等と接続されている。
ロータリエンコーダ12bは、コンベアモータ12aに装着され、コンベア12の搬送速度を検知して制御コンピュータ20に送る。
光電センサ15は、検体である商品GがX線ラインセンサ14の位置にくるタイミングを検知するための同期センサであり、コンベアを挟んで配置される一対の投光器及び受光器から構成されている。
The
The
The
<制御コンピュータによる商品不良の判断>
〔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
〔異物混入検査〕
制御コンピュータ20のCPU21で実施される異物検査ルーチン27は、上記のようにして得られたX線画像を画像処理して、複数の判断方式によって商品の良・不良(異物が混入していないかどうか)を判断する。判断方式には、例えば、トレース検出方式、2値化検出方式、マスク2値化検出方式などがある。これらの判断方式で判断した結果、1つでも不良と判断するものがあれば、その商品Gは不良品と判断される。
[Foreign matter contamination inspection]
The foreign
トレース検出方式及び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
〔数量検査〕
制御コンピュータ20のCPU21で実施される数量検査ルーチン29は、得られたX線画像に以下のような画像処理を施した後、複数の内容物が箱に収容された商品について、内容物の数量をカウントして商品が正常か否かを判定する検査を行う。
まず、数量検査ルーチン29は、X線ラインセンサ14によるX線透視像信号から得られるX線画像61(図6(a))を、2値化処理によって背景と背景以外とに分け、図6(b)に示す画像62を作成する。画像62において黒くなっている部分が背景である。ここでは、各内容物が白く現れているとともに、パッケージである箱も白く現れている。
[Quantity inspection]
The
First, the
次に、画像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
Next, the
グループの領域の面積については、グループを構成する白の画素の総数に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 “
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
次に、周囲長および面積が基準周囲長および基準面積の範囲から外れているグループ(ここでは、グループ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
上記のような画像処理により得られた図12の画像63に基づき、数量検査ルーチン29は、内容物の数量をカウントし、それが正常か否かを判定する。
また、制御コンピュータ20は、パッケージの部分だけを示す図13の画像64に基づき、パッケージの検査をすることも可能である。
〔形状検査〕
制御コンピュータ20のCPU21で実施される形状検査ルーチン28は、商品の外形が正常であるか否かを判定して、割れ欠けがあるような不良商品を不良品貯留コンベア90へと振り分けさせる。例えば、図14(a)に示すような丸い煎餅である商品Gが図14(b)に示すような欠けEがあるようなものになっていないかが検査される。
Based on the
The
[Shape inspection]
The
ここでも、数量検査と同様に、まず、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
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
〔Display control〕
The
<X線検査装置の主な特徴>
(1)
上記のX線検査装置10における検査は、従来と較べて以下のような利点を有する。
〔従来のX線検査装置〕
従来のX線検査装置においては、パターンマッチングによるカウント方式を採用しており、基準パターン画像の各部と撮像した画素との濃淡パターンの比較を行う。具体的には、まず、全体領域もしくは所定領域内の画像よりも狭い基準画像と個々の画像とを比較して、類似性を判断する。そして、領域内に基準画像と類似もしくは合致するものがいくつあるのかをカウントする。
<Main features of X-ray inspection equipment>
(1)
The inspection in the
[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線検査装置10では、画像上の塊部分の周囲長と基準周囲長との比較だけではなく、画像上の塊部分の面積と基準面積との比較を行って内容物を特定しているため、数量検査や形状検査の精度が十分に確保されるようになっている。
このような方法で数量検査や形状検査を行っているため、X線検査装置10では、従来のものに較べて検査の結果が出るまでの時間が短縮されている。
In addition, the
Since quantity inspection and shape inspection are performed by such a method, in the
さらに、X線検査装置10では、塊部分の周囲を形成する周囲画素の配列に基づいて塊部分の周囲長を算出している。より具体的には、隣接する周囲画素同士の距離の違いが加味されるように、隣接する周囲画素同士が縦または横に並んでいるのか、あるいは斜めに並んでいるのかを考慮して、塊部分の周囲長を算出している。このため、単に周囲画素の数を積算して塊部分の周囲長を近似させる場合に較べて、塊部分の周囲長を精度よく求めることができている。
Further, the
(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
<変形例>
(A)
上記実施形態において、数量検査ルーチン29では、フィルタリングによる切り離し処理後のグループ構成を示す図11の画像に基づき、カウント対象である内容物だけを抽出した画像63(図12参照)やパッケージの部分だけを抽出した画像64(図13参照)を作成し、内容物の数量のカウントやパッケージの検査を行っている。
<Modification>
(A)
In the above embodiment, in the
これに加えて、図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
なお、上記実施形態では基準周囲長が所定の範囲を持ったものになっているが、使用者に上限値および下限値を入力してもらわなくても、例えば使用者が入力した実際の内容物の実周囲長を基にして制御コンピュータ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
(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
例えば、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
(D)
上記実施形態では、数量検査ルーチン29が、X線画像61(図6(a))を2値化処理によって背景と背景以外とに分けて図6(b)に示す画像62を作成し、それぞれの白い塊部分に対して順にグループ番号を振り、各グループの周囲長を算出する際に、図17から図20を参照して説明した上記のような方法により、グループの領域の周囲を構成する周囲画素の特定を行っている。
(D)
In the above embodiment, the
このような周囲画素の特定方法ではなく、他の方法によって周囲画素の特定を行ってもよい。例えば、一般的な微分によるエッジ(周囲画素)の特定方法を用いてもよい。この場合には、グループのエッジ部分となる画素だけが特定され、例えば画像上においてエッジ部分の画素だけが白くなって抽出される。 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.
(b)2値化処理後の画像を示す図。
(b)2つの内容物が画像上で一体化しているグループの切り離し処理後の図。
(b)欠けのある商品を示す図。
10 X線検査装置
13 X線照射器(X線源)
14 X線ラインセンサ(X線受光部)
20 制御コンピュータ(検査部)
25a 基準値ファイル
28 形状検査ルーチン
29 数量検査ルーチン
G1,G2,G3,G4,・・・,Gn グループ
10
14 X-ray line sensor (X-ray detector)
20 Control computer (inspection department)
25a
Claims (11)
前記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.
前記検査部は、隣接する前記周囲画素同士が縦または横に並んでいるのか斜めに並んでいるのかを加味して、前記塊部分の周囲長を算出する、
請求項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.
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)
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 |
-
2004
- 2004-06-14 JP JP2004175922A patent/JP2005031069A/en active Pending
Cited By (18)
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 |