JP2004127157A - Image recognition method - Google Patents
Image recognition method Download PDFInfo
- Publication number
- JP2004127157A JP2004127157A JP2002293525A JP2002293525A JP2004127157A JP 2004127157 A JP2004127157 A JP 2004127157A JP 2002293525 A JP2002293525 A JP 2002293525A JP 2002293525 A JP2002293525 A JP 2002293525A JP 2004127157 A JP2004127157 A JP 2004127157A
- Authority
- JP
- Japan
- Prior art keywords
- image
- boundary line
- pattern
- pixel
- recognition method
- 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
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、画像認識方法に関し、例えば異欠品部品検査や部品の取り付け位置検査等をする場合に適用し得る画像認識装置に関する。
【0002】
【従来の技術】
異欠品部品検査や部品の取り付け位置検査等を行う際に、予め登録されているマスタパターンと被検パターンを照合するパターンマッチング手法として、正規化相関法が知られている。正規化相関方法を用いた制御システムは、一般的に言って、照明の変動にロバストであるという優れた長所がある反面、計算量が多くなるという問題がある。
【0003】
そこで、従来、マスタパターンとして登録したい領域を間引いた縮小画像パターンをマスタパターンとする方法が知られている(例えば、特許文献1参照。)。
【0004】
一方、対象物の境界線上の画像のみをマスタパターンとする方法も知られている(例えば、特許文献2参照。)。
【0005】
【特許文献1】
特開平6−215136号公報
【特許文献2】
特開平11−3425号公報
【0006】
【発明が解決しようとする課題】
しかし、縮小画像パターンをマスタパターンとする方法では、領域全体を均一に間引くため、位置を確認する上では重要でない面上の点が多く含まれ、計算量をさほど減らせないという問題があった。さらに、対象物の境界線上の画像のみをマスタパターンとする方法では、マスタパターンの画素数を減らせるため、高速化が可能であるが、対象物の境界線の形状は製造条件等のバラツキにより変動するため、対象物の境界線上の画像のみをマスタパターンとすると精度が出ないという問題があった。
【0007】
そこで、本発明は、高速且つ高精度に画像パターンのサーチを実現するための画像認識方法を提供することを目的とする。
【0008】
また、本発明は、被検対象物の変形バラツキ又は組み付け上のバラツキに拘わらず、高速且つ高精度に画像パターンのサーチを実現するためのマスタパターンの生成方法を含む画像認識方法を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記の目的を達成するために、本発明に係る画像認識方法では、対象物パターンを含む基準画像を入力し、基準画像を用いて対象物パターンを含む詳細サーチ用マスタ画像を生成し、基準画像を用いて対象物パターンの境界線上の画素を有しない粗サーチ用マスタ画像を生成し、粗サーチ用マスタ画像を用いてパターン認識を行うことを特徴とする。
【0010】
また、上記の目的を達成するために、本発明に係る他の画像認識方法では、対象物パターンを含む基準画像を入力し、基準画像を用いて対象物パターンを含む詳細サーチ用マスタ画像を生成し、基準画像を用いて対象物パターンの境界線上の画素を有しない粗サーチ用マスタ画像を生成し、被検パターンを含む被検画像を入力し、粗サーチ用マスタ画像によって被検画像のサーチを行って被検画像から被検パターンを含む画像領域を抽出し、詳細サーチ用マスタ画像によって画像領域のサーチを行って被検パターンと対象物パターンとのパターン認識を行うことを特徴とする。
【0011】
このように、本発明に従った画像認識方法では、粗サーチ用マスタ画像によって特定の領域を抽出した後に、詳細サーチ用マスタ画像を用いたパターンマッチングが行われるので、高速且つ高精度に画像パターンのサーチを行うことができる。また、粗サーチ用マスタ画像は、対象物パターンの境界線上の画素を有していないので、被検対象物が多少変形していても画像パターンの認識を行うことができるロバスト性を備えている。
【0012】
なお、本発明に係る画像認識方法において、粗サーチ用マスタ画像は、対象物パターンの境界線から第1の画素分離れた境界線近傍点を含むことが好ましく、対象物パターンの境界線から第1の画素分離れ且つ境界線の両側に位置する2組の境界線近傍点を含むことがさらに好ましい。
【0013】
また、本発明に係る画像認識方法において、粗サーチ用マスタ画像は、対象物パターンの境界線上の画素を有しない境界線近傍点を隣り合う画素間が第2の画素分毎になるように間引いたものであることが好ましく、対象物パターンの境界線の両側に位置する2組の境界線近傍点をそれぞれ隣り合う画素間が第2の画素分毎になるように間引いたものであることがさらに好ましい。
【0014】
また、本発明に係る画像認識方法において、粗サーチ用マスタ画像は、対象物パターンの境界線から第1の画素分離れた境界線近傍点を隣り合う画素間が第2の画素分毎になるように間引いたものであることが好ましく、対象物パターンの境界線から第1の画素分離れ且つ境界線の両側に位置する2組の境界線近傍点をそれぞれ隣り合う画素間が第2の画素分毎になるように間引いたものであることがさらに好ましい。
【0015】
また、本発明に係る画像認識方法において、第1の画素分は、対象物の成形バラツキ又は組み付け位置バラツキに対応した値であることが好ましく、対象物の変形バラツキ又は組み付け位置バラツキに拘わらず粗サーチ用マスタ画像が被検パターンをサーチするのに適した値であることがさらに好ましい。
【0016】
また、本発明に係る画像認識方法において、第2の画素分は、パターン認識の目標時間及び対象物パターンの境界線の全長に応じて決定されることが好ましい。
【0017】
パターン認識の目標時間及び対象物パターンの境界線の全長に応じて、最適な結果が得られるように、隣り合う画素間が第2の画素分毎になるように間引かれていることから、高速且つ高精度に画像パターンのサーチを行うことができる。
【0018】
【発明の実施の形態】
以下、本発明に係る画像認識方法の一実施形態について、図1〜図7を用いて説明する。図1は、本発明に係る画像認識方法を実施するための画像認識装置1の全体構成の概略を示すものであり、画像認識装置1は、主に、CCDカメラ等から構成される画像入力部2、A/D変換器3、入力画像を一時記憶するために画像メモリ4、演算部5、マウスやトラックボウル等から構成される着目領域指示部9、液晶ディスプレイやプリンタ等から構成される結果出力部10、及びマスタ画像を記憶するためにマスタ記憶部11から構成される。なお、画像認識装置1の各構成要素は、不図示のバス等によって相互に接続され、不図示のCPU等から構成される全体制御部によって制御される。また、演算部5は、少なくとも着目領域選択部6、マスタ画像生成部7及びサーチ処理部8を有しており、CPU,ROM、RAM及び各種インターフェースなどから構成されている。
【0019】
次に、本発明に係る画像認識方法の一実施形態におけるマスタ画像の生成手順について、図2を用いて説明する。
【0020】
まず、マスタ画像生成のために、基準となる対象物100を用いて、少なくとも対象物の外形パターンを含む基準画像としてのマスタ生成用画像を画像入力部2によって入力し(ステップ201)、A/D変換器3によってデジタル信号に変換して画像メモリ4に一時記憶する(ステップ202)。入力されたマスタ生成用画像110の一例を図3(a)に示す。
【0021】
次に、入力されたマスタ生成用画像から、マスタ画像として登録したい部分を着目領域として選択する(ステップ203)。選択は、オペレータが、マスタ生成用画像110を結果出力部10に表示させながら、着目領域指示部9によって選択することによって行われ、着目領域選択部6によってマスタ生成用画像110から選別される。選択された着目領域120の一例を図3(b)に示す。着目領域120の画像情報は、詳細サーチ用マスタ画像として、マスタ画像記憶部11に記憶される(ステップ204)。なお、領域130については後述する。
【0022】
次に、マスタ生成部7は、マスタ生成用画像の着目領域120の画像情報から境界線近傍点を抽出し(ステップ205)、抽出された境界線近傍点を粗サーチ用マスタ画像としてマスタ記憶部11に記憶する(ステップ206)。
【0023】
粗サーチ用マスタ画像を求める手順について図4を用いて以下に説明する。なお、図4(a)〜(c)は、図3(b)の領域130の部分に対応し、図4(d)は図3(b)の着目領域120に対応している。また、図4(a)〜(c)は、説明のために画素を強調して表しており、各図において135は、対象物パターンを示している。
【0024】
まず着目領域120の画像情報に対して公知の微分処理等を行い、対象物100の境界線140を検出する(図4(a)参照)。次に、境界線140から、境界線の内側及び外側のそれぞれに、境界線に対して垂直方向にa画素分だけ離れた2つの境界線近傍点142及び144を求める(図4(b)参照)。最後に、求められた境界線近傍点142及び144から、隣り合う画素同士の距離がb画素分になるように画素を間引く(図4(c)参照)。この結果得られた粗サーチ用マスタ画像の一例を図4(d)に示す。
【0025】
なお、図4(c)に示すように、境界線140の外側にある境界線近傍点142は、それぞれ背景部の濃度を引き継ぐので、明濃度を有し、境界線140の内側にある境界線近傍点144は、それぞれ対象物パターン135の濃度を引き継ぐので、暗濃度を有している。2組の境界線近傍点142及び144が異なった濃度を有していることは、粗サーチ用マスタ画像150によるサーチを行う場合に、被検パターンとのパターンマッチングをより確実に行えるという効果もある。なお、背景が暗濃度、対象物が明濃度であってもよい。2組の境界線近傍点142及び144に必ず濃度差があることが重要である。
【0026】
ここで、「a画素分」は、被検対象物の変形バラツキ量に応じて決定されることが望ましい。例えば、最大幅が100mm程度の樹脂成形品を被検対象物とし、その変形バラツキが±1mm程度である場合、被検対象物の組み付け時の誤差を考慮して縦横150mm程度の視野サイズが必要である。この場合では、1画素あたりの分解能は0.3mmであるから、±1mmの変形バラツキを許容するためには、±3画素分だけ離れた位置に境界線近傍点を設定するのが適当である。
【0027】
即ち、被検対象物である樹脂成形品の外形の境界線上に、パターン認識用のマスタ画像(この場合では粗サーチ用マスタ画像)があると、樹脂成形品の変形バラツキによって、高精度なパターン認識ができない場合が生じてしまう。したがって、被検対象物の変形のバラツキに拘わらず、粗サーチではパターン認識ができるように「a画素分」を設定したものである。図5に示すように、理想的境界線(基準となる対象物の境界線に相当)に対して、実際の被検対象物の境界線がバラついても、a画素分だけ離れた境界線近傍点を有する粗サーチ用マスタ画像150を有していれば、被検対象物の形状が多少変化していてもその認識ができるようになり、ロバスト性を向上させることが可能となった。
【0028】
また、「b画素分」は、画像処理の目標時間と、被検対象物の境界線の全長に応じて決定されることが望ましい。例えば、PentiumIII (登録商標)1GHzのCPUを用いて、0.1s以内に画像処理を完了するためには、境界線近傍点は400画素以内にすることが必要である。さらに、限られた境界線近傍点で、最高の認識精度を出すためには、境界線近傍点が被検対象物の境界線全体に渡って、まんべんなく散りばめられていることが必要である。例えば、境界線の全長が800画素の被検対象物の場合、境界線近傍点は、境界線の両側に200画素づつ(合計400画素)配置することになるので、間隔bは、800÷200=4より、4画素分毎が最適となる。
【0029】
なお、上述した例における粗サーチ用マスタ画像150は、境界線の両側に配置された2組の境界線近傍点を含んでいるが、どちらか一組をすることも可能である。また、画像処理能力が極めて高いCPU又はシステムを利用する場合には、隣り合う画素の距離がb画素分となるように間引かずに、粗サーチ用マスタ画像を生成することもできる。
【0030】
次に、本発明に係る画像認識方法の一実施形態における認識手順について図6を用いて説明する。
【0031】
まず、対象物100に代わって被検対象物160を配置し、被検画像を画像入力部2によって入力し、A/D変換器3によってデジタル信号に変換して画像メモリ4に一時記憶する(ステップ601)。入力された被検画像170の一例を図7(a)に示す。なお、マスタ画像生成用の画像入力部と、被検画像入力用の画像入力部を別々に設けても良い。
【0032】
次に、サーチ処理部8は、被検画像170に対して、図2のステップ206で記憶した粗サーチ用マスタ画像150を用い、粗サーチを行う(ステップ602)。粗サーチは、粗サーチ用マスタ画像150をa画素分(境界線近傍点を求めた時と同じa画素分)刻みで移動させながら(図7(a)参照)、被検画像170全体についてサーチを行い、被検画像170中で粗サーチ用マスタ画像150と最も一致した画像領域が決定される。最も一致した画像領域180の一例を図7(b)に示す。
【0033】
次に、サーチ処理部8は、被検画像中で最も一致した画像領域180を中心に±a画素の範囲内の画像領域(詳細サーチ用画像領域)190に対して、図2のステップ204で記憶した詳細サーチ用マスタ画像を用い、詳細サーチを行う(ステップ603)。なお、±a画素の範囲内の画像領域190について詳細サーチを行うのは、粗サーチ用マスタの境界線近傍点が境界線からa画素離れた位置にあることから、粗サーチ用マスタの周辺部ギリギリにパターンがある場合に、a画素分オーバーラップして詳細サーチを行った方がより正確なパターンマッチングを行える場合があると予想されるからである。
【0034】
詳細サーチは、ステップ602における粗サーチによって抽出された詳細サーチ用画像領域190に対して、詳細サーチ用マスタ画像を1画素刻みで移動させながら行なわれる。公知のパターンマッチング法によって、詳細サーチ用マスタ画像の対象物パターンと被検パターンとが比較され、被検対象物160の異欠品部品検査が行われる(ステップ604)。
【0035】
なお、異欠部品検査の代わりに、部品の位置決め判定(例えば、プリント配線基板上の所定の部品位置の正誤判定)のために、上記のマスタ作成手順及び認識手順を用いることもできる。
【図面の簡単な説明】
【図1】本発明に係わる画像認識方法を実施するための画像認識装置の概要を示すための図である。
【図2】マスタ画像を作成する手順を示すフローチャートである。
【図3】(a)はマスタ作成用画像の一例を示す図で、(b)は着目領域の一例を示す図である。
【図4】(a)〜(c)は、粗サーチ用マスタ画像の作成手順を説明するための図であり、(d)は作成された粗サーチ用マスタ画像の一例を示す図である。
【図5】粗サーチ用マスタ画像の機能を説明するための図である。
【図6】画像パターンの認識をする手順を説明するためのフローチャートである。
【図7】(a)は被検画像の一例を示す図であり、(b)は詳細サーチ用の画像領域の一例を示す図である。
【符号の説明】
1…画像認識装置
2…画像入力部
3…A/D変換器
4…画像メモリ
5…演算部5
9…着目領域指示部
10…結果出力部
11…マスタ記憶部
100…対象物
110…マスタ生成用画像
120…着目領域
150…粗サーチ用マスタ
160…被検対象物
170…被検画像
190…詳細サーチ用画像領域[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image recognition method, and more particularly, to an image recognition apparatus that can be applied to, for example, inspection of a part missing or inspection of a mounting position of a part.
[0002]
[Prior art]
2. Description of the Related Art A normalized correlation method is known as a pattern matching method for checking a pre-registered master pattern and a test pattern when inspecting a defective part or inspecting a component mounting position. A control system using the normalized correlation method generally has an excellent advantage that it is robust against illumination fluctuations, but has a problem that it requires a large amount of calculation.
[0003]
Therefore, conventionally, a method has been known in which a reduced image pattern in which an area to be registered as a master pattern is thinned is used as a master pattern (for example, see Patent Document 1).
[0004]
On the other hand, a method is also known in which only an image on the boundary of an object is used as a master pattern (for example, see Patent Document 2).
[0005]
[Patent Document 1]
JP-A-6-215136 [Patent Document 2]
JP-A-11-3425
[Problems to be solved by the invention]
However, in the method of using the reduced image pattern as the master pattern, since the entire area is uniformly thinned out, there are many points on the surface that are not important for confirming the position, and there is a problem that the amount of calculation cannot be reduced much. Furthermore, in the method in which only the image on the boundary line of the object is used as the master pattern, the number of pixels of the master pattern can be reduced, so that the speed can be increased. However, the shape of the boundary line of the object depends on manufacturing conditions and the like. Because of the fluctuation, there is a problem that accuracy is not obtained if only the image on the boundary line of the object is used as the master pattern.
[0007]
Accordingly, an object of the present invention is to provide an image recognition method for realizing a high-speed and high-accuracy image pattern search.
[0008]
Further, the present invention provides an image recognition method including a master pattern generation method for realizing a high-speed and high-accuracy image pattern search regardless of a deformation variation of an object to be inspected or a variation in assembly. With the goal.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, in an image recognition method according to the present invention, a reference image including an object pattern is input, a master image for detailed search including the object pattern is generated using the reference image, and a reference image is generated. Is used to generate a coarse search master image having no pixels on the boundary line of the object pattern, and pattern recognition is performed using the coarse search master image.
[0010]
In order to achieve the above object, in another image recognition method according to the present invention, a reference image including an object pattern is input, and a master image for detailed search including the object pattern is generated using the reference image. Then, a master image for coarse search having no pixel on the boundary line of the object pattern is generated using the reference image, a test image including the test pattern is input, and a search for the test image is performed using the master image for coarse search. To extract an image area including the test pattern from the test image, perform a search of the image area using the master image for detailed search, and perform pattern recognition between the test pattern and the target object pattern.
[0011]
As described above, in the image recognition method according to the present invention, after a specific area is extracted by the coarse search master image, the pattern matching using the detailed search master image is performed. Can be searched. Further, since the master image for coarse search does not have pixels on the boundary line of the object pattern, it has robustness that can recognize the image pattern even if the object to be inspected is slightly deformed. .
[0012]
In the image recognition method according to the present invention, it is preferable that the coarse search master image includes a point near the boundary line separated by the first pixel from the boundary line of the object pattern. It is more preferable to include two sets of points near the boundary line that are separated by one pixel and located on both sides of the boundary line.
[0013]
Further, in the image recognition method according to the present invention, the rough search master image is thinned so that points near the boundary line having no pixels on the boundary line of the object pattern are arranged so that adjacent pixels are every second pixel. It is preferable that two sets of points in the vicinity of the boundary line located on both sides of the boundary line of the object pattern are thinned out so that the distance between adjacent pixels is every second pixel. More preferred.
[0014]
Further, in the image recognition method according to the present invention, in the coarse search master image, a pixel adjacent to a point near the boundary line separated by the first pixel from the boundary line of the target object pattern is every second pixel. It is preferable that two adjacent pixels are separated from each other by a first pixel from the boundary line of the object pattern and adjacent to two sets of boundary line neighboring points located on both sides of the boundary line. It is more preferable that the data is thinned out every minute.
[0015]
Further, in the image recognition method according to the present invention, it is preferable that the first pixel value is a value corresponding to a molding variation or an assembling position variation of the object, and the first pixel portion is roughly irrespective of the deformation variation or the assembling position variation of the object. More preferably, the search master image has a value suitable for searching for a test pattern.
[0016]
In the image recognition method according to the present invention, it is preferable that the second pixel is determined in accordance with the target time of pattern recognition and the total length of the boundary line of the target object pattern.
[0017]
Depending on the target time of pattern recognition and the total length of the boundary line of the object pattern, adjacent pixels are thinned so as to be every second pixel so as to obtain an optimal result. An image pattern search can be performed at high speed and with high accuracy.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of an image recognition method according to the present invention will be described with reference to FIGS. FIG. 1 schematically shows an overall configuration of an image recognition device 1 for implementing an image recognition method according to the present invention. The image recognition device 1 mainly includes an image input unit composed of a CCD camera or the like. 2, an A / D converter 3, an image memory 4 for temporarily storing an input image, an operation unit 5, an attention area designating unit 9 composed of a mouse, a track bowl, and the like, and a result composed of a liquid crystal display, a printer, and the like. It comprises an
[0019]
Next, a procedure for generating a master image in one embodiment of the image recognition method according to the present invention will be described with reference to FIG.
[0020]
First, in order to generate a master image, an image for master generation as a reference image including at least the outer shape pattern of the object is input by the
[0021]
Next, a part to be registered as a master image is selected as a region of interest from the input master generation image (step 203). The selection is performed by the operator selecting the
[0022]
Next, the master generation unit 7 extracts a point near the boundary line from the image information of the
[0023]
The procedure for obtaining a master image for coarse search will be described below with reference to FIG. 4A to 4C correspond to the
[0024]
First, a known differentiation process or the like is performed on the image information of the region of
[0025]
Note that, as shown in FIG. 4C, the boundary
[0026]
Here, it is desirable that “a pixels” is determined according to the deformation variation amount of the test object. For example, when a resin molded product having a maximum width of about 100 mm is a test object, and its deformation variation is about ± 1 mm, a view size of about 150 mm in length and width is required in consideration of an error in assembling the test object. It is. In this case, since the resolution per pixel is 0.3 mm, in order to allow deformation variation of ± 1 mm, it is appropriate to set a point near the boundary at a position separated by ± 3 pixels. .
[0027]
In other words, if there is a master image for pattern recognition (in this case, a master image for coarse search) on the boundary of the outer shape of the resin molded product as the object to be inspected, a highly accurate pattern is formed due to variation in the deformation of the resin molded product. In some cases, recognition cannot be performed. Therefore, "a pixel" is set so that pattern recognition can be performed in the rough search regardless of the variation in the deformation of the test object. As shown in FIG. 5, even if the boundary of the actual object to be inspected fluctuates with respect to the ideal boundary (corresponding to the boundary of the reference object), the vicinity of the boundary separated by a pixels With the rough
[0028]
Further, it is desirable that “b pixels” is determined according to the target time of the image processing and the total length of the boundary line of the test object. For example, in order to complete image processing within 0.1 s using a Pentium III (registered trademark) 1 GHz CPU, it is necessary to set the point near the boundary line to within 400 pixels. Furthermore, in order to obtain the highest recognition accuracy at a limited number of points near the boundary line, it is necessary that the points near the boundary line are evenly scattered over the entire boundary line of the test object. For example, in a case where the total length of the boundary is 800 pixels, the points near the boundary are arranged on both sides of the boundary by 200 pixels (400 pixels in total). = 4, every four pixels is optimal.
[0029]
Although the rough
[0030]
Next, a recognition procedure in an embodiment of the image recognition method according to the present invention will be described with reference to FIG.
[0031]
First, a
[0032]
Next, the search processing unit 8 performs a coarse search on the
[0033]
Next, the search processing unit 8 performs a search on the image area (detailed search image area) 190 within the range of ± a pixels centering on the
[0034]
The detailed search is performed while moving the detailed search master image by one pixel in the detailed
[0035]
It should be noted that the above-described master creation procedure and recognition procedure can be used for determining the positioning of a component (for example, determining whether a predetermined component position is correct or incorrect on a printed wiring board) instead of inspecting a defective component.
[Brief description of the drawings]
FIG. 1 is a diagram showing an outline of an image recognition device for implementing an image recognition method according to the present invention.
FIG. 2 is a flowchart illustrating a procedure for creating a master image.
FIG. 3A is a diagram illustrating an example of a master creation image, and FIG. 3B is a diagram illustrating an example of a region of interest;
FIGS. 4A to 4C are diagrams for explaining a procedure for creating a rough search master image, and FIG. 4D is a diagram showing an example of the created rough search master image.
FIG. 5 is a diagram for explaining a function of a coarse search master image.
FIG. 6 is a flowchart illustrating a procedure for recognizing an image pattern.
7A is a diagram illustrating an example of a test image, and FIG. 7B is a diagram illustrating an example of an image region for a detailed search;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ...
Reference
Claims (19)
前記基準画像を用いて前記対象物パターンを含む詳細サーチ用マスタ画像を生成し、
前記基準画像を用いて前記対象物パターンの境界線上の画素を有しない粗サーチ用マスタ画像を生成し、
粗サーチ用マスタ画像を用いてパターン認識を行うことを特徴とする画像認識方法。Input the reference image including the object pattern,
Using the reference image to generate a master image for detailed search including the object pattern,
Using the reference image to generate a coarse search master image having no pixels on the boundary of the object pattern,
An image recognition method characterized by performing pattern recognition using a master image for coarse search.
前記基準画像を用いて前記対象物パターンを含む詳細サーチ用マスタ画像を生成し、
前記基準画像を用いて前記対象物パターンの境界線上の画素を有しない粗サーチ用マスタ画像を生成し、
被検パターンを含む被検画像を入力し、
前記粗サーチ用マスタ画像を用いて前記被検画像のサーチを行い、前記被検画像から前記被検パターンを含む画像領域を抽出し、
前記詳細サーチ用マスタ画像を用いて前記画像領域のサーチを行い、前記被検パターンと前記対象物パターンとのパターン認識を行うことを特徴とする画像認識方法。Input the reference image including the object pattern,
Using the reference image to generate a master image for detailed search including the object pattern,
Using the reference image to generate a coarse search master image having no pixels on the boundary of the object pattern,
Input a test image including a test pattern,
Perform a search for the test image using the coarse search master image, to extract an image region containing the test pattern from the test image,
An image recognition method, wherein the image area is searched using the master image for detailed search, and pattern recognition between the test pattern and the object pattern is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002293525A JP4302382B2 (en) | 2002-10-07 | 2002-10-07 | Image recognition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002293525A JP4302382B2 (en) | 2002-10-07 | 2002-10-07 | Image recognition method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004127157A true JP2004127157A (en) | 2004-04-22 |
JP4302382B2 JP4302382B2 (en) | 2009-07-22 |
Family
ID=32284402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002293525A Expired - Lifetime JP4302382B2 (en) | 2002-10-07 | 2002-10-07 | Image recognition method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4302382B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014092904A (en) * | 2012-11-02 | 2014-05-19 | Nissan Motor Co Ltd | Method and apparatus for identifying workpiece |
US11556729B2 (en) | 2018-03-20 | 2023-01-17 | Nec Corporation | Information processing apparatus, control method, and program |
US11966435B2 (en) | 2018-03-20 | 2024-04-23 | Nec Corporation | Information processing apparatus, control method, and program |
-
2002
- 2002-10-07 JP JP2002293525A patent/JP4302382B2/en not_active Expired - Lifetime
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014092904A (en) * | 2012-11-02 | 2014-05-19 | Nissan Motor Co Ltd | Method and apparatus for identifying workpiece |
US11556729B2 (en) | 2018-03-20 | 2023-01-17 | Nec Corporation | Information processing apparatus, control method, and program |
US11966435B2 (en) | 2018-03-20 | 2024-04-23 | Nec Corporation | Information processing apparatus, control method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP4302382B2 (en) | 2009-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7551767B2 (en) | Pattern inspection apparatus | |
JP2733206B2 (en) | Method and apparatus for correcting distortion in an automatic optical inspection device for printed circuit boards | |
JP3566470B2 (en) | Pattern inspection method and apparatus | |
JP2004045066A (en) | Inspection apparatus and inspection method | |
JP7214432B2 (en) | Image processing method, image processing program, recording medium, image processing apparatus, production system, article manufacturing method | |
JP3963975B2 (en) | Mounting position data creation method and mounting inspection method | |
JP5045591B2 (en) | Method for creating area setting data for inspection area and board appearance inspection apparatus | |
JP2002081914A (en) | Method and device for inspecting dimension and method of manufacturing mask | |
JP3831760B2 (en) | Shape inspection device | |
JP4302382B2 (en) | Image recognition method | |
JPH0754549B2 (en) | How to create a standard pattern for pattern matching | |
JP2768344B2 (en) | Pattern inspection apparatus and inspection method thereof | |
JP6496159B2 (en) | Pattern inspection apparatus and pattern inspection method | |
JPH1117400A (en) | Packaging part/inspecting device | |
JP2006234554A (en) | Method and device for inspecting pattern | |
JPH10293847A (en) | Method and device for pattern inspection | |
JP3116438B2 (en) | Inspection apparatus and inspection method for printed wiring board | |
JP4530723B2 (en) | PATTERN MATCHING METHOD, PATTERN MATCHING DEVICE, AND ELECTRONIC COMPONENT MOUNTING METHOD | |
JP2002198406A (en) | Appearance inspecting method | |
JP2708621B2 (en) | Substrate position detection method and component mounting device on substrate | |
JPH05223877A (en) | Defect sensing and tye acknowleging system for printed circuit board using graph information | |
JPS62215805A (en) | Method and apparatus for detecting position of pattern | |
JP2002252471A (en) | X-ray detecting method for reference mark of multilayer laminated board | |
JPH11135998A (en) | Recognition method | |
JPH11237212A (en) | Image recognizing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050303 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070724 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070919 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20071023 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090312 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090422 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120501 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4302382 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120501 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130501 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140501 Year of fee payment: 5 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |