JP6379410B1 - Inspection device, inspection system, inspection method, and program - Google Patents
Inspection device, inspection system, inspection method, and program Download PDFInfo
- Publication number
- JP6379410B1 JP6379410B1 JP2017252554A JP2017252554A JP6379410B1 JP 6379410 B1 JP6379410 B1 JP 6379410B1 JP 2017252554 A JP2017252554 A JP 2017252554A JP 2017252554 A JP2017252554 A JP 2017252554A JP 6379410 B1 JP6379410 B1 JP 6379410B1
- Authority
- JP
- Japan
- Prior art keywords
- inspection
- image
- area
- reference image
- address
- 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
Links
Images
Abstract
【課題】印刷物に蛇行や伸縮等が生じた場合であっても、精度良く欠陥を検出することができること。【解決手段】検査装置は、検査対象となる検査画像を複数の領域に分割し、分割した領域毎に基準画像とパターンマッチングを行うことにより、各領域それぞれに対応する基準画像の領域を決定する位置補正演算部と、分割した検査画像の各領域と、当該領域に対応する基準画像の各領域とをそれぞれ比較することにより、検査画像にある欠陥を検出する検査部と、を備える。【選択図】図1An object of the present invention is to detect defects accurately even when meandering or expansion / contraction occurs in a printed matter. An inspection apparatus divides an inspection image to be inspected into a plurality of areas, and performs pattern matching with the reference image for each of the divided areas, thereby determining a reference image area corresponding to each area. A position correction calculation unit; and an inspection unit that detects a defect in the inspection image by comparing each region of the divided inspection image with each region of the reference image corresponding to the region. [Selection] Figure 1
Description
本発明は、検査装置、検査システム、検査方法、およびプログラムに関する。 The present invention relates to an inspection apparatus, an inspection system, an inspection method, and a program.
繰り返し連続印刷された同一絵柄を検査する印刷物検査装置において、基準画像にフィルタをかけて、検査画像と比較することにより、検査画像に存在する欠陥を検出する技術がある(例えば、特許文献1参照)。 There is a technique for detecting defects present in an inspection image by filtering a reference image and comparing the inspection image with a printed image inspection apparatus that inspects the same pattern that has been repeatedly and continuously printed (see, for example, Patent Document 1). ).
しかしながら、特許文献1に記載の技術では、印刷物の蛇行や伸縮等により基準画像と検査画像のズレ量がフィルタサイズを超えた場合、絵柄のエッジ部分で誤検出をしてしまうという課題がある。 However, the technique described in Patent Document 1 has a problem that when the amount of deviation between the reference image and the inspection image exceeds the filter size due to meandering or expansion / contraction of the printed matter, erroneous detection is performed at the edge portion of the pattern.
本発明は、上記の点に鑑みてなされたものであり、印刷物に蛇行や伸縮等が生じた場合であっても、精度良く欠陥を検出することができる検査装置、検査システム、検査方法、およびプログラムを提供することを課題とする。 The present invention has been made in view of the above points. An inspection apparatus, an inspection system, an inspection method, and an inspection apparatus capable of accurately detecting a defect even when meandering or expansion / contraction occurs in a printed matter. The challenge is to provide a program.
(1)本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、検査対象となる検査画像を複数の領域に分割し、分割した領域毎に基準画像とパターンマッチングを行うことにより、各領域それぞれに対応する前記基準画像の領域を決定する位置補正演算部と、分割した前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査部と、を備える検査装置である。 (1) The present invention has been made to solve the above problems, and one aspect of the present invention divides an inspection image to be inspected into a plurality of regions, and a reference image and a pattern for each of the divided regions. By performing matching, a position correction calculation unit that determines the region of the reference image corresponding to each region, each region of the divided inspection image, and each region of the reference image corresponding to the region, respectively And an inspection unit that detects a defect in the inspection image by comparison.
(2)また、本発明の一態様は、(1)に記載の検査装置であって、同一絵柄が繰り返し連続印刷された検査対象物を順次撮像するカメラが撮像した画像を順次記憶する記憶部を備え、前記位置補正演算部は、前記基準画像とパターンマッチングすることにより、前記記憶部が記憶する前記検査画像の開始位置を補正する。 (2) One aspect of the present invention is the inspection apparatus according to (1), in which a storage unit that sequentially stores images captured by a camera that sequentially captures an inspection object on which the same pattern is repeatedly printed continuously. The position correction calculation unit corrects a start position of the inspection image stored in the storage unit by performing pattern matching with the reference image.
(3)また、本発明の一態様は、(1)または(2)に記載の検査装置であって、前記位置補正演算部は、専用のプロセッサによりパターンマッチングを実行し、前記位置補正演算部による実行結果を、記憶している画像のアドレスに変換するアドレス変換部を備える。 (3) Moreover, one aspect of the present invention is the inspection apparatus according to (1) or (2), in which the position correction calculation unit performs pattern matching using a dedicated processor, and the position correction calculation unit Is provided with an address conversion unit for converting the execution result obtained by the above into the address of the stored image.
(4)また、本発明の一態様は、(1)から(3)いずれかに記載の検査装置であって、前記位置補正演算部は、前記基準画像に対する前記検査画像のずれの大きさに応じて分割数を決定する。 (4) Moreover, one aspect of the present invention is the inspection apparatus according to any one of (1) to (3), in which the position correction calculation unit is configured to adjust a displacement of the inspection image with respect to the reference image. The number of divisions is determined accordingly.
(5)また、本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、同一絵柄が繰り返し連続印刷された検査対象物を順次撮像するカメラと、検査装置とを備える検査システムであって、前記検査装置は、前記カメラが撮像した検査対象となる検査画像を複数の領域に分割し、分割した領域毎に基準画像とパターンマッチングを行うことにより、各領域それぞれに対応する前記基準画像の領域を決定する位置補正演算部と、分割した前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査部と、を備える検査システムである。 (5) Moreover, this invention was made | formed in order to solve said subject, and one aspect | mode of this invention is a camera which image | photographs sequentially the test target object by which the same pattern was repeatedly printed continuously, Inspection apparatus, The inspection apparatus divides an inspection image to be inspected by the camera into a plurality of areas, and performs pattern matching with a reference image for each of the divided areas. The position correction calculation unit that determines the area of the reference image corresponding to the area, the areas of the divided inspection image, and the areas of the reference image corresponding to the area are respectively compared with the inspection image. An inspection system including an inspection unit that detects a certain defect.
(6)また、本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、コンピュータが、検査対象となる検査画像を複数の領域に分割し、分割した領域毎に基準画像とパターンマッチングを行うことにより、各領域それぞれに対応する前記基準画像の領域を決定する位置補正演算過程と、分割した前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査過程と、を有する検査方法である。 (6) Moreover, this invention was made | formed in order to solve said subject, and one aspect | mode of this invention divides | segments the test | inspection image used as test | inspection object into several area | region, and for every divided | segmented area | region By performing pattern matching with the reference image, the position correction calculation process for determining the region of the reference image corresponding to each region, each region of the divided inspection image, and the reference image corresponding to the region And an inspection process for detecting a defect in the inspection image by comparing each region.
(7)また、本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、コンピュータが、検査対象となる検査画像を複数の領域に分割し、分割した領域毎に基準画像とパターンマッチングを行うことにより、各領域それぞれに対応する前記基準画像の領域を決定する位置補正演算ステップと、分割した前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査ステップと、を実行するためのプログラムである。 (7) Further, the present invention has been made to solve the above-described problems, and one aspect of the present invention is that the computer divides an inspection image to be inspected into a plurality of areas, and for each divided area. By performing pattern matching with the reference image, a position correction calculation step for determining a region of the reference image corresponding to each region, each region of the divided inspection image, and the reference image corresponding to the region And an inspection step for detecting a defect in the inspection image by comparing each region.
本発明によれば、印刷物に蛇行や伸縮等が生じた場合であっても、精度良く欠陥を検出することができる。 According to the present invention, it is possible to detect a defect with high accuracy even when the printed material is meandered, stretched, or the like.
(実施形態)
以下、図面を参照しながら本発明の一実施形態について説明する。
図1は、本発明の実施形態に係る検査システム1の構成の一例を示すシステム構成図である。
検査システム1は、情報処理装置10と、検査装置20と、ラインカメラ30と、測長エンコーダ40と、ラベラ50と、を含んで構成される。検査システム1は、同一絵柄(以下、「レピート」と称する。)が繰り返し連続印刷された印刷物T(以下、「検査対象物T」と称する。)の汚れや文字欠けなどの欠陥を検出するシステムである。検査対象物Tは、例えば、伸縮するフィルムなどのシート状印刷物等である。情報処理装置10、ラインカメラ30、測長エンコーダ40及びラベラ50と検査装置20とは、有線又は無線により接続されている。
(Embodiment)
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a system configuration diagram illustrating an example of a configuration of an inspection system 1 according to an embodiment of the present invention.
The inspection system 1 includes an
情報処理装置10は、例えば、パーソナルコンピュータやタブレット端末やスマートフォン等の少なくとも表示部と入力部とを備える電子機器である。情報処理装置10は、検査システム1を操作するための操作画面を表示してユーザからの操作入力を受け付ける。操作画面には、検査対象物Tに関する情報(例えば、レピートの長さであるレピート長や、検査幅等)の入力欄や、検査の開始を指示する検査開始ボタン等が配置されている。情報処理装置10は、操作画面において検査開始ボタンが入力を受け付けると、検査の開始を指示する検査開始信号を検査装置20に出力する。検査開始信号には、操作画面において入力された情報が含まれる。
The
また、情報処理装置10は、検査の結果を表示する。例えば、情報処理装置10は、検査対象物Tに欠陥がある場合には、欠陥部分の画像である欠陥画像を表示して、ブザー(音)を出力する。また、情報処理装置10は、欠陥画像をファイルに保存する。
Further, the
ラインカメラ30は、流れ方向fに向かって流れてくる検査対象物Tを1ライン毎に順次撮像し、撮像した画像を検査装置20に出力する。以下、流れ方向fを前方とし、その逆方向を後方とする。また、流れ方向fを縦方向として縦横方向を定める。測長エンコーダ40は、流れ方向fにおいてラインカメラ30の直後に設置され、検査対象物Tがラインカメラ30を通過した長さを測定する。例えば、測長エンコーダ40は、一定の長さ毎にパルス信号を検査装置20に出力する。
The
ラベラ50は、流れ方向fにおいて、ラインカメラ30及び測長エンコーダ40より後方に設置され、検査対象物Tの欠陥部分にラベルを貼付する。
The
検査装置20は、例えば、CPU(Central Processing Unit)とFPGA(Field−Programmable Gate Array)とを備える画像処理ボードを有する画像処理装置である。検査装置20は、メモリ部21と、位置補正演算部22と、アドレス変換部23と、検査部24と、欠陥生成部25とを備える。
The
メモリ部21は、メモリ211(記憶部)を備え、情報処理装置10から検査開始信号が入力されると、ラインカメラ30から入力される1ライン毎の画像をメモリ211にあるリングバッファに順次格納する。また、メモリ部21は、画像の格納を開始したリングバッファのアドレスを基準となる基準画像の先頭アドレスとして保持する。メモリ部21は、測長エンコーダ40から入力されるパルス数のカウントが設定値を超える度にリングバッファのアドレスを進める。当該設定値は、ラインカメラ30が撮像する1ラインの画像に相当する値である。そして、メモリ部21は、基準画像の先頭アドレスからのライン数が、操作画面において設定されたレピート長(設定レピート長とも称する)に達した時のアドレスを、検査対象となる検査画像の先頭アドレスとして保持する。その後、メモリ部21は、検査画像の先頭アドレスからのライン数がレピート長(測定レピート長とも称する)に達すると、基準画像と検査画像と基準画像の先頭アドレスと検査画像の先頭アドレスとレピート長とを位置補正演算部22に出力する。
The
位置補正演算部22は、メモリ221を備え、メモリ部21から入力されたデータをメモリ221に格納する。メモリ221には、メモリ部21のメモリ211と同一のデータが格納される。位置補正演算部22は、メモリ部21から入力された基準画像の先頭アドレスに格納された画像と検査画像の先頭アドレスに格納された画像とで位相限定相関法によるパターンマッチングを行い、流れ方向のズレ量から検査画像の先頭アドレスを前後にずらす。ここで、位置補正演算部22は、位相限定相関法によるパターンマッチングをする際には、専用プロッセサによる並列処理を行い、処理を高速化する。
The position
その後、位置補正演算部22は、基準画像の後半部分と検査画像の後半部分とで位相限定相関法によるパターンマッチングを行い、基準画像の終了位置と検査画像の終了位置とのズレ量の大きさを算出する。位置補正演算部22は、算出したズレ量に応じて、検査画像を分割する分割数を決定する。例えば、位置補正演算部22は、ズレ量が大きいほど分割数を多くする。
After that, the position
そして、位置補正演算部22は、決定した分割数の領域に検査画像及び基準画像を分割する。位置補正演算部22は、分割した領域毎に基準画像と検査画像とで位相限定相関法によるパターンマッチングを行い、検査画像の領域毎に基準画像との縦横のズレ量を格納したテーブルを生成する。位置補正演算部22は、生成したテーブルをアドレス変換部23に出力する。
Then, the position
なお、位置補正演算部22は、基準画像の後半部分と検査画像の後半部分とで位相限定相関法によるパターンマッチングを行い、基準画像の終了位置と検査画像の終了位置とのズレ量の大きさを算出することに加えて、または代えて基準画像の後半部分と検査画像の後半部分とで回転不変位相限定相関法によるパターンマッチングを行い、基準画像の終了位置と検査画像の終了位置とのズレ量の大きさを算出してもよい。回転不変位相限定相関法は、位相限定相関法によるマッチングで算出される縦横のズレ量に加え、回転とスケール(拡大・縮小率)とを算出できる。具体的には、位置補正演算部22は、位相限定相関法により縦横のズレ量の大きさを算出し、算出した縦横のズレ量の大きさを回転角とスケールに変換する。そして、位置補正演算部22は、変換した回転角、スケールと、アフィン変換とを用いて、スケールが生じていない画像を生成し、該画像に対して位相限定相関法によるパターンマッチングを行うことで縦横方向のズレ量を算出する。
このように、位相限定相関法によるパターンマッチングに加えて、または代えて回転不変位相限定相関法によるパターンマッチングを行うことで、検査画像の回転やスケールを算出することができ、検査精度を向上させることができる。
The position
Thus, in addition to or instead of pattern matching by the phase-only correlation method, pattern matching by the rotation invariant phase-only correlation method can be performed, whereby the rotation and scale of the inspection image can be calculated and the inspection accuracy is improved. be able to.
アドレス変換部23は、位置補正演算部22から入力されたテーブルに基づいて、メモリ211における、検査画像を分割した各領域のアドレスと、当該各領域に対応する基準画像の各領域のアドレスとを補正する。そして、アドレス変換部23は、補正したアドレスを含む検査開始コマンドを検査部24に出力する。
Based on the table input from the position
検査部24は、分割した領域毎に基準画像と検査画像とを先頭アドレスから順次比較検査し、検査画像にある欠陥を検出する。このとき、検査部24は、アドレス変換部23から入力されたアドレスを参照して、検査画像の各領域に対応する基準画像の各領域を決定する。検査部24は、検査結果を欠陥生成部25に出力する。
The
欠陥生成部25は、検査結果に基づいて、重要度の高い欠陥から順に並べ替えた後、欠陥を撮像した欠陥画像を生成し、情報処理装置10に出力する。また、欠陥生成部25は、検査結果に基づいて、検査対象物の欠陥をトラッキングし、重要度の高い欠陥がラベラ50の位置まできたときに、ラベラ50にラベルを貼付させる。
The
図2は、本発明の第1の実施形態に係る情報処理装置10のハードウェア構成の一例を示す概略ブロック図である。
情報処理装置10は、CPU101と、記憶媒体インタフェース部102と、記憶媒体103と、入力部104と、出力部105と、ROM106(Read Only Memory)と、RAM107(Random Access Memory)と、補助記憶部108と、インタフェース部109と、を備える。CPU101と、記憶媒体インタフェース部102と、入力部104と、出力部105と、ROM106と、RAM107と、補助記憶部108と、インタフェース部109とは、バスを介して相互に接続される。
なお、ここで言うCPU101は、プロセッサ一般のことを示すものであって、狭義のいわゆるCPUと呼ばれるデバイスのことだけではなく、例えばGPU(Graphics Processing Unit)やDSP(Digital Signal Processor)等も含む。また、ここで言うCPU101は、一つのプロセッサで実現されることに限られず、同じ、または異なる種類の複数のプロセッサを組み合わせることで実現されてもよい。
FIG. 2 is a schematic block diagram illustrating an example of a hardware configuration of the
The
The
CPU101は、補助記憶部108、ROM106およびRAM107が記憶するプログラムを読み出して実行し、また、補助記憶部108、ROM106およびRAM107が記憶する各種データを読み出し、補助記憶部108、RAM107に対して各種データを書き込むことにより、情報処理装置10を制御する。また、CPU101は、記憶媒体インタフェース部102を介して記憶媒体103が記憶する各種データを読み出し、また、記憶媒体103に各種データを書き込む。記憶媒体103は、光磁気ディスク、フレキシブルディスク、フラッシュメモリなどの可搬記憶媒体であり、各種データを記憶する。
記憶媒体インタフェース部102は、光ディスクドライブ、フレキシブルディスクドライブなどの記憶媒体103の読み書きを行うためのインタフェースである。
The
The storage
入力部104は、マウス、キーボード、タッチパネル、チャンネルボタン、電源ボタン、設定ボタン、赤外線受信部などの入力装置である。
出力部105は、表示部、スピーカなどの出力装置である。
ROM106、RAM107は、情報処理装置10の各機能部を動作させるためのプログラムや各種データを記憶する。
補助記憶部108は、ハードディスクドライブ、フラッシュメモリなどであり、情報処理装置10の各機能部を動作させるためのプログラム、各種データを記憶する。
インタフェース部109は、通信インタフェースを有し、有線または無線によりネットワークNWや検査装置20と接続される。
The
The
The
The
The
図3は、本発明の実施形態に係る検査装置20のハードウェア構成の一例を示す概略ブロック図である。
検査装置20は、CPU201と、記憶媒体インタフェース部202と、記憶媒体203と、入力部204と、出力部205と、ROM206(Read Only Memory)と、RAM207(Random Access Memory)と、補助記憶部208と、インタフェース部209と、FPGA210と、を備える。CPU201と、記憶媒体インタフェース部202と、入力部204と、出力部205と、ROM206と、RAM207と、補助記憶部208と、インタフェース部209と、FPGA210とは、バスを介して相互に接続される。
なお、ここで言うCPU201は、プロセッサ一般のことを示すものであって、狭義のいわゆるCPUと呼ばれるデバイスのことだけではなく、例えばGPUやDSP等も含む。また、ここで言うCPU201は、一つのプロセッサで実現されることに限られず、同じ、または異なる種類の複数のプロセッサを組み合わせることで実現されてもよい。例えば、GPUは、CPU201とともに位相限定相関法によるパターンマッチングを行うための専用のプロセッサである。
FIG. 3 is a schematic block diagram illustrating an example of a hardware configuration of the
The
The
CPU201は、補助記憶部208、ROM206およびRAM207が記憶するプログラムを読み出して実行し、また、補助記憶部208、ROM206およびRAM207が記憶する各種データを読み出し、補助記憶部208、RAM207に対して各種データを書き込むことにより、検査装置20を制御する。また、CPU201は、記憶媒体インタフェース部202を介して記憶媒体203が記憶する各種データを読み出し、また、記憶媒体203に各種データを書き込む。記憶媒体203は、光磁気ディスク、フレキシブルディスク、フラッシュメモリなどの可搬記憶媒体であり、各種データを記憶する。
記憶媒体インタフェース部202は、光ディスクドライブ、フレキシブルディスクドライブなどの記憶媒体203の読み書きを行うためのインタフェースである。
The
The storage
入力部204は、マウス、キーボード、タッチパネル、チャンネルボタン、電源ボタン、設定ボタン、赤外線受信部などの入力装置である。
出力部205は、表示部、スピーカなどの出力装置である。
ROM206、RAM207は、検査装置20の各機能部を動作させるためのプログラムや各種データを記憶する。
補助記憶部208は、ハードディスクドライブ、フラッシュメモリなどであり、検査装置20の各機能部を動作させるためのプログラム、各種データを記憶する。
インタフェース部209は、通信インタフェースを有し、有線または無線によりネットワークNWや情報処理装置10やラインカメラ30や測長エンコーダ40やラベラ50と接続される。
FPGA210は、ラインカメラ30から入力されるライン毎の入力画像やリングバッファのアドレスの管理などを行う。
The
The
The
The
The
The
例えば、図1における検査装置20の機能構成におけるメモリ部21、アドレス変換部23、検査部24は、図3におけるROM206、またはRAM207、または補助記憶部208、またはFPGA210、またはそれらの何れかの組み合わせにより構成される。また、位置補正演算部22、欠陥生成部25は、CPU201により構成される。
For example, the
続いて、検査システム1が、検査対象物Tの欠陥を検出する検査処理について詳細に説明する。まず、情報処理装置10において、オペレータがレピート長や検査幅等を含む検査対象物Tに関する情報を操作画面に入力し、検査開始ボタンを押下する。情報処理装置10は、入力された情報を含む検査開始信号を検査装置20に出力する。検査装置20は、検査開始信号が入力されると、ラインカメラ30が撮像する画像の取り込みを開始する。
Subsequently, an inspection process in which the inspection system 1 detects a defect of the inspection target T will be described in detail. First, in the
図4は、本発明の実施形態に係る検査装置20における画像の格納方法を説明するための図である。検査装置20のメモリ部21は、ラインカメラ30から入力される1ライン毎の画像をメモリ211内にあるリングバッファに順次格納する。このとき、メモリ部21は、格納を開始したリングバッファのアドレスを基準画像の先頭アドレスST1として保持する。すなわち、メモリ部21は、最初に撮像されるレピートを基準となる基準画像とする。メモリ部21は、測長エンコーダ40から入力されるパルス数のカウントが設定値を超える度にリングバッファのアドレスを進める。そして、メモリ部21は、基準画像の先頭アドレスST1からのライン数が、検査開始信号に含まれるレピート長Lに達した時のアドレスを検査画像の先頭アドレスとST2して保持する。すなわち、メモリ部21は、次に撮像されるレピートを検査対象である検査画像とする。また、メモリ部21は、検査画像の先頭アドレスST2からのライン数が、検査開始信号に含まれるレピート長Lに達した時のアドレスを、次の検査対象となる更新画像の先頭アドレスST3として保持する。メモリ部21は、リングバッファの最後まで書き込みが完了すると、リングバッファの先頭に戻って順次画像を格納する。
FIG. 4 is a diagram for explaining an image storage method in the
すなわち、検査装置20は、検査対象物Tにおいて、ラインカメラ30が先に撮像した(先に印刷された)レピートを基準画像とし、その後撮像した(その後印刷された)レピートを検査画像とする。
That is, in the inspection object T, the inspection apparatus T uses, as the reference image, the repeat imaged first (printed first) by the
メモリ部21は、検査画像の先頭アドレスからのライン数がレピート長に達すると、基準画像と、検査画像と、基準画像の先頭アドレスと、検査画像の先頭アドレスとを位置補正演算部22に出力する。位置補正演算部22は、メモリ部21から入力された情報をメモリ221に格納する。
When the number of lines from the start address of the inspection image reaches the repeat length, the
位置補正演算部22は、基準画像の先頭アドレスに格納された画像と検査画像の先頭アドレスに格納された画像とで位相限定相関法によるパターンマッチングを行い、流れ方向のズレ量から検査画像の先頭アドレスを前後にずらして補正する。このように、検査画像の先頭アドレスを前後にずらして検査画像の開始位置を補正することにより、比較する基準画像と検査画像の開始位置を合わせることができる。
The position
しかしながら、基準画像と検査画像とをパターンマッチングすることにより開始位置を合わせた場合であっても、検査対象物Tにおいて検査画像の途中から蛇行した場合や一部のみ伸縮している場合には、基準画像と検査画像とで途中からズレが生じることがある。 However, even when the start position is matched by pattern matching between the reference image and the inspection image, when the inspection target T meanders from the middle of the inspection image or only part of the inspection image is expanded or contracted, There may be a gap between the reference image and the inspection image.
図5は、本発明の実施形態に係る基準画像と検査画像とのズレの一例を示す図である。本図に示す例では、基準画像G11において位置p1に印刷されている模様が、検査画像G12においては位置p1より後方の位置p2に印刷されている。このような場合に、そのまま基準画像と検査画像とを比較すると、位置p1及び位置p2において欠陥を誤検出することがある。そこで、検査装置20の位置補正演算部22は、検査画像を複数の領域に分割し、分割した各領域それぞれについてパターンマッチングにより基準画像とのズレ量を算出して、基準画像の対応する領域を決定する。
FIG. 5 is a diagram illustrating an example of a deviation between the reference image and the inspection image according to the embodiment of the present invention. In the example shown in the figure, the pattern printed at the position p1 in the reference image G11 is printed at the position p2 behind the position p1 in the inspection image G12. In such a case, if the reference image and the inspection image are directly compared, a defect may be erroneously detected at the position p1 and the position p2. Therefore, the position
図6は、本発明の実施形態に係る基準画像と検査画像との比較領域を示す図である。本図では、検査画像に伸びが生じている場合を例に説明する。まず、図6(a)に示すように、位置補正演算部22は、検査画像を進み方向に複数(本例では、4つ)の領域AI1〜AI4に等分割する。同様に、位置補正演算部22は、基準画像を進み方向に検査画像と同数の領域AS1〜AS4に等分割する。ここで、検査画像には伸びが生じているため、印刷されている模様にズレが生じ、検査画像の領域AI1〜AI4と基準画像の領域AS1〜AS4とをそのまま比較しても、精度良く欠陥を検出することができない。
FIG. 6 is a diagram showing a comparison area between the reference image and the inspection image according to the embodiment of the present invention. In this figure, a case where the inspection image is elongated will be described as an example. First, as illustrated in FIG. 6A, the position
そこで、位置補正演算部22は、検査画像の各領域AI1〜AI4と基準画像の各領域AS1〜AS4とでそれぞれ位相限定相関法によるパターンマッチングを行い、検査画像の各領域AI1〜AI4に対する基準画像の各領域AS1〜AS4の縦横のズレ量を算出する。そして、図6(b)に示すように、位置補正演算部22は、算出した各領域のズレ量に基づいて、検査画像の各領域AI1〜AI4に対応する基準画像の各領域AS1〜AS4を領域AS11〜AS14に補正する。
Therefore, the position
このように、検査画像を複数の領域に分割し、分割した領域毎に基準画像と位置合わせを行うことにより、検査画像の途中から蛇行した場合や一部のみ伸縮している場合であっても、蛇行や伸縮に対する追従性が向上し、基準画像と検査画像との比較位置にズレが生じることを低減することができる。よって、伸縮や蛇行に対応した印刷物の検査が可能になる。 In this way, by dividing the inspection image into a plurality of regions and aligning with the reference image for each of the divided regions, even when meandering from the middle of the inspection image or when only a part is expanded or contracted Further, the followability with respect to meandering and expansion / contraction is improved, and it is possible to reduce the occurrence of deviation in the comparison position between the reference image and the inspection image. Therefore, it is possible to inspect printed matter corresponding to expansion and contraction and meandering.
また、位置補正演算部22における処理(位相限定相関法によるパターンマッチング)を、CPU201(GPU)による並列処理で実行することにより、全体の処理を高速化することができる。 Moreover, the overall processing can be speeded up by executing the processing in the position correction calculation unit 22 (pattern matching by the phase-only correlation method) by parallel processing by the CPU 201 (GPU).
また、パターンマッチングを位相限定相関法により実行することで、縦方向及び横方向のズレ量を検出することができる。また照明の明るさの変化や印刷物の濃度変化に影響されにくいマッチングを行うことができる。 Further, by executing pattern matching by the phase only correlation method, it is possible to detect the amount of deviation in the vertical direction and the horizontal direction. In addition, it is possible to perform matching that is not easily affected by changes in the brightness of illumination or changes in the density of printed matter.
位置補正演算部22は、検査画像の先頭アドレスのズレ量、及び検査画像の領域AI1〜AI4毎に基準画像との縦横のズレ量を格納したテーブル(パターンマッチングの実行結果)を生成し、生成したテーブルをアドレス変換部23に出力する。アドレス変換部23は、位置補正演算部22から入力されたテーブルを、メモリ211が記憶する画像のアドレスに変換する。つまり、アドレス変換部23は、位置補正演算部22から入力されたテーブルに基づいて、メモリ211における画像のアドレスを変換する。具体的には、アドレス変換部23は、テーブルに基づいて、検査画像の各領域AI1〜AI4のアドレスと、当該各領域それぞれに対応する基準画像の領域AS11〜AS14のアドレスを補正する。このように、アドレス変換部23が、位置補正演算部22による実行結果をアドレス変換することにより、リアルタイムに印刷物を検査することが可能になる。
The position
検査部24は、アドレス変換部23が補正したアドレスを参照して、検査画像の領域AI1〜AI4と基準画像の領域AS11〜AS14とをそれぞれ比較検査することにより、検査画像にある欠陥を検出する。なお、検査部24は、基準画像と検査画像との差異から欠陥を検出する際、何れかに最大値フィルタまたは最小値フィルタをかけ、さらに所定濃度のバイアスを加算または減算することにより、蛇行や同期ずれと印刷物の伸縮またはばたつきの影響を除去して欠陥を検出する。ここで、最小値フィルタとは、その中心の画素の濃度をそのフィルタ内の画素の最小の濃度にするフィルタである。また、最大値フィルタとは、その中心の画素の濃度をそのフィルタ内の画素の最大の濃度にするフィルタである。検査部24は、複数に分割された領域毎に検査画像と基準画像とを比較しているため、このフィルタサイズを小さくすることができる。よって、検査画像に蛇行や伸縮が少ない場合には、フィルタサイズを小さくすることでより厳しい検査をすることができる。
The
欠陥生成部25は、検査部24における検査結果をラベラ50及び情報処理装置10に出力する。例えば、欠陥生成部25は、トラッキングを行い、重要度の高い欠陥がラベラ50の位置まできたときに、ラベラ50にラベルを貼付させる。また、欠陥生成部25は、検査結果に基づいて欠陥画像及び伸縮グラフを生成し、生成した欠陥画像及び伸縮グラフを情報処理装置10に出力する。情報処理装置10は、検査装置20から入力された欠陥画像及び伸縮グラフを表示してブザーを出力し、欠陥画像及び伸縮グラフをファイルに保存する。伸縮グラフは、同一の検査対象物における設定レピート長に対する測定レピート長の変動の推移を示すグラフである。なお、欠陥生成部25は、伸縮グラフに代えて、基準画像に対する検査画像の伸縮を示す数値を情報処理装置10に出力してもよい。この場合には、情報処理装置10が、入力された数値に基づいて伸縮グラフを生成してもよい。
The
図7は、本発明の実施形態に係る検査装置20が生成する欠陥画像の一例を示す説明図である。図示するように、欠陥生成部25は、検査画像において少なくとも欠陥部分Dを含む領域の画像G22と、当該領域に対応する基準画像の画像G21とを含む欠陥画像を生成する。欠陥部分Dは、少なくとも画像G22において強調表示される。本図に示す例では、画像G22において、矢印で欠陥部分Dを示している。また、画像G21では、欠陥部分Dに対応する位置に矢印を表示して、対応する位置を強調表示している。また、画像G21には「基準」を表示し、画像G22には「検査」を表示することで、どちらの画像が基準画像であるか検査画像であるかを容易に判別可能にしている。なお、欠陥画像は、画像G21と画像G22とを並べた静止画像であってもよいし、画像G21と画像G22とを交互に表示する動画像であってもよい。
FIG. 7 is an explanatory diagram illustrating an example of a defect image generated by the
アドレス変換部23は、1つの検査画像の検査が完了すると、検査画像を次の画像に更新する。具体的には、アドレス変換部23は、メモリ211における検査画像の先頭アドレスを基準画像の先頭アドレスに、更新画像の先頭アドレスを検査画像の先頭アドレスにそれぞれ変更する。その後、検査装置20は、更新した検査画像について、上述した処理により検査を実行する。このように処理を繰り返すことで、繰り返し連続印刷された同一絵柄を検査することができる。
When the inspection of one inspection image is completed, the
図8は、本発明の実施形態に係る検査装置20が実行する検査処理の一例を示すフローチャートである。
ステップS101において、メモリ部21は、ラインカメラ30から入力される画像の記録を開始する。具体的には、メモリ部21は、ラインカメラ30から入力される1ライン毎の画像をメモリ211にあるリングバッファに順次格納する。
FIG. 8 is a flowchart showing an example of inspection processing executed by the
In step S <b> 101, the
ステップS103において、メモリ部21は、検査画像の格納が完了したか否かを判定する。具体的には、メモリ部21は、検査画像の先頭アドレスからのライン数がレピート長に達すると、検査画像の格納が完了したと判定する。検査画像の格納が完了した場合(ステップS103;YES)、検査装置20は、ステップS107の処理を実行する。検査画像の格納が完了していない場合(ステップS103;NO)、検査装置20は、ステップS103の処理を繰り返す。
In step S103, the
ステップS105において、位置補正演算部22は、メモリ部21が格納した基準画像及び検査画像をメモリ221に格納し、基準画像の開始位置と検査画像の開始位置とで位相限定相関法によるパターンマッチングを行い、流れ方向のズレ量から検査画像の先頭アドレスを前後にずらして補正する。
In step S105, the position
ステップS107において、メモリ部21は、情報処理装置10から検査開始信号が入力されたか否かを判定する。検査開始信号が入力された場合(ステップS107;YES)、検査装置20は、ステップS109の処理を実行する。一方、検査開始信号が入力されていない場合(ステップS107;NO)、検査装置20は、ステップS121の処理を繰り返す。
In step S <b> 107, the
ステップS109において、位置補正演算部22は、基準画像の後半部分と検査画像の後半部分とで位相限定相関法によるパターンマッチングを行い、算出したズレ量から分割数を決定する。
In step S109, the position
ステップS111において、位置補正演算部22は、決定した分割数の領域に基準画像及び検査画像を分割する。
In step S111, the position
ステップS113において、位置補正演算部22は、分割した領域毎に基準画像と検査画像とで位相限定相関法によるパターンマッチングを行い、各領域における縦横のズレ量を算出し、算出したズレ量を格納したテーブルを生成する。
In step S113, the position
ステップS115において、アドレス変換部23は、位置補正演算部22が生成したテーブルに基づいて、メモリ211における検査画像及び基準画像の各領域のアドレスを補正する。
In step S115, the
ステップS117において、検査部24は、アドレス変換部23が補正したアドレスに基づいて、分割した領域毎に基準画像と検査画像とを先頭アドレスから順次比較検査する。
In step S117, the
ステップS119において、欠陥生成部25は、検査部24における検査結果を出力する。具体的には、欠陥生成部25は、重要度の高い欠陥から順に並べ替えた後、欠陥を撮像した欠陥画像を生成し、情報処理装置10に出力する。また、欠陥生成部25は、検査結果に基づいて、検査対象物の欠陥をトラッキングし、重要度の高い欠陥がラベラ50の位置まできたときに、ラベラ50にラベルを貼付させる。
In step S119, the
ステップS121において、アドレス変換部23は、検査画像を次の画像に更新する。具体的には、アドレス変換部23は、メモリ211における検査画像の先頭アドレスを基準画像の先頭アドレスに、検査画像の次の更新画像の先頭アドレスを検査画像の先頭アドレスにそれぞれ変更する。その後、ステップS105の処理に戻る。
In step S121, the
このように、本実施形態に係る検査システム1は、検査対象となる検査画像を複数の領域に分割し、分割した領域毎に基準画像とパターンマッチングを行うことにより、各領域それぞれに対応する基準画像の領域を決定する位置補正演算部22と、分割した検査画像の各領域と、当該領域に対応する基準画像の各領域とをそれぞれ比較することにより、検査画像にある欠陥を検出する検査部24と、を備える検査装置20を備える。
As described above, the inspection system 1 according to the present embodiment divides the inspection image to be inspected into a plurality of areas, and performs pattern matching with the reference image for each of the divided areas, thereby providing a reference corresponding to each area. A position
このような構成により、一部のみ、または途中からずれている検査画像であっても、基準画像との実際のズレ量に近い値を計測することができ、伸縮や蛇行に対応した印刷物の検査が可能になる。 With such a configuration, even if the inspection image is only partially or shifted from the middle, it is possible to measure a value close to the actual deviation from the reference image, and inspection of printed matter corresponding to expansion and contraction and meandering Is possible.
また、同一絵柄が繰り返し連続印刷された検査対象物を順次撮像するラインカメラ30と、ラインカメラ30が撮像した画像を順次記憶するメモリ部21と、を備え、位置補正演算部22は、基準画像とパターンマッチングすることにより、メモリ部21が記憶する検査画像の開始位置を補正する。これにより、順次撮像する画像から検査画像の開始位置を正確に抽出することができるため、精度良く印刷物を検査することができる。
The position
また、位置補正演算部22は、専用のプロセッサによりパターンマッチングを実行し、位置補正演算部22による実行結果を、記憶している画像のアドレスに変換するアドレス変換部23を備える。これにより全体の処理を高速化することができ、リアルタイムに印刷物を検査することが可能になる。
In addition, the position
また、位置補正演算部22は、基準画像に対する検査画像のずれの大きさに応じて分割数を決定する。これにより、基準画像と検査画像のずれの大きさに応じた領域に分割して比較検査するため、精度良く印刷物を検査することが可能になる。
Further, the position
なお、上述した実施形態では、検査装置20が自動的に分割数を決定しているが、これに限らず、分割数は予め設定されていてもよいし、情報処理装置10が表示する操作画面においてオペレータが分割数を指定できるようにしてもよい。
In the embodiment described above, the
また、上述した実施形態では、ラインカメラ30が先に撮像したレピートを基準画像としているが、これに限らず、検査装置20は、予め基準画像を記憶しておいてもよい。
In the embodiment described above, the repeat imaged first by the
また、上述した実施形態では、情報処理装置10と検査装置20とが別の装置である場合について説明したが、これに限らず、情報処理装置10に画像処理ボードを接続させたものであってもよい。また、検査装置20は、画像処理ボードのみから構成されるものであってもよい。
In the above-described embodiment, the case where the
なお、本発明の一態様における情報処理装置10、検査装置20で動作するプログラムは、本発明の一態様に関わる上記の各実施形態や変形例で示した機能を実現するように、1つ、または複数の、CPU(Central Processing Unit)等のプロセッサを制御するプログラム(コンピュータを機能させるプログラム)であっても良い。そして、これらの各装置で取り扱われる情報は、その処理時に一時的にRAM(Random Access Memory)に蓄積され、その後、フラッシュメモリやHDD(Hard Disk Drive)等の各種ストレージに格納され、必要に応じてCPU等によって読み出し、修正・書き込みが行われても良い。
In addition, the program which operate | moves with the
なお、上述した各実施形態や変形例における情報処理装置10、検査装置20の一部又は全部を1つ、または複数のプロセッサを備えたコンピュータで実現するようにしても良い。その場合、この制御機能を実現するためのプログラムをコンピュータが読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現しても良い。
Note that a part or all of the
なお、ここでいう「コンピュータシステム」とは、情報処理装置10、検査装置20に内蔵されたコンピュータシステムであって、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
Here, the “computer system” is a computer system built in the
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。 Furthermore, the “computer-readable recording medium” is a medium that dynamically holds a program for a short time, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line, In such a case, a volatile memory inside a computer system serving as a server or a client may be included and a program that holds a program for a certain period of time. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
また、上述した各実施形態や変形例における情報処理装置10、検査装置20の一部、又は全部を典型的には集積回路であるLSIとして実現してもよいし、チップセットとして実現してもよい。また、上述した各実施形態や変形例における情報処理装置10、検査装置20の各機能ブロックは個別にチップ化してもよいし、一部、又は全部を集積してチップ化してもよい。また、集積回路化の手法は、LSIに限らず専用回路、および/または汎用プロセッサで実現しても良い。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いることも可能である。
In addition, part or all of the
以上、図面を参照してこの発明の実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。 The embodiments of the present invention have been described in detail above with reference to the drawings. However, the specific configuration is not limited to the above-described one, and various design changes and the like can be made without departing from the scope of the present invention. Is possible.
1 検査システム
10 情報処理装置
20 検査装置
21 メモリ部
211 メモリ
22 位置補正演算部
221 メモリ
23 アドレス変換部
24 検査部
25 欠陥生成部
30 ラインカメラ
40 測長エンコーダ
50 ラベラ
101 CPU
102 記憶媒体インタフェース部
103 記憶媒体
104 入力部
105 出力部
106 ROM
107 RAM
108 補助記憶部
109 インタフェース部
201 CPU
202 記憶媒体インタフェース部
203 記憶媒体
204 入力部
205 出力部
206 ROM
207 RAM
208 補助記憶部
209 インタフェース部
210 FPGA
DESCRIPTION OF SYMBOLS 1
102 storage
107 RAM
108
202 Storage
207 RAM
208
Claims (6)
前記第2のずれ量に基づいて前記検査画像の各領域のアドレスを、前記基準画像の各領域のアドレスにアドレス変換することで前記検査画像の領域それぞれに対応する前記基準画像の領域それぞれを決定するアドレス変換部と、
前記アドレス変換された前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査部と、
を備える検査装置。 A first shift amount of the inspection image with respect to the reference image is calculated by performing at least a first pattern matching by the rotation-invariant phase-only correlation method between the inspection image to be inspected and the reference image; The number of divisions into a plurality of areas is determined based on the amount of shift of 1, the inspection image and the reference image are divided into areas of the division number , and the reference image for each divided area and the inspection for each divided area A position correction calculation unit that calculates a second shift amount of the inspection image with respect to the reference image in each region by performing at least a second pattern matching with the image by a rotation invariant phase-only correlation method ;
Based on the second shift amount, the address of each area of the inspection image is converted into the address of each area of the reference image, thereby determining each area of the reference image corresponding to each area of the inspection image. An address translation unit to
An inspection unit that detects a defect in the inspection image by comparing each area of the inspection image that has been address-converted with each area of the reference image corresponding to the area;
An inspection apparatus comprising:
前記位置補正演算部は、前記第1のパターンマッチングを行うことにより、前記記憶部が記憶する前記検査画像の開始位置を補正する、
請求項1に記載の検査装置。 A storage unit that sequentially stores images taken by a camera that sequentially captures inspection objects on which the same pattern is repeatedly printed in sequence as inspection images ;
The position correction calculation unit corrects a start position of the inspection image stored in the storage unit by performing the first pattern matching;
The inspection apparatus according to claim 1.
請求項1または請求項2に記載の検査装置。 The inspection apparatus according to claim 1, wherein the position correction calculation unit executes the first pattern matching and the second pattern matching by a dedicated processor.
前記検査装置は、
前記カメラが撮像した検査対象となる検査画像と、基準画像との、少なくとも回転不変位相限定相関法による第1のパターンマッチングを行うことにより、前記基準画像に対する前記検査画像の第1のずれ量を算出し、前記第1のずれ量に基づいて、複数の領域への分割数を決定し、前記検査画像および前記基準画像を前記分割数の領域に分割し、分割した領域毎の基準画像と分割した領域毎の検査画像との、少なくとも回転不変位相限定相関法による第2のパターンマッチングを行うことにより、各領域の前記基準画像に対する前記検査画像の第2のずれ量を算出する位置補正演算部と、
前記第2のずれ量に基づいて前記検査画像の各領域のアドレスを、前記基準画像の各領域のアドレスにアドレス変換することで前記検査画像の領域それぞれに対応する前記基準画像の領域それぞれを決定するアドレス変換部と、
前記アドレス変換された前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査部と、
を備える検査システム。 An inspection system comprising a camera that sequentially images inspection objects on which the same pattern is repeatedly printed repeatedly, and an inspection device,
The inspection device includes:
By performing at least a first pattern matching by a rotation invariant phase-only correlation method between an inspection image to be inspected by the camera and a reference image, a first shift amount of the inspection image with respect to the reference image is obtained. Calculate, determine the number of divisions into a plurality of areas based on the first shift amount, divide the inspection image and the reference image into the division number of areas, and divide the reference image and the division for each divided area A position correction calculation unit that calculates a second shift amount of the inspection image with respect to the reference image in each region by performing at least a second pattern matching by the rotation-invariant phase-only correlation method with the inspection image for each region. When,
Based on the second shift amount, the address of each area of the inspection image is converted into the address of each area of the reference image, thereby determining each area of the reference image corresponding to each area of the inspection image. An address translation unit to
An inspection unit that detects a defect in the inspection image by comparing each area of the inspection image that has been address-converted with each area of the reference image corresponding to the area;
An inspection system comprising:
検査対象となる検査画像と、基準画像との、少なくとも回転不変位相限定相関法による第1のパターンマッチングを行うことにより、前記基準画像に対する前記検査画像の第1のずれ量を算出し、前記第1のずれ量に基づいて、複数の領域への分割数を決定し、前記検査画像および前記基準画像を前記分割数の領域に分割し、分割した領域毎の基準画像と分割した領域毎の検査画像との、少なくとも回転不変位相限定相関法による第2のパターンマッチングを行うことにより、各領域の前記基準画像に対する前記検査画像の第2のずれ量を算出する位置補正演算過程と、
前記第2のずれ量に基づいて前記検査画像の各領域のアドレスを、前記基準画像の各領域のアドレスにアドレス変換することで前記検査画像の領域それぞれに対応する前記基準画像の領域それぞれを決定するアドレス変換過程と、
前記アドレス変換された前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査過程と、
を有する検査方法。 Computer
A first shift amount of the inspection image with respect to the reference image is calculated by performing at least a first pattern matching by the rotation-invariant phase-only correlation method between the inspection image to be inspected and the reference image; The number of divisions into a plurality of areas is determined based on the amount of shift of 1, the inspection image and the reference image are divided into areas of the division number , and the reference image for each divided area and the inspection for each divided area A position correction calculation process for calculating a second shift amount of the inspection image with respect to the reference image in each region by performing second pattern matching with the image by at least the rotation-invariant phase-only correlation method ;
Based on the second shift amount, the address of each area of the inspection image is converted into the address of each area of the reference image, thereby determining each area of the reference image corresponding to each area of the inspection image. Address translation process to
An inspection process for detecting defects in the inspection image by comparing each area of the inspection image that has been address-converted with each area of the reference image corresponding to the area;
Inspection method having
検査対象となる検査画像と、基準画像との、少なくとも回転不変位相限定相関法による第1のパターンマッチングを行うことにより、前記基準画像に対する前記検査画像の第1のずれ量を算出し、前記第1のずれ量に基づいて、複数の領域への分割数を決定し、前記検査画像および前記基準画像を前記分割数の領域に分割し、分割した領域毎の基準画像と分割した領域毎の検査画像との、少なくとも回転不変位相限定相関法による第2のパターンマッチングを行うことにより、各領域の前記基準画像に対する前記検査画像の第2のずれ量を算出する位置補正演算ステップと、
前記第2のずれ量に基づいて前記検査画像の各領域のアドレスを、前記基準画像の各領域のアドレスにアドレス変換することで前記検査画像の領域それぞれに対応する前記基準画像の領域それぞれを決定するアドレス変換ステップと、
前記アドレス変換された前記検査画像の各領域と、当該領域に対応する前記基準画像の各領域とをそれぞれ比較することにより、前記検査画像にある欠陥を検出する検査ステップと、
を実行するためのプログラム。 Computer
A first shift amount of the inspection image with respect to the reference image is calculated by performing at least a first pattern matching by the rotation-invariant phase-only correlation method between the inspection image to be inspected and the reference image; The number of divisions into a plurality of areas is determined based on the amount of shift of 1, the inspection image and the reference image are divided into areas of the division number , and the reference image for each divided area and the inspection for each divided area A position correction calculation step of calculating a second shift amount of the inspection image with respect to the reference image of each region by performing second pattern matching with the image by at least the rotation-invariant phase-only correlation method ;
Based on the second shift amount, the address of each area of the inspection image is converted into the address of each area of the reference image, thereby determining each area of the reference image corresponding to each area of the inspection image. An address translation step to
An inspection step of detecting a defect in the inspection image by comparing each area of the inspection image that has undergone the address conversion and each area of the reference image corresponding to the area;
A program for running.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017252554A JP6379410B1 (en) | 2017-12-27 | 2017-12-27 | Inspection device, inspection system, inspection method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017252554A JP6379410B1 (en) | 2017-12-27 | 2017-12-27 | Inspection device, inspection system, inspection method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6379410B1 true JP6379410B1 (en) | 2018-08-29 |
JP2019117171A JP2019117171A (en) | 2019-07-18 |
Family
ID=63354688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017252554A Active JP6379410B1 (en) | 2017-12-27 | 2017-12-27 | Inspection device, inspection system, inspection method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6379410B1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020067387A (en) * | 2018-10-25 | 2020-04-30 | 株式会社エスケーエレクトロニクス | Defective pixel detection device and defective pixel detection method |
WO2020090505A1 (en) * | 2018-10-30 | 2020-05-07 | 京セラドキュメントソリューションズ株式会社 | Fabric inspection device and inkjet print-dyeing apparatus equipped with same |
DE102018220236A1 (en) * | 2018-11-26 | 2020-05-28 | Heidelberger Druckmaschinen Ag | Fast image rectification for image inspection |
JP2020134365A (en) * | 2019-02-21 | 2020-08-31 | キリンテクノシステム株式会社 | Label inspection method and inspection device |
CN117273811A (en) * | 2023-11-21 | 2023-12-22 | 国网浙江省电力有限公司 | Enterprise power consumption prediction data processing method based on power consumption data |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021056182A (en) * | 2019-10-02 | 2021-04-08 | コニカミノルタ株式会社 | Apparatus and method for detecting surface defect of workpiece, surface inspection system for workpiece, and program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4783826A (en) * | 1986-08-18 | 1988-11-08 | The Gerber Scientific Company, Inc. | Pattern inspection system |
JP2008064486A (en) * | 2006-09-05 | 2008-03-21 | Dainippon Printing Co Ltd | Device and method for inspecting printed matter |
JP2013250190A (en) * | 2012-06-01 | 2013-12-12 | Toppan Printing Co Ltd | Inspection method and inspection apparatus of printed matter |
-
2017
- 2017-12-27 JP JP2017252554A patent/JP6379410B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4783826A (en) * | 1986-08-18 | 1988-11-08 | The Gerber Scientific Company, Inc. | Pattern inspection system |
JP2008064486A (en) * | 2006-09-05 | 2008-03-21 | Dainippon Printing Co Ltd | Device and method for inspecting printed matter |
JP2013250190A (en) * | 2012-06-01 | 2013-12-12 | Toppan Printing Co Ltd | Inspection method and inspection apparatus of printed matter |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020067387A (en) * | 2018-10-25 | 2020-04-30 | 株式会社エスケーエレクトロニクス | Defective pixel detection device and defective pixel detection method |
WO2020090505A1 (en) * | 2018-10-30 | 2020-05-07 | 京セラドキュメントソリューションズ株式会社 | Fabric inspection device and inkjet print-dyeing apparatus equipped with same |
JPWO2020090505A1 (en) * | 2018-10-30 | 2021-10-14 | 京セラドキュメントソリューションズ株式会社 | Anti-countermeasure device and inkjet printing device equipped with it |
JP7099540B2 (en) | 2018-10-30 | 2022-07-12 | 京セラドキュメントソリューションズ株式会社 | Anti-countermeasure device and inkjet printing device equipped with it |
DE102018220236A1 (en) * | 2018-11-26 | 2020-05-28 | Heidelberger Druckmaschinen Ag | Fast image rectification for image inspection |
US11019226B2 (en) | 2018-11-26 | 2021-05-25 | Heidelberger Druckmaschinen Ag | Method for fast elimination of image distortions while inspecting images on printed products in a printing machine |
JP2020134365A (en) * | 2019-02-21 | 2020-08-31 | キリンテクノシステム株式会社 | Label inspection method and inspection device |
JP7182273B2 (en) | 2019-02-21 | 2022-12-02 | キリンテクノシステム株式会社 | Label inspection method and inspection device |
CN117273811A (en) * | 2023-11-21 | 2023-12-22 | 国网浙江省电力有限公司 | Enterprise power consumption prediction data processing method based on power consumption data |
CN117273811B (en) * | 2023-11-21 | 2024-02-09 | 国网浙江省电力有限公司 | Enterprise power consumption prediction data processing method based on power consumption data |
Also Published As
Publication number | Publication date |
---|---|
JP2019117171A (en) | 2019-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6379410B1 (en) | Inspection device, inspection system, inspection method, and program | |
JP6666046B2 (en) | Image processing apparatus and image processing method | |
JP3132565B2 (en) | Defect inspection method and apparatus | |
JP6290720B2 (en) | Inspection device, inspection method, and program | |
TW202016531A (en) | Method and system for scanning wafer | |
JP2010237177A (en) | Mtf measurement instrument and mtf measurement program | |
JP2008277730A (en) | Defect inspection apparatus, defect inspection program, figure drawing apparatus, and figure drawing system | |
JP5995756B2 (en) | Defect detection apparatus, defect detection method, and defect detection program | |
JP2009110070A (en) | Image processor, image processing method, and computer program | |
JP2011076204A (en) | Method and apparatus for inspecting printed matter | |
JP2009031006A (en) | Visual inspection device and method | |
JP6395455B2 (en) | Inspection device, inspection method, and program | |
CN114359177A (en) | Image display method and device for panel to be detected, electronic equipment and storage medium | |
JP4956077B2 (en) | Defect inspection apparatus and defect inspection method | |
JP2008014857A (en) | Device, method, and program for acquiring coordinate for inspection of printed board | |
JP6229134B2 (en) | Measuring device | |
JPH11142118A (en) | Distance measuring method and apparatus and record medium in which the method is recorded | |
JP2007104296A (en) | Method, apparatus, and program for measuring resolution | |
JP2016217872A (en) | Inspection device, inspection method, program, and storage media | |
JP2021125786A5 (en) | Inspection device, information processing method, inspection system, inspection method, and program | |
JP6638541B2 (en) | Inspection image display device | |
JP5005482B2 (en) | Pattern search method and apparatus | |
JP2010281666A (en) | Imaging inspection method | |
CN109115782B (en) | Optical defect detection device based on multi-resolution image | |
JP4882304B2 (en) | Coordinate correction apparatus, coordinate correction method, and program used therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180205 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20180205 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180129 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20180403 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180410 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180528 |
|
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: 20180703 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180710 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6379410 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |