JPS5831027B2 - pattern matching device - Google Patents

pattern matching device

Info

Publication number
JPS5831027B2
JPS5831027B2 JP5861978A JP5861978A JPS5831027B2 JP S5831027 B2 JPS5831027 B2 JP S5831027B2 JP 5861978 A JP5861978 A JP 5861978A JP 5861978 A JP5861978 A JP 5861978A JP S5831027 B2 JPS5831027 B2 JP S5831027B2
Authority
JP
Japan
Prior art keywords
pattern
area
patterns
matching
level
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
Application number
JP5861978A
Other languages
Japanese (ja)
Other versions
JPS54149432A (en
Inventor
■ 前田
国男 中塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5861978A priority Critical patent/JPS5831027B2/en
Publication of JPS54149432A publication Critical patent/JPS54149432A/en
Publication of JPS5831027B2 publication Critical patent/JPS5831027B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Collating Specific Patterns (AREA)

Description

【発明の詳細な説明】 この発明はパターン品質にばらつきがあったり局所に差
異のあるパターンを高精度に照合するパターン照合装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pattern matching device that matches patterns with variations in pattern quality or local differences with high accuracy.

印影、文字、印刷物等のパターンをその原簿のパターン
と比較照合するのにディジタル処理によるパターン照合
の方式がよく用いられる。
A pattern matching method using digital processing is often used to compare and match the patterns of seal impressions, characters, printed matter, etc., with the patterns on the original register.

第1図a、bは印鑑の枠部の2値化されたパターンで、
xyの2次元の座標上において、信号ありの点が1、信
号なしの点がOで黒丸印は10点である。
Figure 1 a and b are the binarized patterns of the seal frame,
On the two-dimensional xy coordinates, the point with a signal is 1, the point without a signal is O, and the black circles are 10 points.

このa、b図の2つのパターンを重ね合わせて照合する
と0図のようになる。
If these two patterns in figures a and b are superimposed and compared, the result will be as shown in figure 0.

ここで白丸印はパターンが重なった点、1△“1ד印
は一方にあって他方にない点である。
Here, the white circles are points where the patterns overlap, and the 1Δ"1×" marks are points that are on one side but not on the other.

この2つのパターンの照合度Fとしてはよ(次のものが
用いられる。
The degree of matching F between these two patterns is as follows.

但し、Soは2つのパターンの重なった部分の面積(0
図の白丸印)、S4、S2は各々2つのパターンの面積
(a、b図の黒丸印)、 ところでこの様な照合は一般に原簿のパターンがファイ
ルされており入力されたパターンが原簿と一致するか否
かを判定するためになされるのであるが、入力されるパ
ターンは一般に種々の雑音をともなう。
However, So is the area of the overlapping part of the two patterns (0
(white circles in the figure), S4, and S2 are the areas of the two patterns (black circles in figures a and b).By the way, in this kind of verification, the pattern of the original record is generally filed, and the input pattern matches the original record. This is done in order to determine whether or not the pattern is true, but the input pattern is generally accompanied by various noises.

特にインク、朱肉等を用いたパターンは印字のときにに
じみ、かすれをともないこれが照合に際して照合度を下
げる結果となる。
In particular, patterns using ink, vermilion, etc. bleed and become blurred when printed, which results in a lower degree of matching during matching.

印鑑の照合などでも捺印の際の力のかたよりとか朱肉の
つき方の差異により一部がかすれたり、にじんだりする
ことが多い。
Even when checking seals, parts of the seal often become blurred or smeared due to the pressure applied when stamping or the way the ink is applied.

又わずかに局所的に差異のあるパターンでも異なるもの
として判定する必要があるが上記の式では全体の平均と
して照合度を見ているため一部に著るしいパターンの差
異があっても他の部分がよくマツチしていれば同じもの
として判定することがある。
Also, it is necessary to judge that patterns with slight local differences are different, but since the above formula considers the degree of matching as the overall average, even if there is a significant difference in some patterns, it will be judged as different. If the parts match well, it may be determined that they are the same.

この発明はこれらの欠点を解消するためになされたもの
で、パターンの品質の差異とか局所的な差異を考慮して
照合度を精度よ(求めるパターン照合装置を提供するも
のである。
The present invention was made in order to eliminate these drawbacks, and provides a pattern matching device that increases the matching degree by taking into account differences in pattern quality and local differences.

この発明はパターン全体の平面を例えば16×16とか
32X32とかの小領域に分割し各領域での2つのパタ
ーンを照合し判定するようにしたもので、先ず、第2図
を用いこの発明の原理について説明する。
In this invention, the plane of the entire pattern is divided into small areas of, for example, 16 x 16 or 32 x 32, and the two patterns in each area are compared and judged. I will explain about it.

第2図はパターン全体の平面をX方向Nケy方向Mヶの
小領域に分け、太線で区切られる8×8の領域D(n、
m)、D(n−1、m)、D(n+1、m)・・・・・
・に区分げしたものである。
In Figure 2, the plane of the entire pattern is divided into M small areas in the
m), D (n-1, m), D (n+1, m)...
・It is divided into ・

各領域での2つのパターンの照合度FD(n、rTl)
は独立に次式により計算される。
Matching degree of two patterns in each region FD (n, rTl)
is calculated independently using the following formula.

この照合度が低い所が全体の照合度を下げることに寄与
しており、こういう領域についてくわしく調べる。
Areas where the matching degree is low contribute to lowering the overall matching degree, and we will investigate these areas in detail.

著るしく照合度の低くなる原因として、(A);本当に
パターンの差異がその領域にて著るしいもの、 (B)ニ一方または両方のパターン品質かにじみかすれ
により著るしく悪くてこのため差異がでるもの ここで上記(Nは全体の照合度に対して照合度を下げて
いる寄与をさらに太きくすべきで、このことにより、全
体としては似た所が多いが一部に差のあるパターンを検
出できる。
The reasons for the markedly low matching degree are (A): The pattern difference is really significant in that area, and (B) The pattern quality of one or both of them is extremely poor due to blurring. Differences can be seen here (N should make the contribution that lowers the matching degree to the overall matching degree even stronger, and by doing this, there are many similarities overall, but there are differences in some parts. Can detect patterns.

また上記(B)についてはむしろ照合度を下げている寄
与を小さくすべきで、これにより小々パターンの品質に
ばらつきがあっても一致するものは一致すると判定でき
る。
Regarding (B) above, the contribution that lowers the degree of matching should be reduced, so that even if there is slight variation in the quality of the patterns, it can be determined that they match.

例えばD(m、n)の照合度が著るしく悪いときこの理
由が上記囚またはCB)のいずれかを判定するのに次の
方法を用いる。
For example, when the matching degree of D(m, n) is extremely poor, the following method is used to determine whether the reason is either the above-mentioned error or CB).

第1図では2値化されたパターンを示したがここでは濃
淡情報をもったパターンを用いる。
Although FIG. 1 shows a binarized pattern, here a pattern with shading information is used.

一般に入力されたデータは濃度レベルに対応したアナロ
グ値であるがこれをディジタル化して例えば4ビツト(
16段階)のデータとして用いる。
Generally, the input data is an analog value corresponding to the density level, but this can be digitized into, for example, 4 bits (
Used as data for 16 stages).

これは値Oが完全に信号のないレベルで値が犬なる程濃
度レベルが高いものとする。
It is assumed that the value O is a level with no signal at all, and the higher the value, the higher the concentration level.

2値化するには濃度レベルがある値以上の点を1としそ
れ以下の点を0とすればよい。
To perform binarization, points where the density level is above a certain value are set to 1, and points below that are set to 0.

このデータを用いて2値化された信号ありの点に対して
レベルの平均値を「信号ありの点のレベルの和/信号あ
りの点の数」として求める。
Using this data, the average value of the level of the binarized points with a signal is determined as "sum of levels of points with a signal/number of points with a signal".

全体のパターンに対してこの値を求めるとパターン全体
についてのレベル平均値:Ltが求まる。
When this value is determined for the entire pattern, the level average value: Lt for the entire pattern is determined.

但し、SはTHを閾値として2値化された点の面積。However, S is the area of a point binarized using TH as a threshold.

L(x、y)は各点の濃度レベル この値は朱肉のつき具合等である程度界なる。L(x,y) is the density level of each point This value varies to some extent depending on the degree of vermilion coating.

次にD(m、n)の照合度が著るしく悪いときこの領域
での平均レベルを求める。
Next, when the matching degree of D(m, n) is extremely poor, the average level in this area is determined.

比較する第1と第2のパターンについて全体の平均レベ
ルをLt、、Lt2としD(m、、n)での平均レベル
をL+−D(m、n )L2− D(m、n )とする
とL1゛ L1゛D(m゛n)を比較してほぼ等しい時
−と Lt2 L2− D(m、 n ) はにじみかすれがないものとして上記(Nの理由と判定
する。
Let the overall average level of the first and second patterns to be compared be Lt,,Lt2, and the average level at D(m,,n) be L+-D(m,n)L2-D(m,n). When L1゛ L1゛D (m゛n) are compared and they are almost equal, it is determined that there is no bleeding or blurring between - and Lt2 L2- D (m, n), which is the reason for the above (N).

又これに著るしい差があると上記(B)の理由と判定す
る。
Also, if there is a significant difference in this, it is determined to be due to the reason (B) above.

又場合によっては一方のパターンがかすれてしまってそ
の面積が著るしく小さいときにはD(m、n)の周辺領
域での値を用いる。
In some cases, if one of the patterns is blurred and its area is extremely small, the value of D(m, n) in the peripheral area is used.

周辺領域での平均レベルをLl、D′、L2.0とすL
tL’ るとやはり−と を比較しこれに差があLt2
L2・D るか否かで上記囚の理由か(B)の理由かを判定する。
Let the average level in the surrounding area be Ll, D', L2.0, and L
tL' then compare - and there is a difference Lt2
L2・D Determine whether the above reason is the prisoner's reason or the reason (B).

全体の照合度をFとして上記(A)または(B)の領域
として判定した部分の照合度をF(11又はF(2)と
し他の領域の照合度をFNORMAL とすると、とし
αを1より犬にβを1より小とする。
If the overall matching degree is F, the matching degree of the part determined as the area (A) or (B) above is F(11 or F(2), and the matching degree of other areas is FNORMAL, then α is set to 1. Let β be less than 1 for the dog.

このような機能をもつこの発明のパターン照合装置の一
実施例を第3図に示す。
An embodiment of the pattern matching device of the present invention having such a function is shown in FIG.

第3図において1.2は2値化された照合すべきパター
ンを記憶しているパターンメモリ、4,5は照合すべき
濃淡レベルを持つ第1と第2のパターンの2値化された
濃淡パターン信号を記憶している濃淡パターンメモリ、
3は照合演算回路、6はデータメモリ、7は判定回路で
ある。
In Fig. 3, 1.2 is a pattern memory that stores the binarized pattern to be matched, and 4 and 5 are the binarized shading of the first and second patterns having the shading levels to be matched. Shade pattern memory that stores pattern signals,
3 is a verification calculation circuit, 6 is a data memory, and 7 is a determination circuit.

このような構成におけるパターン照合装置において、照
合演算回路3は照合する第1と第2の2つのパターンの
各領域D(n、m)、D(n−1,m)・・・・・・の
パターン信号をパターンメモリ1,2から順次読出し照
合演算し第1のパターンの各領域での面積St、D(n
、m)・sl、D(n−1、m)”””第2のパターン
の各領域での面積S2、D(n、m)、S2、D(n−
1、m)・・・・・・、および第1と第2のパターンの
各領域での第1と第2のパターンの重なった部分の面積
5OzD(n、m)、504)(n−1、m)・・・・
・・を求めると共に上記(2)式の演算を行ない上記各
領域における照合度Fを求め、さらに濃淡パターンメモ
リ4,5からは照合する2つのパターンの各領域D(n
、m)、D(n−、、m)−における第1のパターンの
濃淡のレベル平均値L]% D(n、 m ) N L
IN D(n−1、m)”””−第2のパターンの濃淡
のレベル平均値L2、D(n、m)、L7、D(n−、
、m)・・・・・・および上記第1のパターンの全体の
濃淡レベル平均値Lt、および上記第2のパターンの全
体の濃淡レベル平均値Lt2を求めてデータメモリ6に
入力する。
In the pattern matching device having such a configuration, the matching calculation circuit 3 performs each region D(n, m), D(n-1, m), . . . of the first and second two patterns to be matched. The pattern signals of are sequentially read out from the pattern memories 1 and 2 and compared and calculated, and the area St, D(n
, m)・sl, D(n-1, m)"""Area S2, D(n, m), S2, D(n-
1, m)...and the area of the overlapping portion of the first and second patterns in each region of the first and second patterns 5OzD (n, m), 504) (n-1 , m)...
. . , and calculates the matching degree F in each region by calculating the equation (2) above.Furthermore, from the gray pattern memories 4 and 5, each region D(n
, m), D(n-, , m)-, the first pattern's density level average value L]% D(n, m) N L
IN D(n-1, m)"""-average level of shading of the second pattern L2, D(n, m), L7, D(n-,
, m) . . . and the overall gray level average value Lt of the first pattern and the overall gray level average value Lt2 of the second pattern are determined and input into the data memory 6.

判定回路7は上記データメモリに記憶されている各デー
タを読み出し、上記(2)式の演算照合を行ない照合度
の低い領域を検出し、今その領域をD(n、m)とする
とLl、D(n、 m ) /L2、D(n、m)
を求めLt、/Lt2と比較し上記(4)式の演算を行
ない全体の照合度を求める。
The determination circuit 7 reads out each data stored in the data memory, performs the arithmetic comparison using the above equation (2), detects an area with a low degree of matching, and if this area is now D(n, m), then Ll, D(n, m)/L2, D(n, m)
is calculated, compared with Lt and /Lt2, and the above equation (4) is calculated to determine the overall matching degree.

この全体の照合度から照合パターンが同一のものである
か否かが判定される。
It is determined whether the matching patterns are the same based on the overall matching degree.

なお以上においては原簿のパターンである第1のパター
ンの全領域および各領域における濃淡レベルの平均値が
異なるものについて述べたが、一般には原簿パターンの
上記濃淡レベルの平均値は略一定であり、この場合はこ
の平均値を濃淡パターンメモリに記憶させ、これを判定
回路7が読み出すようにしても良い。
Although the above description has been made of the case where the average value of the shading level in the entire area and each area of the first pattern, which is the pattern of the original register, is different, in general, the average value of the above-mentioned shading level of the original pattern is approximately constant, In this case, this average value may be stored in a grayscale pattern memory, and the determination circuit 7 may read it.

以上の様にこの発明による照合装置では小領域毎にその
状態を判定して全体の照合度を求めているのでにじみ、
かすれのため品質にばらつきがあったり局所的にパター
ンに差異のあるパターンの照合も高精度で行うことがで
きる。
As described above, the verification device according to the present invention determines the state of each small area and determines the overall verification degree, so blurring occurs.
It is also possible to match patterns with high accuracy even if the quality varies due to blurring or there are local differences in the pattern.

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

第1図は印鑑の枠部の2値化されたパターンを示す図、
第2図はパターン全体を小領域に分割した図、第3図は
この発明の一実施例を示すブロック図である。 図において、1,2はパターンメモリ、3は照合演算回
路、4,5は濃淡パターンメモリ、6はデータメモリ、
7は判定回路である。
Figure 1 is a diagram showing the binarized pattern of the frame of the seal;
FIG. 2 is a diagram showing the entire pattern divided into small areas, and FIG. 3 is a block diagram showing one embodiment of the present invention. In the figure, 1 and 2 are pattern memories, 3 is a matching calculation circuit, 4 and 5 are gray pattern memories, 6 is a data memory,
7 is a determination circuit.

Claims (1)

【特許請求の範囲】 1 複数個の各領域に分割された第1と第2の2つのパ
ターンの各領域のディジタル化されたパターン信号を記
憶する第1と第2のパターンメモリと、上記各領域およ
び全領域のディジタル化された濃淡信号を記憶する第1
と第2の濃淡メモリと、上記第1と第2のパターンメモ
リおよび濃淡メモリから記憶データを読み出し上記2つ
のパターンの各領域における全体のパターンの面積S1
、S2および2つのパターンの重なる部分の面積S。 、を求めこれらデータより各領域における照合度を求め
ると共に上記2つの各パターンの少なくとも一方の全体
の濃淡レベルの平均値Lt、、Lt2、各領域における
濃淡の平均値り7、L2を求める照合演算回路と、この
照合演算回路で求められたデータより照合度の低い領域
における上記2つのパターンの同じ領域での上記濃淡レ
ベルの平均値り7、L2の比と上記全体の濃淡レベルL
t1、Lt2との比を比較し求めたこれらデータから全
体の照合度を求める判定回路を備えていることを特徴と
するパターン照合装置。 2 第1と第2の濃淡メモリに記憶されている濃淡信号
は濃度レベルの均一な第1のパターンの全領域および各
領域のディジタル化された濃度レベルの平均値および第
2のパターンの各領域および全領域のディジタル化され
た濃淡パターン信号であることを特徴とする特許請求の
範囲第1項記載のパターン照合装置。
[Scope of Claims] 1. First and second pattern memories that store digitized pattern signals of each area of a first and second two patterns divided into a plurality of areas, and each of the above-mentioned patterns. The first one stores the digitized gray signals of the area and the entire area.
and a second gradation memory, the first and second pattern memories, and the gradation memory to read the stored data and calculate the total pattern area S1 in each region of the two patterns.
, S2 and the area S of the overlapping portion of the two patterns. , and use these data to find the degree of matching in each area, and also to calculate the average value Lt, , Lt2 of the overall shading level of at least one of the above two patterns, and the average value 7, L2 of the shading level in each area. The average value of the gray level in the same area of the two patterns in the area where the matching degree is lower than the data obtained by the matching calculation circuit and the ratio of L2 and the overall gray level L
A pattern matching device comprising a determination circuit that calculates an overall matching degree from the data obtained by comparing the ratios of t1 and Lt2. 2 The grayscale signals stored in the first and second grayscale memories are based on the average value of the digitized density level of the entire area of the first pattern with uniform density level and each area, and the average value of the digitalized density level of each area of the second pattern. 2. The pattern matching device according to claim 1, wherein the pattern matching device is a digitized gray pattern signal of the entire area.
JP5861978A 1978-05-16 1978-05-16 pattern matching device Expired JPS5831027B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5861978A JPS5831027B2 (en) 1978-05-16 1978-05-16 pattern matching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5861978A JPS5831027B2 (en) 1978-05-16 1978-05-16 pattern matching device

Publications (2)

Publication Number Publication Date
JPS54149432A JPS54149432A (en) 1979-11-22
JPS5831027B2 true JPS5831027B2 (en) 1983-07-02

Family

ID=13089569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5861978A Expired JPS5831027B2 (en) 1978-05-16 1978-05-16 pattern matching device

Country Status (1)

Country Link
JP (1) JPS5831027B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6195872A (en) * 1984-10-18 1986-05-14 Toho Koki Kk Barrel polishing device
US9810356B2 (en) 2014-03-10 2017-11-07 Cosmo Koki Co., Ltd. Separation preventing device of fluid pipe, and pipe joint

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5854484A (en) * 1981-09-28 1983-03-31 Fujitsu Ltd Collating and displaying system of seal impression
EP0483391B1 (en) * 1990-10-27 1998-08-05 International Business Machines Corporation Automatic signature verification

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6195872A (en) * 1984-10-18 1986-05-14 Toho Koki Kk Barrel polishing device
US9810356B2 (en) 2014-03-10 2017-11-07 Cosmo Koki Co., Ltd. Separation preventing device of fluid pipe, and pipe joint
US9964244B2 (en) 2014-03-10 2018-05-08 Cosmo Koki Co., Ltd. Separation preventing device of fluid pipe, and pipe joint

Also Published As

Publication number Publication date
JPS54149432A (en) 1979-11-22

Similar Documents

Publication Publication Date Title
CN106530275A (en) Element wrong part detection method and system
JP3346795B2 (en) Image processing method
US4736315A (en) Apparatus for evaluating density and evenness of printed patterns
KR930002347B1 (en) Pattern position recognition apparatus
JPS5831027B2 (en) pattern matching device
JPS61115183A (en) Density gradation converting system in dark and light image processing
US7729521B2 (en) Method for comparison of a test fingerprint, which is in the form of an image strip sequence, with a stored reference fingerprint, and a suitable apparatus for carrying out the method
US5912985A (en) Pattern detection method
JPH0792820B2 (en) Character recognition method
US20030091238A1 (en) Detection of a pattern in a digital image
CN100378753C (en) Method of determining the region of interest in images of skin prints
JPS5951026B2 (en) Image matching device
KR940004476A (en) Image Control
JPS62211792A (en) Paper money identifier
KR100695159B1 (en) Apparatus and method for generating RGB map for skin color model and apparatus and method for detecting skin color employing the same
JPH0793476A (en) Character string detector
JP2542628B2 (en) Mark reader
CN116343217A (en) Method, device, electronic equipment and storage medium for detecting character position and width
JP2861435B2 (en) Pipeline type arithmetic unit
JP3015198B2 (en) Pattern matching method in image processing
JPH01168164A (en) Picture processing unit
SU1270781A1 (en) Device for recognizing contours of object images
JPS5924424B2 (en) How to check the dot pattern
JPH01143564A (en) Picture processing unit
JPS59154577A (en) Binary coding device of pattern collating device