JPS6154580A - Pattern matching circuit - Google Patents

Pattern matching circuit

Info

Publication number
JPS6154580A
JPS6154580A JP59176014A JP17601484A JPS6154580A JP S6154580 A JPS6154580 A JP S6154580A JP 59176014 A JP59176014 A JP 59176014A JP 17601484 A JP17601484 A JP 17601484A JP S6154580 A JPS6154580 A JP S6154580A
Authority
JP
Japan
Prior art keywords
data
value
pattern matching
zone
dictionary data
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.)
Pending
Application number
JP59176014A
Other languages
Japanese (ja)
Inventor
Seigo Igaki
井垣 誠吾
Tadao Nakakuki
中久喜 唯男
Atsushi Amako
淳 尼子
Hironori Yahagi
裕紀 矢作
Yushi Inagaki
雄史 稲垣
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59176014A priority Critical patent/JPS6154580A/en
Publication of JPS6154580A publication Critical patent/JPS6154580A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the accuracy of a pattern matching circuit by preparing the mean value of plural data and the standard deviation value as the reference data and calculating the resemblance degree (marks obtained) according to the value obtained by normalizing the difference between the detection data and the mean value with the standard deviation value. CONSTITUTION:A dictionary memory 6 stores the marks Sx obtained to the input data at points A-D of each card respectively. These marks Sx are decided as follows. That is, plural sheets of reference cards are prepared and both the mean value (m) and the standard deviation value (sigma) are obtained for each point. Then nx=(x-m)/sigma is calculated to an input (x), and the error between the input (x) and the value (m) is normalized with the value (sigma). Then Sx=A[1-k (10nx-1)**j] is calculated, where A, j and k show constants and **j shows the j-square respectively. The value Sx is set at the mark obtained against the input (x). Thus the deterioration of the pattern matching factor can be suppressed even in case the reference data has variance.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はセンサによって検知されAD変換器によってデ
ィジタル信号として入力された被検知パターンデータと
、あらかじめ記憶されている基準データとの類似性を検
査するパターンマツチング装置に関する。
Detailed Description of the Invention (1) Technical Field of the Invention The present invention examines the similarity between detected pattern data detected by a sensor and input as a digital signal by an AD converter and reference data stored in advance. The present invention relates to a pattern matching device.

(2)技術の背景 紙幣自動両替機や数々の自動販売機などにおいては2例
えば9人力された紙幣が幾らの紙幣であるかということ
を判別する必要がある。その場合。
(2) Background of the technology In automatic banknote exchange machines and various vending machines, it is necessary to determine how many banknotes a banknote has been processed by two, for example, nine people. In that case.

パターンマツチング回路が用いられるが、それは例えば
、入力紙幣上をダイオードセンサなどによって走査し、
検知された光情報を被検知パターンデータとして+ M
’I’データとのパターンマツチングを行うことにより
゛7ツチングを行うものである。
A pattern matching circuit is used, which scans, for example, an input banknote with a diode sensor,
Detected light information as detected pattern data + M
By performing pattern matching with 'I' data, '7 matching' is performed.

その際、特に紙1711などを扱う装置に対しては誤り
がほとんどないパターンマツチングを行うことが要求さ
れる。
At this time, it is required to perform pattern matching with almost no errors, especially for devices that handle paper 1711 or the like.

