JPS604506B2 - Pattern similarity calculation method - Google Patents

Pattern similarity calculation method

Info

Publication number
JPS604506B2
JPS604506B2 JP55043811A JP4381180A JPS604506B2 JP S604506 B2 JPS604506 B2 JP S604506B2 JP 55043811 A JP55043811 A JP 55043811A JP 4381180 A JP4381180 A JP 4381180A JP S604506 B2 JPS604506 B2 JP S604506B2
Authority
JP
Japan
Prior art keywords
vector
pattern
similarity
feature
time
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
JP55043811A
Other languages
Japanese (ja)
Other versions
JPS56140474A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP55043811A priority Critical patent/JPS604506B2/en
Publication of JPS56140474A publication Critical patent/JPS56140474A/en
Publication of JPS604506B2 publication Critical patent/JPS604506B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/754Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries involving a deformation of the sample pattern or of the reference pattern; Elastic matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は特徴ベクトルの時系列で表わされる2個のパタ
ーンを比較して、これ等パターン間の類似度を計算する
計算方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a calculation method for comparing two patterns represented by time series of feature vectors and calculating the degree of similarity between these patterns.

最近音声に関する合成或いは認識等の技術が著しい進歩
をとげ、各種の電子機器に音声機能を付加することが試
みられている。
2. Description of the Related Art Recently, technologies such as voice synthesis and recognition have made remarkable progress, and attempts are being made to add voice functions to various electronic devices.

特にこのような音声分野の技術では、入力された音声信
号を認識する際に、入力音声から形成される特徴ベクト
ルのパターンと、予め登録されている標準パターンとの
間でパターン間の比較が実行され、その比較結果に基い
て入力信号の認識が行われる。この種のパターン間の比
較は、従来から動的計画法を用いた時間軸伸縮マッチン
グによる方法が採られている。しかしこのような時間軸
伸縮マッチングでは、各時点毎に最適化を計りつつ最終
的にはパターン類似度を最大にするような時間軸伸縮を
伴うマッチングを行なっており、そのために計算量が著
しく多くなる。また同じカテゴリ間のマッチングでは線
形伸縮から大きく異なる時間軸伸縮は考えられないとい
う不都合がある。一方単純に類似度最大となる特徴ベク
トル間の対応づけだけでは誤まった時間鞠伸縮になって
しまうことが多い。本発明は上記従来のパターン類似度
計算における問題点‘こ鑑みてなされたもので、概要は
、単純に類似度を最大とするようなベクトルの対応づけ
を各時点毎に行なって計算量を少なくすると共に、線形
伸縮で得られる対応づけと比較することにより、時間軸
伸縮が大きく譲まることを阻止するものである。次に図
面を用いて本発明を詳細に説明する。
In particular, in such technology in the audio field, when recognizing an input audio signal, a pattern comparison is performed between a feature vector pattern formed from the input audio and a standard pattern registered in advance. The input signal is recognized based on the comparison result. Comparison between patterns of this type has conventionally been performed using a time axis expansion/contraction matching method using dynamic programming. However, in this type of time-axis expansion/contraction matching, optimization is performed at each point in time, and the matching is performed with time-axis expansion/contraction that ultimately maximizes pattern similarity, which requires a significant amount of calculation. Become. Furthermore, in matching between the same categories, there is a disadvantage that time axis expansion/contraction that is significantly different from linear expansion/contraction cannot be considered. On the other hand, simply associating feature vectors with maximum similarity often results in incorrect time expansion and contraction. The present invention was developed in view of the above-mentioned problems in conventional pattern similarity calculations, and its outline is to reduce the amount of calculation by simply associating vectors that maximize the similarity at each point in time. At the same time, by comparing with the correspondence obtained by linear expansion/contraction, it is possible to prevent the time axis expansion/contraction from becoming too large. Next, the present invention will be explained in detail using the drawings.

2個のパターンを比較する例として、特徴ベクトルの時
系数A,,ん・・・・・・・・・An(以下肉太の文字
はベクトルを表わす)からなるパターンAと、特徴ベク
トルの時系列B,,&…・・・…Bmからなるパターン
Bとの間の対応づけを選んで類似度を計算するものとす
る。
As an example of comparing two patterns, pattern A consisting of the time series number A,,......An (the bold letters hereafter represent vectors) of feature vectors, and It is assumed that the similarity is calculated by selecting the correspondence between the pattern B and the pattern B consisting of the series B, , &...Bm.

第1図は時間軸伸縮の方法を説明するための図である。
同図において、パターンAの時系列の数nとパターンB
の時系列の数mは必ずしも同じではない。そのためパタ
ーンの時系列を比例関係で対応させることはできないが
、先ず図中の黒丸で示すようにほぼ比例関係が得られる
ように対応づけが行われる。今後述する計算方式に従っ
て特徴ベクトルBJが既に対応づけられているとき、特
徴ベクトルAMとの対応づけとして、パターンBの上記
第i点時点近傍として例えばj,j+・,j十2の3つ
の時点が選ばれ、上記パターンAの特徴ベクトルBi,
Bi十.,Bj+2の内最も類似度の大きいベクトルB
kを選び出す。
FIG. 1 is a diagram for explaining a method of expanding and contracting the time axis.
In the same figure, the number n of time series of pattern A and pattern B
The number m of time series is not necessarily the same. Therefore, although it is not possible to make the time series of the patterns correspond in a proportional relationship, first, the correspondence is made so that a nearly proportional relationship is obtained as shown by the black circles in the figure. When the feature vector BJ has already been correlated according to the calculation method that will be described later, three points in the vicinity of the i-th point of the pattern B, for example, j, j+. is selected, and the feature vector Bi,
Bi ten. , Bj+2, the vector B with the highest degree of similarity
Select k.

一方特徴ベクトルAi+,を比例的に対応させたパター
ンBのベクトルをBIとするとき、上記Ai+,とB,
との間の類似度と上記特徴ベクトルAi十,とベクトル
Bkとの間の類似度とを比較する。両者の比較によりベ
クトルAi十,とB,との間の類似度がより大きい場合
には、特徴ベクトルAMをベクトル8,に対応づけ、そ
の後次の時点に比較動作を進める。尚特徴ベクトルAM
とベクトルBIとの類似度が大きい状態で更にパターン
B内の第1時点近傍の時点、例えば図中△で示した1一
,,1,1十・の3つの時点で、特徴ベクトルAi+,
と最も類似度の大きいベクトルをAi+,に対応づけて
次の時点に進めることもできる。上記類似度の比較操作
を、n個の時系列の特徴ベクトルA,からAnまで行な
ってパターンBに対応づける。第2図は上記本発明の計
算方式を実行するための装置を示すブロックである。
On the other hand, when the vector of pattern B in which the feature vectors Ai+, are made to correspond proportionally is BI, then the above Ai+, and B,
The similarity between the feature vector Ai and the vector Bk is compared with that between the feature vector Ai and the vector Bk. If the similarity between the vectors Ai and B is greater by comparing them, the feature vector AM is associated with the vector 8, and the comparison operation is then proceeded to the next point in time. Furthermore, the feature vector AM
In a state where the similarity between the vector BI and the vector BI is large, the feature vector Ai+,
It is also possible to associate the vector with the highest degree of similarity with Ai+, and proceed to the next point in time. The above-described similarity comparison operation is performed for n time-series feature vectors A, to An to be associated with pattern B. FIG. 2 is a block diagram showing an apparatus for executing the calculation method of the present invention.

