JP2008175691A - X-ray inspection apparatus and inspection method - Google Patents

X-ray inspection apparatus and inspection method Download PDF

Info

Publication number
JP2008175691A
JP2008175691A JP2007009416A JP2007009416A JP2008175691A JP 2008175691 A JP2008175691 A JP 2008175691A JP 2007009416 A JP2007009416 A JP 2007009416A JP 2007009416 A JP2007009416 A JP 2007009416A JP 2008175691 A JP2008175691 A JP 2008175691A
Authority
JP
Japan
Prior art keywords
inspection
area
article
ray
envelope
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
JP2007009416A
Other languages
Japanese (ja)
Inventor
Osamu Hirose
修 廣瀬
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 JP2007009416A priority Critical patent/JP2008175691A/en
Publication of JP2008175691A publication Critical patent/JP2008175691A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length-Measuring Devices Using Wave Or Particle Radiation (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To simply and precisely an inspect abnormality of the shape of an article using an X-ray. <P>SOLUTION: An X-ray inspection apparatus 10 includes an image generation part 21a, an inspection region extraction part 21b, an envelope figure deriving part 21c, and inspection parts 21d, 21e. The image generating part 21a generates an X-ray image 61 of sausages S1, S2. The inspection region extracting part 21b extracts inspection regions B1, B2 from the X-ray image 61. The inspection regions B1, B2 are the regions that correspond to the sausages S1, S2. The envelope figure deriving part 21c derives envelope figures C1, C2. The envelope figures C1, C2 are figures which include the overall the inspection regions B1, B2 and keep an area minimum out of figures, in which the outer periphery is expressed by only a projection line. The inspection parts 21d, 21e inspect the shape of the sausages S1, S2 from the envelope figures C1, C2. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、X線を用いて物品の形状を検査するX線検査装置および検査方法に関する。   The present invention relates to an X-ray inspection apparatus and an inspection method for inspecting the shape of an article using X-rays.

食品等の商品の生産ラインにおいては、商品の形状に異常がある場合にそのような商品を出荷しないために、X線検査装置により検査が為されることがある。このようなX線検査装置では、連続して搬送されてくる物品に対してX線が照射され、X線ラインセンサにおいて物品を透過したX線量が検出される。そして、当該X線量に基づいて得られるX線画像に画像処理を施すことにより、物品の形状における異常の有無が判断される。   In a production line for commodities such as food, an inspection may be performed by an X-ray inspection apparatus in order to avoid shipping such commodities when there is an abnormality in the shape of the commodities. In such an X-ray inspection apparatus, X-rays are irradiated to articles continuously conveyed, and an X-ray dose transmitted through the articles is detected by an X-ray line sensor. Then, by performing image processing on the X-ray image obtained based on the X-ray dose, it is determined whether there is an abnormality in the shape of the article.

このようなX線検査装置を用いて物品の検査を行う場合には、検査対象となる物品のX線画像と所定の基準画像とのパターンマッチングを行うことが一般的である(例えば、特許文献1参照)。   When inspecting an article using such an X-ray inspection apparatus, it is common to perform pattern matching between an X-ray image of an article to be inspected and a predetermined reference image (for example, Patent Documents). 1).

また、特許文献2に記載されるX線検査装置においては、検査対象となる物品の周囲を構成する画素の積算数が算出され、当該積算数が所定の範囲に収まっているか否かによって当該物品における割れ欠けの有無が判断されている。すなわち、特許文献2では、検査対象となる物品の周囲を構成する画素の積算数が、当該物品の周囲長に比例するものとみなされている。
特開2002−98652号公報 特開2002―310946号公報
In addition, in the X-ray inspection apparatus described in Patent Document 2, the integrated number of pixels constituting the periphery of an object to be inspected is calculated, and the article is determined depending on whether the integrated number is within a predetermined range. The presence or absence of cracks or cracks is determined. That is, in Patent Document 2, the cumulative number of pixels that form the periphery of an article to be inspected is considered to be proportional to the peripheral length of the article.
JP 2002-98652 A JP 2002-310946 A

しかしながら、特許文献1に示されるようなパターンマッチング方式を採用する場合には、複雑な画像間の類似判断処理が必要となり、画像処理に要する時間が長くなる。   However, when a pattern matching method as disclosed in Patent Document 1 is adopted, it is necessary to perform a similarity determination process between complex images, and the time required for the image processing becomes long.

ところが、高速性が要求される商品の生産ラインに配備されるX線検査装置では、できるだけ検査時間を短縮することが求められる。もちろん、高価なハードウェアやソフトウェアを用いれば、パターンマッチングの処理を高速に行うことも可能であるが、現実には高速化を図るとともに低コスト化を図ることも重要視されている。   However, in an X-ray inspection apparatus deployed in a product production line that requires high speed, it is required to shorten the inspection time as much as possible. Of course, if expensive hardware or software is used, pattern matching processing can be performed at high speed. However, in reality, it is important to increase the speed and reduce the cost.

また、特許文献2に示されるような周囲長計測方式を採用する場合には、検査対象となる物品によっては誤差が大きくなり、正確な検査を行うことが困難である。特に、検査対象となる物品の形状が複雑であったり湾曲部分を多く含むものであったりすると、検査対象となる物品の周囲を構成する画素の積算数が当該物品の周囲長に比例したものにならないことが多くなる。   In addition, when the perimeter measurement method as shown in Patent Document 2 is adopted, an error increases depending on an article to be inspected, and it is difficult to perform an accurate inspection. In particular, if the shape of the article to be inspected is complex or contains many curved parts, the cumulative number of pixels that form the periphery of the article to be inspected is proportional to the perimeter of the article. There are many things that must be avoided.

本発明の課題は、X線を用いて物品の形状の異常を簡易かつ高精度に検査することにある。   An object of the present invention is to simply and accurately inspect abnormalities in the shape of an article using X-rays.

第1発明にかかるX線検査装置は、照射部と、受光部と、生成部と、抽出部と、導出部と、検査部とを備える。照射部は、物品にX線を照射する。受光部は、照射部からのX線を受光する。生成部は、受光部が受光したX線に基づいてX線画像を生成する。抽出部は、X線画像から検査領域を抽出する。検査領域とは、物品に対応する領域である。導出部は、包絡図形を導出する。包絡図形とは、検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である。検査部は、包絡図形に基づいて物品の形状を検査する。   An X-ray inspection apparatus according to a first invention includes an irradiation unit, a light receiving unit, a generation unit, an extraction unit, a derivation unit, and an inspection unit. The irradiation unit irradiates the article with X-rays. The light receiving unit receives X-rays from the irradiation unit. The generation unit generates an X-ray image based on the X-rays received by the light receiving unit. The extraction unit extracts an examination region from the X-ray image. An inspection area is an area corresponding to an article. The deriving unit derives an envelope graphic. The envelope figure is a figure that includes the entire inspection region and has the smallest area among the figures that are expressed only by convex lines on the outer periphery. The inspection unit inspects the shape of the article based on the envelope figure.

このX線検査装置では、物品のX線画像から当該物品の占める領域(検査領域)が抽出され、抽出された検査領域の包絡図形が導出され、導出された包絡図形に基づいて当該物品の形状が検査される。これにより、このX線検査装置では、物品の形状の異常を簡易かつ高精度に検査することができる。   In this X-ray inspection apparatus, an area occupied by the article (inspection area) is extracted from an X-ray image of the article, an envelope graphic of the extracted inspection area is derived, and the shape of the article is derived based on the derived envelope graphic. Is inspected. Thereby, in this X-ray inspection apparatus, it is possible to easily and accurately inspect abnormalities in the shape of the article.

第2発明にかかるX線検査装置は、第1発明にかかるX線検査装置であって、照射部と、受光部と、生成部と、抽出部と、導出部と、検査部とを備える。照射部は、物品にX線を照射する。受光部は、照射部からのX線を受光する。生成部は、受光部が受光したX線に基づいてX線画像を生成する。抽出部は、X線画像から検査領域を抽出する。検査領域とは、物品に囲まれる他の物品または空間に対応する領域である。導出部は、包絡図形を導出する。包絡図形とは、検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である。検査部は、包絡図形に基づいて物品の形状を検査する。   An X-ray inspection apparatus according to a second invention is the X-ray inspection apparatus according to the first invention, and includes an irradiation unit, a light receiving unit, a generation unit, an extraction unit, a derivation unit, and an inspection unit. The irradiation unit irradiates the article with X-rays. The light receiving unit receives X-rays from the irradiation unit. The generation unit generates an X-ray image based on the X-rays received by the light receiving unit. The extraction unit extracts an examination region from the X-ray image. The inspection area is an area corresponding to another article or space surrounded by the article. The deriving unit derives an envelope graphic. The envelope figure is a figure that includes the entire inspection region and has the smallest area among the figures that are expressed only by convex lines on the outer periphery. The inspection unit inspects the shape of the article based on the envelope figure.

このX線検査装置では、物品のX線画像から当該物品に囲まれる他の物品または当該物品に囲まれる空間の占める領域(検査領域)が抽出され、抽出された検査領域の包絡図形が導出され、導出された包絡図形に基づいて当該物品の形状が検査される。これにより、このX線検査装置では、物品の形状の異常を簡易かつ高精度に検査することができる。   In this X-ray inspection apparatus, an area (inspection area) occupied by another article surrounded by the article or a space surrounded by the article is extracted from an X-ray image of the article, and an envelope figure of the extracted inspection area is derived. The shape of the article is inspected based on the derived envelope graphic. Thereby, in this X-ray inspection apparatus, it is possible to easily and accurately inspect abnormalities in the shape of the article.

第3発明にかかるX線検査装置は、第1発明または第2発明にかかるX線検査装置であって、検査部は、凹み領域を導出し、凹み領域の面積と所定の閾値との比較により、物品の形状を検査する。凹み領域とは、包絡図形から検査領域を差し引いた領域である。   An X-ray inspection apparatus according to a third aspect of the present invention is the X-ray inspection apparatus according to the first or second aspect of the present invention, wherein the inspection unit derives a recessed area and compares the area of the recessed area with a predetermined threshold value. Inspect the shape of the article. A dent area | region is an area | region which deducted the test | inspection area | region from the envelope figure.

このX線検査装置では、検査領域を含む包絡図形から検査領域を差し引くことにより、包絡図形に含まれる凹み領域が導出される。そして、当該凹み領域の面積に応じて物品の形状が検査される。これにより、このX線検査装置では、物品の形状をより正確に検査することができる。   In this X-ray inspection apparatus, the indented region included in the envelope graphic is derived by subtracting the inspection region from the envelope graphic including the inspection region. Then, the shape of the article is inspected according to the area of the recessed area. Thereby, in this X-ray inspection apparatus, the shape of the article can be inspected more accurately.

第4発明にかかるX線検査装置は、第1発明にかかるX線検査装置であって、物品は、細長い形状を有している。検査部は、物品の湾曲の程度を検査する。   An X-ray inspection apparatus according to a fourth aspect is the X-ray inspection apparatus according to the first aspect, wherein the article has an elongated shape. The inspection unit inspects the degree of bending of the article.

このX線検査装置では、細長い形状を有する物品の湾曲の程度をより正確に検査することができる。   In this X-ray inspection apparatus, the degree of curvature of an article having an elongated shape can be inspected more accurately.

第5発明にかかるX線検査装置は、第2発明にかかるX線検査装置であって、物品は、内部空間を有する容器である。検査部は、物品の凹みの程度を検査する。   An X-ray inspection apparatus according to a fifth aspect is the X-ray inspection apparatus according to the second aspect, wherein the article is a container having an internal space. The inspection unit inspects the degree of depression of the article.

このX線検査装置では、内部空間を有する容器の凹みの程度をより正確に検査することができる。   In this X-ray inspection apparatus, it is possible to more accurately inspect the degree of dent of a container having an internal space.

第6発明にかかる検査方法は、抽出ステップと、導出ステップと、検査ステップとを備える。抽出ステップは、物品のX線画像から検査領域を抽出するステップである。検査領域とは、物品に対応する領域である。導出ステップは、包絡図形を導出するステップである。包絡図形とは、検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である。検査ステップは、包絡図形に基づいて物品の形状を検査するステップである。   The inspection method according to the sixth aspect comprises an extraction step, a derivation step, and an inspection step. The extraction step is a step of extracting the inspection region from the X-ray image of the article. An inspection area is an area corresponding to an article. The derivation step is a step of deriving an envelope graphic. The envelope figure is a figure that includes the entire inspection region and has the smallest area among the figures that are expressed only by convex lines on the outer periphery. The inspection step is a step of inspecting the shape of the article based on the envelope figure.

この検査方法では、物品のX線画像から当該物品の占める領域(検査領域)が抽出され、抽出された検査領域の包絡図形が導出され、導出された包絡図形に基づいて当該物品の形状が検査される。これにより、このX線を用いた検査方法では、物品の形状の異常を簡易かつ高精度に検査することができる。   In this inspection method, an area occupied by the article (inspection area) is extracted from the X-ray image of the article, an envelope graphic of the extracted inspection area is derived, and the shape of the article is inspected based on the derived envelope graphic Is done. Thereby, in this inspection method using X-rays, it is possible to easily and accurately inspect abnormalities in the shape of the article.

第7発明にかかる検査方法は、抽出ステップと、導出ステップと、検査ステップとを備える。抽出ステップは、物品のX線画像から検査領域を抽出するステップである。検査領域とは、物品に囲まれる他の物品または空間に対応する領域である。導出ステップとは、包絡図形を導出するステップである。包絡図形とは、検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である。検査ステップとは、包絡図形に基づいて物品の形状を検査するステップである。   The inspection method according to the seventh aspect comprises an extraction step, a derivation step, and an inspection step. The extraction step is a step of extracting the inspection region from the X-ray image of the article. The inspection area is an area corresponding to another article or space surrounded by the article. The derivation step is a step of deriving an envelope graphic. The envelope figure is a figure that includes the entire inspection region and has the smallest area among the figures that are expressed only by convex lines on the outer periphery. The inspection step is a step of inspecting the shape of the article based on the envelope figure.

この検査方法では、物品のX線画像から当該物品に囲まれる他の物品または当該物品に囲まれる空間の占める領域(検査領域)が抽出され、抽出された検査領域の包絡図形が導出され、導出された包絡図形に基づいて当該物品の形状が検査される。これにより、このX線を用いた検査方法では、物品の形状の異常を簡易かつ高精度に検査することができる。   In this inspection method, an area (inspection area) occupied by another article surrounded by the article or a space surrounded by the article (inspection area) is extracted from the X-ray image of the article, and an envelope figure of the extracted inspection area is derived and derived. The shape of the article is inspected based on the enveloped figure. Thereby, in this inspection method using X-rays, it is possible to easily and accurately inspect abnormalities in the shape of the article.

本発明では、物品のX線画像から当該物品の占める領域(検査領域)、あるいは当該物品に囲まれる他の物品または当該物品に囲まれる空間の占める領域(検査領域)が抽出され、抽出された検査領域の包絡図形が導出され、導出された包絡図形に基づいて当該物品の形状が検査される。これにより、このX線検査装置では、物品の形状の異常を簡易かつ高精度に検査することができる。   In the present invention, an area occupied by the article (inspection area), or another article surrounded by the article or an area occupied by the space surrounded by the article (inspection area) is extracted and extracted from the X-ray image of the article. An envelope graphic of the inspection area is derived, and the shape of the article is inspected based on the derived envelope graphic. Thereby, in this X-ray inspection apparatus, it is possible to easily and accurately inspect abnormalities in the shape of the article.

以下、図面を参照して、本発明の第1実施形態および第2実施形態にかかるX線検査装置10,110および検査方法について説明する。   Hereinafter, X-ray inspection apparatuses 10 and 110 and an inspection method according to first and second embodiments of the present invention will be described with reference to the drawings.

<第1実施形態>
図1に、本発明の第1実施形態にかかるX線検査装置10の外観を示す。X線検査装置10は、食品等の商品Gの生産ラインにおいて商品Gの品質検査を行う装置の1つであって、連続的に搬送されてくる商品Gに対してX線を照射して、商品Gを透過したX線の透過量に基づいて商品Gの不良判断を行う装置である。
<First Embodiment>
FIG. 1 shows an appearance of an X-ray inspection apparatus 10 according to the first embodiment of the present invention. The X-ray inspection apparatus 10 is one of the apparatuses that inspect the quality of the product G in the production line of the product G such as food, and irradiates the product G that is continuously conveyed with X-rays, This is a device that determines the defect of the product G based on the amount of X-rays transmitted through the product G.

X線検査装置10の検体である商品Gは、図4に示すように、前段コンベア60によりX線検査装置10に運ばれてくる。商品Gは、X線検査装置10において、良品または不良品に分類される。このX線検査装置10での検査結果は、X線検査装置10の下流側に配置されている振分機構70に送られる。振分機構70は、商品GがX線検査装置10において良品と判断された場合には商品Gを正規のラインコンベア80へと送り、商品GがX線検査装置10において不良品と判断された場合には商品Gを不良品貯留コンベア90へと振り分ける。   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 classified as a good product or a defective product in the X-ray inspection apparatus 10. The inspection result obtained by 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線検査装置の構成)
図1、図2および図5に示すように、X線検査装置10は、主として、シールドボックス11と、コンベア12と、X線照射器(照射部)13と、X線ラインセンサ(受光部)14と、タッチパネル機能付きのモニタ30と、制御コンピュータ20とから構成されている。
(Configuration of X-ray inspection equipment)
As shown in FIGS. 1, 2 and 5, the X-ray inspection apparatus 10 mainly includes a shield box 11, a conveyor 12, an X-ray irradiator (irradiation unit) 13, and an X-ray line sensor (light receiving unit). 14, a monitor 30 with a touch panel function, and a control computer 20.

〔シールドボックス〕
シールドボックス11の両側面には、商品Gをシールドボック11の内外に搬入出するための開口11aが形成されている。そして、このシールドボックス11内には、コンベア12、X線照射器13、X線ラインセンサ14、制御コンピュータ20等が収容されている。
[Shield box]
On both side surfaces of the shield box 11, openings 11 a for carrying the product G in and out of the shield box 11 are formed. In the 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.

なお、シールドボックス11の外部へX線が漏洩することを抑制するために、開口11aは遮蔽ノレン(図示せず)により塞がれている。この遮蔽ノレンは、鉛を含むゴムから成形されており、商品Gが開口11aを通過する際に商品Gにより押しのけられる。   In addition, in order to suppress the leakage of X-rays to the outside of the shield box 11, the opening 11a is blocked by a shielding noren (not shown). This shielding nolen is formed from rubber containing lead, and is pushed away by the product G when the product G passes through the opening 11a.

また、シールドボックス11の正面上部には、モニタ30の他、キーの差し込み口および電源スイッチ等が配置されている。   In addition to the monitor 30, a key insertion slot, a power switch, and the like are disposed on the front upper portion of the shield box 11.

〔コンベア〕
コンベア12は、シールドボックス11内において商品Gを搬送するものであり、図1に示すように、シールドボックス11の両側面に形成された開口11aを貫通するように配置されている。そして、コンベア12は、コンベアモータ12a(図5参照)によって駆動される駆動ローラによって無端状のベルトを回転させながら、ベルト上に載置された商品Gを搬送する。コンベア12による搬送速度は、制御コンピュータ20によるコンベアモータ12aのインバータ制御によって、利用者が入力した設定速度になるように細かく制御される。
〔Conveyor〕
The conveyor 12 conveys the commodity G in the shield box 11 and is disposed so as to penetrate through the openings 11a formed on both side surfaces of the shield box 11 as shown in FIG. And the conveyor 12 conveys the goods G mounted on the belt, rotating an endless belt with the drive roller driven by the conveyor motor 12a (refer FIG. 5). 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.

また、コンベアモータ12aには、コンベア12による搬送速度を検出して制御コンピュータ20に送るエンコーダ12b(図5参照)が装着されている。   The conveyor motor 12a is equipped with an encoder 12b (see FIG. 5) that detects the conveying speed of the conveyor 12 and sends it to the control computer 20.

〔X線照射器〕
X線照射器13は、図2に示すように、コンベア12の上方に配置されており、下方のX線ラインセンサ14に向けて扇状の照射範囲XにX線を照射する。
[X-ray irradiator]
As shown in FIG. 2, the X-ray irradiator 13 is disposed above the conveyor 12 and irradiates the fan-shaped irradiation range X with X-rays toward the lower X-ray line sensor 14.

〔X線ラインセンサ〕
X線ラインセンサ14は、コンベア12の下方に配置されており、コンベア12を透過したX線を受光する。X線ラインセンサ14は、図3に示すように、主として、多くの画素センサ14aから構成されている。これらの画素センサ14aは、コンベア12による搬送方向に直交する向きであって水平方向に、一直線に配置されている。
[X-ray line sensor]
The X-ray line sensor 14 is disposed below the conveyor 12 and receives X-rays transmitted through the conveyor 12. As shown in FIG. 3, the X-ray line sensor 14 is mainly composed of many pixel sensors 14a. These pixel sensors 14a are arranged in a straight line in the horizontal direction in a direction orthogonal to the conveying direction by the conveyor 12.

なお、図3は、シールドボックス11内のX線の透過状態と、その透過状態において各画素センサ14aにおいて検出されるX線の透過量のグラフとを示している。   FIG. 3 shows a transmission state of X-rays in the shield box 11 and a graph of the transmission amount of X-rays detected by each pixel sensor 14a in the transmission state.

〔モニタ〕
モニタ30は、フルドット表示の液晶ディスプレイであり、初期設定値や検査時に必要となる検査パラメータ等の入力を利用者に促す画面を表示する。また、モニタ30は、タッチパネル機能も有しており、利用者からの初期設定値や検査パラメータ等の入力を受け付ける。
〔monitor〕
The monitor 30 is a full-dot liquid crystal display, and displays a screen that prompts the user to input initial setting values and inspection parameters necessary for inspection. The monitor 30 also has a touch panel function, and accepts inputs such as initial setting values and inspection parameters from the user.

〔制御コンピュータ〕
制御コンピュータ20は、図5に示すように、CPU(中央演算処理装置)21、ROM(リードオンリーメモリ)22、RAM(ランダムアクセスメモリ)23、HDD(ハードディスク)25および記憶メディアを挿入するためのドライブ24を備えている。
[Control computer]
As shown in FIG. 5, the control computer 20 includes a CPU (Central Processing Unit) 21, a ROM (Read Only Memory) 22, a RAM (Random Access Memory) 23, an HDD (Hard Disk) 25, and a storage medium for insertion. A drive 24 is provided.

CPU21では、HDD25に格納されている各種プログラムが実行される。HDD25には、各種プログラムの他、閾値ファイル25aや検査結果ログファイル25bが格納されている。そして、閾値ファイル25aには、検査パラメータである閾値が保存され、検査結果ログファイル25bには、検査により不良品であると判断された商品Gについての検査画像や検査結果が保存蓄積される。これらのデータは、利用者の設定に応じて、HDD25に代えて又は加えてドライブ24に挿入された記憶メディアに保存蓄積される。   In the CPU 21, various programs stored in the HDD 25 are executed. In addition to various programs, the HDD 25 stores a threshold file 25a and an inspection result log file 25b. The threshold value file 25a stores a threshold value that is an inspection parameter, and the inspection result log file 25b stores and accumulates inspection images and inspection results for the product G determined to be defective by inspection. These data are stored and accumulated in a storage medium inserted in the drive 24 in place of or in addition to the HDD 25 according to user settings.

さらに、制御コンピュータ20は、モニタ30でのデータ表示を制御する表示制御回路(図示せず)、モニタ30のタッチパネルを介して利用者により入力されたキー入力データを取り込むキー入力回路(図示せず)、およびプリンタ(図示せず)等の外部機器やLAN等の外部ネットワークとの接続を可能にする通信ポート(図示せず)を備えている。   Further, the control computer 20 includes a display control circuit (not shown) that controls data display on the monitor 30 and a key input circuit (not shown) that captures key input data input by the user via the touch panel of the monitor 30. ), And a communication port (not shown) that enables connection with an external device such as a printer (not shown) or an external network such as a LAN.

そして、制御コンピュータ20の各部21〜25等は、アドレスバスやデータバス等のバスラインを介して相互に接続されている。   And each part 21-25 etc. of the control computer 20 are mutually connected via bus lines, such as an address bus and a data bus.

また、制御コンピュータ20は、コンベアモータ12a、エンコーダ12b、光電センサ15、X線照射器13、X線ラインセンサ14等に接続されている。光電センサ15は、検体である商品Gが扇状のX線の照射範囲X(図2参照)を通過するタイミングを検知するための同期センサであり、主として、コンベア12を挟んで配置される一対の投光器および受光器から構成されている。   The control computer 20 is connected to a conveyor motor 12a, an encoder 12b, a photoelectric sensor 15, an X-ray irradiator 13, an X-ray line sensor 14, and the like. The photoelectric sensor 15 is a synchronous sensor for detecting the timing when the product G as a specimen passes through the fan-shaped X-ray irradiation range X (see FIG. 2), and is mainly a pair of sensors arranged with the conveyor 12 interposed therebetween. It consists of a projector and a light receiver.

(制御コンピュータによる商品不良の判断)
制御コンピュータ20のCPU21は、HDD25に格納されている検査プログラムに含まれる画像生成モジュールを読み出して実行することにより、商品GのX線画像を生成する。また、制御コンピュータ20のCPU21は、利用者の設定に応じて、HDD25に格納されている検査プログラムに含まれる湾曲検査モジュール、異物検査モジュール、割れ欠け検査モジュールおよび数量検査モジュールの中から1または複数の検査モジュールを読み出して実行することが可能である。すなわち、X線検査装置10の利用者は、商品Gに応じて、商品Gが湾曲していないか、商品Gに異物が混入していないか、商品Gに割れ欠けが存在していないか、商品Gに含まれる内容物の数量が正しいか否かについての検査を適宜行うことができる。制御コンピュータ20によるこうした湾曲検査、異物検査、割れ欠け検査および数量検査は、商品GのX線画像に対する画像処理を通して実現される。
(Determination of product defects by control computer)
The CPU 21 of the control computer 20 generates an X-ray image of the product G by reading and executing an image generation module included in the inspection program stored in the HDD 25. Further, the CPU 21 of the control computer 20 has one or more of a curvature inspection module, a foreign matter inspection module, a crack inspection module, and a quantity inspection module included in the inspection program stored in the HDD 25 according to a user setting. These inspection modules can be read out and executed. That is, according to the product G, the user of the X-ray inspection apparatus 10 confirms that the product G is not curved, foreign matter is not mixed in the product G, or the product G has no cracks, An inspection as to whether or not the quantity of the contents included in the product G is correct can be appropriately performed. Such curvature inspection, foreign object inspection, crack inspection, and quantity inspection by the control computer 20 are realized through image processing on the X-ray image of the product G.

また、利用者は、検査モジュールをバージョンアップしたり、新たに追加したりすることにより、商品Gに対してその他の検査を行うことも可能である。   The user can also perform other inspections on the product G by upgrading the inspection module or adding a new one.

湾曲検査、異物検査、割れ欠け検査および数量検査の検査結果は、振分機構70へと送られる。そして、振分機構70は、これらの全ての検査において良品であると判断された商品Gを正規のラインコンベア80へと振り分け、これらの検査の少なくとも1つにおいて不良品であると判断された商品Gを不良品貯留コンベア90へと振り分ける。   The inspection results of the curvature inspection, foreign object inspection, crack chip inspection, and quantity inspection are sent to the distribution mechanism 70. The distribution mechanism 70 distributes the product G determined to be a non-defective product in all of these inspections to the regular line conveyor 80, and the product determined to be a defective product in at least one of these inspections. G is distributed to the defective product storage conveyor 90.

〔X線画像の生成〕
制御コンピュータ20のCPU21は、HDD25に格納されている画像生成モジュールを読み出して実行することにより、画像生成部21aとして動作する。画像生成部21aは、商品Gが扇状のX線の照射範囲X(図2参照)を通過するときにX線ラインセンサ14が検出したX線の透過量(図3参照)を示すX線透視像信号を細かい時間間隔で取得し、それらのX線透視像信号に基づいて商品GのX線画像を生成する。このとき、商品Gが扇状のX線の照射範囲X(図2参照)を通過するタイミングは、光電センサ15からの信号により判断される。すなわち、画像生成部21aは、X線ラインセンサ14の各画素14aから得られるX線の透過量に関する細かい時間間隔毎のデータを時系列につなぎ合わせることにより、商品Gとその背景部分とを含むX線画像を生成する。
[Generation of X-ray images]
The CPU 21 of the control computer 20 operates as the image generation unit 21 a by reading and executing the image generation module stored in the HDD 25. The image generation unit 21a performs X-ray fluoroscopy indicating the amount of X-ray transmission (see FIG. 3) detected by the X-ray line sensor 14 when the product G passes through the fan-shaped X-ray irradiation range X (see FIG. 2). Image signals are acquired at fine time intervals, and an X-ray image of the product G is generated based on these X-ray fluoroscopic image signals. At this time, the timing at which the product G passes through the fan-shaped X-ray irradiation range X (see FIG. 2) is determined by a signal from the photoelectric sensor 15. That is, the image generation unit 21a includes the product G and the background portion thereof by connecting data for each fine time interval related to the X-ray transmission amount obtained from each pixel 14a of the X-ray line sensor 14 in time series. An X-ray image is generated.

〔湾曲検査〕
制御コンピュータ20のCPU21は、HDD25に格納されている湾曲検査モジュールを読み出して実行することにより、検査領域抽出部21b、包絡図形導出部21c、凹み領域導出部21dおよび比較部21eとして動作する。これらの各部21b〜21eは、画像生成部21aにより生成された商品GのX線画像に対して画像処理を施すことにより、商品Gの湾曲の程度を検査する。
[Bending inspection]
The CPU 21 of the control computer 20 operates as an inspection region extraction unit 21b, an envelope graphic deriving unit 21c, a recessed region deriving unit 21d, and a comparison unit 21e by reading and executing the curvature inspection module stored in the HDD 25. Each of these units 21b to 21e inspects the degree of curvature of the product G by performing image processing on the X-ray image of the product G generated by the image generation unit 21a.

以下、図6および図7を参照しつつ、細長いソーセージS1,S2を検体とする場合を例として、湾曲検査の詳細について説明する。なお、説明を分かりやすくするために、例示する2本のソーセージS1,S2のうち一方のソーセージS1を直線状に伸びる良品とし、他方のソーセージS2を大きく湾曲した不良品とする。図6(a)に示すX線画像61上において、左側に現れている暗い領域A1は良品のソーセージS1を示しており、右側に現れている暗い領域A2は不良品のソーセージS2を示している。   Hereinafter, with reference to FIG. 6 and FIG. 7, the details of the curvature inspection will be described by taking as an example the case where the elongated sausages S1 and S2 are used as specimens. In order to make the explanation easy to understand, one of the two sausages S1 and S2 is assumed to be a non-defective product that is linearly extended, and the other sausage S2 is a defective product that is greatly curved. On the X-ray image 61 shown in FIG. 6A, the dark area A1 appearing on the left side shows a non-defective sausage S1, and the dark area A2 appearing on the right side shows a defective sausage S2. .

まず、ステップS71では、検査領域抽出部21bが、2値化処理により、X線画像61上の領域を、ソーセージS1を示す領域B1と、ソーセージS2を示す領域B2と、ソーセージS1,S2の背景領域B3とに切り分ける。なお、ステップS71で2値化処理の対象となるX線画像61は、画像生成部21aにより生成されたものである。   First, in step S71, the inspection area extraction unit 21b performs binarization processing to determine the area on the X-ray image 61 as the area B1 indicating the sausage S1, the area B2 indicating the sausage S2, and the background of the sausages S1 and S2. It is divided into region B3. Note that the X-ray image 61 that is the target of the binarization processing in step S71 is generated by the image generation unit 21a.

2値化処理では、X線画像61を構成する各画素に対応するX線の透過量の値が、所定の閾値と比較される。そして、それらの値の大小関係に応じて、各画素に「0」又は「1」のどちらかの値が割り当てられる。「0」は、ソーセージS1,S2に対応する領域であることを示し、「1」は、ソーセージS1,S2の背景に対応する領域であることを示す。ここで、2値化処理に用いられる閾値は、検査を開始する前に試験等を行うことにより検体であるソーセージS1,S2に合わせて予め適切に定められており、例えば、モニタ30のタッチパネルを介して利用者により入力されてHDD25の閾値ファイル25aに格納されているものとする。   In the binarization process, the value of the amount of X-ray transmission corresponding to each pixel constituting the X-ray image 61 is compared with a predetermined threshold value. Then, either “0” or “1” is assigned to each pixel according to the magnitude relationship between these values. “0” indicates an area corresponding to the sausages S1 and S2, and “1” indicates an area corresponding to the background of the sausages S1 and S2. Here, the threshold value used for the binarization processing is appropriately determined in advance according to the sausages S1 and S2 that are specimens by performing a test or the like before starting the test. It is assumed that the data is stored in the threshold file 25a of the HDD 25 by the user.

図6(b)に示す画像62は、X線画像61に対して2値化処理を施した後の画像である。画像62上において、左側に白く現れている領域B1はソーセージS1に対応し、右側に白く現れている領域B2はソーセージS2に対応し、その他の黒く現れている領域B3はソーセージS1,S2の背景に対応する。すなわち、ステップS71では、X線画像61からソーセージS1,S2に対応する領域B1,B2が抽出されることになる。以下、ステップS71でソーセージS1,S2に対応する領域として抽出された領域B1,B2を検査領域B1,B2と呼ぶ。   An image 62 shown in FIG. 6B is an image after the binarization process is performed on the X-ray image 61. On the image 62, the area B1 appearing white on the left side corresponds to the sausage S1, the area B2 appearing white on the right side corresponds to the sausage S2, and the other area B3 appearing black represents the background of the sausages S1 and S2. Corresponding to That is, in step S71, the regions B1 and B2 corresponding to the sausages S1 and S2 are extracted from the X-ray image 61. Hereinafter, the areas B1 and B2 extracted as the areas corresponding to the sausages S1 and S2 in step S71 are referred to as inspection areas B1 and B2.

次に、ステップS72では、包絡図形導出部21cが、ステップS71で抽出された各検査領域B1,B2の包絡図形C1,C2(図6(c)参照)を導出する。なお、ある領域の包絡図形とは、その領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形のことを言う。言い換えると、ある領域の包絡図形とは、断面がその領域と同じ形状となる物体の、その断面に沿ってかけた輪ゴムにより囲まれる図形のことを言う。また、凸の線とは、当該線に囲まれる領域中の任意の2点を結ぶ線分が、常に当該領域に含まれることになるような線のことを言う。   Next, in step S72, the envelope figure deriving unit 21c derives the envelope figures C1 and C2 (see FIG. 6C) of the inspection regions B1 and B2 extracted in step S71. In addition, the envelope figure of a certain area means a figure that includes the entire area and has the smallest area among figures that are expressed only by a convex line on the outer periphery. In other words, the envelope figure of a certain area refers to a figure surrounded by a rubber band applied along the cross section of an object whose cross section has the same shape as that area. Further, the convex line means a line in which a line segment connecting any two points in a region surrounded by the line is always included in the region.

図6(c)に示す画像63上において、左側に白く現れている包絡図形C1は、図6(b)に示す画像62上の検査領域B1の包絡図形であり、右側に白く現れている包絡図形C2は、図6(b)に示す画像62上の検査領域B2の包絡図形である。直線状に伸びているソーセージS1に対応する検査領域B1の包絡図形C1は、検査領域B1と同じ形状を有している。これは、ソーセージS1が直線状に伸びていることにより、検査領域B1の外周がもともと凸の線のみで表されているからである。一方、湾曲したソーセージS2に対応する検査領域B2の包絡図形C2は、検査領域B2が略V字形状となっているのに対し、略三角形の形状となっている。より具体的には、包絡図形C2は、検査領域B2のV字を構成する2本の線分の、V字の頂点と反対側の端点どうしを真っ直ぐに結ぶことによって形成される三角形と概ね同じ形状を有している。すなわち、湾曲した商品Gに対応する検査領域の包絡図形は、もとの検査領域よりも面積が大きくなる。   In the image 63 shown in FIG. 6C, the envelope figure C1 that appears white on the left side is the envelope figure of the inspection region B1 on the image 62 shown in FIG. 6B, and the envelope figure that appears white on the right side. The figure C2 is an envelope figure of the inspection area B2 on the image 62 shown in FIG. The envelope figure C1 of the inspection area B1 corresponding to the sausage S1 extending in a straight line has the same shape as the inspection area B1. This is because the outer periphery of the inspection region B1 is originally represented only by a convex line because the sausage S1 extends linearly. On the other hand, the envelope figure C2 of the inspection area B2 corresponding to the curved sausage S2 has a substantially triangular shape, whereas the inspection area B2 is substantially V-shaped. More specifically, the envelope figure C2 is substantially the same as the triangle formed by straightly connecting the end points on the opposite side of the V-shaped vertex of the two line segments constituting the V-shaped inspection area B2. It has a shape. That is, the envelope figure of the inspection area corresponding to the curved product G has a larger area than the original inspection area.

次に、ステップS73では、凹み領域導出部21dが、ステップS72で導出された各包絡図形C1,C2に含まれる凹み領域D1,D2(図6(d)参照)を導出する。凹み領域とは、ステップS72で導出された包絡図形からステップS71で抽出された検査領域を差し引いた領域のことを言う。   Next, in step S73, the recessed area deriving unit 21d derives recessed areas D1, D2 (see FIG. 6D) included in the envelope figures C1, C2 derived in step S72. A dent area | region means the area | region which deducted the test | inspection area | region extracted by step S71 from the envelope figure derived | led-out by step S72.

したがって、包絡図形C1から包絡図形C1と同じ形状を有する検査領域B1を差し引くことにより導出された凹み領域D1は、面積がゼロの領域となる。このため、凹み領域D1は、図6(d)に示す画像64上に現れない。一方、図6(d)に示すように、包絡図形C2から包絡図形C2よりも面積の小さい検査領域B2を差し引くことにより導出された凹み領域D2は、山形の形状を有している。   Therefore, the recessed area D1 derived by subtracting the inspection area B1 having the same shape as the envelope figure C1 from the envelope figure C1 is an area having a zero area. For this reason, the dent area | region D1 does not appear on the image 64 shown in FIG.6 (d). On the other hand, as shown in FIG. 6D, the recessed area D2 derived by subtracting the inspection area B2 having a smaller area than the envelope figure C2 from the envelope figure C2 has a mountain shape.

次に、ステップS74では、比較部21eが、ステップS73において導出された各凹み領域D1,D2の面積E1,E2を算出し、各面積E1,E2を予め設定されている閾値Fと比較する。そして、比較の結果、凹み領域D1,D2の面積E1,E2が閾値F以下であれば、ソーセージS1,S2は良品と判断され、閾値Fよりも大きければ、ソーセージS1,S2は不良品と判断されることになる。閾値Fは、検査を開始する前に試験等を行うことにより検体であるソーセージS1,S2に合わせて予め適切に定められており、例えば、モニタ30のタッチパネルを介して利用者により入力されてHDD25の閾値ファイル25aに格納されているものとする。ここでは、
E1=0<F<E2
の関係が成り立っている。したがって、ステップS74では、最終的に、ソーセージS1は良品であり、ソーセージS2は不良品であると判断されることになる。そして、ソーセージS1,S2についての湾曲検査が終了する。
Next, in step S74, the comparison unit 21e calculates areas E1 and E2 of the recessed regions D1 and D2 derived in step S73, and compares the areas E1 and E2 with a preset threshold value F. As a result of comparison, if the areas E1 and E2 of the recessed regions D1 and D2 are equal to or less than the threshold value F, the sausages S1 and S2 are determined to be non-defective products, and if larger than the threshold value F, the sausages S1 and S2 are determined to be defective products. Will be. The threshold value F is appropriately determined in advance in accordance with the sausages S1 and S2 that are specimens by performing a test or the like before starting the test. For example, the threshold value F is input by the user via the touch panel of the monitor 30 and is HDD25. Are stored in the threshold file 25a. here,
E1 = 0 <F <E2
The relationship is established. Therefore, in step S74, it is finally determined that the sausage S1 is a non-defective product and the sausage S2 is a defective product. And the curvature inspection about sausage S1, S2 is complete | finished.

なお、凹み領域D1,D2の面積E1,E2は、ソーセージS1,S2の湾曲の程度が増すにつれて大きくなる。したがって、凹み領域D1,D2の面積E1,E2は、ソーセージS1,S2の湾曲の程度を示す指標となっている。すなわち、凹み領域D1,D2の面積E1,E2を閾値Fと比較することにより、凹み領域D1,D2に対応するソーセージS1,S2の湾曲の程度を検査することが可能となっている。   Note that the areas E1, E2 of the recessed regions D1, D2 increase as the degree of curvature of the sausages S1, S2 increases. Accordingly, the areas E1 and E2 of the recessed regions D1 and D2 are indexes indicating the degree of curvature of the sausages S1 and S2. That is, by comparing the areas E1, E2 of the recessed regions D1, D2 with the threshold value F, it is possible to inspect the degree of curvature of the sausages S1, S2 corresponding to the recessed regions D1, D2.

ステップS71〜S74による湾曲検査の結果は、振分機構70に送られる。そして、振分機構70は、不良品と判断されたソーセージS2を不良品貯留コンベア90へと振り分ける。なお、湾曲検査において良品と判断されたソーセージS1については、湾曲検査以外のその他の全ての検査においても良品と判断された場合に限り、正規のラインコンベア80へと振り分けられ、湾曲検査以外のその他の検査のいずれかにおいて不良品と判断された場合には、不良品貯留コンベア90へと振り分けられる。   The results of the curvature inspection in steps S71 to S74 are sent to the distribution mechanism 70. Then, the distribution mechanism 70 distributes the sausage S <b> 2 determined to be defective to the defective product storage conveyor 90. Note that the sausage S1 that is determined to be non-defective in the curvature inspection is distributed to the regular line conveyor 80 only when it is determined to be non-defective in all other inspections other than the curvature inspection. If any of the inspections is determined to be a defective product, the product is distributed to the defective product storage conveyor 90.

〔異物検査〕
制御コンピュータ20のCPU21は、HDD25に格納されている異物検査モジュールを読み出して実行することにより、画像生成部21aにより生成された商品GのX線画像に対して画像処理を施し、商品Gに含まれる異物を検出する。当該異物検査で採用される画像処理の方式には、例えば、トレース検出方式、2値化検出方式等がある。これらの方式で判断した結果、1つでも不良と判断するものがあれば、その商品Gは不良品と判断される。
[Foreign matter inspection]
The CPU 21 of the control computer 20 reads and executes the foreign substance inspection module stored in the HDD 25 to perform image processing on the X-ray image of the product G generated by the image generation unit 21a, and is included in the product G. Detecting foreign objects. Examples of image processing methods employed in the foreign object inspection include a trace detection method and a binarization detection method. As a result of determination by these methods, if there is even one that is determined to be defective, the product G is determined to be defective.

トレース検出方式は、商品Gの大まかな厚さに沿って予め閾値を設定しておき、商品GのX線画像上に当該閾値よりも暗く現れる領域が存在した場合に商品Gに異物が混入していると判断する方式である。この方式では、比較的小さな異物を検出することが可能である。   In the trace detection method, a threshold value is set in advance along the rough thickness of the product G, and foreign matter is mixed into the product G when there is an area that appears darker than the threshold on the X-ray image of the product G. It is a method to judge that. In this method, it is possible to detect a relatively small foreign object.

2値化検出方式は、商品GのX線画像上に予め設定した閾値よりも暗く現れる領域が存在した場合に商品Gに異物が混入していると判断する方式である。この方式では、比較的大きい異物を検出することが可能である。   The binarization detection method is a method for determining that a foreign matter is mixed in the product G when there is an area that appears darker than a preset threshold on the X-ray image of the product G. With this method, it is possible to detect a relatively large foreign object.

また、上記方式において、X線画像上にマスクを設定することも可能となっている。マスクは、例えば、商品Gが容器に包装されている場合にX線画像上の当該容器に対応する領域に対して設定される。   In the above method, a mask can be set on the X-ray image. For example, when the product G is packaged in a container, the mask is set for an area corresponding to the container on the X-ray image.

各方式における閾値やマスクについては、モニタ30のタッチパネル機能を使った使用者からの入力によって設定及び変更が為される。   The threshold value and mask in each method are set and changed by an input from the user using the touch panel function of the monitor 30.

〔割れ欠け検査〕
制御コンピュータ20のCPU21は、HDD25に格納されている割れ欠け検査モジュールを読み出して実行することにより、画像生成部21aにより生成された商品GのX線画像に対して画像処理を施し、商品Gの割れ欠けを検出する。当該割れ欠け検査で採用される画像処理の方式には、パターンマッチング方式、周囲長計測方式等がある。これらの方式で判断した結果、1つでも不良と判断するものがあれば、その商品Gは不良品と判断される。
(Crack inspection)
The CPU 21 of the control computer 20 reads and executes the crack inspection module stored in the HDD 25 to perform image processing on the X-ray image of the product G generated by the image generation unit 21a. Detect cracks and cracks. Image processing methods employed for the crack inspection include a pattern matching method and a perimeter measurement method. As a result of determination by these methods, if there is even one that is determined to be defective, the product G is determined to be defective.

パターンマッチング方式は、予め商品Gの正常状態および異常状態の少なくとも一方におけるX線画像を判断基準としてHDD25に格納しておき、商品GのX線画像と判断基準となるX線画像とを照合する方式である。   In the pattern matching method, an X-ray image in at least one of a normal state and an abnormal state of the product G is stored in the HDD 25 as a determination criterion in advance, and an X-ray image of the product G is compared with an X-ray image serving as a determination criterion. It is a method.

周囲長計測方式は、X線画像上に現れる商品Gの周囲長と、正常状態における商品Gの周囲長とを比較する方式である。正常状態における商品Gの周囲長は、予めHDD25の閾値ファイル25aに格納されている。   The perimeter measurement method is a method of comparing the perimeter of the product G appearing on the X-ray image with the perimeter of the product G in a normal state. The peripheral length of the product G in the normal state is stored in the threshold file 25a of the HDD 25 in advance.

〔数量検査〕
制御コンピュータ20のCPU21は、HDD25に格納されている数量検査モジュールを読み出して実行することにより、画像生成部21aにより生成された商品GのX線画像に対して画像処理を施し、商品Gに含まれる内容物の個数を検査する。
[Quantity inspection]
The CPU 21 of the control computer 20 reads and executes the quantity inspection module stored in the HDD 25, thereby performing image processing on the X-ray image of the product G generated by the image generation unit 21a and including the product G. Check the number of contents to be stored.

当該数量検査では、X線画像上に現れる商品Gの内容物の個数がカウントされ、当該個数が正常であるか否かが判断される。正常状態における商品Gの内容物の個数は、予めHDD25の閾値ファイル25aに格納されている。   In the quantity inspection, the number of contents of the product G appearing on the X-ray image is counted, and it is determined whether or not the number is normal. The number of contents of the product G in the normal state is stored in the threshold file 25a of the HDD 25 in advance.

(特徴)
〔1〕
X線検査装置10の湾曲検査では、ソーセージS1,S2のX線画像61からソーセージS1,S2の占める検査領域B1,B2が抽出され、抽出された検査領域B1,B2の包絡図形C1,C2が導出され、導出された包絡図形C1,C2に基づいてソーセージS1,S2の形状が検査される。すなわち、X線検査装置10では、商品Gの湾曲の程度が、簡易かつ高精度に検査されるようになっている。
(Characteristic)
[1]
In the curvature inspection of the X-ray inspection apparatus 10, the inspection areas B1, B2 occupied by the sausages S1, S2 are extracted from the X-ray images 61 of the sausages S1, S2, and the envelope figures C1, C2 of the extracted inspection areas B1, B2 are extracted. The shapes of the sausages S1 and S2 are inspected based on the derived envelope figures C1 and C2. That is, in the X-ray inspection apparatus 10, the degree of bending of the product G is inspected simply and with high accuracy.

なお、X線検査装置10の湾曲検査は、ソーセージS1,S2のような細長い商品Gの湾曲の程度を検査する場合に特に有用である。   The curvature inspection of the X-ray inspection apparatus 10 is particularly useful when inspecting the degree of curvature of the elongated product G such as the sausages S1 and S2.

〔2〕
X線検査装置10では、画像生成部21aにより生成されたX線画像に対して、湾曲検査とともに、異物検査、割れ欠け検査、数量検査等を施すことが可能となっている。したがって、1枚のX線画像61に基づいて、商品Gを各種の観点から検査することが可能である。
[2]
In the X-ray inspection apparatus 10, it is possible to perform a foreign substance inspection, a cracked chip inspection, a quantity inspection, and the like along with the curvature inspection on the X-ray image generated by the image generation unit 21 a. Therefore, the product G can be inspected from various viewpoints based on one X-ray image 61.

<第2実施形態>
続いて、本発明の第2実施形態にかかるX線検査装置110について説明する。
Second Embodiment
Next, an X-ray inspection apparatus 110 according to the second embodiment of the present invention will be described.

図8に示されるように、第2実施形態にかかるX線検査装置110は、第1実施形態にかかるX線検査装置10と比較すると、制御コンピュータ20において湾曲検査の代わりに凹み検査が実行されるという点においてのみ相違し、その他の点においては同様である。すなわち、第2実施形態にかかるX線検査装置110は、第1実施形態にかかるX線検査装置10の制御コンピュータ20のハードディスク25に格納されている湾曲検査モジュールを凹み検査モジュールに置換したものである。したがって、以下では、第2実施形態にかかる凹み検査の詳細についてのみ説明し、X線検査装置110のその他の構成および動作については第1実施形態と同様であるものとして説明を省略する。   As shown in FIG. 8, the X-ray inspection apparatus 110 according to the second embodiment performs a dent inspection instead of a curvature inspection in the control computer 20 as compared with the X-ray inspection apparatus 10 according to the first embodiment. It is different only in that it is different, and is the same in other points. That is, the X-ray inspection apparatus 110 according to the second embodiment is obtained by replacing the curvature inspection module stored in the hard disk 25 of the control computer 20 of the X-ray inspection apparatus 10 according to the first embodiment with a dent inspection module. is there. Therefore, only the details of the dent inspection according to the second embodiment will be described below, and the other configuration and operation of the X-ray inspection apparatus 110 are the same as those of the first embodiment, and the description thereof will be omitted.

〔凹み検査〕
制御コンピュータ20のCPU21は、HDD25に格納されている凹み検査モジュールを読み出して実行することにより、検査領域抽出部121b、包絡図形導出部121c、凹み領域導出部121dおよび比較部121eとして動作する(図8参照)。これらの各部121b〜121eは、画像生成部21aにより生成された商品GのX線画像に対して画像処理を施すことにより、商品Gの凹みの程度を検査する。
[Indentation inspection]
The CPU 21 of the control computer 20 reads and executes the dent inspection module stored in the HDD 25, thereby operating as an inspection region extraction unit 121b, an envelope graphic derivation unit 121c, a dent region derivation unit 121d, and a comparison unit 121e (FIG. 8). Each of these units 121b to 121e inspects the degree of depression of the product G by performing image processing on the X-ray image of the product G generated by the image generation unit 21a.

以下、図9および図10を参照しつつ、缶詰Tを検体とする場合を例として、凹み検査の詳細について説明する。なお、説明を分かりやすくするために、例示する缶詰Tは、略円柱形状の缶T2に内容物T1を詰めたものであり、缶T2の側面の一部が内側に凹んでいるものとする。図9(a)に示すX線画像161上において、中央に暗く略円形に現れている領域I1は缶詰Tの内容物T1を示しており、領域I1を囲み、領域I1よりもさらに暗くリング状に現れている領域I2は缶詰Tの缶T2を示している。また、領域I2のうち、図9(a)に点線に囲まれる領域I3は、缶T2に形成された凹みを示している。   Hereinafter, the details of the dent inspection will be described with reference to FIGS. 9 and 10 by taking the canned T as a sample. In addition, in order to make explanation easy to understand, the canned food T illustrated is a substantially cylindrical can T2 filled with the contents T1, and a part of the side surface of the can T2 is recessed inside. On the X-ray image 161 shown in FIG. 9A, a region I1 that appears dark and substantially circular at the center indicates the contents T1 of the canned T, surrounds the region I1, and is darker than the region I1 in a ring shape. A region I2 appearing in FIG. 2 shows the can T2 of the can T. Of the region I2, a region I3 surrounded by a dotted line in FIG. 9A indicates a dent formed in the can T2.

まず、ステップS171では、検査領域抽出部121bが、2値化処理により、X線画像161上の領域を、缶詰Tの内容物T1を示す領域J1と、缶詰Tの缶T2または缶詰Tの背景を示す領域J2とに切り分ける。なお、ステップS171で2値化処理の対象となるX線画像161は、画像生成部21aにより生成されたものである。   First, in step S171, the inspection region extraction unit 121b performs binarization processing on the region on the X-ray image 161, the region J1 indicating the contents T1 of the canned T, and the can T2 of the canned T or the background of the canned T. Into the area J2 indicating. Note that the X-ray image 161 to be binarized in step S171 is generated by the image generating unit 21a.

2値化処理では、X線画像161を構成する各画素に対応するX線の透過量の値が、所定の2つの閾値の間にあるか否かが判断される。そして、その判断結果に応じて、各画素に「0」又は「1」のどちらかの値が割り当てられる。「0」は、缶詰Tの内容物T1に対応する領域であることを示し、「1」は、缶詰Tの缶T2または缶詰Tの背景に対応する領域であることを示す。ここで、2値化処理に用いられる2つの閾値は、検査を開始する前に試験等を行うことにより検体である缶詰Tに合わせて予め適切に定められており、例えば、モニタ30のタッチパネルを介して利用者により入力されてHDD25の閾値ファイル25aに格納されているものとする。   In the binarization process, it is determined whether or not the value of the amount of X-ray transmission corresponding to each pixel constituting the X-ray image 161 is between two predetermined threshold values. Then, according to the determination result, either “0” or “1” is assigned to each pixel. “0” indicates a region corresponding to the contents T1 of the canned T, and “1” indicates a region corresponding to the can T2 of the canned T or the background of the canned T. Here, the two threshold values used for the binarization processing are appropriately determined in advance according to the canned sample T by performing a test or the like before starting the inspection. It is assumed that the data is stored in the threshold file 25a of the HDD 25 by the user.

図9(b)に示す画像162は、X線画像161に対して2値化処理を施した後の画像である。画像162上において、中央に白く現れている領域J1は缶詰Tの内容物T1に対応し、その他の黒く現れている領域J2は缶詰Tの缶T2または缶詰Tの背景に対応する。すなわち、ステップS171では、X線画像161から缶詰Tの缶T2に詰められた缶詰Tの内容物T1に対応する領域J1が抽出されることになる。以下、ステップS171で缶詰Tの内容物T1に対応する領域として抽出された領域J1を検査領域J1と呼ぶ。   An image 162 illustrated in FIG. 9B is an image after the binarization process is performed on the X-ray image 161. On the image 162, a region J1 appearing white in the center corresponds to the contents T1 of the canned T, and other regions J2 appearing black correspond to the can T2 of the canned T or the background of the canned T. That is, in step S171, the region J1 corresponding to the contents T1 of the canned T packed in the can T2 of the canned T is extracted from the X-ray image 161. Hereinafter, the region J1 extracted as the region corresponding to the contents T1 of the canned T in step S171 is referred to as an inspection region J1.

次に、ステップS172では、包絡図形導出部121cが、ステップS171で抽出された缶詰Tの内容物T1に対応する検査領域J1の包絡図形K1(図9(c)参照)を導出する。なお、ある領域の包絡図形とは、その領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形のことを言う。言い換えると、ある領域の包絡図形とは、断面がその領域と同じ形状となる物体の、その断面に沿ってかけた輪ゴムにより囲まれる図形のことを言う。また、凸の線とは、当該線に囲まれる領域中の任意の2点を結ぶ線分が、常に当該領域に含まれることになるような線のことを言う。   Next, in step S172, the envelope graphic deriving unit 121c derives the envelope graphic K1 (see FIG. 9C) of the inspection region J1 corresponding to the contents T1 of the canned T extracted in step S171. In addition, the envelope figure of a certain area means a figure that includes the entire area and has the smallest area among figures that are expressed only by a convex line on the outer periphery. In other words, the envelope figure of a certain area refers to a figure surrounded by a rubber band applied along the cross section of an object whose cross section has the same shape as that area. Further, the convex line means a line in which a line segment connecting any two points in a region surrounded by the line is always included in the region.

図9(b)に示す画像162上の検査領域J1の包絡図形K1は、図9(c)に示す画像163上において、中央に白く略円形に現れている。缶詰Tの内容物T1に対応する検査領域J1は、略円の外周の一部を内側に凹ませたような形状を有しているのに対し、その包絡図形K1は、検査領域J1の当該凹みを当該凹み部分に弦を描くようにして埋めたような形状を有している。すなわち、内側に凹んだ缶に詰められた内容物に対応する検査領域の包絡図形は、もとの検査領域よりも面積が大きくなる。   The envelope figure K1 of the inspection area J1 on the image 162 shown in FIG. 9B appears in a white and substantially circular shape at the center on the image 163 shown in FIG. 9C. The inspection area J1 corresponding to the contents T1 of the canned T has a shape in which a part of the outer periphery of a substantially circular shape is recessed inward, whereas the envelope figure K1 is the corresponding area of the inspection area J1. It has a shape in which a dent is filled in by drawing a string in the dent. That is, the envelope figure of the inspection area corresponding to the contents packed in the can recessed inside has a larger area than the original inspection area.

次に、ステップS173では、凹み領域導出部121dが、ステップS172で導出された包絡図形K1に含まれる凹み領域L1(図9(d)参照)を導出する。凹み領域とは、ステップS172で導出された包絡図形からステップS171で抽出された検査領域を差し引いた領域のことを言う。   Next, in step S173, the recessed area deriving unit 121d derives the recessed area L1 (see FIG. 9D) included in the envelope figure K1 derived in step S172. A dent area | region means the area | region which deducted the test | inspection area | region extracted by step S171 from the envelope figure derived | led-out by step S172.

次に、ステップS174では、比較部121eが、ステップS173において導出された凹み領域L1の面積M1を算出し、面積M1を予め設定されている閾値Nと比較する。そして、比較の結果、凹み領域L1の面積M1が閾値N以下であれば、缶詰Tは良品と判断され、閾値Nよりも大きければ、缶詰Tは不良品と判断されることになる。閾値Nは、検査を開始する前に試験等を行うことにより検体である缶詰Tに合わせて予め適切に定められており、例えば、モニタ30のタッチパネルを介して利用者により入力されてHDD25の閾値ファイル25aに格納されているものとする。ここで、仮に、
N<M1
の関係が成り立っているものとする。この場合、ステップS174では、最終的に、缶詰Tは不良品であると判断されることになる。そして、缶詰Tについての凹み検査が終了する。
Next, in step S174, the comparison unit 121e calculates the area M1 of the recessed area L1 derived in step S173, and compares the area M1 with a preset threshold value N. As a result of the comparison, if the area M1 of the recessed region L1 is equal to or less than the threshold value N, the canned product T is determined as a non-defective product, and if it is larger than the threshold value N, the canned product T is determined as a defective product. The threshold value N is appropriately determined in advance according to the canned sample T by performing a test or the like before starting the test. For example, the threshold value N is input by the user via the touch panel of the monitor 30 and the threshold value of the HDD 25 is set. It is assumed that it is stored in the file 25a. Here, tentatively
N <M1
This relationship is established. In this case, in step S174, the canned product T is finally determined to be a defective product. And the dent inspection about canned T is complete | finished.

なお、凹み領域L1の面積M1は、缶詰Tの缶T2の内側への凹みの程度が増すにつれて大きくなる。したがって、凹み領域L1の面積M1は、缶詰Tの缶T2の内側への凹みの程度を示す指標となっている。すなわち、凹み領域L1の面積M1を閾値Nと比較することにより、缶詰Tの缶T2の内側への凹みの程度を検査することが可能となっている。   In addition, the area M1 of the dent area | region L1 becomes large as the degree of the dent to the inner side of the can T2 of the can T increases. Therefore, the area M1 of the dent region L1 is an index indicating the degree of dent in the can T2 inside the can T. That is, by comparing the area M1 of the dent region L1 with the threshold value N, it is possible to inspect the degree of dent in the can T2 inside the can T2.

ステップS171〜S174による凹み検査の結果は、振分機構70に送られる。そして、振分機構70は、不良品と判断された缶詰Tを不良品貯留コンベア90へと振り分ける。   The result of the dent inspection in steps S171 to S174 is sent to the distribution mechanism 70. Then, the distribution mechanism 70 distributes the canned goods T determined to be defective products to the defective product storage conveyor 90.

(特徴)
X線検査装置110の凹み検査では、缶詰TのX線画像161から缶詰Tの缶T2に囲まれる缶詰Tの内容物T1の占める検査領域J1が抽出され、抽出された検査領域J1の包絡図形K1が導出され、導出された包絡図形K1に基づいて缶詰Tの缶T2の形状が検査される。すなわち、X線検査装置110では、商品Gの凹みの程度の異常を簡易かつ高精度に検査することができる。
(Characteristic)
In the dent inspection of the X-ray inspection apparatus 110, the inspection region J1 occupied by the contents T1 of the canned T surrounded by the can T2 of the canned T is extracted from the X-ray image 161 of the canned T, and the envelope figure of the extracted inspection region J1 is extracted. K1 is derived, and the shape of the can T2 of the can T is inspected based on the derived envelope graphic K1. That is, the X-ray inspection apparatus 110 can easily and accurately inspect the abnormality of the degree of the dent of the product G.

なお、X線検査装置110の凹み検査は、缶詰Tのような内部空間を有する容器の内部空間側への凹みを検査する場合に特に有用である。   Note that the dent inspection of the X-ray inspection apparatus 110 is particularly useful when inspecting the dent toward the inner space side of a container having an inner space such as the canned T.

<変形例>
以上、本発明の第1実施形態および第2実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、発明の要旨を逸脱しない範囲で種々の変更が可能である。
<Modification>
Although the first embodiment and the second embodiment of the present invention have been described above, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention.

(A)
上記実施形態では、X線画像61,161から検査領域B1,B2,J1を抽出するために、X線画像61,161上の領域を検査領域B1,B2,J1とその他の領域B3,J2とに切り分ける2値化処理が採用されている。しかしながら、2値化処理に代えて又は加えて、その他の画像処理を採用することも可能である。
(A)
In the above embodiment, in order to extract the inspection areas B1, B2, J1 from the X-ray images 61, 161, the areas on the X-ray images 61, 161 are the inspection areas B1, B2, J1 and the other areas B3, J2. A binarization process is used. However, other image processing can be adopted instead of or in addition to the binarization processing.

(B)
上記実施形態では、2値化処理に用いられる閾値やステップS74,S174で用いられる閾値F,N等の検査パラメータがモニタ30のタッチパネルを介して利用者により手入力される構成となっているが、これが自動入力される構成となっていてもよい。
(B)
In the above embodiment, the threshold value used for the binarization process and the inspection parameters such as the threshold values F and N used in steps S74 and S174 are manually input by the user via the touch panel of the monitor 30. This may be configured to be automatically input.

例えば、良品と不良品との境界にあるソーセージをX線検査装置10に流すことにより、得られたX線画像からそのソーセージに対応する凹み領域の面積が自動計算され、当該面積が閾値Fとして自動設定されるようになっていてもよい。なお、良品と不良品との境界にあるソーセージとは、良品か不良品かの判断基準となるソーセージであって、当該ソーセージよりも真っ直ぐなソーセージが良品として取り扱われ、当該ソーセージよりも湾曲したソーセージが不良品として取り扱われることになる。   For example, by flowing sausage at the boundary between a non-defective product and a defective product to the X-ray inspection apparatus 10, the area of the recessed region corresponding to the sausage is automatically calculated from the obtained X-ray image, and the area is set as the threshold value F. It may be set automatically. Sausage at the boundary between good and defective products is a sausage that is a criterion for determining whether the product is good or defective, and sausage that is straighter than the sausage is treated as a good product and curved more than the sausage. Will be handled as defective.

これにより、利用者による手入力の手間を省くことができる。   Thereby, the trouble of manual input by the user can be saved.

(C)
上記実施形態では、制御コンピュータ20による各種検査が、CPU21がHDD25に格納されている検査プログラムを実行することにより実現されている。しかしながら、各種検査は、その他のソフトウェア、ハードウェア、又はこれらの任意の組み合わせにより実現されてもよい。
(C)
In the above embodiment, various inspections by the control computer 20 are realized by the CPU 21 executing the inspection program stored in the HDD 25. However, various inspections may be realized by other software, hardware, or any combination thereof.

また、検査領域抽出部21b,121b、包絡図形導出部21c,121c、凹み領域導出部21d,121dおよび比較部21e,121eにかかる処理が、X線検査装置10,110本体と別に設けられた装置において実行されるようになっていてもよい。例えば、画像生成部21aにより得られたX線画像61,161がネットワークまたはドライブ104に挿入可能な記憶メディアを介して別体のコンピュータに送られ、送られてきたX線画像61,161に基づいて上記処理が当該コンピュータにおいて実行されるようになっていてもよい。   In addition, the processing relating to the inspection region extraction units 21b and 121b, the envelope figure deriving units 21c and 121c, the recessed region deriving units 21d and 121d, and the comparison units 21e and 121e is an apparatus provided separately from the X-ray inspection apparatuses 10 and 110. It may be executed in the above. For example, the X-ray images 61 and 161 obtained by the image generation unit 21a are sent to a separate computer via a network or a storage medium that can be inserted into the drive 104, and based on the sent X-ray images 61 and 161. The above processing may be executed in the computer.

(D)
上記第1実施形態において、ステップS72の後、ステップS73およびステップS74の代わりに、以下の処理が実行されてもよい。
(D)
In the first embodiment, after step S72, the following processing may be executed instead of step S73 and step S74.

すなわち、ステップS72で導出された各包絡図形C1,C2の面積が予め設定されている閾値と比較される。そして、比較の結果、包絡図形C1,C2の面積が当該閾値以下であれば、ソーセージS1,S2は良品と判断され、当該閾値よりも大きければ、ソーセージS1,S2は不良品と判断されるようになっていてもよい。   That is, the area of each envelope figure C1, C2 derived in step S72 is compared with a preset threshold value. As a result of the comparison, if the areas of the envelope figures C1 and C2 are equal to or smaller than the threshold value, the sausages S1 and S2 are determined to be non-defective products, and if they are larger than the threshold value, the sausages S1 and S2 are determined to be defective products. It may be.

この場合、凹み領域D1,D2を導出する必要がなくなり、湾曲検査にかかる処理が簡略化される。   In this case, it is not necessary to derive the recessed areas D1 and D2, and the process for the curvature inspection is simplified.

また、この変形は、上記第2実施形態にも同様に適用することが可能である。   This modification can also be applied to the second embodiment.

(E)
上記第2実施形態に開示される凹み検査は、内容物の詰められていない缶、すなわち内部が空っぽの缶に対しても有用である。この場合、ステップS171においては、X線画像から缶に囲まれる空洞に対応する領域が検査領域として抽出されることになる。
(E)
The dent inspection disclosed in the second embodiment is also useful for a can that is not filled with contents, that is, an empty can. In this case, in step S171, a region corresponding to the cavity surrounded by the can is extracted from the X-ray image as an inspection region.

(F)
上記第1実施形態にかかるX線検査装置10が上記第2実施形態にかかる凹み検査モジュールを有していてもよい。すなわち、上記第2実施形態にかかるX線検査装置110が上記第1実施形態にかかる湾曲検査モジュールを有していてもよい。
(F)
The X-ray inspection apparatus 10 according to the first embodiment may include the dent inspection module according to the second embodiment. That is, the X-ray inspection apparatus 110 according to the second embodiment may include the curvature inspection module according to the first embodiment.

本発明は、物品の形状の異常を簡易かつ高精度に検査することができるという効果を有し、X線を用いて物品の形状を検査するX線検査装置および検査方法として有用である。   INDUSTRIAL APPLICABILITY The present invention has an effect that an abnormality in the shape of an article can be easily and accurately inspected, and is useful as an X-ray inspection apparatus and an inspection method for inspecting the shape of an article using X-rays.

本発明の第1実施形態にかかるX線検査装置の外観斜視図。1 is an external perspective view of an X-ray inspection apparatus according to a first embodiment of the present invention. X線検査装置のシールドボックス内部の構成図。The 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 block diagram before and behind an X-ray inspection apparatus. 本発明の第1実施形態にかかる制御コンピュータのブロック構成図。The block block diagram of the control computer concerning 1st Embodiment of this invention. (a)ソーセージのX線画像を示す図。(b)(a)に示すX線画像に2値化処理を施した後の画像を示す図。(c)(b)に示す画像に含まれる検査領域の包絡図形を示す図。(d)(c)に示す画像に含まれる凹み領域を示す図。(A) The figure which shows the X-ray image of a sausage. (B) The figure which shows the image after performing the binarization process to the X-ray image shown to (a). (C) The figure which shows the envelope figure of the test | inspection area | region contained in the image shown to (b). (D) The figure which shows the dent area | region contained in the image shown to (c). 本発明の第1実施形態にかかる湾曲検査の処理を示すフローチャート。The flowchart which shows the process of the curvature test | inspection concerning 1st Embodiment of this invention. 本発明の第2実施形態にかかる制御コンピュータのブロック構成図。The block block diagram of the control computer concerning 2nd Embodiment of this invention. (a)缶詰のX線画像を示す図。(b)(a)に示すX線画像に2値化処理を施した後の画像を示す図。(c)(b)に示す画像に含まれる検査領域の包絡図形を示す図。(d)(c)に示す画像に含まれる凹み領域を示す図。(A) The figure which shows the X-ray image of canned food. (B) The figure which shows the image after performing the binarization process to the X-ray image shown to (a). (C) The figure which shows the envelope figure of the test | inspection area | region contained in the image shown to (b). (D) The figure which shows the dent area | region contained in the image shown to (c). 本発明の第2実施形態にかかる凹み検査の処理を示すフローチャート。The flowchart which shows the process of a dent test | inspection concerning 2nd Embodiment of this invention.