(3)従来技術と問題点 従来のパターンマツチング回路は9紙幣を例えば横方向
にMI[lilの区域に分割し、それぞれの区域(ゾー
ンと呼ぶ)毎の平均の明るさをセンサによんで検知する
。そしてパターンマツチング回路にはあらかじめ1万円
札、5千円札、千円札などの紙幣の種類毎に、各ゾーン
の明るさの基準データを記憶させておき、まず、1万円
札の基準データと入力された被検知データとについて、
Mf[lilのゾーン毎に類似度を計算する。この場合
、類似度は例えば基準データと被検知データとの差の絶
対値に反比例するような得点によって表す。そしてM個
のゾーンについて得点を加算しそれを1万円札と被検知
データとの類似度とする。以上の計算を。
(3) Prior art and problems Conventional pattern matching circuits divide nine banknotes horizontally, for example, into MI [lil] areas, and measure the average brightness of each area (called a zone) using a sensor. Detect. The pattern matching circuit is stored in advance with reference data for the brightness of each zone for each type of banknote, such as 10,000 yen bills, 5,000 yen bills, and 1,000 yen bills. Regarding the standard data and the input detected data,
Compute the similarity for each zone of Mf[lil. In this case, the degree of similarity is expressed, for example, by a score that is inversely proportional to the absolute value of the difference between the reference data and the detected data. Then, the scores are added up for the M zones and used as the degree of similarity between the 10,000 yen bill and the detected data. Do the above calculations.

5千円札、1千円札きについても同様に行い、得点(類
似度)の最も高いものの種別を入力紙幣の種別として出
力するという方式を用いている。
The same process is performed for 5,000 yen bills and 1,000 yen bills, and a method is used in which the type with the highest score (similarity) is output as the type of input banknote.

ところが紙幣はその種別毎、及び各種別内のゾーン毎に
その明るさは異なったバラツキを有している。このバラ
ツキの度合は紙幣の古さ2色、明るさ、折りたたんだ時
の折り目部分であるかどうかなどによって左右される。
However, the brightness of banknotes varies by type and by zone within each type. The degree of this variation depends on the age of the banknote, its two colors, its brightness, and whether or not it forms a crease when folded.

従って上記方式のように各種別毎、各ゾーン毎の類似度
を、単純に基準データと被検知データとの差の絶対値に
反比例するように計算した場合、ある種別の特定のゾー
ンで明るさのバラツキが大きいと入力紙幣とその種別と
が一致している場合でも、そのゾーンにおけるデータの
差が大き(なりそのゾーンの類似度が者しく低下し5種
別の誤判別を行ってしまう可能性が太き(なるという問
題点があった。すなわち、従来のパターンマツチング方
式においては基準データが各種別毎、各ゾーン毎のデー
タのバラツキの度合を含んでいるという欠点を有してい
た。
Therefore, if the similarity for each species and each zone is simply calculated in inverse proportion to the absolute value of the difference between the reference data and the detected data, as in the above method, the brightness in a specific zone for each species If the variation in banknotes is large, even if the input banknote and its type match, there will be a large difference in the data in that zone (and the similarity of that zone will drop significantly, leading to the possibility of misclassifying five types. In other words, in the conventional pattern matching method, the standard data includes the degree of data dispersion for each type and for each zone.

(4)発明の目的 本発明は上記問題点を除くために、類似度を基準データ
の標準偏差で正規化することによって。
(4) Purpose of the Invention The present invention solves the above problems by normalizing the degree of similarity by the standard deviation of reference data.

データのバラツキによるパターンマツチング率の低下を
抑えることのできるパターンマツチング回路を提供する
ことを目的とする。
It is an object of the present invention to provide a pattern matching circuit that can suppress a decrease in pattern matching rate due to data variations.

(5)発明の構成 上記目的を達成するために、被検知データと辞書データ
のパターンマツチングを行うパターンマツチング回路に
おいて、該被検知データと該辞書データとの類似度を該
辞書データのばらつきに応じて設定する類似度設定手段
と、該類似度設定手段の出力に基づいて前記被検知デー
タの種類を判定する判定手段を有することを特徴とする
パターンマツチング回路を提供することである。
(5) Structure of the Invention In order to achieve the above object, in a pattern matching circuit that performs pattern matching between detected data and dictionary data, the degree of similarity between the detected data and the dictionary data is calculated based on the variation in the dictionary data. It is an object of the present invention to provide a pattern matching circuit characterized in that it has a similarity setting means for setting the degree of similarity according to the following, and a determination means for determining the type of the detected data based on the output of the similarity degree setting means.

(6)発明の実施例 以下1本発明の実施例について詳細に説明を行う。(6) Examples of the invention Hereinafter, one embodiment of the present invention will be described in detail.

第1図は本発明による紙幣パターンマツチング回路の全
体的な構成図である。まず、センサ1゜アンプ2.ΔD
変換器31代表値検出回路4.辞書データブロック選択
回路5.辞書データメモリ6の順に縦続に接続されてい
る。辞書データメモリ6は21〜2MまでのM個のゾー
ンメモリからなり、各ゾーンメモリは¥10000  
(1万円札に相当)、¥5000(5千円札に相当)、
¥1000 (千円札に相当)の種別に分割され、ざら
に各種別はA。
FIG. 1 is an overall configuration diagram of a banknote pattern matching circuit according to the present invention. First, sensor 1° amplifier 2. ΔD
Converter 31 Representative value detection circuit 4. Dictionary data block selection circuit5. The dictionary data memories 6 are connected in series in this order. The dictionary data memory 6 consists of M zone memories from 21 to 2M, and each zone memory costs ¥10,000.
(equivalent to a 10,000 yen bill), ¥5,000 (equivalent to a 5,000 yen bill),
It is divided into 1,000 yen (equivalent to 1,000 yen bill) types, and each type is roughly A.

B、C,Dの4つの種別に分割されている。すなわち、
各ゾーンメモリは合計12種の辞書ををする。そして6
辞U:は1代表値DATの出力レベル1〜256を例え
ば4レベル毎にまとめたN個のブロックし毎に配点を記
憶するメモリををしている。次に辞書データメモリ6は
金種別レジスタ7に接続される。この場合、辞書データ
メモリ6のM個のゾーンメモリZl−ZMの出力は、各
種別毎に金種別レジスタ7の対応する各レジスタに接続
される。種別レジスタ7の出力は判定論理回路8に入力
し、その判定結果がC2Sとして出力される。
It is divided into four types: B, C, and D. That is,
Each zone memory stores a total of 12 types of dictionaries. and 6
U: serves as a memory for storing scores for each of N blocks in which the output levels 1 to 256 of one representative value DAT are grouped into four levels, for example. Next, the dictionary data memory 6 is connected to a denomination-specific register 7. In this case, the outputs of the M zone memories Zl-ZM of the dictionary data memory 6 are connected to the corresponding registers of the denomination-specific register 7 for each type. The output of the type register 7 is input to the judgment logic circuit 8, and the judgment result is outputted as C2S.

以上のような構成の紙幣パターンマツチング回路におい
て、まずセンサ1の出力はアンプ2によって増幅された
後、ΔD変換器3によってディジタル信号に変換され1
代表値検出回路4に入力する。代表値検出回路4におい
てはM個のゾーン毎に各ゾーン内のサンプリングデータ
の平均値が計算され、各ゾーンの代表値として出力され
る。次に各ゾーン毎の代表値は辞書データブロック選択
回路5に入力し、各ゾーンに対応する辞再データメモリ
6内のゾーンメモリのそれぞれの代表値の出力レベルに
対応する1〜NのブロックLのうち1つを選択する。辞
ffデータメモリ6においては12種の各種別毎に2選
択されたブロックしに対応するメモリ上に記憶されてい
る得点を、金種別レジスタ7の対応する各レジスタに加
算する。ずなわぢ1例えば第1ゾーンの代表値の出力レ
ベルが10だとすると、辞店・データメモリ6内のゾー
ンメモリZ1の3ブロツク目が選択される。これにより
、金種別レヘル7内のレジスタ¥10000のΣAには
、辞書データメモリ6内のゾーンメモリZ1の種別¥1
ooooのAの3ブロソクロのメモリ上の得点−5が加
算される。同様に、金種別レジスタ内のレジスタ¥10
000のΣBには−30が加算され、以下同様にレジス
タ¥1000のDまで同様の動作が行われる。以上の操
作をM個のゾーンの代表値全てについて行う。これによ
って8例えば金種別レジスタ7内のレジスタ¥1ooo
oのΣAには、辞書データレジスタ6内の種別¥100
00のA−夕の得点が集計されることになる。
In the banknote pattern matching circuit configured as described above, the output of the sensor 1 is first amplified by the amplifier 2, and then converted into a digital signal by the ΔD converter 3.
It is input to the representative value detection circuit 4. In the representative value detection circuit 4, the average value of the sampling data in each zone is calculated for each M zone, and is output as the representative value of each zone. Next, the representative value for each zone is input to the dictionary data block selection circuit 5, and blocks L of 1 to N correspond to the output level of each representative value of the zone memory in the dictionary data memory 6 corresponding to each zone. Select one. In the denomination ff data memory 6, the scores stored in the memory corresponding to two selected blocks for each of the 12 denominations are added to the corresponding registers of the denomination classification register 7. For example, if the output level of the representative value of the first zone is 10, the third block of the zone memory Z1 in the dictionary/data memory 6 is selected. As a result, the type ¥1 of the zone memory Z1 in the dictionary data memory 6 is stored in ΣA of the register ¥10000 in the denomination level 7.
The score of oooo's A's 3-brosoku on the memory -5 is added. Similarly, register ¥10 in the denomination-specific register
-30 is added to ΣB of 000, and the same operation is performed thereafter up to D of register ¥1000. The above operations are performed for all representative values of M zones. As a result, 8, for example, register ¥1ooo in register 7 by denomination
ΣA of o contains the type ¥100 in the dictionary data register 6.
00 A-Evening scores will be tallied.

以上のようにして全ゾーンにわたる加算の後。After addition over all zones as above.

判定論理回路8において金種別レジスタ7内の各レジス
タの集計値を大小比較し、もっとも値の大きい種別を¥
 10000.¥5000.¥1000の中から選択し
、CR$として出力する。なお、各CF3毎にA、  
B、  C,D、という4つの種別があるのは。
The judgment logic circuit 8 compares the total values of each register in the denomination type register 7 and selects the type with the largest value.
10000. ¥5000. Select from ¥1000 and output as CR$. In addition, for each CF3, A,
There are four types: B, C, and D.

センサ1への紙幣の入力のされ方が、 (表向きの左側
から)、(表向きの右側から)、(裏向きの左側から)
、(、L!:向きの右側から)の4種類あるため、それ
ぞれに対応する辞書データを必要とするためである。
The way bills are input to sensor 1 is (from the left side when facing up), (from the right side when facing up), (from the left side when facing down)
, (,L!: from the right side of the direction), so dictionary data corresponding to each is required.

次に辞書データメモリ6内の各辞書データの作成方法に
ついて述べる。まず、ある種別についてその種別の基準
パターンをセンサ1によって複数個入力する。そして各
ゾーン毎にこれら複数の出力レベルの平均値mと標準偏
差σを計算する。次に各ゾーン毎に出力レベルx (x
=1.2.  ・・・、 256 ’)が入力した時の
σを単位としたn値を次のようにして計算する。
Next, a method for creating each dictionary data in the dictionary data memory 6 will be described. First, for each type, a plurality of reference patterns of that type are input using the sensor 1. Then, the average value m and standard deviation σ of these plurality of output levels are calculated for each zone. Next, output level x (x
=1.2. ..., 256') is input, the n value in units of σ is calculated as follows.

nX=(x−m)/σ ・・・・・・・(1)このよう
にして計算されたnXは、ある種別のあるゾーンにおけ
る基準パターンの出力レベルの平均値がmで標準偏差が
σの時に、出力レベルXの被検知データが入力した場合
、被検知データと基準パターンとのバラツキを考慮した
相対的な距離がnXであることを示している。
nX=(x-m)/σ (1) nX calculated in this way is calculated when the average value of the output level of the reference pattern in a certain zone of the species is m and the standard deviation is σ. When detected data of output level X is input at the time of , it is shown that the relative distance between the detected data and the reference pattern in consideration of the variation is nX.

次に、(1)式で計算されるnxを用いて出方レベルX
の被検知データが入力した場合のある種別のあるゾーン
における得点SXを次式ののようにして計算する。
Next, using nx calculated by formula (1), the output level
The score SX in a zone of a certain type when detected data of is input is calculated as shown in the following equation.

3 、 =A’ (1−k (10・X−1)’)・・
・(2)ここで、Aは基準点、j及びkは定数である。
3, =A' (1-k (10・X-1)')...
-(2) Here, A is a reference point, and j and k are constants.

(2)式を図に表すと第2図のようになる。この場合。When formula (2) is expressed in a diagram, it becomes as shown in Fig. 2. in this case.

A、j、に、を適切に設定することによって、第2図の
曲線の形状が定まる。これにより2例えば出力レベルX
が平均値mに近いほど得点が高く。
By appropriately setting A and j, the shape of the curve in FIG. 2 is determined. This results in 2, e.g. output level
The closer the value is to the average value m, the higher the score.

標準偏差σを基21iとして平均値mがら遠ざかるに従
って得点を低くするよう設定することができる。
The standard deviation σ can be set as the base 21i, and the score can be set to decrease as the distance from the average value m increases.

このようにすることにより、被検知データの出力レベル
Xが同じでも1種別及びゾーンによって出力レベルのバ
ラツキが異なれば、(1)式で計算されるnxの値が異
なるため(2)式で計算される得点も異なり、得点の計
算はバラツキで正規化されて行われることになる。以上
のような得点の計算を。
By doing this, even if the output level The scores are also different, and the score calculations are normalized to account for the variations. Calculate the score as above.

各種別の各ゾーン毎に、出力レベルが1〜256までの
全てについて行い、その結果を辞書データメモリ6に辞
書データとして記憶させておくことにより、あるゾーン
のあるレベルの被検知データが入力した時に、その度対
応するゾーンの各種別毎に(1)式及び(2)式を計算
する必要はな(、テーブル引きで即座にその得点を求め
ることができる。なお、第1図の場合、辞、書データは
出力レベルを4レベルずつまとめて1つのブロックとし
であるため、その配点は4レベルの平均値とする。また
前記平均値m、標準偏差σ、(1)式、及び(2)式に
よる辞書データの計算は辞書データメモリ6に含まれる
演算回路によって行われる。このような辞書データを用
いて被検知データの得点を計算し、全ゾ−ンにわたって
そのt、e得点を、金種別レジスタ7で各種別毎に集計
することによって、最も良く似ている種別に対するレジ
スタの築計値が最も高得点となる。
By performing the test for all output levels from 1 to 256 for each zone of each type and storing the results as dictionary data in the dictionary data memory 6, it is possible to input detected data at a certain level in a certain zone. Sometimes, it is not necessary to calculate equations (1) and (2) for each type of zone each time (it is possible to immediately calculate the score by drawing a table. In the case of Fig. 1, Since the dictionary and calligraphy data are made up of four output levels each as one block, the score is the average value of the four levels.In addition, the average value m, standard deviation σ, equation (1), and (2 ) Calculation of dictionary data using the formula is performed by an arithmetic circuit included in the dictionary data memory 6. Using such dictionary data, the score of the detected data is calculated, and the t and e scores for all zones are calculated as follows. By counting the denominations for each denomination in the denomination register 7, the construction value of the register for the most similar denomination will have the highest score.

第3図は辞書データと被検知データとが似ている場合の
パターンマツチングの例である。9の破線路ゾーン毎の
ある種別の辞書データの平均値を結んだものであり、1
0の破線は辞書データの平均値から+σだげ離れた値を
結んだもの、11は同じく−σだけ離れた値を結んだも
のである。そして、実線12が被検知データの代表値を
結んだものである。この場合1例えば第2ゾーンと第4
ゾーンの被検知データは辞書データの平均値に対して、
その出力レベルは同程度離れている。従って従来のパタ
ーンマツチング回路の場合は、第2ゾーン、第4ゾーン
ともその得点(類似度)は同じになる。ところが、同図
を見てわかるように第4ゾーンの場合の方がσの値が大
きく辞書データのバラツキが大きい。これは入力される
被検知データのバラツキも大きいということを示してい
ると考えられる。従って、この場合は第4ゾーンの方の
得点を甘くする必要がある。本発明によれば。
FIG. 3 is an example of pattern matching when dictionary data and detected data are similar. It is a combination of the average values of dictionary data by species for each of the 9 broken line zones, and 1
The dashed line 0 connects values that are apart by +σ from the average value of the dictionary data, and the broken line 11 connects values that are similarly separated by −σ. A solid line 12 connects the representative values of the detected data. In this case 1, for example, the second zone and the fourth zone
The detected data of the zone is based on the average value of the dictionary data.
Their output levels are equally far apart. Therefore, in the case of the conventional pattern matching circuit, the scores (degrees of similarity) are the same for the second zone and the fourth zone. However, as can be seen from the figure, in the case of the fourth zone, the value of σ is larger and the variation in dictionary data is larger. This is considered to indicate that the variation in the input detected data is also large. Therefore, in this case, it is necessary to give a lighter score to the fourth zone. According to the invention.

各得点は標2%偏差σを単位とした前記(1)式のnX
の値によって決定されるため、第2ゾーンよりも第4ゾ
ーンのiU点(類似度)が大きくなる。このように標準
偏差σによって正規化された得点を基準としているため
、より精度の高いパターンマツチングを行うことができ
る。第3図の場合は、全ゾーンにわたって被検知データ
が辞書データの平均値±σの範囲内に入っているため、
被検知データの、得点は高くなり、被検知データがこの
辞書データの種別である可能性が大きい。
Each score is nX of the above formula (1) with standard 2% deviation σ as the unit.
Since it is determined by the value of , the iU point (similarity) of the fourth zone is larger than that of the second zone. Since the scores normalized by the standard deviation σ are used as a reference in this way, more accurate pattern matching can be performed. In the case of Figure 3, since the detected data is within the range of the average value of the dictionary data ±σ over all zones,
The score of the detected data is high, and there is a high possibility that the detected data is of this type of dictionary data.

第4図は辞書データと被検知データとが似ていない場合
のパターンマツチングの例である。13の破線は各ゾー
ン毎のある種別の辞書データの平均値を結んだもの、破
線14.15はそれぞれ平均値から±σの値を結んだも
の、実線16は被検知データの代表値を結んだものであ
る。この場合は、被検知データの得点は非常に低くなり
、被検知データがこの辞書データの種別である可能性は
ほとんどない。
FIG. 4 is an example of pattern matching when dictionary data and detected data are not similar. The broken line 13 connects the average value of dictionary data for each species in each zone, the broken line 14.15 connects the values of ±σ from the average value, and the solid line 16 connects the representative value of the detected data. It is something. In this case, the score of the detected data becomes very low, and there is almost no possibility that the detected data is of the type of this dictionary data.

以上、第1図は゛紙幣パターンマツチング回路の場合の
実施例について説明したが、他のパターンマツチング回
路にせ応用できることは言うまでもない。また、第1図
の辞書データメモリ6において、各辞書データは代表値
の出力レベルを4レベル毎にブロック化したが、メモリ
容量などが詐すならば特にプロ、り化する必要もない。
Although the embodiment in FIG. 1 has been described above in the case of a banknote pattern matching circuit, it goes without saying that the present invention can be applied to other pattern matching circuits. In addition, in the dictionary data memory 6 of FIG. 1, each dictionary data is divided into blocks of output levels of representative values every four levels, but if the memory capacity etc. are limited, there is no need to make it professional.

また、1M。Also, 1M.

点計算のための式として(2)式を用いたが、(2)式
ははあくまでも一例であり、辞書データの特性を考慮し
て、他の式を考えることもできる。本発明は辞書データ
に対する配点と、そのバラツキで正規化した値を基準と
して行ったという点が重要である。
Although equation (2) is used as the equation for point calculation, equation (2) is just an example, and other equations can be considered in consideration of the characteristics of the dictionary data. The important points of the present invention are that the points assigned to the dictionary data and the values normalized based on the dispersion thereof are used as standards.

(7)発明の効果 本発明はパターンマツチング回路において、基準データ
のバラツキ(標′!−IK!=偏差)で正規化した値を
もとにして配点を行った辞書データを用いることにより
、データのバラツキに対してより柔軟性かあり、かつ精
度の高いパターンマツチングを行うことができる。
(7) Effects of the Invention The present invention uses dictionary data in which points are assigned based on values normalized by the variation in reference data (standard '! - IK! = deviation) in a pattern matching circuit. It is possible to perform pattern matching with greater flexibility and higher precision against data variations.

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

第1図は本発明による紙幣パターンマツチング回路の全
体的な構成図、第2図は本発明による得点計算の原理説
明図、第3図は被検知パターンと辞書データとが似てい
る場合のパターンマツチング例を示した図、第4図は被
検知パターンと辞書データとが似ていない場合のパター
ンマツチング例を示した図である。 4・・・代表値検出回路、    5・・・辞書データ
ブロック選択回路、    6・・・辞書データメモリ
、    7・・・金種別レジスタ。 8・・・判定論理回路、   Zl、Z2.  ・・・
ゾーンメモリ。 代理人弁理士  検量 宏四部”;’、=f4i=二+
第1図 第2図 (代表値) 第3図 第4図
Fig. 1 is an overall configuration diagram of a banknote pattern matching circuit according to the present invention, Fig. 2 is an explanatory diagram of the principle of score calculation according to the present invention, and Fig. 3 is a diagram showing a case where the detected pattern and dictionary data are similar. FIG. 4 is a diagram showing an example of pattern matching when the detected pattern and dictionary data are not similar. 4...Representative value detection circuit, 5...Dictionary data block selection circuit, 6...Dictionary data memory, 7...Denomination specific register. 8... Judgment logic circuit, Zl, Z2. ...
zone memory. Agent Patent Attorney Calibration Hiroshibe”;’, =f4i=2+
Figure 1 Figure 2 (Representative values) Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)被検知データと辞書データのパターンマッチング
を行うパターンマッチング回路において、該、被検知デ
ータと該辞書データとの類似度を該、辞書データのばら
つきに応じて設定する類似度設定手段と、該類似度設定
手段の出力に基づいて前記被検知データの種別を判定す
る判定手段を有することを特徴とするパターンマッチン
グ回路。
(1) In a pattern matching circuit that performs pattern matching between detected data and dictionary data, a similarity setting means for setting a degree of similarity between the detected data and the dictionary data according to variations in the dictionary data; A pattern matching circuit characterized by comprising a determining means for determining the type of the detected data based on the output of the similarity setting means.
(2)前記類似度設定手段は、前記辞書データを作成す
る際の基準データの標準偏差を単位とした該基準データ
の平均値からの距離(n値と呼ぶ)に応じて配点を行っ
た辞書データを記憶する記憶手段と、該記憶手段に記憶
された各辞書データに対する前記被検知データの得点を
選択する選択手段と、該選択手段によって選択された得
点を前記各辞書データ毎に集計する集計手段とからなる
ことを特徴とする特許請求の範囲第1項記載のパタンマ
ッチング回路。
(2) The similarity setting means is a dictionary that allocates points according to the distance from the average value of the reference data (referred to as n value) in units of standard deviation of the reference data when creating the dictionary data. a storage means for storing data, a selection means for selecting a score of the detected data for each dictionary data stored in the storage means, and a totalization for totaling the scores selected by the selection means for each of the dictionary data. A pattern matching circuit according to claim 1, characterized in that it comprises means.
JP59176014A 1984-08-24 1984-08-24 Pattern matching circuit Pending JPS6154580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59176014A JPS6154580A (en) 1984-08-24 1984-08-24 Pattern matching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59176014A JPS6154580A (en) 1984-08-24 1984-08-24 Pattern matching circuit

Publications (1)

Publication Number Publication Date
JPS6154580A true JPS6154580A (en) 1986-03-18

Family

ID=16006208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59176014A Pending JPS6154580A (en) 1984-08-24 1984-08-24 Pattern matching circuit

Country Status (1)

Country Link
JP (1) JPS6154580A (en)

Similar Documents

Publication Publication Date Title
CN110599675B (en) Method and device for detecting number of paper money in money box, terminal equipment and storage medium
US3952184A (en) Apparatus for the automatic classifying and finding of groupings of series of distinguishing signs according to the risks of conflict they involve with given groupings
JPH07230566A (en) Neural network for recognizing and authenticating bank note
CN109583504A (en) A kind of pcb board circular locating openings quick and precisely recognition methods of view-based access control model
US5542518A (en) Method of identifying the denominations of pieces of paper
JPS6154580A (en) Pattern matching circuit
JPH02148382A (en) Paper money discriminating device
CN108122002A (en) Training sample acquisition methods and device
JPS5958594A (en) Coin selector
JP2020154543A (en) Illegal trade detection device, illegal trade detection method, and illegal trade detection program
JPS62211792A (en) Paper money identifier
JP2936752B2 (en) Coin sorting equipment
JPH02148383A (en) Method of discriminating paper money
JPH04337406A (en) Discrimination of surface grade of steel plate
JP3174187B2 (en) Gas identification device
CN111612965B (en) Method, apparatus and device for denomination recognition using security thread magnetic encoding
CN111815448B (en) Application form determination method based on associated network
JPS6037957B2 (en) character recognition device
Spiroglou et al. SMART Swings-Systematic Market Structure
JP2894375B2 (en) Pattern determination method
JP2834894B2 (en) Optical pattern recognition classification method
JPH02150982A (en) Paper money discriminating device
JPS6079487A (en) Discrimination of paper money
JP3296872B2 (en) Coin identification method
Boot Sensitivity Analysis