M,は標準パターンAを記憶するメモリで、該メモリM
,の内容は中央制御部Cから与えられる命令によって続
み出され、ある時点における標準パターンの特徴ベクト
ルが次段のメモリM2に与えられる。M3及びM4は同
様に夫々入力パターンBのために設けられたメモリで、
メモリM3にはパタ−ンが、メモリM4には続み出され
た特徴ベクトルが書き込まれる。特徴ベクトルが書込ま
れているメモリM2及びM4の内容は類似度計算部Lに
与えられて、標準パターン及び入力パターンの各特徴ベ
クトル間の類似度が、上述の比較原理に基し、て計算さ
れる。計算結果はメモリM5に転送されて保持される。
既ち、入力パターンB内の第i時点近傍での線形計算処
理過程で、メモリM5には特徴ベクトルAMとベクトル
Bi,Bi十・,Bi十2の間の類似度(以下モードQ
と呼ぶ)が、第1時点近傍での非線形計算については特
徴ベクトルAi十,とベクトルB1、若しくは特徴ベク
トルA川とベクトルBH,B,,B,十,の間の類似度
(以下モード8と呼ぶ)が計算されて保持される。X.
は最大値検出部で、メモリ地に保持された類似度の内最
大の値を検出する。上記モードoで計算が実行された場
合には、最大値とその特徴ベクトルの位置する時系列内
のフレーム番号がゲートGを介して保持部M6に書込ま
れる。一方モード8の計算が実行された場合は最大値及
びそのフレーム番号が保持部M7に書込まれる。保持部
M6及び保持部M7に書込まれたモードは及びモード8
の計算結果は、制御部Cから与えられる指令に基し、て
比較部X2で比較され、大きい値の方が選択されて加算
メモリM8に記録される。一方上記比較部X2で比較動
作が実行された結果、類似度が最大として選ばれた特徴
ベクトルの入力パターン内の時系列のフレーム番号は制
御部Cへ転送される。制御部Cでは転送されてきたフレ
ーム番号を次の時点のモードQを計算する際に参照し、
上記計算動作と同様の類似度を計算するためにメモリM
4へ特徴ベクトルを送る指令を出す。上記計算動作を順
次フレーム番号毎に実行して各計算結果を加算メモリM
8で加算し、メモリ舷の内容から、参照された標準パタ
ーンの内例えば最も類似度の大きい標準パターンが入力
パターンを認識するために用いられる。以上本発明によ
れば、単純に類似度を最大とするベクトルとの対応づけ
を各時点毎に行なって従来に比較して計算を少なくする
と同時に、線形伸縮で得られる対応づけと比較すること
により、時間軸伸縮が大きく謀まるのを防ぐことができ
、少ない計算量でより効率的なパターン類似度を求める
ことができる。
M, is a memory that stores the standard pattern A;
, are read out in response to instructions given from the central control unit C, and the feature vector of the standard pattern at a certain point in time is given to the next stage memory M2. Similarly, M3 and M4 are memories provided for input pattern B, respectively.
The pattern is written into the memory M3, and the extracted feature vector is written into the memory M4. The contents of the memories M2 and M4 in which the feature vectors are written are given to the similarity calculation unit L, and the similarity between each feature vector of the standard pattern and the input pattern is calculated based on the above-mentioned comparison principle. be done. The calculation results are transferred to and held in memory M5.
Already, in the process of linear calculation near the i-th time point in the input pattern B, the similarity between the feature vector AM and the vectors Bi, Bi1, Bi12 (hereinafter mode Q) is stored in the memory M5.
For nonlinear calculations near the first time point, the similarity between the feature vector Ai and the vector B1, or the feature vector A and the vector BH,B,,B,1 (hereinafter referred to as mode 8) is ) is calculated and stored. X.
is a maximum value detection unit that detects the maximum value among the similarities held in the memory location. When the calculation is executed in the above mode o, the maximum value and the frame number in the time series in which the feature vector is located are written into the holding unit M6 via the gate G. On the other hand, when calculation in mode 8 is executed, the maximum value and its frame number are written into the holding unit M7. The modes written in holding unit M6 and holding unit M7 are and mode 8.
The calculation results are compared in the comparison section X2 based on a command given from the control section C, and the larger value is selected and recorded in the addition memory M8. On the other hand, as a result of the comparison operation performed by the comparison unit X2, the time-series frame number in the input pattern of the feature vector selected as having the maximum similarity is transferred to the control unit C. The control unit C refers to the transferred frame number when calculating the mode Q at the next time,
The memory M is used to calculate the similarity similar to the above calculation operation.
Issue a command to send the feature vector to 4. The above calculation operation is executed sequentially for each frame number and each calculation result is added to the memory M.
8, and from the contents of the memory port, among the referenced standard patterns, for example, the standard pattern with the highest degree of similarity is used to recognize the input pattern. As described above, according to the present invention, by simply making a correspondence with a vector that has the maximum degree of similarity at each point in time to reduce calculations compared to the conventional method, and at the same time, by comparing it with a correspondence obtained by linear expansion and contraction. , it is possible to prevent large scale expansion and contraction of the time axis, and more efficient pattern similarity can be obtained with a small amount of calculation.

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