符号の説明Explanation of symbols

10,110 X線検査装置
13 X線照射器(照射部)
14 X線ラインセンサ(受光部)
21a 画像生成部(生成部)
21b,121b 検査領域抽出部(抽出部)
21c,121c 包絡図形導出部(導出部)
21d,121d 凹み領域導出部(検査部)
21e,121e 比較部(検査部)
61,161 X線画像
B1,B2 検査領域
C1,C2 包絡図形
D1,D2 凹み領域
E1,E2 凹み領域の面積
F 閾値
G 商品
J1 検査領域
K1 包絡図形
L1 凹み領域
M1 凹み領域の面積
N 閾値
S1 良品のソーセージ(物品)
S2 不良品のソーセージ(物品)
T 缶詰
T1 缶詰の内容物
T2 缶詰の缶(物品)
10,110 X-ray inspection device 13 X-ray irradiator (irradiation unit)
14 X-ray line sensor (light receiving part)
21a Image generation unit (generation unit)
21b, 121b Inspection region extraction unit (extraction unit)
21c, 121c Envelope figure derivation unit (derivation unit)
21d, 121d Depression region derivation part (inspection part)
21e, 121e Comparison part (inspection part)
61,161 X-ray image B1, B2 Inspection area C1, C2 Envelope figure D1, D2 Depression area E1, E2 Depression area area F Threshold G Product J1 Inspection area K1 Envelope figure L1 Depression area M1 Depression area area N Threshold value S1 Good Sausages (articles)
S2 Defective sausage (article)
T Canned T1 Canned contents T2 Canned can (article)

Claims (7)

物品にX線を照射する照射部と、
前記照射部からのX線を受光する受光部と、
前記受光部が受光したX線に基づいてX線画像を生成する生成部と、
前記X線画像から前記物品に対応する領域である検査領域を抽出する抽出部と、
前記検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である包絡図形を導出する導出部と、
前記包絡図形に基づいて前記物品の形状を検査する検査部と、
を備える、
X線検査装置。
An irradiation unit for irradiating the article with X-rays;
A light receiving unit for receiving X-rays from the irradiation unit;
A generator that generates an X-ray image based on the X-rays received by the light receiver;
An extraction unit that extracts an inspection region that is a region corresponding to the article from the X-ray image;
A derivation unit for deriving an envelope figure that includes the entire inspection region and has a minimum area among figures that are expressed only by convex lines on the outer periphery;
An inspection unit that inspects the shape of the article based on the envelope figure;
Comprising
X-ray inspection equipment.
物品にX線を照射する照射部と、
前記照射部からのX線を受光する受光部と、
前記受光部が受光したX線に基づいてX線画像を生成する生成部と、
前記X線画像から前記物品に囲まれる他の物品または空間に対応する領域である検査領域を抽出する抽出部と、
前記検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である包絡図形を導出する導出部と、
前記包絡図形に基づいて前記物品の形状を検査する検査部と、
を備える、
X線検査装置。
An irradiation unit for irradiating the article with X-rays;
A light receiving unit for receiving X-rays from the irradiation unit;
A generator that generates an X-ray image based on the X-rays received by the light receiver;
An extraction unit that extracts an inspection area that is an area corresponding to another article or space surrounded by the article from the X-ray image;
A derivation unit for deriving an envelope figure that includes the entire inspection region and has a minimum area among figures that are expressed only by convex lines on the outer periphery;
An inspection unit that inspects the shape of the article based on the envelope figure;
Comprising
X-ray inspection equipment.
前記検査部は、前記包絡図形から前記検査領域を差し引いた領域である凹み領域を導出し、前記凹み領域の面積と所定の閾値との比較により、前記物品の前記形状を検査する、
請求項1または2に記載のX線検査装置。
The inspection unit derives a recessed area that is an area obtained by subtracting the inspection area from the envelope figure, and inspects the shape of the article by comparing the area of the recessed area with a predetermined threshold value.
The X-ray inspection apparatus according to claim 1 or 2.
前記物品は、細長い形状を有しており、
前記検査部は、前記物品の湾曲の程度を検査する、
請求項1に記載のX線検査装置。
The article has an elongated shape;
The inspection unit inspects the degree of curvature of the article;
The X-ray inspection apparatus according to claim 1.
前記物品は、内部空間を有する容器であり、
前記検査部は、前記物品の凹みの程度を検査する、
請求項2に記載のX線検査装置。
The article is a container having an internal space;
The inspection unit inspects the degree of depression of the article.
The X-ray inspection apparatus according to claim 2.
物品のX線画像から前記物品に対応する領域である検査領域を抽出する抽出ステップと、
前記検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である包絡図形を導出する導出ステップと、
前記包絡図形に基づいて前記物品の形状を検査する検査ステップと、
を備える、
検査方法。
An extraction step of extracting an inspection area, which is an area corresponding to the article, from an X-ray image of the article;
A derivation step of deriving an envelope figure that is a figure that has the smallest area among figures that include the entire inspection area and that is represented only by a convex line on the outer periphery;
An inspection step of inspecting the shape of the article based on the envelope figure;
Comprising
Inspection method.
物品のX線画像から前記物品に囲まれる他の物品または空間に対応する領域である検査領域を抽出する抽出ステップと、
前記検査領域全体を包含し、かつ、外周が凸の線のみで表される図形のうち、面積が最小となる図形である包絡図形を導出する導出ステップと、
前記包絡図形に基づいて前記物品の形状を検査する検査ステップと、
を備える、
検査方法。
An extraction step of extracting an inspection area, which is an area corresponding to another article or space surrounded by the article, from an X-ray image of the article;
A derivation step of deriving an envelope figure that is a figure that has the smallest area among figures that include the entire inspection area and that is represented only by a convex line on the outer periphery;
An inspection step of inspecting the shape of the article based on the envelope figure;
Comprising
Inspection method.
JP2007009416A 2007-01-18 2007-01-18 X-ray inspection apparatus and inspection method Pending JP2008175691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007009416A JP2008175691A (en) 2007-01-18 2007-01-18 X-ray inspection apparatus and inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007009416A JP2008175691A (en) 2007-01-18 2007-01-18 X-ray inspection apparatus and inspection method

Publications (1)

Publication Number Publication Date
JP2008175691A true JP2008175691A (en) 2008-07-31

Family

ID=39702819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007009416A Pending JP2008175691A (en) 2007-01-18 2007-01-18 X-ray inspection apparatus and inspection method

Country Status (1)

Country Link
JP (1) JP2008175691A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010210625A (en) * 2009-03-10 2010-09-24 Wipotec Wiege-& Positioniersysteme Gmbh Inspection device for production machinery
JP2013253832A (en) * 2012-06-06 2013-12-19 Anritsu Sanki System Co Ltd X-ray inspection device
JP2014219382A (en) * 2013-05-10 2014-11-20 アルベルト ハントマン マシネンファブリク ゲーエムベーハー ウントツェーオー.カーゲー Device and method for determining at least one parameter of manufactured sausage

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH102725A (en) * 1996-06-17 1998-01-06 Matsushita Electric Ind Co Ltd Visual inspection device for tape carrier package

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH102725A (en) * 1996-06-17 1998-01-06 Matsushita Electric Ind Co Ltd Visual inspection device for tape carrier package

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010210625A (en) * 2009-03-10 2010-09-24 Wipotec Wiege-& Positioniersysteme Gmbh Inspection device for production machinery
US9440758B2 (en) 2009-03-10 2016-09-13 Wipotec Wiege- Und Positioniersysteme Gmbh Inspection device for a production machine
JP2013253832A (en) * 2012-06-06 2013-12-19 Anritsu Sanki System Co Ltd X-ray inspection device
JP2014219382A (en) * 2013-05-10 2014-11-20 アルベルト ハントマン マシネンファブリク ゲーエムベーハー ウントツェーオー.カーゲー Device and method for determining at least one parameter of manufactured sausage
US9470513B2 (en) 2013-05-10 2016-10-18 Albert Handtmann Maschinenfabrik Gmbh & Co. Kg Apparatus and method for determining at least one parameter of a produced sausage

Similar Documents

Publication Publication Date Title
KR20210126163A (en) Inspection device
JP6126230B2 (en) Inspection device
KR102387529B1 (en) inspection device
JP5864404B2 (en) X-ray inspection equipment
JP6746142B2 (en) Optical inspection system and image processing algorithm setting method
JP6619547B2 (en) Inspection device
JP2008175691A (en) X-ray inspection apparatus and inspection method
JP2007183200A (en) X-ray inspection apparatus and article inspection apparatus
JP2015137858A (en) Inspection device
EP3805742A1 (en) Inspection device
JP4902170B2 (en) Inspection system
JP2005031069A (en) X-ray inspection apparatus
JP2009080031A (en) X-ray inspection device
JP4170366B2 (en) X-ray inspection equipment
JP7411984B2 (en) Inspection equipment
WO2017159856A1 (en) X-ray inspection apparatus
JP2010112850A (en) X-ray inspection device
JP6144584B2 (en) Damage inspection device
JP2021012107A (en) Inspection apparatus and learning apparatus
JP2005106640A (en) X-ray inspection device
JP7250301B2 (en) Inspection device, inspection system, inspection method, inspection program and recording medium
KR102668930B1 (en) Inspection device
JP2021148645A (en) X-ray inspection device
JP5947674B2 (en) X-ray inspection equipment
JP2021124461A (en) X-ray inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110906

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120110