JPH0442710B2 - - Google Patents

Info

Publication number
JPH0442710B2
JPH0442710B2 JP60195115A JP19511585A JPH0442710B2 JP H0442710 B2 JPH0442710 B2 JP H0442710B2 JP 60195115 A JP60195115 A JP 60195115A JP 19511585 A JP19511585 A JP 19511585A JP H0442710 B2 JPH0442710 B2 JP H0442710B2
Authority
JP
Japan
Prior art keywords
matching
pattern
standard
point
reference point
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.)
Expired - Lifetime
Application number
JP60195115A
Other languages
Japanese (ja)
Other versions
JPS6255781A (en
Inventor
Masamichi Morimoto
Kazumasa Okumura
Yasuo Oda
Yoshio Niwa
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60195115A priority Critical patent/JPS6255781A/en
Publication of JPS6255781A publication Critical patent/JPS6255781A/en
Publication of JPH0442710B2 publication Critical patent/JPH0442710B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 この発明は、たとえば、IC部品を回路基板に
搭載するときに必要となる、撮像装置から得られ
る画像パターン中に存在する特定パターンの位置
を高速に検出する、2次元位置検出方法に使用す
るパターンマツチング方法に関するものである。
[Detailed Description of the Invention] Industrial Application Field The present invention provides a method for quickly determining the position of a specific pattern present in an image pattern obtained from an imaging device, which is necessary when mounting IC components on a circuit board, for example. The present invention relates to a pattern matching method used in a two-dimensional position detection method.

従来の技術 従来のパターンマツチングによる位置検出方法
を大別すると、 1 撮像装置から得た画像パターン1フレーム分
を半導体メモリなどの画像パターン記憶装置に
格納した後、標準パターンとの照合処理を行う
方法。
BACKGROUND TECHNOLOGY Conventional position detection methods using pattern matching can be broadly classified as follows: 1. After storing one frame of an image pattern obtained from an imaging device in an image pattern storage device such as a semiconductor memory, matching processing with a standard pattern is performed. Method.

と、 2 撮像装置が走査している位置の座標を発生す
る装置と、標準パターンとの照合処理に必要な
最少限度の容量を持つた、半導体メモリなどの
画像パターン記憶装置によつて、標準パターン
との照合処理を画像パターンを取り込みながら
行う方法。
2. A device that generates the coordinates of the position being scanned by the imaging device, and an image pattern storage device such as a semiconductor memory that has the minimum capacity necessary for matching the standard pattern with the standard pattern. A method of performing matching processing while importing image patterns.

の2つに分類できる。It can be classified into two types.

そこでこれら2つのパターンマツチング方法に
ついて、処理速度、処理の拡張性、コストの3項
目について検討してみる。
Therefore, we will examine three items regarding these two pattern matching methods: processing speed, processing extensibility, and cost.

まず、処理速度であるが、第1の方法は画像パ
ターン1フレーム分を記憶装置に取り込んだ後で
照合処理を行うため、一般的に処理時間を要しリ
アルタイム処理には向いていない。画像パターン
1フレーム分を記憶装置に取り込むのに要する時
間をTi、記憶装置に取り込んだ1フレーム分の画
像パターンと標準パターンとの照合処理に要する
時間をTpとすると、第1の方法によるパターン
マツチングに要する時間Tn1は、TiとTpの和によ
つて(1)式の Tn1=Ti+Tp ……(1) ように表わされる。第2の方法は画像パターンを
取り込みながら照合処理を行うため、処理時間は
短くリアルタイム処理に向いている。第2の方法
によるパターンマツチングに要する時間Tn2は、
Tiに等しく(2)式のように表わされる。
First, regarding the processing speed, the first method performs the matching process after importing one frame of the image pattern into the storage device, which generally requires processing time and is not suitable for real-time processing. If the time required to import one frame of the image pattern into the storage device is T i , and the time required to match the one frame worth of image pattern imported into the storage device with the standard pattern is T p , then according to the first method, The time T n1 required for pattern matching is expressed by the sum of T i and T p as follows in equation (1): T n1 =T i +T p (1). The second method performs the matching process while capturing the image pattern, so the processing time is short and it is suitable for real-time processing. The time T n2 required for pattern matching by the second method is
It is equal to T i and is expressed as in equation (2).

Tn2=Ti ……(2) 第1の方法では高速化を図るために、画像パター
ン上に数画素毎に照合基準点を粗く設けておい
て、まず1画面分の照合を行う、次にそれらの照
合結果より得られる一致度が充分高い照合基準点
を基にして、探索手法を用いた詳しい照合を行つ
て認識点を捜すという階層構造を持つたパターン
マツチング方法が採用されることが多い。
T n2 = T i ...(2) In the first method, in order to speed up the process, matching reference points are set roughly every few pixels on the image pattern, and matching is performed for one screen first. A pattern matching method with a hierarchical structure is adopted in which recognition points are searched for by detailed matching using a search method based on matching reference points with a sufficiently high degree of matching obtained from the matching results. There are many.

次に処理の拡張性について述べる。第1の方法
は撮像装置より得た画像パターンを記憶装置に保
持しているため、標準パターンとの照合処理の前
処理であるフイルタリングなどの処理において演
算子の重みづけを自由に設定したり、照合処理の
終了後その結果によつて画像パターンの特定領域
をもう一度取り出して確認処理を施すといつたこ
とが選択的にできる。また照合処理を行う際にも
照合の基準となる画像パターンと標準パターンの
位置合せ点(以下照合基準点と呼ぶ)を、撮像装
置の走査する方向と直角の方向に走査させること
も可能である。第2の方法においてもフイルタリ
ングなどの前処理や照合処理後の確認処理は可能
ではあるが、前処理に関しては固定でフイルタリ
ング処理時の演算子の重みなどを容易に変換する
ことはできないし、また照合処理後の確認処理も
照合結果を得た同一画面に対して行うことはでき
ない。
Next, we will discuss the extensibility of processing. In the first method, the image pattern obtained from the imaging device is stored in the storage device, so the weighting of operators can be freely set in processing such as filtering, which is preprocessing for matching with standard patterns. After the matching process is completed, it is possible to selectively extract a specific area of the image pattern again and perform the confirmation process based on the result. Furthermore, when performing matching processing, it is also possible to scan the alignment point between the image pattern and the standard pattern (hereinafter referred to as matching reference point), which serves as a reference for matching, in a direction perpendicular to the scanning direction of the imaging device. . In the second method, preprocessing such as filtering and confirmation processing after matching processing are possible, but the preprocessing is fixed and the weights of operators during filtering processing cannot be easily converted. Also, the confirmation process after the matching process cannot be performed on the same screen where the matching result was obtained.

最後にこれら2つの方法によつてパターンマツ
チング装置を実現した時の価格について述べる。
第1の方法は画像パターンを1フレーム分記憶す
るために、第2の方法に比べて半導体ICメモリ
などの記憶素子を多く必要とし、第2の方法では
リアルタイムで送られてくる画像パターンを標準
パターンと照合処理するため、第1の方法に比べ
て論理ICを多く必要とする。従来、半導体ICメ
モリが高価であり、第1の方法を安価に実現する
ことは難しかつたが、近年半導体ICメモリの集
積度が急速に高まり、単位記憶容量あたりの価格
は低下して、第2の方法を実現するための論理
ICの価格よりも安価になつてきている。したが
つて現在では、第1の方法を採用した方が、安価
にパターンマツチング装置を実現できる。
Finally, we will discuss the cost of realizing a pattern matching device using these two methods.
The first method requires more storage elements such as semiconductor IC memory than the second method in order to store one frame of image patterns, and the second method uses image patterns sent in real time as standard. Since this method performs pattern matching processing, it requires more logic ICs than the first method. In the past, semiconductor IC memories were expensive, making it difficult to realize the first method at a low cost.However, in recent years, the degree of integration of semiconductor IC memories has increased rapidly, and the price per unit storage capacity has decreased, making it difficult to realize the first method at low cost. Logic for realizing method 2
They are becoming cheaper than IC prices. Therefore, at present, it is possible to realize a pattern matching device at a lower cost by adopting the first method.

以上のことから、第1の方法を採用すれば処理
時間はかかる拡張性のある機能を持つた装置を安
価に実現することができ、第2の方法を採用すれ
ば機能は限定されコストもやや高くなるが高速処
理が可能な装置を実現することができるといえ
る。
From the above, if the first method is adopted, a device with expandable functions that requires less processing time can be realized at low cost, while if the second method is adopted, the functions are limited and the cost is slightly lower. It can be said that it is possible to realize a device capable of high-speed processing, although it is expensive.

本発明は上記の第1の方法によつて、2次元の
位置検出をリアルタイムで行うためのパターンマ
ツチング方法に関するものである。高速処理に不
向きな第1の方法をあえて採用したのは、上述し
たようにパターンマツチング処理の拡張性が高く
柔軟な処理ができることと、第2の方法より安価
に実現できることによる。また本発明は、上述し
た粗い照合処理と詳しい照合処理による階層化パ
ターンマツチング方法という高速処理手法を取り
入れることを前提としている。
The present invention relates to a pattern matching method for performing two-dimensional position detection in real time using the first method described above. The reason why the first method, which is unsuitable for high-speed processing, was intentionally adopted is because the pattern matching process is highly scalable and flexible, as described above, and it can be realized at a lower cost than the second method. Further, the present invention is based on the premise of incorporating a high-speed processing technique called a hierarchical pattern matching method using the above-mentioned coarse matching process and detailed matching process.

従来、粗い照合処理と詳しい照合処理を組み合
わせてパターンマツチング処理の高速化を図る階
層化パターンマツチング方法においては、画像パ
ターン上に数画素毎に粗く設けられた第1の照合
基準点の全てにおいて標準パターンと第1の照合
処理を行い、その結果得られる第1の一致度の全
てをあらかじめ定められた基準値である第1の合
格基準値と比較し、第1の一致度が第1の合格基
準値以上の値になつたP個の第1の照合基準点の
座標を保持しておいて、これらP個の第1の照合
基準点の近傍に設定された小領域に対しあらため
て詳しい照合処理である第2の照合処理を行つて
その結果得られる第2の一致度の中で最大となつ
た一致度を与えた第2の照合基準点を認識点とし
ている。
Conventionally, in the hierarchical pattern matching method that aims to speed up pattern matching processing by combining coarse matching processing and detailed matching processing, all of the first matching reference points coarsely provided every few pixels on the image pattern are performs the first matching process with the standard pattern, and compares all of the resulting first matching degrees with the first passing standard value, which is a predetermined standard value, and determines whether the first matching degree is the first matching degree. The coordinates of the P first matching reference points whose values are equal to or higher than the acceptance standard value are retained, and the detailed information is re-examined for the small areas set in the vicinity of these P first matching reference points. A second matching process, which is a matching process, is performed, and a second matching reference point that gives the highest matching degree among the second matching degrees obtained as a result is set as a recognition point.

発明が解決しようとする問題点 しかしながら上記のような構成では、たとえ
ば、IC部品を回路基板に搭載するときに要求さ
れる処理時間内で、IC部品の複数個の位置検出
を高速かつ正確に行うことは難しい。
Problems to be Solved by the Invention However, with the above configuration, for example, it is difficult to detect the positions of multiple IC components at high speed and accurately within the processing time required when mounting IC components on a circuit board. That's difficult.

第2図は、大きさがM×Mの標準パターン31
と標準パターン31の照合基準点32およびN×
Nの大きさを持つた画像パターン33と画像パタ
ーン33上にn画素毎に設けられた第1の照合基
準点34を示している。粗い照合処理である第1
の照合処理は、標準パターン31の照合基準点3
2を画像パターン33の第1の照合基準点34に
位置合せをして2つのパターンの照合を行うこと
によつてなされる。従来、この第1の照合処理は
第1の照合基準点34の全てにおいて実施され、
その後第1の照合処理で第1の合格基準値以上の
一致度を与えた第1の照合基準点のそれぞれに対
して、詳しい照合処理である第2の照合処理が行
われていた。しかし、第1の照合基準点の数は膨
大であり、全ての第1の照合基準点における標準
パターンとの照合処理だけで画像パターンの取り
込み時間の数倍以上の処理時間を要することにな
る。第2図の例では、画像パターン33上に存在
する第1の照合基準点の数は次の(3)式で与えられ
る。
Figure 2 shows a standard pattern 31 with size M x M.
and the comparison reference point 32 of the standard pattern 31 and N×
An image pattern 33 having a size of N and first matching reference points 34 provided every n pixels on the image pattern 33 are shown. The first step is a rough matching process.
The matching process is based on the matching reference point 3 of the standard pattern 31.
2 to the first comparison reference point 34 of the image pattern 33, and the two patterns are compared. Conventionally, this first matching process is performed at all of the first matching reference points 34,
Thereafter, a second matching process, which is a detailed matching process, is performed for each of the first matching reference points that gave a degree of matching equal to or higher than the first acceptance criterion value in the first matching process. However, the number of first matching reference points is enormous, and the processing time required to match the standard pattern at all the first matching reference points alone is several times the time required to capture the image pattern. In the example of FIG. 2, the number of first matching reference points existing on the image pattern 33 is given by the following equation (3).

〔N−M/n+1〕2 ……(3) 記号〔a〕は、ガウスの記号でaを越えない最大
の整数を表している。この第1の照合基準点の数
は、たとえば、N=512,M=16,n=4とすれ
ば、約15600もの値となる。
[N-M/n+1] 2 ...(3) The symbol [a] is a Gauss symbol and represents the largest integer not exceeding a. For example, if N=512, M=16, and n=4, the number of first reference points becomes about 15,600.

そこでこれら多数の第1の照合基準点における
第1の照合処理に要する時間を短縮するために、
第1の照合処理に合格した時にはただちに第2の
照合処理を行つて認識点の検出を行い、あらかじ
め定められた点数の認識点が得られた時点で処理
を終了させることにする。しかし、上述したよう
に第1の照合処理と第2の照合処理をおりまぜな
がら認識点の検出を行おうとすると認識点の位置
を正確に検出できないという問題が新たに発生す
る。
Therefore, in order to shorten the time required for the first matching process at these many first matching reference points,
When the first verification process is passed, the second verification process is immediately performed to detect recognition points, and the process is terminated when a predetermined number of recognition points is obtained. However, as described above, if it is attempted to detect recognition points while mixing the first verification process and the second verification process, a new problem arises in that the position of the recognition point cannot be detected accurately.

第3図は3つの第1の照合基準点35,36,
37、各基準点における第2の照合処理領域3
8,39,40、図の領域付近で一致度が最大と
なる照合基準点41、第2の合格基準値を越える
一致度を与える照合基準点が存在する領域42、
その領域中で一致度が2番目に大きい照合基準点
43を示している。図から明らかなように第2の
照合処理を行う領域38,39,40は、隣り合
う領域が互いに少し重なり合うように設定され
る。この第2の照合処理を行う3つの領域38,
39,40において標準パターンとの照合処理を
行うと、いずれの領域においても照合基準点43
における一致度が最大となる。照合基準点43
は、第2の合格基準値を越える一致度を与える照
合基準点の存在領域42に含まれるため、第2の
照合処理を行う3つの領域38,39,40にお
ける照合処理のいずれにおいても、昇合基準点4
3が認識点として検出される。ところが実際には
照合基準点43の右下により高い一致度を持つ真
の認識点が存在している。したがつて、3つの第
1の照合基準点35,36,37から検出された
認識点43は、誤認識点なのである。
FIG. 3 shows three first reference points 35, 36,
37. Second verification processing area 3 at each reference point
8, 39, 40, a matching reference point 41 where the degree of matching is maximum near the area shown in the figure, an area 42 where there is a matching reference point giving a degree of matching exceeding the second acceptance criterion value;
A matching reference point 43 with the second highest degree of matching in the area is shown. As is clear from the figure, the areas 38, 39, and 40 where the second matching process is performed are set so that adjacent areas slightly overlap each other. Three areas 38 for performing this second matching process,
When the comparison process with the standard pattern is performed in 39 and 40, the comparison reference point 43 is reached in both areas.
The degree of matching at is maximum. Verification reference point 43
is included in the area 42 where the matching reference point exists that gives a degree of matching that exceeds the second acceptance standard value. Matching reference point 4
3 is detected as a recognition point. However, in reality, a true recognition point with a higher degree of matching exists at the lower right of the matching reference point 43. Therefore, the recognition point 43 detected from the three first comparison reference points 35, 36, and 37 is an erroneous recognition point.

これは、第2の照合の合格基準がある基準値以
上と幅を持たせて設定されているために、極大値
でなくても合格して認識点になる可能性を持つて
いることが原因している。
This is because the passing criteria for the second verification is set to have a range of over a certain standard value, so even if it is not the maximum value, there is a possibility that it will pass and become a recognition point. are doing.

本発明は上記問題点に鑑み、画像パターン中に
存在する複数の認識点を高速かつ正確に検出する
ことを目的とした階層的パターンマツチング方法
を提供するものである。
In view of the above-mentioned problems, the present invention provides a hierarchical pattern matching method aimed at quickly and accurately detecting a plurality of recognition points existing in an image pattern.

問題点を解決するための手段 上記問題点を解決するため、本発明のパターン
マツチング方法は、撮像手段より得た映像をデジ
タル化した画像パターンとして記憶手段に保持し
ておき、上記画像パターンの特徴的な部分領域を
標準パターンとしてあらかじめ上記記憶手段とは
別の記憶手段に保持しておいて、上記画像パター
ンと上記標準パターンの照合を行うパターンマツ
チング処理において、上記画像パターンと上記標
準パターンの位置合せ点である照合基準点を上記
画像パターン上に第1の間隔で第1の照合基準点
として設定し、上記第1の照合基準点において上
記画像パターンと上記標準パターンとの第1の照
合処理を行つて、上記第1の照合処理の結果得ら
れる第1の一致度があらかじめ与えられた第1の
基準値よりも大きくなつた場合に、上記第1の照
合基準点の近傍に第2の照合基準点を複数個、上
記第1の間隔より狭い第2の間隔で発生させ、上
記複数個設けた第2の照合基準点の全てにおいて
上記標準パターンと第2の照合処理を行い、上記
第2の照合の結果得られる複数個の第2の一致度
のうち一致度が最大となる第2の照合基準点が、
上記複数個設けた第2の照合基準点が存在する領
域の中で、上記画像パターンの照合をまだ行つて
いない領域との境界に面した領域に存在しておら
ず、あらかじめ与えられた第2の基準値よりも大
きくなつた場合に限り、上記第2の一致度が最大
となつた第2の照合基準を有効とすることによつ
て、上記画像パターン上に複数個存在する認識点
を検出する構成を有する。
Means for Solving the Problems In order to solve the above problems, the pattern matching method of the present invention stores an image obtained from an imaging means as a digitized image pattern in a storage means, and stores the image pattern as a digital image pattern. In a pattern matching process in which a characteristic partial area is stored in advance as a standard pattern in a storage means different from the storage means, and the image pattern and the standard pattern are matched, the image pattern and the standard pattern are A matching reference point, which is a registration point of When the first matching degree obtained as a result of the first matching process becomes larger than the first reference value given in advance by performing the matching process, a second match is made near the first matching reference point. 2, a plurality of matching reference points are generated at a second interval narrower than the first interval, and a second matching process is performed with the standard pattern at all of the plurality of second matching reference points, The second matching reference point at which the matching degree is maximum among the plurality of second matching degrees obtained as a result of the second matching is
Among the areas where the plurality of second matching reference points are present, there are no matching reference points in the area facing the boundary with the area where the image pattern matching has not yet been performed, and the second matching reference points given in advance are By validating the second matching standard with the maximum matching degree only when the second matching standard becomes larger than the reference value No. 2, the recognition points existing on the image pattern can be identified. It has a configuration to detect.

作 用 まず簡略化のために画像パターンと標準パター
ンは、“O”か“1”の2値パターンで“O”が
黒“1”が白を表わすものとし、この技術的手段
による作用を図面を参照しながら説明する。
Function First, for the sake of simplicity, the image pattern and the standard pattern are assumed to be binary patterns of "O" or "1", where "O" represents black and "1" represents white. This will be explained with reference to.

第4図は従来の階層化パターンマツチング方法
のフローチヤートを示している。まず、与えられ
た画像パターンに対し全ての第1の照合基準点に
おける照合処理51を行い、次に第1の照合処理
において一致度が第1の合格基準値以上になつた
合格点を検出52し、検出された合格点に対し第
2の照合処理53を行う。そしてその結果、認識
点が検出されれば認識点データを格納54する。
第4図に示された4つの処理の中で最も処理時間
を要するのは、最初の、全ての第1の照合基準点
における照合処理51、である。しかもこの処理
方法では、全ての第1の照合基準点における照合
処理51、に要する時間が固定となつて全て減じ
ることができない。そこで本発明の階層化パター
ンマツチング方法では、第5図に示したフローチ
ヤートに基づいて、第1の照合処理を全ての第1
の照合基準点に対して必ずしも行わないようにし
て、処理の高速化を図つている。第5図において
まず、第1の照合基準点における照合処理55が
行われ、即座に第1の合格基準値と比較すること
によつて第1の照合処理の不合格判定56が行わ
れる。そして不合格となつた場合には処理は何も
行われず、画像パターン上に存在する最後の第1
の照合基準点に達したかどうかの判定57を行つ
て、全ての第1の照合基準点に対する処理が終わ
るまでこの処理を続ける。第1の照合基準点にお
ける照合処理55に合格した場合には、その第1
の照合基準位置から第2の照合処理58が行わ
れ、第2の照合処理で得られる一致度の最大の値
が第2の合格基準点と比較59され、不合格の場
合には最後の第1の照合基準点に達したかどうか
の判定57を行う。第2の照合処理58に合格し
た場合は認識点データの格納60を行つた後、あ
らかじめ定められた認識点数だけ検出されたかど
うかの判定61を行つて、もしそうであれば全て
の処理を終了し、そうでなければ最後の第1の照
合基準点に達したかどうかの判定57を行う。こ
のように本発明では、あらかじめ定められた認識
点数だけ検出された場合には、その時点で処理を
中止することによつて、第1の照合処理の回数を
減じ処理を高速化している また、n画素おきに設けられた第1の照合基準
点における照合処理は、認識点がその付近に存在
する可能性があるかどうかを判定するための、ど
ちらかといえば大ざつぱな処理であるので、標準
パターンの全域に対して画像パターンと照合しな
くてもよく、第6図に示すように標準パターン6
2の一部分63とそれに対応する画像パターンと
の照合だけで充分である。このように、第1の照
合基準点における照合処理を標準パターン62の
一部領域63だけに限定していることも処理の高
速化に役立つている。
FIG. 4 shows a flowchart of a conventional hierarchical pattern matching method. First, a matching process 51 is performed on all the first matching reference points for a given image pattern, and then a passing point whose degree of matching is equal to or higher than the first passing reference value is detected 52 in the first matching process. Then, a second verification process 53 is performed on the detected passing score. As a result, if a recognition point is detected, the recognition point data is stored 54.
Of the four processes shown in FIG. 4, the one that requires the most processing time is the first matching process 51 at all first matching reference points. Moreover, with this processing method, the time required for the matching process 51 at all the first matching reference points is fixed and cannot be completely reduced. Therefore, in the hierarchical pattern matching method of the present invention, the first matching process is performed on all first matching processes based on the flowchart shown in FIG.
In order to speed up the processing, the matching reference points are not necessarily checked. In FIG. 5, first, a verification process 55 is performed at a first verification reference point, and a failure determination 56 of the first verification process is made by immediately comparing it with a first acceptance standard value. If the result is a failure, no processing is performed, and the last first one on the image pattern is
A determination 57 is made as to whether or not the first matching reference point has been reached, and this processing is continued until the processing for all the first matching reference points is completed. If the verification process 55 at the first verification reference point is passed, the first
A second matching process 58 is performed from the matching reference position, and the maximum value of the matching degree obtained in the second matching process is compared 59 with the second passing reference point. A determination 57 is made as to whether or not the reference point 1 has been reached. If the second verification process 58 is passed, the recognition point data is stored 60, and then a determination 61 is made as to whether or not a predetermined number of recognition points have been detected, and if so, all processing ends. However, if not, a determination 57 is made as to whether the final first reference point has been reached. In this way, in the present invention, when a predetermined number of recognition points are detected, the process is stopped at that point, thereby reducing the number of times of the first matching process and speeding up the process. The matching process at the first matching reference point provided every n pixels is a rather rough process for determining whether there is a possibility that a recognition point exists in the vicinity. It is not necessary to match the entire area of the standard pattern with the image pattern, and as shown in FIG.
It is sufficient to match a portion 63 of 2 with its corresponding image pattern. In this way, limiting the matching process at the first matching reference point to only the partial area 63 of the standard pattern 62 also helps speed up the process.

次に本発明では誤認識を避けるために、第2の
照合処理で得られた一致度が最も高くなつた照合
基準点が、照合処理を行つていない領域に面して
いる場合には、さらに高い一致度を示す照合基準
点が以後出現する可能性があると考えて、この照
合基準点における一致度を無効とする。第7図は
このような例を示した図で、第1の照合基準点6
4における照合が合格となり、第2の照合処理を
小領域65に対して行う。その結果、第2の照合
基準点66において一致度が最大となるが、実は
この付近において一致度が最大となるのは照合基
準点67においてであつて、この照合基準点67
は、次の第1の照合基準点68から定められる第
2の照合処理を行う領域69に含まれている。そ
こで第8図に示すように、第1の照合基準点70
が移動してきた方向υx71,υy72に対応して、
第2の照合を行う小領域73の中で、未照合領域
に面した領域74を無効領域と定める。そうする
と第1の照合基準点70から定められた第2の照
合処理を行う領域73の中で一致度が最大になつ
た照合基準点75は、この無効領域74上の点と
なつてしまい、このような場合には一致度が最大
となつた照合基準点75は選ばれない。そして第
9図に示すように、次の第1の照合基準点76か
ら定められた第2の照合を行う領域77に存在す
る一致度が最大となる照合基準点78が認識点と
して選ばれる。この認識点78は、先ほどの誤認
識点となりかけた照合基準点79の隣に位置して
おり、この時の無効領域80には含まれていな
い。このように第2の照合を行う小領域中で、未
照合領域に面した領域を無効領域として、この中
に一致度が最大となる照合基準点が存在する場合
には、この照合基準点を取り上げないようにする
ことによつて正確な認識が行われるようにした。
Next, in the present invention, in order to avoid misrecognition, if the matching reference point with the highest degree of matching obtained in the second matching process faces an area where no matching process has been performed, Considering that there is a possibility that a matching reference point showing an even higher matching degree will appear in the future, the matching degree at this matching reference point is invalidated. FIG. 7 is a diagram showing such an example, in which the first reference point 6
4 is passed, and the second verification process is performed on the small area 65. As a result, the degree of matching is maximum at the second matching reference point 66, but in reality, the matching degree is maximum at the matching reference point 67 near this point, and this matching reference point 67
is included in an area 69 in which second matching processing is performed, which is determined from the next first matching reference point 68. Therefore, as shown in FIG.
Corresponding to the directions in which υ x 71 and υ y 72 have moved,
In the small area 73 where the second verification is performed, an area 74 facing the unverified area is defined as an invalid area. Then, the matching reference point 75 that has the highest degree of matching in the area 73 for performing the second matching process determined from the first matching reference point 70 becomes a point on this invalid area 74, and this In such a case, the matching reference point 75 with the highest degree of matching is not selected. Then, as shown in FIG. 9, the matching reference point 78 that exists in the region 77 for performing the second matching determined from the next first matching reference point 76 and has the maximum matching degree is selected as the recognition point. This recognition point 78 is located next to the collation reference point 79 that almost became the erroneous recognition point earlier, and is not included in the invalid area 80 at this time. In this way, in the small area where the second matching is performed, the area facing the unmatched area is defined as an invalid area, and if there is a matching reference point within this area that has the highest degree of matching, this matching reference point is By not taking it up, we ensured accurate recognition.

実施例 以下本発明の一実施例のパターンマツチング方
法について、図面を参照しながら説明する。第1
図は本発明の一実施例であるパターンマツチング
方法のブロツク図を示すものである。第1図にお
いて、テレビカメラなどの撮像手段1より得た映
像信号2は、2値化手段3によつて2値され画像
パターン4となつて画像パターン記憶手段5に格
納される。画像パターン記憶手段5は画像パター
ン制御手段6によつて制御されており、画像パタ
ーンの入出力は、中央処理手段7からの命令8に
よつて行われる。一方標準パターン9は、パター
ンマツチング処理に先立つて、教示時に画像パタ
ーン記憶手段5中より切り出され、標準パターン
記憶手段10中に保持される。標準パターン記憶
手段10は標準パターン制御手段11によつて制
御されており、標準パターンの入出は中央処理手
段7からの命令12によつて行われる。中央処理
手段7は、また、画像パターンと標準パターンの
照合処理を行う際に照合の対象となるパターンデ
ータ13,14がそれぞれ画像パターン記憶手段
5と標準パターン記憶手段10から読み出され、
論理演算手段15に入力されるように画像パター
ン制御手段6に対して命令8を、標準パターン制
御手段に対し命令10を送信する役割や、第1図
の各ブロツクを制御する役割を持つ。論理演算手
段15に入力された2つのパターンデータ13,
14は、そこで排他的論理和の否定をとることに
よつて照合が行われ、2つのパターンデータで対
応する画素が一致する場合には照合結果が“1”
にそうでない場合には“0”になる。標準パター
ンがMx×My画素で構成されている時には、この
論理演算は1度にMx画素分に対して行われ、論
理演算の結果得られたMx個の“0”・“1”デー
タ16が一致度算出手段17に送られてそこで
“1”の数が計算される。
Embodiment A pattern matching method according to an embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows a block diagram of a pattern matching method which is an embodiment of the present invention. In FIG. 1, a video signal 2 obtained from an imaging means 1 such as a television camera is binarized by a binarization means 3 to become an image pattern 4 and stored in an image pattern storage means 5. The image pattern storage means 5 is controlled by an image pattern control means 6, and the input/output of the image pattern is performed by commands 8 from the central processing means 7. On the other hand, the standard pattern 9 is cut out from the image pattern storage means 5 at the time of teaching and held in the standard pattern storage means 10 prior to the pattern matching process. The standard pattern storage means 10 is controlled by a standard pattern control means 11, and inputting and outputting of standard patterns is performed by commands 12 from the central processing means 7. The central processing means 7 also reads out pattern data 13 and 14 to be checked from the image pattern storage means 5 and the standard pattern storage means 10, respectively, when performing the matching process between the image pattern and the standard pattern.
It has the role of transmitting the command 8 to the image pattern control means 6 and the command 10 to the standard pattern control means so as to be input to the logical operation means 15, and the role of controlling each block in FIG. Two pattern data 13 input to the logic operation means 15,
14, the matching is performed by negating the exclusive OR, and if the corresponding pixels in the two pattern data match, the matching result is "1".
otherwise, it becomes "0". When the standard pattern is composed of M x × M y pixels, this logical operation is performed on M x pixels at a time, and the M x “0” and “1” obtained as a result of the logical operation are ``The data 16 is sent to the matching degree calculation means 17, where the number of ``1'' is calculated.

Mx×My画素で構成される標準パターンに対して
は、以上の処理をMy回繰返すことによつて標準
パターン全域に対する照合処理が終了するが、一
致度算出手段17では各回ごとに送られてくる
Mx個の“0”・“1”データ16の“1”の数を
計算しながら累積加算も行つている。第1の照合
処理の場合には、計算された一致度18が中央処
理手段7に送信され、そこで第1の合格基準値と
比較される。第2の照合処理の場合、例えば第2
の照合処理の対象となる領域が5×5個の第2の
照合基準点より成る時には、25個の照合基準点に
おいて標準パターンとの照合処理が連続して行わ
れ、一致度算出手段17で計算された一致度19
は全て最大一致度記憶手段20へ送られてそこで
最大一致度と比較され、最大一致度が記憶され
る。一致度計算に続いて最大一致度との比較が25
回行われると、その時点で最大一致度記憶手段2
0に保持されている最大一致度21は、無効領域
判定手段22に送られる。無効領域判定手段22
では最大一致度を示した照合基準点が無効領域に
存在しているかどうかの判定を行つて、無効領域
に含まれる場合には一致度を0にリセツトする。
そして第2の照合処理の結果得られる最大一致度
23は中央処理手段7に送られて、そこで認識点
として充分の一致度が得られているかどうかの判
定が行われる。そして認識点となつた場合には、
一致度と照合基準点のx座標、y座標から成る認
識点データ24が検出位置記憶手段25に記憶さ
れ、全ての処理が終了した段階で検出位置記憶手
段25に記憶されている全ての検出位置データ2
6が上位コントローラ27に送信される。
For a standard pattern composed of M x × M y pixels, the above process is repeated M y times to complete the matching process for the entire standard pattern. coming
Cumulative addition is also performed while calculating the number of "1"s in the M x "0"/"1" data 16. In the case of the first matching process, the calculated degree of coincidence 18 is sent to the central processing means 7, where it is compared with the first acceptance criterion value. In the case of the second matching process, for example, the second
When the area to be subjected to the matching process consists of 5 x 5 second matching reference points, the matching process with the standard pattern is performed continuously at 25 matching reference points, and the matching degree calculation means 17 performs the matching process with the standard pattern. Calculated match degree 19
are all sent to the maximum matching degree storage means 20, where they are compared with the maximum matching degree, and the maximum matching degree is stored. Following the match calculation, the comparison with the maximum match is 25
times, at that point the maximum matching degree storage means 2
The maximum matching degree 21 held at 0 is sent to the invalid area determining means 22. Invalid area determination means 22
Then, it is determined whether or not the matching reference point showing the maximum matching degree exists in the invalid area, and if it is included in the invalid area, the matching degree is reset to 0.
The maximum matching degree 23 obtained as a result of the second matching process is sent to the central processing means 7, where it is determined whether or not a sufficient matching degree has been obtained as a recognition point. And when it becomes a point of recognition,
Recognition point data 24 consisting of the degree of coincidence and the x and y coordinates of the comparison reference point is stored in the detected position storage means 25, and when all processing is completed, all detected positions stored in the detected position storage means 25 are stored. data 2
6 is sent to the upper controller 27.

以上のように構成されたパターンマツチング方
法について、以下第10図を用いてその動作概要
を説明する。第10図においてM×M画素の大き
さを持つ標準パターン90にはあらかじめN×N
画素の大きさを持つ画像パターン91中の特徴的
な部分が与えられている。画像パターン91上に
はn画素毎に第1の照合点92が設定されてお
り、第1の照合処理は始点である照合基準点93
から終点である照合基準点94に向つて、水平方
向に左から右へ移動しながら全体的に上から下へ
と進んで行く。第1図の照合処理では、各照合基
準点において標準パターン90と画像パターン9
1の照合が行われるが、その時標準パターンの部
分領域95に対してのみ照合を行うことによつ
て、処理の高速化を図つている。第10図には十
字記号によつて2つの認識点96,97が示され
ているが、これらの認識点はそれぞれ第1の照合
基準点98,99から検出される。求めたい認識
点の数が2点である場合には、第1の照合基準点
99から認識点97が検出さた段階で処理を終了
することになる。したがつて、画像パターン91
中に多数存在する第1の照合基準点92に対して
は、黒く塗りつぶされた全体の約半数の第1の照
合基準点に対してのみ第1の照合処理を行うこと
になり、第1の照合処理に要する時間は画面全体
を処理対象とした場合のおよそ半分に減じること
ができ、パターンマツチング処理は高速化され
る。
An outline of the operation of the pattern matching method configured as described above will be explained below using FIG. 10. In FIG. 10, a standard pattern 90 having a size of M×M pixels has N×N pixels in advance.
A characteristic portion in an image pattern 91 having a pixel size is given. A first matching point 92 is set for every n pixels on the image pattern 91, and the first matching process starts at a matching reference point 93 which is the starting point.
The image moves from left to right in the horizontal direction toward the collation reference point 94, which is the end point, and progresses overall from top to bottom. In the matching process shown in FIG. 1, the standard pattern 90 and the image pattern 9 are
1 is compared, and by performing the comparison only on the partial area 95 of the standard pattern, the processing speed is increased. In FIG. 10, two recognition points 96 and 97 are indicated by cross symbols, and these recognition points are detected from first reference points 98 and 99, respectively. If the number of recognition points to be determined is two, the process ends when the recognition point 97 is detected from the first comparison reference point 99. Therefore, image pattern 91
For the first matching reference points 92 that exist in large numbers, the first matching process is performed only on about half of the first matching reference points that are filled in black. The time required for the matching process can be reduced to approximately half that when the entire screen is processed, and the pattern matching process is accelerated.

次に第11図を用いて第1の照合処理に合格し
てから認識点が検出されるようすを示す。第1の
照合処理で合格となつた照合基準点110を中心
として、5×5画素から成る小領域101を設定
する。この領域が第2の照合処理を行う領域とな
る。第2の照合処理ではこの25個の点を全て第2
の照合基準点として、標準パターン102との照
合を行う。この時、第1の照合処理とは異なり標
準パターン102の全領域が照合の対象領域とな
る。第2の照合処理の結果、照合基準点103に
おいて最大一致度が得られるが、この照合基準点
103は無効領域104の外に存在しているの
で、この時の一致度がそのまま最大一致度とな
り、第2の合格基準値と比較されて認識点とな
る。第2の照合処理が終了すれば処理は再び第1
の照合処理に戻るが、この時の第1の照合処理の
再開点は前の第1の照合基準点100の次の第1
の照合基準点105になる。
Next, using FIG. 11, a state in which a recognition point is detected after passing the first matching process is shown. A small area 101 consisting of 5×5 pixels is set around the matching reference point 110 that passed the first matching process. This area becomes the area where the second matching process is performed. In the second matching process, all these 25 points are
A comparison is made with a standard pattern 102 as a reference point for comparison. At this time, unlike the first matching process, the entire area of the standard pattern 102 becomes the matching target area. As a result of the second matching process, the maximum matching degree is obtained at the matching reference point 103, but since this matching reference point 103 exists outside the invalid area 104, the matching degree at this time becomes the maximum matching degree. , is compared with the second acceptance standard value and becomes a recognition point. When the second matching process is completed, the process starts again with the first matching process.
Returning to the matching process, the restart point of the first matching process at this time is the first matching reference point next to the previous first matching reference point 100.
becomes the reference point 105 for comparison.

以上のように本実施例によれば、第1の照合処
理においては標準パターンの部分領域に対しての
みの照合で、あらかじめ定められた点数の認識点
が検出できればその時点で処理を中断することに
より、パターンマツチング処理の高速化が図ら
れ、また、小領域に限定された照合処理では無効
領域の設定によつて一致度の極大点を正確に抽出
し、誤認識を少くすることができる。
As described above, according to this embodiment, in the first matching process, only partial areas of the standard pattern are matched, and if a predetermined number of recognition points can be detected, the process is interrupted at that point. This speeds up the pattern matching process, and in matching processes limited to small areas, by setting invalid areas, it is possible to accurately extract the maximum point of matching and reduce misrecognition. .

なお、本発明の実施例では第1の照合処理と第
2の照合処理の2段階の処理で誤認識の検出を行
うとしたが、画像パターン・標準パターンの大き
さや認識対象パターンの複雑さによつては、第1
の照合基準点の設定間隔を大きくとつて、照合基
準点を1画素ごとに設定する最終照合まで、いく
つかの照合を入れて2段階以上の処理にしてもよ
い。第12図は、3段階の照合の例を示してい
る。4画素毎に設けられた第1の照合基準点11
0に対して次々と標準パターンの部分領域111
で照合を行い、照合基準位置112で合格になつ
たとする。次に合格となつた第1の照合基準点1
13を基準にして第2の照合基準点114を2画
素ごとに3×3個設定する。9個の照合基準点に
対しては標準パターンの部分領域115で照合を
行う。9回の照合処理の結果一致度が最大になつ
た照合基準点116が無効領域117に含まれて
いなければ、この最大の一致度が第2の合格基準
値と比較され、その値以上であれば合格となる。
最終段階の照合処理である第3の照合処理では、
第2の照合処理の合格点118が中心となるよう
に、3×3個の照合基準点119を1画素毎に設
ける。9個の照合基準点に対しては標準パターン
の部分領域120で照合を行い、9回の照合処理
の結果得られる一致度が最大になつた照合基準点
121は、その一致度が第3の合格基準値以上に
なつた時に認識点となる 発明の効果 以上のように本発明は、複数の照合基準点より
成る画像パターン中の小領域に対して照合を行つ
て上記小領域中で一致度が最大となる照合基準点
を求める時に、上記小領域が画像パターンの未照
合領域と接する部分を無効領域として、最大一致
度を示す照合基準点がこの無効領域に存在した時
にはその照合基準点を無効にすることによつて、
一致度が極大となる領域を抽出し正確な位置検出
を可能にしている。また、照合基準点を設定する
間隔によつて画像パターンと照合する標準パター
ンの照合対象領域の大きさを定めることと、あら
かじめ定められた点数の認識点が得られた場合に
は、その時点を処理を中断し終了させることによ
つて高速位置認識が可能となつた。
In addition, in the embodiment of the present invention, misrecognition is detected in two stages of the first matching process and the second matching process, but depending on the size of the image pattern/standard pattern and the complexity of the pattern to be recognized, Eventually, the first
The process may be performed in two or more stages by increasing the setting interval of the comparison reference points and performing several comparisons until the final comparison in which the comparison reference points are set for each pixel. FIG. 12 shows an example of three-stage matching. First matching reference point 11 provided every 4 pixels
Partial areas 111 of the standard pattern one after another for 0
It is assumed that the verification is performed at the verification reference position 112 and the result is passed. Next, the first verification reference point 1 that passed
13 as a reference, 3×3 second matching reference points 114 are set for every two pixels. For the nine matching reference points, matching is performed using the partial area 115 of the standard pattern. If the matching reference point 116 with the maximum matching degree as a result of nine matching processes is not included in the invalid area 117, this maximum matching degree is compared with the second acceptance standard value, and if it is greater than or equal to that value, then If you pass the exam, you will pass the exam.
In the third matching process, which is the final stage matching process,
3×3 matching reference points 119 are provided for each pixel so that the passing score 118 of the second matching process is centered. The nine matching reference points are matched with the partial area 120 of the standard pattern, and the matching reference point 121, which has the maximum degree of matching obtained as a result of nine matching processes, has the third highest degree of matching. Effects of the invention in which a recognition point becomes a recognition point when the value exceeds the acceptance standard value As described above, the present invention performs matching on a small area in an image pattern consisting of a plurality of matching reference points, and measures the degree of matching within the small area. When finding the matching reference point that has the maximum, the part where the small area touches the unmatched area of the image pattern is considered an invalid area, and if the matching reference point that shows the maximum degree of matching exists in this invalid area, that matching reference point is By disabling
The area where the degree of matching is maximum is extracted to enable accurate position detection. In addition, the size of the matching area of the standard pattern to be matched with the image pattern is determined by the interval at which the matching reference points are set, and when a predetermined number of recognition points are obtained, the point in time is determined. By interrupting and terminating the process, high-speed position recognition became possible.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例であるパターンマツ
チング方法の構成を示すブロツク図、第2図は標
準パターンと画像パターンの大きさおよび画像パ
ターン上にn画素毎に設けられた第1の照合基準
点を示す図、第3図は第1の照合基準点を基準と
して設定される第2の照合処理を行う領域と誤認
識点・真の認識点を示す図、第4図は従来の階層
化されたパターンマツチングのアルゴリズムを示
すフローチヤート図、第5図は本発明による階層
化されたパターンマツチングのアルゴリズムを示
すフローチヤート図、第6図は標準パターン中で
照合の対象となる部分領域を示す図、第7図は第
2の照合処理において一致度が最大になつた照合
基準点が必ずしも極大点でないことを示す図、第
8図は第2の照合処理領域と無効領域を示す図、
第9図は第2の照合処理において一致度が極大に
なる照合基準点が検出されることを示す図、第1
0図はあらかじめ定められた点数の認識点が求ま
つた場合には処理を中断し終了させることを示す
図、第11図は2段階の照合で認識点が検出され
ることを示す図、第12図は3段階の照合で認識
点が検出されることを示す図である。 5……画像パターン記憶手段、7……中央処理
手段、10……標準パターン記憶手段、15……
論理演算手段、17……一致度算出手段、20…
…最大一致度記憶手段、22……無効領域判定手
段、32……標準パターン側照合基準点、34…
…画像パターン側照合基準点、41……認識すべ
き点、42……認識点として充分高い一致度が得
られる領域、43……誤認識点、63……標準パ
ターン部分領域、74……無効領域。
FIG. 1 is a block diagram showing the configuration of a pattern matching method that is an embodiment of the present invention. FIG. Figure 3 is a diagram showing the matching reference point, and Figure 3 is a diagram showing the area where the second matching process is performed, which is set based on the first matching reference point, as well as erroneous recognition points and true recognition points. FIG. 5 is a flowchart showing an algorithm for hierarchical pattern matching according to the present invention. FIG. 6 is a flowchart showing an algorithm for hierarchical pattern matching according to the present invention. FIG. FIG. 7 is a diagram showing the partial area, and FIG. 7 is a diagram showing that the matching reference point at which the degree of matching is maximum in the second matching process is not necessarily the maximum point. FIG. 8 is a diagram showing the second matching processing area and the invalid area. The figure shown,
FIG. 9 is a diagram showing that the matching reference point at which the degree of matching becomes maximum is detected in the second matching process;
Figure 0 is a diagram showing that the process is interrupted and terminated when a predetermined number of recognition points is obtained, Figure 11 is a diagram showing that recognition points are detected through two-stage matching, FIG. 12 is a diagram showing that recognition points are detected through three stages of matching. 5... Image pattern storage means, 7... Central processing means, 10... Standard pattern storage means, 15...
Logical operation means, 17... Matching degree calculation means, 20...
...Maximum matching degree storage means, 22...Invalid area determination means, 32...Standard pattern side matching reference point, 34...
...Image pattern side matching reference point, 41... Point to be recognized, 42... Area where a sufficiently high degree of matching can be obtained as a recognition point, 43... Erroneous recognition point, 63... Standard pattern partial area, 74... Invalid region.

Claims (1)

【特許請求の範囲】 1 撮像手段より得た映像をデジタル化した画像
パターンとして記憶手段に保持しておき、上記画
像パターンの特徴的な部分領域を標準パターンと
してあらかじめ上記記憶手段とは別の記憶手段に
保持しておいて、上記画像パターンと上記標準パ
ターンの照合を行うパターンマツチング処理にお
いて、上記画像パターンと上記標準パターンの位
置合せ点である照合基準点を上記画像パターン上
に第1の間隔で第1の照合基準点として設定し、
上記第1の照合基準点において上記画像パターン
と上記標準パターンとの第1の照合処理を行つ
て、上記第1の照合処理の結果得られる第1の一
致度があらかじめ与えられた第1の基準値よりも
大きくなった場合に、上記第1の照合基準点の近
傍に第2の照合基準点を複数個、上記第1の間隔
より狭い第2の間隔で発生させ、上記複数個設け
た第2の照合基準点の全てにおいて上記標準パタ
ーンと第2の照合処理を行い、上記第2の照合の
結果得られる複数個の第2の一致度のうち一致度
が最大となる第2の照合基準点が、上記複数個設
けた第2の照合基準点が存在する領域の中で、上
記画像パターンの照合をまだ行つていない領域と
の境界に面した領域に存在しておらず、あらかじ
め与えられた第2の基準値よりも大きくなつた場
合に限り、上記第2の一致度が最大となつた第2
の照合基準を有効とすることによつて、上記画像
パターン上に複数個存在する認識点を検出するこ
とを特徴とするパターンマツチング方法。 2 画像パターンと標準パターンとの照合は、前
記照合基準点の設定間隔が1画素以上の場合に
は、前記標準パターンの一部の領域のみを照合対
象とする特許請求の範囲第1項記載のパターンマ
ツチング方法。
[Scope of Claims] 1. An image obtained from an imaging means is stored as a digitalized image pattern in a storage means, and a characteristic partial area of the image pattern is stored in advance as a standard pattern in a storage separate from the storage means. In a pattern matching process in which the image pattern and the standard pattern are matched, a first matching reference point, which is a positioning point between the image pattern and the standard pattern, is set on the image pattern. Set as the first reference point at the interval,
A first standard in which a first matching degree obtained as a result of the first matching process is given in advance by performing a first matching process between the image pattern and the standard pattern at the first matching reference point. If the value is larger than the value, a plurality of second reference points are generated near the first reference point at a second interval narrower than the first interval, and A second matching standard is obtained by performing a second matching process with the standard pattern at all of the second matching reference points, and having a maximum matching degree among a plurality of second matching degrees obtained as a result of the second matching process. The point does not exist in the area facing the boundary with the area where the image pattern matching has not yet been performed in the area where the plurality of second matching reference points exist, and Only when the second reference value is greater than the second reference value, the second
A pattern matching method characterized in that a plurality of recognition points existing on the image pattern are detected by validating a matching criterion. 2. The method according to claim 1, in which the image pattern and the standard pattern are matched only in a part of the standard pattern, if the set interval of the matching reference points is one pixel or more. Pattern matching method.
JP60195115A 1985-09-04 1985-09-04 Pattern matching method Granted JPS6255781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60195115A JPS6255781A (en) 1985-09-04 1985-09-04 Pattern matching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60195115A JPS6255781A (en) 1985-09-04 1985-09-04 Pattern matching method

Publications (2)

Publication Number Publication Date
JPS6255781A JPS6255781A (en) 1987-03-11
JPH0442710B2 true JPH0442710B2 (en) 1992-07-14

Family

ID=16335741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60195115A Granted JPS6255781A (en) 1985-09-04 1985-09-04 Pattern matching method

Country Status (1)

Country Link
JP (1) JPS6255781A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2518442B2 (en) * 1990-04-27 1996-07-24 株式会社精工舎 Image monitoring method

Also Published As

Publication number Publication date
JPS6255781A (en) 1987-03-11

Similar Documents

Publication Publication Date Title
US4272756A (en) Method of pattern recognition and apparatus thereof
JP4008282B2 (en) Pupil / iris circle detector
JP3636927B2 (en) Face image processing device
JP6095817B1 (en) Object detection device
EP2793172A1 (en) Image processing apparatus, image processing method and program
JPH0442710B2 (en)
JPH0514945B2 (en)
JPH0935058A (en) Image recognizing method
JP3074691B2 (en) Character recognition device
JPS63282889A (en) Image processing method
JPS622382A (en) Feature extracting devie for pattern
JP2899159B2 (en) Fingerprint collation device
JPH09138838A (en) Character recognizing method and its device
KR100961136B1 (en) Segmentation apparatus and method for an object classification of 2d image
JPS595945B2 (en) Pattern recognition method
KR930012139B1 (en) Stroke extracting method for letter recognition
JPH0731733B2 (en) Rectangle detector
JPS62202292A (en) Pattern matching method
JP3348938B2 (en) Position recognition device
JPH0442711B2 (en)
JPH0145102B2 (en)
JPS60140487A (en) Character feature extraction system
JPH0522164B2 (en)
JPH09114977A (en) Method and device for processing image
JPH1021396A (en) Method for extracting directional pattern of image