JP5644580B2 - Anomaly judgment device and anomaly judgment method - Google Patents

Anomaly judgment device and anomaly judgment method Download PDF

Info

Publication number
JP5644580B2
JP5644580B2 JP2011036310A JP2011036310A JP5644580B2 JP 5644580 B2 JP5644580 B2 JP 5644580B2 JP 2011036310 A JP2011036310 A JP 2011036310A JP 2011036310 A JP2011036310 A JP 2011036310A JP 5644580 B2 JP5644580 B2 JP 5644580B2
Authority
JP
Japan
Prior art keywords
imaging
pixel
container
wavelength
abnormality
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.)
Active
Application number
JP2011036310A
Other languages
Japanese (ja)
Other versions
JP2012173174A (en
Inventor
山口 英之
英之 山口
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2011036310A priority Critical patent/JP5644580B2/en
Publication of JP2012173174A publication Critical patent/JP2012173174A/en
Application granted granted Critical
Publication of JP5644580B2 publication Critical patent/JP5644580B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、異状判定装置及び異状判定方法に関する。   The present invention relates to an abnormality determination device and an abnormality determination method.

従来から、容器内に充填された液体等の内容物の異状の検出を目的として、容器の外側から容器に対して測定光を照射し、反射スペクトルや吸収スペクトルを測定する方法が知られている(例えば、特許文献1,2参照)。   Conventionally, a method for measuring a reflection spectrum or an absorption spectrum by irradiating measurement light to a container from the outside of the container for the purpose of detecting an abnormality of contents such as a liquid filled in the container is known. (For example, refer to Patent Documents 1 and 2).

実用新案登録第308743号公報Utility Model Registration No. 308743 特開2010−197157号公報JP 2010-197157 A

しかしながら、特許文献1,2に記載の方法によれば、容器による測定光の吸収・反射が内容物による測定光の吸収・反射よりも非常に大きいため、得られる反射スペクトルや吸収スペクトルは容器の影響が非常に大きくなる。したがって、内容物の反射スペクトルや吸収スペクトルに係る微小な変化を検出することが困難となり、内容物の微小な変化を検知することが困難となる。   However, according to the methods described in Patent Documents 1 and 2, since the absorption / reflection of the measurement light by the container is much larger than the absorption / reflection of the measurement light by the contents, the obtained reflection spectrum or absorption spectrum is The impact is very large. Therefore, it is difficult to detect minute changes related to the reflection spectrum and absorption spectrum of the contents, and it is difficult to detect minute changes in the contents.

本発明は上記を鑑みてなされたものであり、容器内に充填された検査対象物の異状をより高い精度で検出することが可能な異状判定装置及びこの異状判定装置による異状判定方法を提供することを目的とする。   The present invention has been made in view of the above, and provides an abnormality determination device capable of detecting an abnormality of an inspection object filled in a container with higher accuracy and an abnormality determination method using the abnormality determination device. For the purpose.

上記目的を達成するため、本発明に係る異状判定装置は、検査対象物が収容された容器を撮像して得られたスペクトル画像に基づいて、該検査対象物の異状の有無を判定する異状判定装置であって、前記容器に対して複数波長の光を照射する照射手段と、前記照射手段より照射された光による前記容器からの反射光を受光することで、容器を撮像してスペクトル画像を得る撮像手段と、前記撮像手段による撮像によって得られた前記スペクトル画像に含まれる全画素から前記検査対象物に係る情報が含まれる対象物撮像画素を抽出する抽出手段と、前記抽出手段により抽出された全ての前記対象物撮像画素における各波長に対するスペクトル強度の平均を求め、平均反射スペクトルを算出する平均化手段と、前記平均化手段により算出された前記平均反射スペクトルに基づいて、前記検査対象物の異状の有無を判定する判定手段と、を備えることを特徴とする。   In order to achieve the above object, an abnormality determination device according to the present invention determines whether there is an abnormality in an inspection object based on a spectral image obtained by imaging a container in which the inspection object is stored. An apparatus for irradiating the container with light of a plurality of wavelengths, and receiving reflected light from the container by the light emitted from the irradiation means, thereby imaging the container and obtaining a spectral image. An imaging unit that obtains, an extraction unit that extracts an object imaging pixel including information on the inspection object from all pixels included in the spectrum image obtained by imaging by the imaging unit, and an extraction unit that extracts The average of the spectral intensities for each wavelength in all the object imaging pixels is calculated, and the average reflection spectrum is calculated by the averaging means for calculating the average reflection spectrum. Based on the serial average reflectance spectrum, characterized in that it comprises a determination means for determining presence or absence of abnormality of the inspection object.

また、本発明に係る異状判定方法は、検査対象物が収容された容器を撮像して得られたスペクトル画像に基づいて、該検査対象物の異状の有無を判定する異状判定方法であって、前記容器に対して複数波長の光を照射する照射ステップと、前記照射ステップにおいて照射された光による前記容器からの反射光を受光することで、容器を撮像してスペクトル画像を得る撮像ステップと、前記撮像ステップにおいて撮像によって得られた前記スペクトル画像に含まれる全画素から前記検査対象物に係る情報が含まれる対象物撮像画素を抽出する抽出ステップと、前記抽出ステップにおいて抽出された全ての前記対象物撮像画素における各波長に対するスペクトル強度の平均を求め、平均反射スペクトルを算出する平均化ステップと、前記平均化ステップにより算出された前記平均反射スペクトルに基づいて、前記検査対象物の異状の有無を判定する判定ステップと、を有することを特徴とする。   Further, the abnormality determination method according to the present invention is an abnormality determination method for determining the presence or absence of an abnormality of the inspection object based on a spectrum image obtained by imaging a container in which the inspection object is accommodated. An irradiation step of irradiating the container with light of a plurality of wavelengths, and an imaging step of capturing a container to obtain a spectral image by receiving reflected light from the container by the light irradiated in the irradiation step; An extraction step for extracting object imaging pixels including information on the inspection object from all pixels included in the spectrum image obtained by imaging in the imaging step, and all the objects extracted in the extraction step An averaging step of calculating an average reflection spectrum for each wavelength in the object imaging pixel and calculating an average reflection spectrum, and the averaging step Tsu on the basis of the average reflectance spectrum calculated by flop, and having a a judgment step of judging whether the abnormality of the inspection object.

上記の異状判定装置及び異状判定方法によれば、まず撮像によって得られたスペクトル画像に含まれる全画素から検査対象物に係る情報が含まれる対象物撮像画素を抽出する。このように、判定に利用する画素を限定することで、容器に起因するノイズに由来する誤判定を減らすことが可能になる。加えて、この対象物撮像画素における各波長に対するスペクトル強度の平均を求め、平均反射スペクトルを算出し、これを用いて異状の有無を判定する。このように、平均反射スペクトルを算出して利用することで、各画素に含まれるノイズ等に由来する誤判定を減らすことができ、容器内に充填された検査対象物の異状をより高い精度で検出することが可能となる。   According to the above-described abnormality determination device and abnormality determination method, first, an object imaging pixel including information related to the inspection object is extracted from all pixels included in the spectrum image obtained by imaging. In this way, by limiting the pixels used for the determination, it is possible to reduce erroneous determination caused by noise caused by the container. In addition, the average of the spectrum intensity with respect to each wavelength in the object imaging pixel is obtained, an average reflection spectrum is calculated, and the presence / absence of an abnormality is determined using this. Thus, by calculating and using the average reflection spectrum, it is possible to reduce misjudgments derived from noise or the like included in each pixel, and to detect abnormalities of the inspection object filled in the container with higher accuracy. It becomes possible to detect.

ここで、前記照射手段は、波長1200〜2400nmの範囲に含まれる複数の波長の光を照射する態様とすることができる。この波長範囲の光を照射する態様とすることで、検査対象物が水分を含む場合には、より高い精度で異状判定を行うことが可能となる。   Here, the said irradiation means can be set as the aspect which irradiates the light of the several wavelength contained in the range of wavelength 1200-2400nm. By adopting an aspect in which light in this wavelength range is irradiated, it is possible to perform abnormality determination with higher accuracy when the inspection object contains moisture.

また、抽出手段は、前記スペクトル画像に含まれる各画素において、波長1200〜2400nmの範囲に含まれる第1の波長での反射率と、波長1200〜2400nmの範囲に含まれて前記第1の波長とは異なる第2の波長での反射率と、の比を算出し、この結果に基づいて当該画素が前記対象物撮像画素であるかを判断する態様とすることができる。   Further, the extraction means includes a reflectance at a first wavelength included in a wavelength range of 1200 to 2400 nm and a first wavelength included in a wavelength range of 1200 to 2400 nm in each pixel included in the spectrum image. It is possible to calculate the ratio of the reflectance at the second wavelength different from the above and determine whether the pixel is the object imaging pixel based on the result.

また、抽出手段は、前記スペクトル画像に含まれる各画素において、波長1200〜2400nmの範囲に含まれる第3の波長での反射率が所定の範囲にあるか否かに基づいて当該画素が前記対象物撮像画素であるかを判断する態様とすることができる。   In addition, the extraction unit may determine whether each pixel included in the spectrum image has the target based on whether the reflectance at the third wavelength included in the wavelength range of 1200 to 2400 nm is within a predetermined range. It can be set as the aspect which judges whether it is an object imaging pixel.

また、抽出手段は、前記スペクトル画像に含まれる各画素において、波長1200〜2400nmの範囲に含まれる第4の波長での反射率が1以上である場合には当該画素を前記対象物撮像画素から排除する態様とすることができる。この態様を有することにより、正反射が起きている画素を異状判定に用いる画素から排除することができ、より高い精度での異状判定を行うことが可能となる。   In addition, when the reflectance at the fourth wavelength included in the wavelength range of 1200 to 2400 nm is 1 or more in each pixel included in the spectrum image, the extraction unit extracts the pixel from the object imaging pixel. It can be set as the aspect excluded. By having this aspect, it is possible to exclude pixels in which regular reflection occurs from the pixels used for the abnormality determination, and to perform abnormality determination with higher accuracy.

本発明によれば、容器内に充填された検査対象物の異状をより高い精度で検出することが可能な異状判定装置及びこの異状判定装置による異状判定方法が提供される。   ADVANTAGE OF THE INVENTION According to this invention, the abnormality determination apparatus which can detect the abnormality of the test object with which it filled in the container with a higher precision, and the abnormality determination method by this abnormality determination apparatus are provided.

本実施形態に係る異状判定装置の構成を示す図である。It is a figure which shows the structure of the abnormality determination apparatus which concerns on this embodiment. ハイパースペクトル画像について説明する図である。It is a figure explaining a hyperspectral image.

以下、添付図面を参照して、本発明を実施するための形態を詳細に説明する。なお、図面の説明においては同一要素には同一符号を付し、重複する説明を省略する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings. In the description of the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted.

本実施形態に係る異状判定装置100について図1を用いて説明する。本実施形態に係る異状判定装置100は、搬送手段(図示せず)によって矢印Aで示す方向に移動する容器1の内部の検査対象物の変質等の異状の有無を検査する装置である。本実施形態に係る異状判定装置100の検査対象物としては、容器1に充填された食品や医薬品等が挙げられる。そしてこれらの検査対象物の異状としては、検査対象物の腐敗等の変質や、細菌の混入等が挙げられる。異状判定装置100は、検査対象物が充填された容器1の外側から、容器1に対して測定光を照射することにより得られる拡散反射光のスペクトルを測定し、そのスペクトルに基づいて検査対象物の異状を検出する。異状判定装置100は、光源10、ミラー15、カメラ20(撮像部)、及び制御部30を備える。   An abnormality determination apparatus 100 according to the present embodiment will be described with reference to FIG. The abnormality determination apparatus 100 according to the present embodiment is an apparatus that inspects for the presence or absence of abnormality such as alteration of an inspection object inside the container 1 that moves in a direction indicated by an arrow A by a conveyance unit (not shown). Examples of the inspection object of the abnormality determination device 100 according to the present embodiment include foods and medicines filled in the container 1. The abnormalities of these inspection objects include alterations such as rot of the inspection object, contamination with bacteria, and the like. The abnormality determination device 100 measures the spectrum of diffuse reflected light obtained by irradiating the container 1 with measurement light from the outside of the container 1 filled with the inspection object, and the inspection object based on the spectrum. Detect anomalies. The abnormality determination device 100 includes a light source 10, a mirror 15, a camera 20 (imaging unit), and a control unit 30.

光源10は、複数波長の光が含まれる測定光を、所定の照射領域へ向けて照射する。この照射領域とは、搬送手段により移動する容器1が通過する位置であり、容器1の移動方向Aに対して垂直な方向に延びるライン状の領域である。光源10が照射する測定光の波長範囲は、容器1内の検査対象物や、検出対象である検査対象物の異状等に応じて適宜選択される。測定光として近赤外光を用いる場合、具体的には、1200nm〜2400nmの範囲の波長の成分が複数含まれる光が好適に用いられるが、近赤外光に代えて可視光を測定光として用いることも可能である。このような光を出射する光源10として、例えばハロゲンランプが好適に用いられる。なお、本実施形態では、同一の照射領域を照射する2つの光源10が、照射領域に対して互いに異なる角度となるように設けられている。なお、光源10には、ライン状の照射領域に出射するための手段として、シリンドリカルレンズが設けられていてもよい。   The light source 10 irradiates measurement light including light of a plurality of wavelengths toward a predetermined irradiation area. This irradiation region is a position through which the container 1 moved by the transport means passes, and is a linear region extending in a direction perpendicular to the moving direction A of the container 1. The wavelength range of the measurement light emitted by the light source 10 is appropriately selected according to the inspection object in the container 1 or the abnormality of the inspection object that is the detection object. When near infrared light is used as measurement light, specifically, light including a plurality of components having a wavelength in the range of 1200 nm to 2400 nm is preferably used, but visible light is used as measurement light instead of near infrared light. It is also possible to use it. For example, a halogen lamp is preferably used as the light source 10 that emits such light. In the present embodiment, the two light sources 10 that irradiate the same irradiation region are provided at different angles with respect to the irradiation region. The light source 10 may be provided with a cylindrical lens as a means for emitting light to the linear irradiation region.

光源10から出力された近赤外光L1は、照射領域に位置する容器1により拡散反射される。そして、その一部が、拡散反射光L2として、ミラー15を経て、カメラ20に入射する。   Near-infrared light L1 output from the light source 10 is diffusely reflected by the container 1 located in the irradiation region. A part of the light then enters the camera 20 through the mirror 15 as diffusely reflected light L2.

カメラ20は、ハイパースペクトル画像を取得するハイパースペクトルセンサとしての機能を有する。ここで、本実施形態におけるハイパースペクトル画像について図2を用いて説明する。図2は、ハイパースペクトル画像についてその概略を説明する図である。図2に示すように、ハイパースペクトル画像Hとは、N個の画素P〜Pにより構成されている画像である。図2ではそのうちの一例として2個の画素P及びPについて具体的に示している。画素P及びPには、それぞれ複数の強度データからなるスペクトル情報S及びSが含まれている。この強度データとは、特定の波長(又は波長帯域)におけるスペクトル強度を示すデータであり、図2では、15個の強度データがスペクトル情報S及びSとして保持されていて、これらを重ね合わせた状態で示している。このように、ハイパースペクトル画像Hは、画像を構成する画素毎に、それぞれ複数の強度データを持つという特徴から、画像としての二次元的要素と、スペクトルデータとしての要素をあわせ持った三次元的構成のデータである。なお、本実施形態では、ハイパースペクトル画像Hとは、1画素あたり少なくとも3つの波長帯域における強度データを保有している画素によって構成された画像のことをいう。なお、図2では検査対象物3をあわせて示している。すなわち、図2においてPは検査対象物3を撮像した画素であり、Pは背景(例えば、搬送手段)を撮像した画素である。 The camera 20 has a function as a hyperspectral sensor that acquires a hyperspectral image. Here, the hyperspectral image in this embodiment is demonstrated using FIG. FIG. 2 is a diagram for explaining the outline of the hyperspectral image. As shown in FIG. 2, the hyperspectral image H is an image configured by N pixels P 1 to P N. Specifically it shows the two pixel P n and P m as them example in FIG. Each of the pixels P n and P m includes spectral information S n and S m including a plurality of intensity data. And the intensity data is data indicating a spectral intensity at a particular wavelength (or wavelength band), 2, 15 intensity data has been held as the spectral information S n and S m, superposition of these It is shown in the state. As described above, the hyperspectral image H is characterized by having a plurality of intensity data for each pixel constituting the image, so that a three-dimensional image having both a two-dimensional element as an image and an element as spectral data. Configuration data. In the present embodiment, the hyperspectral image H refers to an image composed of pixels having intensity data in at least three wavelength bands per pixel. In FIG. 2, the inspection object 3 is also shown. That is, in FIG. 2, P n is a pixel that images the inspection object 3, and P m is a pixel that images the background (for example, conveying means).

図1に戻り、本実施形態に係るカメラ20には図示しないスリット及び分光器が設けられていて、容器1の進行方向に対して垂直な方向(y軸方向)に伸びるライン状の領域を受光領域として、この受光領域からの光をミラー15を介して入射させる。そして、カメラ20の内部には、複数の受光素子が2次元に配列された受光面を備え、各受光素子が光を受光する受光部を備える。これにより、受光部が容器1の進行方向に対して垂直な方向(y軸方向)に沿った各位置で反射した拡散反射光L2の各波長の光をそれぞれ受光することとなる。各受光素子は、受光した光の強度に応じた信号を位置と波長とからなる二次元平面状の一点に関する情報として出力する。このカメラ20内部の受光部の受光素子から出力される信号が、ハイパースペクトル画像に係る画像データとして、カメラ20から制御部30へ送られる。   Returning to FIG. 1, the camera 20 according to the present embodiment is provided with a slit and a spectroscope (not shown), and receives a linear region extending in a direction perpendicular to the traveling direction of the container 1 (y-axis direction). As a region, light from the light receiving region is incident through the mirror 15. The camera 20 includes a light receiving surface in which a plurality of light receiving elements are two-dimensionally arranged, and each light receiving element includes a light receiving unit that receives light. As a result, the light receiving unit receives light of each wavelength of the diffusely reflected light L2 reflected at each position along the direction (y-axis direction) perpendicular to the traveling direction of the container 1. Each light receiving element outputs a signal corresponding to the intensity of received light as information on a two-dimensional planar point composed of a position and a wavelength. A signal output from the light receiving element of the light receiving unit inside the camera 20 is sent from the camera 20 to the control unit 30 as image data related to the hyperspectral image.

制御部30は、入力された信号により拡散反射光L2のスペクトルを得て、この得られたスペクトルに基づいて異状の有無を判断する。容器1内の検査対象物の異状を検出する場合は、次のような原理で検査を行う。   The control unit 30 obtains the spectrum of the diffusely reflected light L2 from the input signal, and determines whether there is an abnormality based on the obtained spectrum. When detecting the abnormality of the inspection object in the container 1, the inspection is performed according to the following principle.

検査対象物となる内容物に異状がある場合、光源10から出力される測定光(本実施形態では近赤外光)の波長範囲において特定の吸収帯域においてスペクトル強度の変化が発生する。そこで、容器1により拡散反射した拡散反射光L2によるハイパースペクトル画像Hにおいて画素毎に含まれて複数の強度データにより構成されるスペクトル情報を参照し、異状に由来する特定の反射光のピーク強度の変化を検出することにより、異状の有無を判断するそして、この制御部30による判定の結果は、例えば制御部30に接続されるモニタや、プリンタ等に出力することによって、この異状判定装置100のオペレータに通知される。   When the contents to be inspected are abnormal, a change in spectral intensity occurs in a specific absorption band in the wavelength range of measurement light (near infrared light in the present embodiment) output from the light source 10. Therefore, with reference to the spectrum information included in each pixel in the hyperspectral image H by the diffusely reflected light L2 diffusely reflected by the container 1 and composed of a plurality of intensity data, the peak intensity of the specific reflected light originating from the abnormality is determined. By detecting the change, the presence / absence of an abnormality is determined. The result of determination by the control unit 30 is output to, for example, a monitor connected to the control unit 30, a printer, or the like. The operator is notified.

この制御部30は、CPU(Central Processing Unit)、主記憶装置であるRAM(RandomAccess Memory)及びROM(Read Only Memory)、検出ユニット等の他の機器との間の通信を行う通信モジュール、並びにハードディスク等の補助記憶装置等のハードウェアを備えるコンピュータとして構成される。そして、これらの構成要素が動作することにより、制御部30としての機能が発揮される。   The control unit 30 includes a CPU (Central Processing Unit), a RAM (Random Access Memory) and a ROM (Read Only Memory) that are main storage devices, a communication module that performs communication with other devices such as a detection unit, and a hard disk It is comprised as a computer provided with hardware, such as auxiliary storage devices. And the function as the control part 30 is exhibited when these components operate | move.

制御部30は、抽出部31、平均化部32、判定部33を含んで構成される。カメラ20から送られる画像データは、まず抽出部31へ送られる。   The control unit 30 includes an extraction unit 31, an averaging unit 32, and a determination unit 33. Image data sent from the camera 20 is first sent to the extraction unit 31.

抽出部31は、画像データに含まれる全画素から検査対象物に係る情報が含まれる対象物撮像画素を抽出する機能を有する。図2に示すように、画像データには、撮像されたものに検査対象物が含まれる画素と、検査対象物が含まれない画素とが含まれる。したがって、この抽出部31により、容器による測定光の吸収・反射の影響が比較的少なくかつ検査対象物に係る情報が得られる画素である対象物撮像画素を抽出する。この具体的な方法としては、例えば、第1の波長での反射率と、第1の波長とは異なる第2の波長での反射率との比が所定の範囲に有る場合、その画素が容器による測定光の吸収・反射の影響が比較的少なくかつ検査対象物にかかる情報が得られる画素、すなわち、容器1内の内容物を撮像した画素であると判断する方法がある。具体的には、例えば、内容物が水分を含む物質である場合、水由来の吸収ピークが出現する波長1384nmにおける反射率と、水由来の吸収ピークの影響が小さくなる波長1300nmにおける反射率との比率が、所定の範囲にある場合に、当該画素が水分を含む内容物を撮像した画素であると判断する方法である。   The extraction unit 31 has a function of extracting an object imaging pixel including information related to the inspection object from all pixels included in the image data. As shown in FIG. 2, the image data includes pixels in which the inspection target is included in the captured image and pixels in which the inspection target is not included. Therefore, the extraction unit 31 extracts an object imaging pixel that is a pixel that is relatively less affected by the absorption and reflection of the measurement light by the container and obtains information related to the inspection object. As a specific method, for example, when the ratio between the reflectance at the first wavelength and the reflectance at the second wavelength different from the first wavelength is within a predetermined range, the pixel is a container. There is a method of determining that the pixel is a pixel in which the information on the object to be inspected can be obtained, that is, the pixel in which the contents in the container 1 are imaged. Specifically, for example, when the content is a substance containing moisture, the reflectance at a wavelength of 1384 nm where an absorption peak derived from water appears and the reflectance at a wavelength of 1300 nm where the influence of the absorption peak derived from water becomes small In this method, when the ratio is within a predetermined range, it is determined that the pixel is a pixel obtained by imaging the content containing moisture.

なお、本実施形態でいう反射率とは、標準拡散板を用いて反射光を測定した場合の反射光強度を1とした場合の反射光の強度の比率を指し、仮に標準拡散板による反射光よりもその反射光の強度が強い場合には、反射率が1を超過するものである。ただし、このように反射率が1を超過する場合には、検査対象物において正反射が起こっていると判定し、対象物撮像画素から除外することが好ましい。正反射が起こっている場合には、この反射光の強度データが検査対象物の情報を含んでいない可能性が高いからである。   The reflectance referred to in the present embodiment refers to the ratio of the intensity of reflected light when the reflected light intensity is 1 when the reflected light is measured using a standard diffuser, and is temporarily reflected by the standard diffuser. When the intensity of the reflected light is stronger than the above, the reflectivity exceeds 1. However, when the reflectance exceeds 1 in this way, it is preferable to determine that regular reflection is occurring in the inspection object and exclude it from the object imaging pixel. This is because when specular reflection occurs, it is highly possible that the intensity data of the reflected light does not include information on the inspection object.

また、他の手法として、特定の波長での反射率が所定の範囲内に有る場合に、その画素が容器による測定光の吸収・反射の影響が比較的少なくかつ検査対象物にかかる情報が得られる画素、すなわち、容器1内の内容物を撮像した画素であると判断する方法がある。この方法は、具体的には、例えば、内容物が水分を含む物質である場合、水由来の吸収ピークが出現する波長1384nmにおける反射率が所定の値よりも小さい場合に、当該画素が水分を含む内容物を撮像した画素であると判断する方法である。   As another method, when the reflectance at a specific wavelength is within a predetermined range, the pixel is relatively less affected by the absorption and reflection of the measurement light by the container, and information on the inspection object is obtained. There is a method of determining that the pixel is a pixel obtained by imaging the content in the container 1. Specifically, for example, in the case where the content is a substance containing moisture, when the reflectance at a wavelength of 1384 nm where an absorption peak derived from water appears is smaller than a predetermined value, the pixel has moisture. This is a method for determining that the pixel contains captured content.

さらに、他の手法として、特定の第1の波長での反射率と、第1の波長とは異なる第2の波長での反射率との差が所定の範囲に有る場合、その画素が容器による測定光の吸収・反射の影響が比較的少なくかつ検査対象物にかかる情報が得られる画素、すなわち、容器1内の内容物を撮像した画素であると判断する方法がある。上記の手法を組み合わせて、画素が検査対象物を撮像した画素であるか否かを判断してもよい。この抽出部31において対象物撮像画素であると判断された画素の反射率情報は、各々平均化部32へ送られる。   Furthermore, as another method, when the difference between the reflectance at a specific first wavelength and the reflectance at a second wavelength different from the first wavelength is within a predetermined range, the pixel depends on the container. There is a method for determining that the pixel has a relatively small influence on the measurement light absorption / reflection and can obtain information on the inspection object, that is, a pixel obtained by imaging the contents in the container 1. By combining the above methods, it may be determined whether the pixel is a pixel obtained by imaging the inspection object. The reflectance information of the pixels determined to be the object imaging pixels by the extraction unit 31 is sent to the averaging unit 32.

平均化部32は、抽出部31において、検査対象物に係る情報が含まれる画素であるとして抽出された複数の対象物撮像画素に含まれる反射率から各波長に対するスペクトル強度の平均を求め、平均反射スペクトルを算出する機能を有する。この平均反射スペクトルの算出が行われることで、1つの画像データから1つの平均反射スペクトルが作成される。この結果が判定部33に送られる。   The averaging unit 32 obtains an average of spectral intensities for each wavelength from reflectances included in a plurality of object imaging pixels extracted as pixels including information on the inspection object in the extraction unit 31, It has a function of calculating a reflection spectrum. By calculating the average reflection spectrum, one average reflection spectrum is created from one image data. This result is sent to the determination unit 33.

判定部33は、平均化部32において算出された平均反射スペクトルに基づいて、検査対象物の異状の有無を判定する機能を有する。この異状の有無の判定については、種々の方法を用いることができるが、例えば、第1の波長における反射率と第2の波長における反射率との比が所定の範囲に有る場合に異状があると判断する方法、主成分分析(PCA)、サポートベクターマシン(SVM)等が挙げられる。   The determination unit 33 has a function of determining the presence / absence of an abnormality in the inspection target based on the average reflection spectrum calculated by the averaging unit 32. Various methods can be used to determine the presence or absence of this abnormality. For example, there is an abnormality when the ratio between the reflectance at the first wavelength and the reflectance at the second wavelength is within a predetermined range. For example, principal component analysis (PCA), support vector machine (SVM), and the like.

そして判定部33によって1つの画像データに対応して、当該画像データで撮像した検査対象物の異状の有無が判定され、その結果が出力される。以上により、異状判定が行われる。   Then, the determination unit 33 determines whether there is an abnormality in the inspection object imaged with the image data in correspondence with one image data, and outputs the result. The abnormality determination is performed as described above.

上記の異状判定装置及びこの異状判定装置100を用いた異状判定方法によれば、まず撮像によって得られたスペクトル画像に含まれる全画素から検査対象物に係る情報が含まれる対象物撮像画素を抽出する。このように、判定に利用する画素を限定することで、容器に起因するノイズに由来する誤判定を減らすことが可能になる。加えて、この対象物撮像画素における各波長に対するスペクトル強度の平均を求め、平均反射スペクトルを算出し、これを用いて異状の有無を判定する。このように、平均反射スペクトルを算出して利用することで、各画素に含まれるノイズ等に由来する誤判定を減らすことができ、容器内に充填された検査対象物の異状をより高い精度で検出することが可能となる。   According to the above-described abnormality determination device and the abnormality determination method using the abnormality determination device 100, first, an object imaging pixel including information related to the inspection object is extracted from all pixels included in the spectrum image obtained by imaging. To do. In this way, by limiting the pixels used for the determination, it is possible to reduce erroneous determination caused by noise caused by the container. In addition, the average of the spectrum intensity with respect to each wavelength in the object imaging pixel is obtained, an average reflection spectrum is calculated, and the presence / absence of an abnormality is determined using this. Thus, by calculating and using the average reflection spectrum, it is possible to reduce misjudgments derived from noise or the like included in each pixel, and to detect abnormalities of the inspection object filled in the container with higher accuracy. It becomes possible to detect.

以上、本発明の実施形態について説明したが、本発明は上記の実施形態に限定されず、種々の変更を行うことができる。   As mentioned above, although embodiment of this invention was described, this invention is not limited to said embodiment, A various change can be made.

例えば、上記実施形態では、異状判定装置100に制御部30が組み込まれた構成について説明したが、本発明に係る異状判定装置は、例えば、他の工業製品の異状分析等を行うシステムに組み込んで利用することもできる。また、制御部30は、上記実施形態のように画像データの撮像を行うカメラ20と接続されている必要はなく、単体で使用することができる。   For example, in the above-described embodiment, the configuration in which the control unit 30 is incorporated in the abnormality determination device 100 has been described. However, the abnormality determination device according to the present invention is incorporated in, for example, a system that performs abnormality analysis of other industrial products. It can also be used. Further, the control unit 30 does not need to be connected to the camera 20 that captures image data as in the above embodiment, and can be used alone.

以下、実施例及び比較例に基づき本発明をさらに具体的に説明するが、本発明は以下の実施例に何ら限定されるものではない。   EXAMPLES Hereinafter, although this invention is demonstrated more concretely based on an Example and a comparative example, this invention is not limited to a following example at all.

図1に示す異状判定装置1を用いて、画像データの撮像を行った。具体的には、容器1として容器袋を用意し、その中に検査対象物として栄養食品が充填された基準サンプルと、栄養食品内部に細菌を混入させて充填させた比較サンプルとを準備した。光源10としては、白色光源を用いて、容器進行方向A(x方向)に対して下方45±5°となる方向から、X方向に対して直交する方向(y方向)のライン状の照射領域を形成するように、2箇所から照射を行い、容器1からの反射光をカメラ20にて撮像した。容器1を移動させながら撮像を繰り返すことで、容器1の撮像を行った。   Image data was captured using the abnormality determination device 1 shown in FIG. Specifically, a container bag was prepared as the container 1, and a reference sample in which a nutritional food was filled as an object to be inspected and a comparative sample in which bacteria were mixed inside the nutritional food were prepared. As the light source 10, a white light source is used, and a linear irradiation region in a direction (y direction) orthogonal to the X direction from a direction that is 45 ± 5 ° downward with respect to the container traveling direction A (x direction). Then, irradiation was performed from two places, and the reflected light from the container 1 was imaged by the camera 20. Imaging of the container 1 was performed by repeating imaging while moving the container 1.

このデータを制御部30にて分析を行った。まず、抽出部31において、検査対象物を撮像した対象物撮像画素を抽出した。この抽出方法として、3つの方法を採用した。
(1)波長1384nmにおける反射率が0.35以下であり、波長1500nmにおける反射率が1未満の条件を満たす画素を、対象物撮像画素と判断した。
(2)波長1384nmにおける反射率に対する波長1300nmにおける反射率の比が1.2未満であり、且つ、波長1500nmにおける反射率が1未満の条件を満たす画素を対象物撮像画素と判断した。
(3)全ての画素を対象物撮像画素として使用した。
This data was analyzed by the control unit 30. First, in the extraction part 31, the object imaging pixel which imaged the test target object was extracted. As this extraction method, three methods were adopted.
(1) A pixel having a reflectance of 0.35 or less at a wavelength of 1384 nm and a reflectance of less than 1 at a wavelength of 1500 nm was determined as an object imaging pixel.
(2) A pixel in which the ratio of the reflectance at a wavelength of 1300 nm to the reflectance at a wavelength of 1384 nm is less than 1.2 and the condition that the reflectance at a wavelength of 1500 nm is less than 1 is determined as an object imaging pixel.
(3) All pixels were used as object imaging pixels.

上記(1)(2)の判断方法により抽出された対象物撮像画素については、平均化部32で平均化処理を行って得られた平均反射スペクトル(1画像データに対して1データ:実施例に相当する)と、平均化しなかった場合(対象物撮像画素それぞれの反射スペクトルを使用する:比較例に相当する)と、について、判定部33において、
(A)波長1450nmにおける反射率と波長1270nmにおける反射率との比が所定の範囲に有る場合に、異状があると判断する方法
(B)主成分分析(PCA)
の2つの方法により、判定を行った。また(3)については、平均化処理を行った平均反射スペクトルについて、(A)(B)の2つの方法で判断を行った。それぞれの検出率(比較サンプルをただしく異状有りと判定した割合)と、誤検出率(基準サンプルを異状有りと判定した割合)とを表1に示す。
For the object imaging pixels extracted by the determination methods (1) and (2) above, an average reflection spectrum obtained by performing an averaging process in the averaging unit 32 (one data for one image data: Example) In the determination unit 33, and the case where the averaging is not performed (the reflection spectrum of each of the object imaging pixels is used: corresponding to the comparative example)
(A) Method of determining that there is an abnormality when the ratio of the reflectance at a wavelength of 1450 nm and the reflectance at a wavelength of 1270 nm is within a predetermined range (B) Principal component analysis (PCA)
The determination was performed by the following two methods. Regarding (3), the average reflection spectrum subjected to the averaging process was determined by the two methods (A) and (B). Table 1 shows the respective detection rates (rates at which the comparative sample was determined to be abnormal) and false detection rates (rates at which the reference sample was determined to be abnormal).

Figure 0005644580
Figure 0005644580

表1の結果から、(1)(2)のいずれの場合でも、平均反射スペクトルを用いて異状判定を行った場合のほうが、画素毎の反射スペクトルを用いて異状判定を行った場合と比較して、検出率が向上すると共に、誤検出率が低下した。   From the results of Table 1, in both cases (1) and (2), the case where the abnormality determination is performed using the average reflection spectrum is compared with the case where the abnormality determination is performed using the reflection spectrum for each pixel. As a result, the detection rate improved and the false detection rate decreased.

100…異状判定装置、1…容器、10…光源、15…ミラー、20…カメラ、30…制御部、31…抽出部、32…平均化部、33…判定部。
DESCRIPTION OF SYMBOLS 100 ... Abnormality determination apparatus, 1 ... Container, 10 ... Light source, 15 ... Mirror, 20 ... Camera, 30 ... Control part, 31 ... Extraction part, 32 ... Averaging part, 33 ... Determination part.

Claims (6)

検査対象物が収容された容器を撮像して得られたスペクトル画像に基づいて、該検査対象物の異状の有無を判定する異状判定装置であって、
前記容器に対して複数波長の光を照射する照射手段と、
前記照射手段より照射された光による前記容器からの反射光を受光することで、容器を撮像してスペクトル画像を得る撮像手段と、
前記撮像手段による撮像によって得られた前記スペクトル画像に含まれる全画素から前記検査対象物に係る情報が含まれる対象物撮像画素を抽出する抽出手段と、
前記抽出手段により抽出された全ての前記対象物撮像画素における各波長に対するスペクトル強度の平均を求め、平均反射スペクトルを算出する平均化手段と、
前記平均化手段により算出された前記平均反射スペクトルに基づいて、前記検査対象物の異状の有無を判定する判定手段と、
を備えることを特徴とする異状判定装置。
On the basis of a spectral image obtained by imaging a container in which an inspection object is stored, an abnormality determination device that determines the presence or absence of abnormality of the inspection object,
Irradiating means for irradiating the container with light of a plurality of wavelengths;
An imaging unit that captures the container and obtains a spectrum image by receiving reflected light from the container by the light irradiated from the irradiation unit;
Extraction means for extracting object imaging pixels including information on the inspection object from all pixels included in the spectrum image obtained by imaging by the imaging means;
An averaging means for calculating an average reflection spectrum by obtaining an average of spectrum intensities for each wavelength in all the object imaging pixels extracted by the extraction means;
Based on the average reflection spectrum calculated by the averaging means, determination means for determining the presence or absence of abnormality of the inspection object;
An abnormality determination device comprising:
前記照射手段は、波長1200〜2400nmの範囲に含まれる複数の波長の光を照射することを特徴とする請求項1記載の異状判定装置。   The abnormality determination device according to claim 1, wherein the irradiation unit irradiates light having a plurality of wavelengths included in a wavelength range of 1200 to 2400 nm. 前記抽出手段は、前記スペクトル画像に含まれる各画素において、波長1200〜2400nmの範囲に含まれる第1の波長での反射率と、波長1200〜2400nmの範囲に含まれて前記第1の波長とは異なる第2の波長での反射率と、の比を算出し、この結果に基づいて当該画素が前記対象物撮像画素であるかを判断する
ことを特徴とする請求項2記載の異状判定装置。
The extraction means includes, in each pixel included in the spectrum image, a reflectance at a first wavelength included in a wavelength range of 1200 to 2400 nm, and a first wavelength included in a wavelength range of 1200 to 2400 nm. The abnormality determination device according to claim 2, wherein a ratio between reflectances at different second wavelengths is calculated, and based on the result, it is determined whether the pixel is the object imaging pixel. .
前記抽出手段は、前記スペクトル画像に含まれる各画素において、波長1200〜2400nmの範囲に含まれる第3の波長での反射率が所定の範囲にあるか否かに基づいて当該画素が前記対象物撮像画素であるかを判断する
ことを特徴とする請求項2又は3記載の異状判定装置。
The extraction means determines whether the pixel is the object based on whether or not the reflectance at the third wavelength included in the wavelength range of 1200 to 2400 nm is within a predetermined range in each pixel included in the spectrum image. It is judged whether it is an imaging pixel. The abnormality determination apparatus of Claim 2 or 3 characterized by the above-mentioned.
前記抽出手段は、前記スペクトル画像に含まれる各画素において、波長1200〜2400nmの範囲に含まれる第4の波長での反射率が1以上である場合には当該画素を前記対象物撮像画素から排除する
ことを特徴とする請求項3又は4記載の異状判定装置。
The extraction means excludes the pixel from the target imaging pixel when the reflectance at the fourth wavelength included in the wavelength range of 1200 to 2400 nm is 1 or more in each pixel included in the spectrum image. The abnormality determination device according to claim 3 or 4, characterized in that:
検査対象物が収容された容器を撮像して得られたスペクトル画像に基づいて、該検査対象物の異状の有無を判定する異状判定方法であって、
前記容器に対して複数波長の光を照射する照射ステップと、
前記照射ステップにおいて照射された光による前記容器からの反射光を受光することで、容器を撮像してスペクトル画像を得る撮像ステップと、
前記撮像ステップにおいて撮像によって得られた前記スペクトル画像に含まれる全画素から前記検査対象物に係る情報が含まれる対象物撮像画素を抽出する抽出ステップと、
前記抽出ステップにおいて抽出された全ての前記対象物撮像画素における各波長に対するスペクトル強度の平均を求め、平均反射スペクトルを算出する平均化ステップと、
前記平均化ステップにより算出された前記平均反射スペクトルに基づいて、前記検査対象物の異状の有無を判定する判定ステップと、
を有することを特徴とする異状判定方法。
Based on a spectrum image obtained by imaging a container in which an inspection object is stored, an abnormality determination method for determining presence or absence of abnormality of the inspection object,
An irradiation step of irradiating the container with light of a plurality of wavelengths;
An imaging step of capturing a container to obtain a spectral image by receiving reflected light from the container by the light irradiated in the irradiation step;
An extraction step of extracting an object imaging pixel including information on the inspection object from all pixels included in the spectrum image obtained by imaging in the imaging step;
An average step of calculating an average reflection spectrum by obtaining an average of spectral intensities for each wavelength in all the object imaging pixels extracted in the extraction step;
Based on the average reflection spectrum calculated by the averaging step, a determination step for determining presence or absence of an abnormality of the inspection object;
The abnormality determination method characterized by having.
JP2011036310A 2011-02-22 2011-02-22 Anomaly judgment device and anomaly judgment method Active JP5644580B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011036310A JP5644580B2 (en) 2011-02-22 2011-02-22 Anomaly judgment device and anomaly judgment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011036310A JP5644580B2 (en) 2011-02-22 2011-02-22 Anomaly judgment device and anomaly judgment method

Publications (2)

Publication Number Publication Date
JP2012173174A JP2012173174A (en) 2012-09-10
JP5644580B2 true JP5644580B2 (en) 2014-12-24

Family

ID=46976209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011036310A Active JP5644580B2 (en) 2011-02-22 2011-02-22 Anomaly judgment device and anomaly judgment method

Country Status (1)

Country Link
JP (1) JP5644580B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5928076B2 (en) * 2012-03-28 2016-06-01 セイコーエプソン株式会社 Analysis method, imaging device
JP6014432B2 (en) * 2012-09-14 2016-10-25 東急建設株式会社 Specific substance detection method
JP6142526B2 (en) * 2012-12-27 2017-06-07 セイコーエプソン株式会社 Food analyzer
JP2015040818A (en) * 2013-08-23 2015-03-02 住友電気工業株式会社 Method and apparatus for grain classification
WO2015186713A1 (en) * 2014-06-03 2015-12-10 株式会社明治 Container, containerized enteral nutrient or containerized food or beverage, method for inspecting containerized enteral nutrient or containerized food or beverage, and method for manufacture thereof
CN107436285A (en) * 2017-06-20 2017-12-05 苏州优函信息科技有限公司 Fast high-flux bloom spectrum detection device and detection method based on linear light source excitation

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001074663A (en) * 2000-07-12 2001-03-23 Iseki & Co Ltd Visual examination evaluation device
JP2002174592A (en) * 2000-12-07 2002-06-21 Kubota Corp Evaluation apparatus
JP4318292B2 (en) * 2003-08-13 2009-08-19 静岡シブヤ精機株式会社 Agricultural products visual inspection equipment
JP2005201636A (en) * 2004-01-13 2005-07-28 Shizuoka Prefecture Method and device for judging putrid part
JP2007071603A (en) * 2005-09-05 2007-03-22 Niigata Univ Nondestructive determination method of japanese radish having internal fault and its device
UA91387C2 (en) * 2005-11-16 2010-07-26 Джапан Тобакко Инк. System for identification of mix
JP5313512B2 (en) * 2008-01-28 2013-10-09 ホーチキ株式会社 Drunk driving prevention device
JP2010025636A (en) * 2008-07-16 2010-02-04 Sumitomo Electric Ind Ltd Foreign matter detection apparatus
JP5298684B2 (en) * 2008-07-25 2013-09-25 住友電気工業株式会社 Foreign object detection device and detection method
JP5439853B2 (en) * 2009-02-24 2014-03-12 凸版印刷株式会社 Packaged food deterioration inspection device and inspection method

Also Published As

Publication number Publication date
JP2012173174A (en) 2012-09-10

Similar Documents

Publication Publication Date Title
JP5644580B2 (en) Anomaly judgment device and anomaly judgment method
JP2014215177A (en) Inspection device and inspection method
JP2020173260A (en) Method and apparatus for scanning bones in meat
JP5206335B2 (en) Principal component analysis method, principal component analysis apparatus, heterogeneous product detection apparatus, principal component analysis program, and recording medium on which principal component analysis program is recorded
JP2012098181A (en) Device and method for detection
WO2013002291A1 (en) Drug inspection device and drug inspection method
US9164029B2 (en) Method of classifying and discerning wooden materials
JP5591849B2 (en) Foreign matter inspection device, foreign matter inspection program, foreign matter inspection method
JP2011141809A (en) Equipment and method for analyzing image data
JP2013164338A (en) Method for detecting foreign matter of plant or plant product
JP2011191129A (en) Tablet inspection device, tablet packaging apparatus, tablet inspection method, and tablet packaging method
JP2012513023A5 (en)
JP6295798B2 (en) Inspection method
JP2010133934A (en) Surface measuring apparatus having two measuring unit
JP2013044729A (en) Coating state measuring method
JP2016090476A (en) Foreign matter detection method
JP2012189390A (en) Hair detector
JP2018146251A (en) Foreign matter detection system, foreign matter detection method and program thereof
JP2015094621A (en) Visual inspection device
JP2014044070A (en) Food examination apparatus
JP2009168747A (en) Method of inspecting food and inspection apparatus implementing the same
JP5298684B2 (en) Foreign object detection device and detection method
JP2015014527A (en) Abnormality detection device and abnormality detection method
JP2017203658A (en) Inspection method and optical measurement device
JP2019148607A5 (en) Inspection apparatus and inspection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140430

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140617

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: 20141007

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141020

R150 Certificate of patent or registration of utility model

Ref document number: 5644580

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250