第1図は本発明による計算方式を説明するための原理説
明図、第2図は本発明の原理を実行する装置のブロック
図である。 A,,ん………An:パターンAの特徴ベクトル、B,
,&………BmパターンBの特徴べクトル、C:制御部
、L:類似度計算部、X,:最大値検出部、X2:比較
部、X8:加算メモリ、M.,M2,M3,M4,M5
,M6,M7:メモリ。 第1図第2図
FIG. 1 is a principle explanatory diagram for explaining the calculation method according to the present invention, and FIG. 2 is a block diagram of a device that implements the principle of the present invention. A,, An: Feature vector of pattern A, B,
, &...Bm Feature vector of pattern B, C: control unit, L: similarity calculation unit, X,: maximum value detection unit, X2: comparison unit, X8: addition memory, M. , M2, M3, M4, M5
, M6, M7: memory. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1 特徴ベクトルの時系列A_1,A_2,……A_n
からなるパターンAとベクトルB_1,B_2……B_
mからなるパターンBとの類似度を求める計算方式にお
いて、上記パターンAの特徴ベクトルを記憶するメモリ
と、パターンBのベクトルを記憶するメモリと、各メモ
リの内容を続み出して類似度を演算する計算部であって
、ある時点iに対して次の時点(i+_1)の特徴ベク
トルA_i_+_1とパターンB内の第j時点近傍の特
徴ベクトルの中で最も類似度の大きいベクトルB_k及
びパターンAとパターンBの間に対応づけを時間的にお
互いに比例関係を結んだ状態で特徴ベクトルA_i_+
_1に対応づけられるパターンBのベクトルB_1とを
夫々演算する計算部と、上記ベクトルB_k及びベクト
ルB_1の各類似度を比較する比較部と、比較結果に基
いて次時点の類似度計算のための特徴ベクトルを設定す
る制御部とを備え、上記ベクトルA_i_+_1に対す
る類似度がベクトルB_kに比べてベクトルB_1の方
が大きい場合には、ベクトルB_1もしくはパターンB
内の第1時点近傍で最もベクトルA_i_+_1と類似
度の大きいものを特徴ベクトルA_i_+_1に対応づ
けを行ない、特徴ベクトルA_i_+_1に対する類似
度がベクトルB_1に比べてB_kの方が大きい場合は
、ベクトルB_kを特徴ベクトルA_i_+_1に対応
づけを行なって、パターン間の類似度を計算することを
特徴とするパターン類似度計算方式。
1 Time series of feature vectors A_1, A_2, ...A_n
Pattern A consisting of vectors B_1, B_2...B_
In the calculation method for calculating the similarity with pattern B consisting of m, the similarity is calculated by sequentially reading out the memory that stores the feature vector of pattern A, the memory that stores the vector of pattern B, and the contents of each memory. A calculation unit that calculates a feature vector A_i_+_1 of the next time point (i+_1) for a certain time point i, a vector B_k with the highest degree of similarity among the feature vectors near the j-th time point in pattern B, and pattern A and the pattern. The feature vector A_i_+
A calculation unit that calculates the vector B_1 of the pattern B associated with _1, a comparison unit that compares the degrees of similarity of the vector B_k and vector B_1, and a calculation unit that calculates the degree of similarity at the next point in time based on the comparison result. and a control unit that sets a feature vector, and when the degree of similarity of vector B_1 to the vector A_i_+_1 is greater than vector B_k, vector B_1 or pattern B is provided.
The feature vector A_i_+_1 is associated with the feature vector A_i_+_1 that has the highest similarity to the vector A_i_+_1 near the first point in time. If B_k has a greater similarity to the feature vector A_i_+_1 than the vector B_1, the vector B_k is assigned as a feature. A pattern similarity calculation method characterized by calculating the similarity between patterns by making a correspondence with the vector A_i_+_1.
JP55043811A 1980-03-31 1980-03-31 Pattern similarity calculation method Expired JPS604506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55043811A JPS604506B2 (en) 1980-03-31 1980-03-31 Pattern similarity calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55043811A JPS604506B2 (en) 1980-03-31 1980-03-31 Pattern similarity calculation method

Publications (2)

Publication Number Publication Date
JPS56140474A JPS56140474A (en) 1981-11-02
JPS604506B2 true JPS604506B2 (en) 1985-02-04

Family

ID=12674119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55043811A Expired JPS604506B2 (en) 1980-03-31 1980-03-31 Pattern similarity calculation method

Country Status (1)

Country Link
JP (1) JPS604506B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6297106U (en) * 1985-12-09 1987-06-20
WO2020080402A1 (en) 2018-10-17 2020-04-23 Jfeスチール株式会社 Steel sheet and manufacturing method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6297106U (en) * 1985-12-09 1987-06-20
WO2020080402A1 (en) 2018-10-17 2020-04-23 Jfeスチール株式会社 Steel sheet and manufacturing method therefor

Also Published As

Publication number Publication date
JPS56140474A (en) 1981-11-02

Similar Documents

Publication Publication Date Title
JPH0355869B2 (en)
JPS6024994B2 (en) Pattern similarity calculation method
US4882756A (en) Pattern matching system using dynamic programming
JPS604506B2 (en) Pattern similarity calculation method
JPS6360919B2 (en)
JPH0568718B2 (en)
US5365599A (en) Method and system of converting delineative pattern
CN115619822A (en) Tracking method based on object-level transformation neural network
US4670850A (en) Pattern matching apparatus
JPS638797A (en) Pattern recognition
JPS59161782A (en) Pattern matching method
JP2689741B2 (en) A character recognition device and a post-processing data creation method for determining a recognized character.
JP2807251B2 (en) Graphic data smoothing processing device
JPS60182494A (en) Voice recognition equipment
JP2518871B2 (en) Pattern comparator
JPS61133997A (en) Dp matching apparatus for voice recognition
JP2518157B2 (en) Method and device for generating revision history of program
JP2855665B2 (en) Character recognition method
JPS62187399A (en) Reference pattern generation circuit
JPS61201323A (en) Data output system for optical character recognizing device
CN116433727A (en) Scalable single-stream tracking method based on staged continuous learning
JPS6231900A (en) Voice recognition equipment
JPS61105685A (en) Coding method of character tracing
JPS63257085A (en) Pattern recognition system
JPH0652305A (en) Data compressing device