JP2014178128A - Article inspection device - Google Patents
Article inspection device Download PDFInfo
- Publication number
- JP2014178128A JP2014178128A JP2013050521A JP2013050521A JP2014178128A JP 2014178128 A JP2014178128 A JP 2014178128A JP 2013050521 A JP2013050521 A JP 2013050521A JP 2013050521 A JP2013050521 A JP 2013050521A JP 2014178128 A JP2014178128 A JP 2014178128A
- Authority
- JP
- Japan
- Prior art keywords
- light
- image
- article
- package
- infrared light
- 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.)
- Granted
Links
Images
Landscapes
- Analysing Materials By The Use Of Radiation (AREA)
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
Description
本発明は、物品の状態を検査するための物品検査装置に関する。 The present invention relates to an article inspection apparatus for inspecting the state of an article.
フィルム包装袋等のパッケージ内に食品等の内容物を収容して出荷するような物品の生産ラインにおいては、不具合(例えば、パッケージの封止部への内容物の噛み込み、パッケージ内での内容物の破損、パッケージ内への異物の混入等)が発生した物品の出荷を防止するために、物品の状態を検査する必要がある。 In the production line of goods such as food packaging bags that contain contents such as foods for shipment, defects (for example, biting of contents into the sealing part of the package, contents in the package) In order to prevent the shipment of an article in which an article is damaged or a foreign substance is mixed into the package, it is necessary to inspect the condition of the article.
このような物品の状態を検査するための物品検査装置として、例えば、特許文献1記載のシステムが知られている。このシステムでは、パッケージ内に内容物が収容された状態で物品の画像が撮像され、その一方で、パッケージに印字を行うための印字情報に基づいてパッケージの印字部の画像が生成される。そして、物品の画像からパッケージの印字部の画像が減算されることにより、パッケージから印字部が除去された物品の画像が生成される。
As an article inspection apparatus for inspecting the state of such an article, for example, a system described in
上述したようなシステムは、生成した物品の画像においてパッケージ内の内容物の像が抽出され得ることから便利であるものの、当該システムにあっては、パッケージの印字部とパッケージ内の内容物とが重なるような場合に、生成した物品の画像においてパッケージ内の内容物の像に欠けが生じるおそれがある。そして、そのような場合には、パッケージ内の内容物の状態を精度良く把握することは困難である。 The system as described above is convenient because an image of the contents in the package can be extracted from the image of the generated article. However, in the system, the printing unit of the package and the contents in the package are In the case of overlapping, there is a possibility that the image of the contents in the package is missing in the image of the generated article. In such a case, it is difficult to accurately grasp the state of the contents in the package.
そこで、本発明は、パッケージに施された模様とパッケージ内の内容物とが重なるような場合であっても、パッケージ内の内容物の状態を精度良く把握することを可能にする物品検査装置を提供することを目的とする。 Therefore, the present invention provides an article inspection apparatus that makes it possible to accurately grasp the state of the contents in the package even when the pattern applied to the package overlaps the contents in the package. The purpose is to provide.
本発明の物品検査装置は、模様が施されたパッケージ及びパッケージ内に収容された内容物を有する物品に第1の光を照射する第1の光照射部と、第1の光照射部によって物品に照射された第1の光の透過光を検出することにより、第1の光による物品の第1の像を取得する第1の光検出部と、第1の光と異なる波長を有する第2の光を検出することにより、第2の光によるパッケージ又は物品の第2の像を取得する第2の光検出部と、第1の光検出部によって取得された第1の像のうち、模様によって第1の光の強度が減衰させられた領域に対し、第2の光検出部によって取得された第2の像に基づいて第1の光の強度を増幅する補正を施すことにより、検査用画像を生成する画像処理部と、を備える。 The article inspection apparatus according to the present invention includes a first light irradiating unit that irradiates an article having a patterned package and an item contained in the package with a first light, and the first light irradiating unit. By detecting the transmitted light of the first light irradiated on the first light detection unit that acquires the first image of the article by the first light, and the second light having a wavelength different from that of the first light The second light detection unit that acquires the second image of the package or the article by the second light by detecting the light of the first light and the pattern of the first image acquired by the first light detection unit By performing correction for amplifying the intensity of the first light on the basis of the second image acquired by the second light detection unit with respect to the region where the intensity of the first light is attenuated by An image processing unit for generating an image.
この物品検査装置では、第1の光による物品の第1の像のうち、パッケージに施された模様によって第1の光の強度が減衰させられた領域に対し、第2の光によるパッケージ又は物品の第2の像に基づいて第1の光の強度を増幅する補正が施される。これにより、生成された検査用画像においては、パッケージに施された模様とパッケージ内の内容物とが重なっていた場合であっても、パッケージ内の内容物の表示が顕著化されることになる。よって、この物品検査装置によれば、パッケージに施された模様とパッケージ内の内容物とが重なるような場合であっても、パッケージ内の内容物の状態を精度良く把握することが可能となる。 In this article inspection apparatus, a package or article by the second light is applied to a region of the first image of the article by the first light in which the intensity of the first light is attenuated by the pattern applied to the package. Based on the second image, a correction for amplifying the intensity of the first light is performed. Thereby, in the generated inspection image, even when the pattern applied to the package overlaps the contents in the package, the display of the contents in the package becomes noticeable. . Therefore, according to this article inspection apparatus, it is possible to accurately grasp the state of the contents in the package even when the pattern applied to the package overlaps the contents in the package. .
また、第1の光は近赤外光であり、第2の光は可視光であってもよい。第1の光が近赤外光であることにより、内容物が食品等の有機物である場合に当該内容物を表示するために好適な第1の像を取得することができる。更に、第2の光が可視光であることにより、第1の像に補正を施すために好適な第2の像を取得することができる。 The first light may be near infrared light, and the second light may be visible light. When the first light is near-infrared light, a first image suitable for displaying the contents can be acquired when the contents are organic matter such as food. Furthermore, since the second light is visible light, a second image suitable for correcting the first image can be acquired.
また、物品検査装置は、パッケージ又は物品に第2の光を照射する第2の光照射部を更に備えてもよい。この構成によれば、第1の像に補正を施すための第2の像を容易にかつ確実に取得することができる。 The article inspection apparatus may further include a second light irradiation unit that irradiates the package or the article with the second light. According to this configuration, it is possible to easily and reliably acquire the second image for correcting the first image.
また、物品検査装置は、第1の光の透過光と第2の光とを分光することにより、第1の光の透過光を第1の光検出部に入射させ、第2の光を第2の光検出部に入射させる分光部を更に備え、第1の光照射部は、物品に第1の光を照射すると共に、パッケージ又は物品に第2の光を照射してもよい。この構成によれば、第1の光による物品の第1の像と、第2の光によるパッケージ又は物品の第2の像とが略同時に取得されるため、第1の像と第2の像とのマッチングを精度良く行うことができる。 In addition, the article inspection apparatus splits the transmitted light of the first light and the second light so that the transmitted light of the first light is incident on the first light detection unit, and the second light is input to the first light detection unit. The first light irradiating unit may irradiate the article with the first light and irradiate the package or the article with the second light. According to this configuration, since the first image of the article by the first light and the second image of the package or article by the second light are acquired substantially simultaneously, the first image and the second image Can be accurately matched.
また、物品検査装置は、画像処理部によって生成された検査用画像を表示する表示部を更に備えてもよい。この構成によれば、物品検査装置のオペレータに対し、パッケージ内の内容物の表示が顕著化された検査用画像を参照させて、パッケージ内の内容物の状態を精度良く把握させることができる。 The article inspection apparatus may further include a display unit that displays the inspection image generated by the image processing unit. According to this configuration, it is possible to cause the operator of the article inspection apparatus to refer to the inspection image in which the display of the contents in the package is noticeable and to accurately grasp the state of the contents in the package.
また、上記補正は、上記領域における第1の光の強度を、上記領域における第1の光の透過率で除算する補正であってもよい。或いは、上記補正は、上記領域における第1の光の強度に、上記領域における第2の光の強度の反転値を加算する補正であってもよい。これらの補正によれば、上記領域において第1の光の強度を適切に増幅させることができる。 The correction may be correction in which the intensity of the first light in the region is divided by the transmittance of the first light in the region. Alternatively, the correction may be correction in which an inverted value of the intensity of the second light in the region is added to the intensity of the first light in the region. According to these corrections, the intensity of the first light can be appropriately amplified in the region.
本発明によれば、パッケージに施された模様とパッケージ内の内容物とが重なるような場合であっても、パッケージ内の内容物の状態を精度良く把握することが可能となる。 According to the present invention, it is possible to accurately grasp the state of the contents in the package even when the pattern applied to the package overlaps the contents in the package.
以下、本発明の好適な実施形態について、図面を参照して詳細に説明する。なお、各図において同一又は相当部分には同一符号を付し、重複する説明を省略する。
[第1の実施形態]
DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected to the same or equivalent part, and the overlapping description is abbreviate | omitted.
[First Embodiment]
図1に示されるように、物品検査装置1は、下部筐体2と、遮光筐体3と、上部筐体4と、を備えている。下部筐体2内には、物品検査装置1の動作を制御するコンピュータ5が収容されている。上部筐体4には、液晶表示装置等である表示部6が設置されている。物品検査装置1は、物品50の生産ラインにおいて、不具合が発生した物品50の出荷を防止するために、物品50の状態を検査する装置である。
As shown in FIG. 1, the
遮光筐体3には、物品搬入口3a及び物品搬出口3bが設けられている。遮光筐体3内には、物品搬入口3aから物品搬出口3bに向かって物品50を搬送する搬送コンベア7及び搬送コンベア8が配置されている。搬送コンベア7の上流端は、物品搬入口3aから外側に突出しており、搬送コンベア8の下流端は、物品搬出口3bから外側に突出している。搬送コンベア7の下流端と搬送コンベア8の上流端とは、遮光筐体3内において所定の間隙Gをとって対向している。
The
遮光筐体3内には、間隙Gを介して対向するように近赤外光源(第1の光照射部)11及び近赤外光ラインカメラ12が配置されている。近赤外光源11は、搬送コンベア7,8の下側から間隙Gを介して、搬送コンベア7,8によって搬送される物品50に近赤外光(第1の光)を照射する。近赤外光源11は、例えば、近赤外光を出射する複数のLEDが物品50の搬送方向に垂直な方向に沿って一次元に配列されることで構成されている。なお、近赤外光源11によって照射される近赤外光の波長は、800〜1800nmである。
A near-infrared light source (first light irradiation unit) 11 and a near-infrared
近赤外光ラインカメラ12は、近赤外光検出部(第1の光検出部)12aを有している。近赤外光検出部12aは、近赤外光源11によって物品50に照射された近赤外光の透過光を検出することにより、近赤外光による物品50の像(第1の像)、すなわち、物品50の近赤外光像を取得する。近赤外光検出部12aは、例えば、近赤外光を検出する複数のフォトダイオード(PD)が物品50の搬送方向に垂直な方向に沿って一次元に配列されることで構成されている。
The near-infrared
更に、遮光筐体3内には、搬送コンベア7の上側から搬送コンベア7の搬送面に臨むように白色光源(第2の光照射部)13及び可視光エリアカメラ14が配置されている。白色光源13は、後述する物品50のパッケージに、可視光(第1の光と異なる波長を有する第2の光)を含む白色光を照射する。白色光源13は、例えば、白色光を出射する複数のLEDが物品50の搬送方向に平行な方向及び垂直な方向に沿って二次元に配列されることで構成されている。なお、白色光源13によって照射される白色光のうち可視光の波長は、400〜800nmである。
Further, a white light source (second light irradiation unit) 13 and a visible
可視光エリアカメラ14は、可視光検出部(第2の光検出部)14aを有している。可視光検出部14aは、白色光源13によって物品50のパッケージに照射された可視光の反射光を検出することにより、可視光による物品50の像(第2の像)、すなわち、物品50のパッケージの可視光像を取得する。可視光検出部14aは、例えば、可視光を検出する複数のPDが物品50の搬送方向に平行な方向及び垂直な方向に沿って二次元に配列されることで構成されている。
The visible
物品50の生産ラインにおいて、物品検査装置1の上流側には、搬送コンベア20が設置されており、物品検査装置1の下流側には、振分装置30が設置されている。搬送コンベア20は、包装機によってパッケージングされた物品50を物品検査装置1の搬送コンベア7に移送する。振分装置30は、物品検査装置1の搬送コンベア8から移送された物品50のうち、物品検査装置1によって不具合が発生していると判定された物品50を生産ラインから排除する。
In the production line for the
図2に示されるように、物品検査装置1のコンピュータ5は、CPU、ROM、RAM等からなり、少なくとも画像処理部15、判定部16及び記憶部17を有している。画像処理部15及び判定部16は、ROMに格納されているプログラムがRAM上にロードされてCPUで実行されることにより、ソフトウェアで構成される。記憶部17は、メモリ或いはハードディスク等である。なお、コンピュータ5の各処理部は、ハードウェアで構成されてもよい。
As shown in FIG. 2, the
画像処理部15は、近赤外光ラインカメラ12の近赤外光検出部12aによって取得された物品50の近赤外光像、及び可視光エリアカメラ14の可視光検出部14aによって取得された物品50のパッケージの可視光像に基づいて、物品50を検査するための検査用画像を生成する。コンピュータ5は、オペレータの操作等に応じて、画像処理部15によって生成された検査用画像を表示部6に表示させる。判定部16は、画像処理部15によって生成された検査用画像に基づいて、物品50に不具合が発生しているか否かを判定する。コンピュータ5は、判定部16によって物品50に不具合が発生していると判定された場合に、当該物品50を生産ラインから排除するよう、振分装置30に指示する。
The image processing unit 15 is acquired by the near-infrared light image of the
次に、画像処理部15による検査用画像の生成処理について説明する。図3に示されるように、物品検査装置1の検査対象である物品50は、両端の封止部51aにおいて熱溶着等により封止されたパッケージ51、及びパッケージ51内に収容された内容物52を有している。パッケージ51には、模様53が施されている。以下、一例として、パッケージ51が透明のフィルム包装袋であり、内容物52がビスケットであるものとする。また、模様53のうち、模様53Rが赤色の領域であり、模様53Bが青色の領域であるものとする。
Next, inspection image generation processing by the image processing unit 15 will be described. As shown in FIG. 3, an
前提として、画像処理部15は、パッケージ51における近赤外光の透過率を算出する。この近赤外光の透過率の算出手順について、図4のフローチャートを参照しつつ説明する。まず、内容物52が収容されていない空のパッケージ51を搬送コンベア7,8に搬送させることにより、画像処理部15は、可視光エリアカメラ14の可視光検出部14aから当該パッケージ51の可視光像IR,IG,IBを取得し(ステップS11)、更に、近赤外光ラインカメラ12の近赤外光検出部12aから当該パッケージ51の近赤外光像INを取得する(ステップS12)。ここで、可視光像IRは、赤色の波長成分による像(以下、「赤色波長成分像」という)であり、可視光像IGは、緑色の波長成分による像(以下、「緑色波長成分像」という)であり、可視光像IBは、青色の波長成分による像(以下、「青色波長成分像」という)である。一例として、図5の(a)に示されるx軸に沿ったパッケージ51の可視光像の画素値(画素ごとの256階調の光強度)IR(x),IG(x),IB(x)は、それぞれ、図5の(b),(c),(d)に示されるようになる。また、図5の(a)に示されるx軸に沿ったパッケージ51の近赤外光像の画素値IN(x)は、図5の(e)に示されるようになる。
As a premise, the image processing unit 15 calculates the transmittance of near infrared light in the
続いて、画像処理部15は、可視光像IR,IG,IBに基づいて、近赤外光像INの各画素が赤領域であるか否かを判断する(ステップS13)。より具体的には、画像処理部15は、近赤外光像INの各画素に対応する可視光像IR,IG,IBの各画素の画素値に基づいて、近赤外光像INの各画素について、[IR(x)>IR_th]∩[IB(x)<IB_th]を満たすか否かを判断する。ここで、IR_thは、図5の(b)に示されるように、赤色波長成分像の画素値IR(x)が低くなる青領域を識別するための閾値であり、IB_thは、図5の(d)に示されるように、青色波長成分像の画素値IB(x)が低くなる赤領域を識別するための閾値である。 Subsequently, the image processing unit 15, a visible light image I R, I G, based on the I B, each pixel of the near-infrared light image I N is determined whether or not the red region (step S13). More specifically, the image processing unit 15 performs near-infrared light based on the pixel values of the visible light images I R , I G , and I B corresponding to the pixels of the near-infrared light image I N. For each pixel of the image I N , it is determined whether or not [I R (x)> I R_th ] _ [I B (x) <I B_th ] is satisfied. Here, I R_th is a threshold value for identifying a blue region where the pixel value I R (x) of the red wavelength component image is low, as shown in FIG. 5B , and I B_th is As shown in (d) of 5, this is a threshold value for identifying a red region where the pixel value I B (x) of the blue wavelength component image is low.
続いて、画像処理部15は、赤領域であると判断された近赤外光像INの各画素の画素値に基づいて、赤領域における近赤外光の透過率PRを算出し(ステップS14)、当該透過率PRを記憶部17に記憶させる(ステップS17)。より具体的には、画像処理部15は、図5の(e)に示されるように、赤領域における近赤外光像の画素値IN2をパッケージ51の透明領域における近赤外光像の画素値IN1で除算することにより、赤領域における近赤外光の透過率PRを算出する。 Subsequently, the image processing unit 15, based on the pixel value of each pixel of the near-infrared light image I N it is determined that the red area, calculates the transmittance P R of the near-infrared light in the red region ( step S14), and stores the transmittance P R in the storage unit 17 (step S17). More specifically, as illustrated in FIG. 5E, the image processing unit 15 uses the near-infrared light image pixel value I N2 in the red region of the near-infrared light image in the red region. by dividing the pixel value I N1, calculates the transmittance P R of the near-infrared light in the red region.
続いて、画像処理部15は、可視光像IR,IG,IBに基づいて、赤領域ではないと判断された近赤外光像INの各画素が青領域であるか否かを判断する(ステップS15)。より具体的には、画像処理部15は、近赤外光像INの各画素に対応する可視光像IR,IG,IBの各画素の画素値に基づいて、近赤外光像INの各画素について、[IR(x)<IR_th]∩[IB(x)>IB_th]を満たすか否かを判断する。 Subsequently, the image processing unit 15, a visible light image I R, I G, based on the I B, whether each pixel of the near-infrared light image I N that is determined not to be a red region is a blue region Is determined (step S15). More specifically, the image processing unit 15 performs near-infrared light based on the pixel values of the visible light images I R , I G , and I B corresponding to the pixels of the near-infrared light image I N. For each pixel of the image I N , it is determined whether or not [I R (x) <I R_th ] ∩ [I B (x)> I B_th ] is satisfied.
続いて、画像処理部15は、青領域であると判断された近赤外光像INの各画素の画素値に基づいて、青領域における近赤外光の透過率PBを算出し(ステップS16)、当該透過率PBを記憶部17に記憶させる(ステップS17)。より具体的には、画像処理部15は、図5の(e)に示されるように、青領域における近赤外光像の画素値IN3をパッケージ51の透明領域における近赤外光像の画素値IN1で除算することにより、青領域における近赤外光の透過率PBを算出する。
Subsequently, the image processing unit 15, based on the pixel value of each pixel of the near-infrared light image I N it is determined that the blue region, and calculates the transmittance P B of the near-infrared light in the blue region ( In step S16), the transmittance P B is stored in the storage unit 17 (step S17). More specifically, as shown in FIG. 5E, the image processing unit 15 uses the near-infrared light image pixel value I N3 in the blue region in the near-infrared light image in the transparent region of the
以上のように、パッケージ51における近赤外光の透過率を算出した上で、画像処理部15は、物品50を検査するための検査用画像を取得する。この検査用画像の取得手順について、図6のフローチャートを参照しつつ説明する。まず、パッケージ51内に内容物52が収容された状態で物品50が搬送コンベア7,8によって搬送される際に、画像処理部15は、可視光エリアカメラ14の可視光検出部14aから当該物品50の可視光像IR,IG,IBを取得し(ステップS21)、更に、近赤外光ラインカメラ12の近赤外光検出部12aから当該物品50の近赤外光像INを取得する(ステップS22)。一例として、図7の(a)に示されるx軸に沿った物品50の可視光像の画素値IR(x),IG(x),IB(x)は、それぞれ、図7の(b),(c),(d)に示されるようになる。また、図7の(a)に示されるx軸に沿った物品50の近赤外光像の画素値IN(x)は、図7の(e)に示されるようになる。なお、図7の(a)に示されるように、パッケージ51内において内容物52が割れているものとする。
As described above, after calculating the near-infrared light transmittance in the
続いて、画像処理部15は、可視光像IR,IG,IBに基づいて、近赤外光像INの各画素が赤領域であるか否かを判断する(ステップS23)。より具体的には、画像処理部15は、近赤外光像INの各画素に対応する可視光像IR,IG,IBの各画素の画素値に基づいて、近赤外光像INの各画素について、[IR(x)>IR_th]∩[IB(x)<IB_th]を満たすか否かを判断する。 Subsequently, the image processing unit 15, a visible light image I R, I G, based on the I B, each pixel of the near-infrared light image I N is determined whether or not the red region (step S23). More specifically, the image processing unit 15 performs near-infrared light based on the pixel values of the visible light images I R , I G , and I B corresponding to the pixels of the near-infrared light image I N. For each pixel of the image I N , it is determined whether or not [I R (x)> I R_th ] _ [I B (x) <I B_th ] is satisfied.
続いて、画像処理部15は、赤領域であると判断された近赤外光像INの各画素の画素値を補正する(ステップS24)。より具体的には、画像処理部15は、赤領域における近赤外光像の画素値IN(x)を赤領域における近赤外光の透過率PR(前提として記憶部17に記憶させたもの)で除算することにより、赤領域における近赤外光像の補正画素値I´N(x)を算出する。
Subsequently, the image processing unit 15 corrects the pixel value of each pixel of the near-infrared light image I N it is determined that the red area (step S24). More specifically, the image processing unit 15 causes the pixel value I N (x) of the near-infrared light image in the red region to be stored in the
続いて、画像処理部15は、可視光像IR,IG,IBに基づいて、赤領域ではないと判断された近赤外光像INの各画素が青領域であるか否かを判断する(ステップS25)。より具体的には、画像処理部15は、近赤外光像INの各画素に対応する可視光像IR,IG,IBの各画素の画素値に基づいて、近赤外光像INの各画素について、[IR(x)<IR_th]∩[IB(x)>IB_th]を満たすか否かを判断する。 Subsequently, the image processing unit 15, a visible light image I R, I G, based on the I B, whether each pixel of the near-infrared light image I N that is determined not to be a red region is a blue region Is determined (step S25). More specifically, the image processing unit 15 performs near-infrared light based on the pixel values of the visible light images I R , I G , and I B corresponding to the pixels of the near-infrared light image I N. For each pixel of the image I N , it is determined whether or not [I R (x) <I R_th ] ∩ [I B (x)> I B_th ] is satisfied.
続いて、画像処理部15は、青領域であると判断された近赤外光像INの各画素の画素値を補正する(ステップS26)。より具体的には、画像処理部15は、青領域における近赤外光像の画素値IN(x)を青領域における近赤外光の透過率PB(前提として記憶部17に記憶させたもの)で除算することにより、青領域における近赤外光像の補正画素値I´N(x)を算出する。
Subsequently, the image processing unit 15 corrects the pixel value of each pixel of the near-infrared light image I N it is determined that the blue region (step S26). More specifically, the image processing unit 15 causes the near-infrared light pixel value I N (x) in the blue region to be stored in the
以上のように、画像処理部15は、物品50の近赤外光像INのうち、模様53R,53Bによって近赤外光の強度が減衰させられた領域に対し、パッケージ51の可視光像IR,IG,IBに基づいて近赤外光の強度を増幅する補正(当該領域における近赤外光の強度を、当該領域における近赤外光の透過率で除算する補正)を施すことにより、検査用画像I´Nを生成し、取得する(ステップS27)。図8の(a)に示されるように、x軸に沿った検査用画像の補正画素値I´N(x)においては、模様53R,53Bによって近赤外光の強度が減衰させられた分(図8の(a)における破線部分)が増幅され、図8の(b)に示されるように、パッケージ51内の内容物52の表示が顕著化された検査用画像I´Nが取得される。これにより、判定部16は、画像処理部15によって生成された検査用画像I´Nに基づいて、物品50に不具合(パッケージ51内での内容物52の割れ、欠け等の破損の他、パッケージ51の封止部51aへの内容物52の噛み込み、パッケージ51内への異物の混入等)が発生しているか否かを精度よく判定することができる。
As described above, the image processing unit 15, among the near infrared light image I N of the
以上、説明したように、物品検査装置1では、物品50の近赤外光像のうち、パッケージ51に施された模様53によって近赤外光の強度が減衰させられた領域に対し、パッケージ51の可視光像に基づいて近赤外光の強度を増幅する補正が施される。これにより、生成された検査用画像においては、パッケージ51に施された模様53とパッケージ51内の内容物52とが重なっていた場合であっても、パッケージ51内の内容物52の表示が顕著化されることになる。よって、物品検査装置1によれば、パッケージ51に施された模様53とパッケージ51内の内容物52とが重なるような場合であっても、パッケージ51内の内容物52の状態を精度良く把握することが可能となる。
As described above, in the
そして、物品検査装置1を用いることにより、模様53と内容物52とが重ならないようにパッケージ51のデザインを変更したり、パッケージ51に模様53を施すために近赤外光を減衰し難いインクを使用したりすることが不要となり、パッケージ51に模様53を施す上での自由度が高まる。
Then, by using the
また、上記補正として、模様53によって近赤外光の強度が減衰させられた領域における近赤外光の強度を、当該領域における近赤外光の透過率で除算する補正を行うことにより、当該領域において近赤外光の強度を適切に増幅させることができる。
Further, as the above correction, by correcting the intensity of the near infrared light in the region where the intensity of the near infrared light is attenuated by the
また、近赤外光を用いることにより、内容物52が食品等の有機物である場合に当該内容物52を表示するために好適な近赤外光像を取得することができる。更に、可視光を用いることにより、近赤外光像に補正を施すために好適な可視光像を取得することができる。
Further, by using near infrared light, when the
また、物品検査装置1は、画像処理部15によって生成された検査用画像を表示する表示部6を備えているため、物品検査装置1のオペレータに対し、パッケージ51内の内容物52の表示が顕著化された検査用画像を参照させて、パッケージ51内の内容物52の状態を精度良く把握させることができる。
[第2の実施形態]
In addition, since the
[Second Embodiment]
第2の実施形態の物品検査装置1は、画像処理部15による検査用画像の生成処理において、上述した第1の実施形態の物品検査装置1と相違している。以下、第1の実施形態と同様の物品50を検査対象とする場合における検査用画像の生成処理について説明する。
The
前提として、画像処理部15は、補正係数AR,ABを算出する。この補正係数AR,ABの算出手順について、図9のフローチャートを参照しつつ説明する。まず、内容物52が収容されていない空のパッケージ51を搬送コンベア7,8に搬送させることにより、画像処理部15は、可視光エリアカメラ14の可視光検出部14aから当該パッケージ51の可視光像IR,IG,IBを取得し(ステップS31)、更に、近赤外光ラインカメラ12の近赤外光検出部12aから当該パッケージ51の近赤外光像INを取得する(ステップS32)。一例として、第1の実施形態と同様に、図5の(a)に示されるx軸に沿ったパッケージ51の可視光像の画素値IR(x),IG(x),IB(x)は、それぞれ、図5の(b),(c),(d)に示されるようになる。また、図5の(a)に示されるx軸に沿ったパッケージ51の近赤外光像の画素値IN(x)は、図5の(e)に示されるようになる。
As a premise, the image processing unit 15 calculates correction coefficients A R and A B. The procedure for calculating the correction coefficients A R and A B will be described with reference to the flowchart of FIG. First, the image processing unit 15 causes the visible
続いて、画像処理部15は、パッケージ51の近赤外光像IN及び可視光像IR,IG,IBに基づいて、補正係数AR,ABを算出する。より具体的には、画像処理部15は、次式(1),(2)により、補正係数AR,ABを算出し(ステップS33)、当該補正係数AR,ABを記憶部17に記憶させる(ステップS34)。なお、IR1は、パッケージ51の透明領域及び赤領域における赤色波長成分像の画素値であり、IR2は、パッケージ51の青領域における赤色波長成分像の画素値である(図5の(b)参照)。また、IB1は、パッケージ51の透明領域及び青領域における青色波長成分像の画素値であり、IB2は、パッケージ51の赤領域における青色波長成分像の画素値である(図5の(d)参照)。更に、IN1は、パッケージ51の透明領域における近赤外光像の画素値であり、IN2は、赤領域における近赤外光像の画素値であり、IN3は、青領域における近赤外光像の画素値である(図5の(e)参照)。
補正係数AR=(IN1−IN3)/(IR1−IR2)・・・(1)
補正係数AB=(IN1−IN2)/(IB1−IB2)・・・(2)
Subsequently, the image processing unit 15 calculates correction coefficients A R and A B based on the near-infrared light image I N and the visible light images I R , I G and I B of the
Correction coefficient A R = (I N1 −I N3 ) / (I R1 −I R2 ) (1)
Correction coefficient A B = (I N1 −I N2 ) / (I B1 −I B2 ) (2)
以上のように、補正係数AR,ABを算出した上で、画像処理部15は、物品50を検査するための検査用画像を取得する。この検査用画像の取得手順について、図10のフローチャートを参照しつつ説明する。まず、パッケージ51内に内容物52が収容された状態で物品50が搬送コンベア7,8によって搬送される際に、画像処理部15は、可視光エリアカメラ14の可視光検出部14aから当該物品50の可視光像IR,IG,IBを取得し(ステップS41)、更に、近赤外光ラインカメラ12の近赤外光検出部12aから当該物品50の近赤外光像INを取得する(ステップS42)。一例として、第1の実施形態と同様に、図7の(a)に示されるx軸に沿った物品50の可視光像の画素値IR(x),IG(x),IB(x)は、それぞれ、図7の(b),(c),(d)に示されるようになる。また、図7の(a)に示されるx軸に沿った物品50の近赤外光像の画素値IN(x)は、図7の(e)に示されるようになる。
As described above, after calculating the correction coefficients A R, A B, the image processing unit 15 obtains an inspection image for inspecting the
続いて、画像処理部15は、可視光像IR,IBを反転する(ステップS43)。より具体的には、次式(3),(4)により、赤色波長成分像の画素値の反転値I´R(x)及び青色波長成分像の画素値の反転値I´B(x)を算出する。一例として、図7の(b)に示される赤色波長成分像の画素値の反転値I´R(x)は、図11の(a)に示されるようになる。また、図7の(d)に示される青色波長成分像の画素値の反転値I´B(x)は、図11の(b)に示されるようになる。
I´R(x)=255−IR(x)・・・(3)
I´B(x)=255−IB(x)・・・(4)
Subsequently, the image processing unit 15 inverts the visible light images I R and I B (step S43). More specifically, according to the following equations (3) and (4), the inverted value I ′ R (x) of the pixel value of the red wavelength component image and the inverted value I ′ B (x) of the pixel value of the blue wavelength component image. Is calculated. As an example, the inversion value I ′ R (x) of the pixel value of the red wavelength component image shown in FIG. 7B is as shown in FIG. Further, the inversion value I ′ B (x) of the pixel value of the blue wavelength component image shown in (d) of FIG. 7 is as shown in (b) of FIG.
I ′ R (x) = 255−I R (x) (3)
I ′ B (x) = 255−I B (x) (4)
続いて、画像処理部15は、赤領域及び青領域に対応する近赤外光像INの各画素の画素値を補正する(ステップS44)。より具体的には、画像処理部15は、次式(5)により、近赤外光像の画素値IN(x)に赤色波長成分像の画素値の反転値I´R(x)及び青色波長成分像の画素値の反転値I´B(x)を加算することにより、近赤外光像の補正画素値I´N(x)を算出する。
I´N(x)=IN(x)+AR・I´R(x)+AB・I´B(x)・・・(5)
Subsequently, the image processing unit 15 corrects the pixel value of each pixel of the near-infrared light image I N corresponding to the red region and the blue region (step S44). More specifically, the image processing unit 15 calculates the inversion value I ′ R (x) of the pixel value of the red wavelength component image and the pixel value I N (x) of the near-infrared light image by the following equation (5). By adding the inverted value I ′ B (x) of the pixel value of the blue wavelength component image, the corrected pixel value I ′ N (x) of the near-infrared light image is calculated.
I ′ N (x) = I N (x) + A R · I ′ R (x) + A B · I ′ B (x) (5)
以上のように、画像処理部15は、物品50の近赤外光像INのうち、模様53R,53Bによって近赤外光の強度が減衰させられた領域に対し、パッケージ51の可視光像IR,IG,IBに基づいて近赤外光の強度を増幅する補正(当該領域における近赤外光の強度に、当該領域における可視光の強度の反転値を加算する補正)を施すことにより、検査用画像I´Nを生成し、取得する(ステップS45)。図11の(c)に示されるように、x軸に沿った検査用画像の補正画素値I´N(x)においては、模様53R,53Bによって近赤外光の強度が減衰させられた分(図11の(c)における破線部分)が増幅され、図11の(d)に示されるように、パッケージ51内の内容物52の表示が顕著化された検査用画像I´Nが取得される。これにより、判定部16は、画像処理部15によって生成された検査用画像I´Nに基づいて、物品50に不具合(パッケージ51内での内容物52の割れ、欠け等の破損の他、パッケージ51の封止部51aへの内容物52の噛み込み、パッケージ51内への異物の混入等)が発生しているか否かを精度よく判定することができる。
As described above, the image processing unit 15, among the near infrared light image I N of the
以上説明したように、物品検査装置1では、物品50の近赤外光像のうち、パッケージ51に施された模様53によって近赤外光の強度が減衰させられた領域に対し、パッケージ51の可視光像に基づいて近赤外光の強度を増幅する補正が施される。よって、物品検査装置1によれば、第1の実施形態と同様に、パッケージ51に施された模様53とパッケージ51内の内容物52とが重なるような場合であっても、パッケージ51内の内容物52の状態を精度良く把握することが可能となる。
As described above, in the
また、上記補正として、模様53によって近赤外光の強度が減衰させられた領域における近赤外光の強度に、当該領域における可視光の強度の反転値を加算する補正を行うことにより、当該領域において近赤外光の強度を適切に増幅させることができる。
Further, as the above correction, the correction is performed by adding the inversion value of the visible light intensity in the region to the intensity of the near infrared light in the region where the intensity of the near infrared light is attenuated by the
以上、本発明の第1及び第2の実施形態について説明したが、本発明は、上記第1及び第2の実施形態に限定されるものではない。例えば、パッケージ51に施された模様53は、赤色の領域である模様53R、及び青色の領域である模様53Bに限定されず、文字、図形、記号若しくはこれらの結合又はこれらと色彩との結合であれば、その他のものであってもよい。また、近赤外光ラインカメラ12に代えて近赤外光エリアカメラを用いてもよいし、可視光エリアカメラ14に代えて可視光ラインカメラを用いてもよい。
Although the first and second embodiments of the present invention have been described above, the present invention is not limited to the first and second embodiments. For example, the
また、上記第1及び第2の実施形態では、第1の光として、物品50に近赤外光を照射し、物品50に照射された近赤外光の透過光を検出することにより、近赤外光による物品50の像を取得したが、第1の光として、物品50にX線、近赤外光以外の赤外光又はテラヘルツ波等を照射し、物品50に照射されたX線、赤外光又はテラヘルツ波等の透過光を検出することにより、X線、赤外光又はテラヘルツ波等による物品50の像を取得してもよい。
In the first and second embodiments, the near light is irradiated on the
また、上記第1及び第2の実施形態では、第2の光として、パッケージ51に可視光を照射し、パッケージ51に照射された可視光の反射光を検出することにより、可視光によるパッケージ51の像を取得したが、第2の光として、パッケージ51に、第1の光と異なる波長を有する近赤外光、又は単色の可視光(例えば赤色光)等を照射し、パッケージ51に照射された近赤外光、又は単色の可視光等の反射光を検出することにより、近赤外光、又は単色の可視光等によるパッケージ51の像を取得してもよい。ここで、パッケージ51に照射された光の反射光に代えて、パッケージ51に照射された光の透過光を検出することにより、当該光によるパッケージ51の像を取得してもよい。更に、パッケージ51に代えて、パッケージ51内に内容物52が収容された状態で物品50に光を照射し、物品50に照射された当該光の反射光又は透過光を検出することにより、当該光による物品50の像を取得してもよい。
In the first and second embodiments, the
また、パッケージ51又は物品50に白色光を照射する場合において、例えば自然光を十分に利用することができるようなときには、白色光を照射する白色光源13は不要である。ただし、第1及び第2の実施形態のように、物品検査装置1が白色光源13を備えていれば、近赤外光像に補正を施すための可視光像を容易にかつ確実に取得することができる。
Further, when the
また、例えば上記第1及び第2の実施形態において、近赤外光検出部12a及び可視光検出部14aが1つのカメラに設けられていてもよい。この場合、近赤外光と可視光とを分光することにより、近赤外光を近赤外光検出部12aに入射させ、可視光を可視光検出部14aに入射させる分光部(プリズム等)が、例えばカメラのレンズの後段等に設けられる。そして、光照射部としては、例えば、近赤外光を出射するLED及び白色光を出射するLEDの両方を有する装置等、近赤外光を照射すると共に可視光を照射するものが用いられる。この構成によれば、物品50の近赤外光像と、パッケージ51又は物品50の可視光像とが略同時に取得されるため、近赤外光像と可視光像とのマッチングを精度良く行うことができる。
Further, for example, in the first and second embodiments, the near-infrared
1…物品検査装置、6…表示部、11…近赤外光源(第1の光照射部)、12a…近赤外光検出部(第1の光検出部)、13…白色光源(第2の光照射部)、14a…可視光検出部(第2の光検出部)、15…画像処理部。
DESCRIPTION OF
Claims (7)
前記第1の光照射部によって前記物品に照射された前記第1の光の透過光を検出することにより、前記第1の光による前記物品の第1の像を取得する第1の光検出部と、
前記第1の光と異なる波長を有する第2の光を検出することにより、前記第2の光による前記パッケージ又は前記物品の第2の像を取得する第2の光検出部と、
前記第1の光検出部によって取得された前記第1の像のうち、前記模様によって前記第1の光の強度が減衰させられた領域に対し、前記第2の光検出部によって取得された前記第2の像に基づいて前記第1の光の強度を増幅する補正を施すことにより、検査用画像を生成する画像処理部と、を備える、物品検査装置。 A first light irradiating unit for irradiating a first light to an article having a package with a pattern and the contents contained in the package;
A first light detection unit that acquires a first image of the article by the first light by detecting transmitted light of the first light irradiated on the article by the first light irradiation unit. When,
A second light detection unit that obtains a second image of the package or the article by the second light by detecting second light having a wavelength different from that of the first light;
Of the first image acquired by the first light detection unit, the region acquired by the second light detection unit with respect to a region where the intensity of the first light is attenuated by the pattern. An article inspection apparatus comprising: an image processing unit that generates an inspection image by performing a correction for amplifying the intensity of the first light based on a second image.
前記第1の光照射部は、前記物品に前記第1の光を照射すると共に、前記パッケージ又は前記物品に前記第2の光を照射する、請求項1又は2記載の物品検査装置。 By separating the transmitted light and the second light of the first light, the transmitted light of the first light is incident on the first light detection unit, and the second light is A spectroscopic unit that is incident on the second photodetecting unit;
The article inspection apparatus according to claim 1, wherein the first light irradiation unit irradiates the first light to the article and irradiates the second light to the package or the article.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013050521A JP6043220B2 (en) | 2013-03-13 | 2013-03-13 | Inspection equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013050521A JP6043220B2 (en) | 2013-03-13 | 2013-03-13 | Inspection equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014178128A true JP2014178128A (en) | 2014-09-25 |
JP6043220B2 JP6043220B2 (en) | 2016-12-14 |
Family
ID=51698247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013050521A Expired - Fee Related JP6043220B2 (en) | 2013-03-13 | 2013-03-13 | Inspection equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6043220B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019168393A (en) * | 2018-03-26 | 2019-10-03 | 株式会社Screenホールディングス | Electromagnetic wave transmission measurement device and electromagnetic wave transmission measurement method |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2022044430A1 (en) * | 2020-08-26 | 2022-03-03 | ||
KR102303721B1 (en) * | 2021-04-01 | 2021-09-16 | 김선호 | Inspection device for contact lenses package and inspection method for the same |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030141456A1 (en) * | 2002-01-30 | 2003-07-31 | Mc Neal Jack D. | Sample level detection system |
JP2006010453A (en) * | 2004-06-24 | 2006-01-12 | Aloka Co Ltd | Interface detector, volume measuring instrument, and interface detecting method |
JP2009080031A (en) * | 2007-09-26 | 2009-04-16 | Ishida Co Ltd | X-ray inspection device |
JP2009162685A (en) * | 2008-01-09 | 2009-07-23 | Shonai Create Kogyo:Kk | Apparatus for inspecting packaged food with near-infrared light |
JP2011247635A (en) * | 2010-05-24 | 2011-12-08 | Hitachi High-Technologies Corp | Biological sample analyzer |
-
2013
- 2013-03-13 JP JP2013050521A patent/JP6043220B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030141456A1 (en) * | 2002-01-30 | 2003-07-31 | Mc Neal Jack D. | Sample level detection system |
JP2006010453A (en) * | 2004-06-24 | 2006-01-12 | Aloka Co Ltd | Interface detector, volume measuring instrument, and interface detecting method |
JP2009080031A (en) * | 2007-09-26 | 2009-04-16 | Ishida Co Ltd | X-ray inspection device |
JP2009162685A (en) * | 2008-01-09 | 2009-07-23 | Shonai Create Kogyo:Kk | Apparatus for inspecting packaged food with near-infrared light |
JP2011247635A (en) * | 2010-05-24 | 2011-12-08 | Hitachi High-Technologies Corp | Biological sample analyzer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019168393A (en) * | 2018-03-26 | 2019-10-03 | 株式会社Screenホールディングス | Electromagnetic wave transmission measurement device and electromagnetic wave transmission measurement method |
WO2019187379A1 (en) * | 2018-03-26 | 2019-10-03 | 株式会社Screenホールディングス | Electromagnetic wave transmission measuring device and electromagnetic wave transmission measuring method |
Also Published As
Publication number | Publication date |
---|---|
JP6043220B2 (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20120327227A1 (en) | Package inspection apparatus | |
JP6126230B2 (en) | Inspection device | |
JP5884144B1 (en) | Packaging inspection equipment | |
JP5896840B2 (en) | Inspection device for packed products stuffed with eggs | |
JP6043220B2 (en) | Inspection equipment | |
JP2017020843A (en) | Packaged body inspection device | |
JP6619547B2 (en) | Inspection device | |
JP2010286424A (en) | Article inspection device | |
JP6068060B2 (en) | X-ray inspection equipment | |
JP2015137858A (en) | Inspection device | |
WO2019235022A1 (en) | Inspection device | |
JP6346753B2 (en) | Package inspection equipment | |
JP6612100B2 (en) | Inspection equipment | |
JP6420065B2 (en) | Inspection device | |
JP2009080031A (en) | X-ray inspection device | |
JP2015083967A (en) | Inspection equipment | |
JP2009080030A (en) | X-ray inspection device | |
JP5907051B2 (en) | Inspection device and inspection method | |
JP2018136189A (en) | Heterogenous article detection device | |
JP6454503B2 (en) | Inspection device | |
JP2006105746A (en) | Method and apparatus for inspecting package | |
JP7328667B2 (en) | inspection equipment | |
JP6392552B2 (en) | Inspection device | |
US20230258581A1 (en) | X-ray inspection apparatus | |
JP7250301B2 (en) | Inspection device, inspection system, inspection method, inspection program and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160203 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161026 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20161108 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161111 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6043220 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |