JPH05324917A - Fuzzy pattern recognizing device - Google Patents

Fuzzy pattern recognizing device

Info

Publication number
JPH05324917A
JPH05324917A JP4130608A JP13060892A JPH05324917A JP H05324917 A JPH05324917 A JP H05324917A JP 4130608 A JP4130608 A JP 4130608A JP 13060892 A JP13060892 A JP 13060892A JP H05324917 A JPH05324917 A JP H05324917A
Authority
JP
Japan
Prior art keywords
pattern
matching
recognition
fuzzy
fit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4130608A
Other languages
Japanese (ja)
Other versions
JP2732753B2 (en
Inventor
Masahito Tanaka
雅人 田中
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP4130608A priority Critical patent/JP2732753B2/en
Publication of JPH05324917A publication Critical patent/JPH05324917A/en
Application granted granted Critical
Publication of JP2732753B2 publication Critical patent/JP2732753B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To provide a fuzzy pattern recognizing device which can accelerate an operation processing for calculating the degree of recognition by comparing the pattern of a recognizing object with a pattern for collation. CONSTITUTION:A first processor 3 calculates the degree of recognition with an arithmetic operation using the adaptability of the pattern for collation concerning the pattern of the inputted recognizing object. A second processor 8 previously calculates the adaptability for the parameter of the pattern for collation and for the respective dots of the pattern for collation calculated by a three-dimensional membership function concerning all the patterns for collation and stores the results in a fuzzy template adaptability storage part 6 and an average adaptability storage part 7 for the total adaptability of ideal input patterns. In the case of pattern recognition, the pattern of the recognizing object and the pattern for collation are comparatively operated by a first processor 3 while referring to the values of the adaptability stored in the storage parts 6 and 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ファジィ理論を利用し
て、例えば活字体に対する手書き文字のように基本パタ
ーンから変形されたパターンについても的確に認識する
機能を備えたファジィパターン認識装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fuzzy pattern recognition apparatus having a function of accurately recognizing a pattern transformed from a basic pattern, such as a handwritten character for a typeface, by using a fuzzy theory.

【0002】[0002]

【従来の技術】従来のパターン認識装置は、一般に形状
が厳密に定められたパターンを認識するものであるが、
手書き文字のように一定の形状に限定されない曖昧なパ
ターンでも認識するための手段としてニューラルネット
ワークを用いる方法が知られている。これは、予め認識
対象のパターンについて学習をすることによりニューラ
ルネットワークを形成し、それによって入力パターンを
認識するものである。
2. Description of the Related Art A conventional pattern recognition device generally recognizes a pattern whose shape is strictly defined.
A method using a neural network is known as a means for recognizing an ambiguous pattern that is not limited to a certain shape such as handwritten characters. In this, a neural network is formed by learning a pattern to be recognized in advance, and the input pattern is recognized thereby.

【0003】しかし、このニューラルネットワークを用
いる方法は、学習という作業を必要とし、識別すべきパ
ターンの候補が増えるたびに再学習が必要である。ま
た、ニューラルネットがブラックボックスであって、認
識対象のパターン信号を取り込む入力装置の経年変化等
により、識別すべきパターンの候補の特徴に変化が認め
られた場合、それを装置の動作に反映することが難し
く、誤認識が発生することもある等の問題点がある。
However, the method using this neural network requires a work of learning, and requires re-learning each time the number of pattern candidates to be identified increases. In addition, if the neural network is a black box and changes in the characteristics of the candidate of the pattern to be identified due to secular change of the input device that takes in the pattern signal of the recognition target, it is reflected in the operation of the device. It is difficult to do so, and there is a problem that erroneous recognition may occur.

【0004】これに対し、近年ファジィ理論を用いて曖
昧なパターンを認識する方法が提案されている。この方
法は、例えば「この部分の近傍に縦の線がある」のよう
に、パターンの特徴に関する知識を複数個持っていてそ
れらを一つ一つチェックすることを基本としている。し
かしながら、ファジィ理論による従来のパターン認識方
法では、ソフトウエアを含むシステム開発に際してパタ
ーンの特徴に関する知識を獲得する作業(ルール作成作
業)が必要であり、実際のパターン認識を行う際にパタ
ーンの特徴抽出アルゴリズムが必要となる。そのため、
多くのルールとファジィ集合のメンバシップ関数を必要
とし、処理が複雑になるという問題点があった。
On the other hand, in recent years, a method of recognizing an ambiguous pattern using a fuzzy theory has been proposed. This method is based on having a plurality of knowledge about the characteristics of the pattern and checking them one by one, such as "there is a vertical line near this portion". However, in the conventional pattern recognition method based on the fuzzy theory, it is necessary to acquire knowledge about pattern features (rule creation work) when developing a system including software, and pattern feature extraction is performed when actual pattern recognition is performed. An algorithm is needed. for that reason,
There is a problem that processing is complicated because many rules and membership functions of fuzzy sets are required.

【0005】[0005]

【発明が解決しようとする課題】そこで、発明者は、従
来のファジィ理論によるパターン認識の問題点を解決す
るものとして、予め設定したファジィ集合のメンバシッ
プ関数を組み合わせることにより、認識対象と照合すべ
き基本的なパターンを用意しておき、これと認識対象の
パターンを比較することにより、当該パターンを評価す
るための指標である確信度を算出するようにしたパター
ン認識方法を先に提案した(特願平2−274355
号)。この方法によれば、任意の形状(例えば楕円)の
境界を有するファジィ領域を示すメンバシップ関数を組
み合わせることで、認識対象と照合されるパターンが形
成されるので、学習のように手間のかかる作業に要せず
に効率よく文字や図形等のパターンを認識することがで
きる。なお、この方法でメンバシップ関数を組み合わせ
ることによって形成される照合用のパターンを「ファジ
ィテンプレート」と呼ぶこととし、本明細書でも、この
「ファジィテンプレート」を用いる。
Therefore, as a solution to the problem of pattern recognition based on the conventional fuzzy theory, the inventor combines a preset fuzzy set membership function to collate it with a recognition target. We have proposed a pattern recognition method that prepares a basic pattern that should be used and compares it with the pattern to be recognized to calculate the certainty factor, which is an index for evaluating the pattern ( Japanese Patent Application No. 2-274355
issue). According to this method, a pattern to be collated with a recognition target is formed by combining membership functions indicating a fuzzy region having a boundary of an arbitrary shape (for example, an ellipse). It is possible to efficiently recognize patterns such as characters and figures without needing to do so. The matching pattern formed by combining the membership functions by this method is called a "fuzzy template", and this "fuzzy template" is also used in this specification.

【0006】ここで、「8」という数字を例にとって説
明すると、ファジィテンプレートは次のように表現され
る。
Here, taking the number "8" as an example, the fuzzy template is expressed as follows.

【0007】中心点が (6, 15)で半径4.5 の円を適合
度1とする3次元楕円メンバシップ関数の適合度の範囲
を[-1, 1] に拡張したもの(「8」の上部の円)
An extension of the range of goodness of fit of a three-dimensional elliptic membership function with a goodness of fit of a circle having a center point of (6, 15) and a radius of 4.5 to [-1, 1] (the upper part of "8") Circle)

【0008】[0008]

【数1】 [Equation 1]

【0009】中心点が(6, 6)で半径が 4.5の円を適合
度1とする3次元楕円メンバシップ関数の適合度の範囲
を[-1, 1] に拡張した場合(「8」の下部の円)
When the range of goodness of fit of a three-dimensional elliptic membership function having a goodness of fit of a circle having a center point of (6, 6) and a radius of 4.5 is [-1, 1] (of "8", Bottom circle)

【0010】[0010]

【数2】 [Equation 2]

【0011】ここで、適合度の範囲を[-1, 1] に拡張し
た理由は、不適当な入力座標値に対しては−(マイナ
ス)の評価値を与えるためで、例えば真っ黒な画像信号
が入力された時、後述の適合度の総和が小さい値になる
ようにするためである。
The reason for expanding the range of the fitness to [-1, 1] is to give an evaluation value of- (minus) to an inappropriate input coordinate value. For example, a black image signal This is because, when is input, the total sum of the degree of conformity described later becomes a small value.

【0012】「8」のファジィテンプレートは、上記
との組み合わせによって作られる次の関数で表現され
る。
The fuzzy template of "8" is expressed by the following function created by the combination with the above.

【0013】f=max(f1 ,f2 ) …(3) 上式に対して、図2に示すように、横12個×縦21個
のドットをxy座標平面上に設定する。すなわち、
「8」の文字を包含する領域をx軸方向に12個、y軸
方向に21個の領域に分割し、各領域(ドット)を文字
の形に対応した2値信号に変換する。ここで、空白の領
域は2値信号の“0”に変換し、黒の領域は2値信号の
“1”に変換する。大きさの補正としては、上下左右そ
れぞれの端から2つ目の黒領域が上下左右それぞれの端
から2列目に入るようにする。
F = max (f 1 , f 2 ) (3) With respect to the above equation, as shown in FIG. 2, 12 horizontal dots × 21 vertical dots are set on the xy coordinate plane. That is,
An area including the character "8" is divided into 12 areas in the x-axis direction and 21 areas in the y-axis direction, and each area (dot) is converted into a binary signal corresponding to the character shape. Here, the blank area is converted into a binary signal “0”, and the black area is converted into a binary signal “1”. As the size correction, the second black areas from the upper, lower, left, and right ends are placed in the second column from the upper, lower, left, and right ends, respectively.

【0014】このとき、図7に示すパターンが入力され
たものとすると、12×21=252 個のドットのうちn=42
個に、2値信号の“1”(黒)が与えられる。
At this time, assuming that the pattern shown in FIG. 7 is input, n = 42 out of 12 × 21 = 252 dots.
The binary signal “1” (black) is given to each of the two.

【0015】そこで、上式(3) のメンバシップ関数fを
用いて、これらn個の黒いドットの適合度の総和T1
各ドット当りの平均適合度S1 =T1/nとを求める。図
7のの例では、n=42個の黒いドットの座標値によって
算出される適合度の合計T1=36.05 、平均適合度S1
=36.05/42=0.858 となる。
Therefore, by using the membership function f of the above equation (3), the sum T 1 of the fitness of these n black dots and the average fitness S 1 = T 1 / n for each dot are obtained. .. In the example shown in FIG. 7, the total fitness T 1 = 36.05 calculated by the coordinate values of n = 42 black dots, and the average fitness S 1
= 36.05 / 42 = 0.858.

【0016】同様に、最も理想的な「8」のパターンが
入力された場合の適合度の総和T2と平均適合度S2
求める。この場合、44個の黒いドットの適合度の総和T
2 =43.59 、平均適合度S2 =43.59/44=0.991 とな
る。
Similarly, the sum T 2 of the goodness of fit and the average goodness of fit S 2 when the most ideal “8” pattern is input are obtained. In this case, the sum T of the suitability of 44 black dots
2 = 43.59 and the average goodness of fit S 2 = 43.59 / 44 = 0.991.

【0017】上記の結果から、適合度の総和(総適合
度)の比率T1/T2 と平均適合度の比率S1/S2 の加重
平均をとることにより、確信度を算出する。この場合、
確信度は次のようになる。
From the above results, the confidence is calculated by taking the weighted average of the ratio T 1 / T 2 of the total sum of the goodness of fit (total goodness of fit) and the ratio S 1 / S 2 of the average goodness of fit. in this case,
The confidence is as follows.

【0018】[0018]

【数3】 [Equation 3]

【0019】なお、総適合度の比率T1/T2 は、場合に
よっては1を越えてしまうが、その場合は無条件に1と
する。すなわち、min(T1/T2,1) とする。
The ratio T 1 / T 2 of the total goodness of fit exceeds 1 in some cases, but in that case, it is unconditionally set to 1. That is, min (T 1 / T 2 , 1).

【0020】ここで、ファジィテンプレートは次のよう
に表示される。すなわち、3次元メンバシップ関数の台
集合平面(適合度を表わす座標軸以外の2つの座標軸に
よって構成される座標平面)を、図2のように有限個の
ドットに分割し、各ドットの中心点の座標値によって得
られる3次元メンバシップ関数の適合度が得られると、
各ドット毎の適合度の大きさに比例する半径の黒塗りの
円を各ドット内に表示する。これにより、図7に示され
たファジィテンプレートのように、適合度の高い所ほど
黒っぽく、適合度の低い所ほど白っぽく表示される。
Here, the fuzzy template is displayed as follows. That is, as shown in FIG. 2, a three-dimensional membership function base set plane (a coordinate plane formed by two coordinate axes other than the coordinate axis indicating the goodness of fit) is divided into a finite number of dots, and the center point of each dot is When the goodness of fit of the three-dimensional membership function obtained by the coordinate values is obtained,
A black circle with a radius proportional to the size of the goodness of fit for each dot is displayed in each dot. As a result, like the fuzzy template shown in FIG. 7, a place with a high degree of conformity is displayed in black, and a place with a low degree of conformity is displayed in white.

【0021】しかしながら、上記のファジィパターン認
識方法では、入力パターンとファジィテンプレートとの
照合を行うために必要な入力パターンのファジィテンプ
レートに対する適合度は、3次元メンバシップ関数式に
より計算しなければならないので、それだけ長い演算時
間がかかる。また、ファジィテンプレートを形成するた
めに理想的な入力パターンをマニュアル操作で予め設定
し、照合の際、その理想的な入力パターンについての適
合度の計算を行わなければならないので、操作に手間が
かかると共に演算時間も更に長くなるという問題があっ
た。
However, in the above fuzzy pattern recognition method, the degree of conformity of the input pattern with respect to the fuzzy template, which is necessary for matching the input pattern with the fuzzy template, must be calculated by the three-dimensional membership function formula. , It takes a long calculation time. In addition, the ideal input pattern for forming a fuzzy template is manually set in advance, and the matching degree for the ideal input pattern must be calculated when matching, which is troublesome for the operation. At the same time, there is a problem that the calculation time becomes longer.

【0022】故に、本発明の目的は、ファジィ集合を表
わすメンバシップ関数に基づいてパターン認識を行う装
置において、認識対象のパターンを照合用パターンと比
較して認識の確信度を算出する演算処理を高速化できる
ファジィパターン認識装置を提供することである。
Therefore, an object of the present invention is to perform a calculation process for calculating a certainty factor of recognition by comparing a pattern to be recognized with a pattern for collation in a device which performs pattern recognition based on a membership function representing a fuzzy set. An object of the present invention is to provide a fuzzy pattern recognition device capable of speeding up.

【0023】[0023]

【課題を解決するための手段】本発明は、ファジィ集合
を表わすメンバシップ関数に基づいてパターン認識を行
う装置において、認識対象のパターンを入力するパター
ン入力部と、前記メンバシップ関数を1以上発生し、該
メンバシップ関数を組み合わせることにより、前記パタ
ーン入力部から入力される認識対象のパターンを認識す
るための照合用パターンを形成する照合パターン形成手
段と、前記パターン入力部から入力された認識対象のパ
ターンを前記照合パターン形成手段で形成された照合用
パターンと比較することにより認識の確信度を算出する
演算処理手段とを備え、演算処理手段は、前記照合用パ
ターンのパラメータと3次元メンバシップ関数を用いて
算出される照合用パターンの各ドットの適合度を、全て
の照合用パターンについて予め求めて記憶しておき、パ
ターン認識の際には、記憶されている適合度の値を参照
することにより、前記認識対象のパターンと前記照合用
パターンとの比較を行うことを特徴とする。
According to the present invention, in a device for pattern recognition based on a membership function representing a fuzzy set, a pattern input section for inputting a pattern to be recognized and one or more membership functions are generated. Then, by combining the membership functions, a matching pattern forming means for forming a matching pattern for recognizing a recognition target pattern input from the pattern input section, and a recognition target input from the pattern input section. And a calculation processing means for calculating the certainty factor of recognition by comparing the pattern with the matching pattern formed by the matching pattern forming means, the calculation processing means including the parameters of the matching pattern and the three-dimensional membership. The matching degree of each dot of the matching pattern calculated using the function is calculated for all matching patterns. It is characterized in that the pattern to be recognized is compared with the collation pattern by referring to the stored value of the goodness of fit in the case of pattern recognition. ..

【0024】本発明の別の態様では、演算処理手段が、
予め算出した適合度の値が所定の基準値以上になるドッ
トを、理想的な入力パターンの2値の一方の値とみなす
ことによって得られるパターンを、照合用パターンに対
応する理想的な入力パターンとして、総適合度と平均適
合度の値を求めて記憶することを特徴とする。
In another aspect of the present invention, the arithmetic processing means comprises:
An ideal input pattern corresponding to the matching pattern is a pattern obtained by considering a dot whose pre-calculated fitness value is equal to or greater than a predetermined reference value as one of two values of the ideal input pattern. Is characterized in that the values of the total goodness of fit and the average goodness of fit are obtained and stored.

【0025】[0025]

【作用】本発明においては、演算処理手段が、照合用パ
ターン(ファジィテンプレート)のパラメータと3次元
メンバシップ関数式を用いて算出される各ドットの適合
度を、全ての照合用パターンについて予め計算し、その
計算結果の値(適合度)を記憶する。そして、パターン
認識の際には、3次元メンバシップ関数式による適合度
計算は行わず、上記の記憶された値を参照して、入力パ
ターンと照合用パターンとの比較演算を行う。このた
め、高速照合が可能となり、パターン認識のための演算
時間が大幅に短縮される。
In the present invention, the arithmetic processing means preliminarily calculates the suitability of each dot calculated using the parameters of the matching pattern (fuzzy template) and the three-dimensional membership function formula for all the matching patterns. Then, the value (fitness) of the calculation result is stored. Then, at the time of pattern recognition, the fitness calculation by the three-dimensional membership function expression is not performed, and the comparison calculation between the input pattern and the matching pattern is performed with reference to the stored value. Therefore, high-speed matching is possible, and the calculation time for pattern recognition is significantly shortened.

【0026】また、予め計算された適合度の値が所定の
基準値以上になるドットを、理想的な入力パターンの2
値の一方の値(例えば2値{0,1}の“ON”となる
“1”)とみなすことによって得られるパターンを、照
合用パターンに対応する理想的な入力パターンとして、
総適合度と平均適合度の値を求めて記憶する。パターン
認識時には、これらの記憶された値を参照することによ
り、入力パターンと照合用パターンとの照合を高速に行
うことができる。
Further, a dot whose pre-calculated fitness value is equal to or larger than a predetermined reference value is defined as an ideal input pattern 2
A pattern obtained by regarding one of the values (for example, “1” that becomes “ON” of binary {0,1}) is an ideal input pattern corresponding to the matching pattern.
The values of the total goodness of fit and the average goodness of fit are obtained and stored. At the time of pattern recognition, by referring to these stored values, the input pattern and the matching pattern can be matched at high speed.

【0027】[0027]

【実施例】図1は、本発明に係るファジィパターン認識
装置の一実施例を示すブロック図である。この装置は、
文字を認識するように構成されたもので、以下の構成要
素から成る。
1 is a block diagram showing an embodiment of a fuzzy pattern recognition apparatus according to the present invention. This device
It is configured to recognize characters and consists of the following components.

【0028】画像読取装置1は、活字体又は手書き文字
の画像を読み取るために、認識対象を照明する光源と、
画像の反射光により画像を読み取って電気信号に変換す
る光電変換器とを含む。或いは、感圧式の手書き文字入
力装置を用いてもよい。
The image reading device 1 includes a light source for illuminating a recognition target in order to read an image of a typeface or handwritten characters,
A photoelectric converter that reads an image by reflected light of the image and converts the image into an electric signal is included. Alternatively, a pressure-sensitive handwritten character input device may be used.

【0029】信号変換部2は、画像読取装置1により読
み取られた画像信号を、例えば“0”(=「白」)又は
“1”(=「黒」)の2値信号に変換し、また、読み取
り画像の大きさを補正するように構成されている。この
補正(スケーリング)は、例えば文字が上下につぶれた
形状である場合には、その形状を上下に引き延ばすこと
になる。
The signal conversion section 2 converts the image signal read by the image reading apparatus 1 into a binary signal of, for example, "0" (= "white") or "1" (= "black"), and , Is configured to correct the size of the read image. This correction (scaling) extends the shape up and down, for example, when the character has a shape crushed up and down.

【0030】上記の画像読取装置1と信号変換部2と
で、認識対象のパターンを入力するためのパターン入力
部を構成する。
The image reading device 1 and the signal conversion unit 2 constitute a pattern input unit for inputting a pattern to be recognized.

【0031】第1のプロセッサ3は、信号変換部2によ
り2値化され且つ形状が補正された読み取り画像(入力
パターン)を認識する。すなわち、認識対象のパターン
が入力されると、後述の記憶部6及び7に記憶されてい
る情報を参照して、当該入力パターンの照合用パターン
(ファジィテンプレート)に対する照合演算を行い、認
識確信度を算出する。更に、境界が曖昧な他のパターン
と比較して最も確信度が高いパターンに分類し、認識結
果を出力する。
The first processor 3 recognizes the read image (input pattern) which has been binarized and whose shape has been corrected by the signal conversion unit 2. That is, when a pattern to be recognized is input, a matching calculation is performed on the matching pattern (fuzzy template) of the input pattern with reference to the information stored in the storage units 6 and 7 described later, and the recognition certainty factor is calculated. To calculate. Further, the pattern is classified into the pattern with the highest certainty as compared with other patterns with ambiguous boundaries, and the recognition result is output.

【0032】このプロセッサ3による認識結果を示すパ
ターンは、信号変換部4により2値化信号からアナログ
信号に変換され、CRT等の出力装置5により出力され
る。
The pattern indicating the recognition result by the processor 3 is converted from a binarized signal to an analog signal by the signal conversion unit 4 and output by the output device 5 such as a CRT.

【0033】ファジィテンプレート適合度記憶部6は、
後述の第2のプロセッサ8により、照合用パターン(フ
ァジィテンプレート)のパラメータと3次元メンバシッ
プ関数式を用いて算出された全てのファジィテンプレー
トの各ドットの適合度の値を記憶する。
The fuzzy template suitability storage unit 6
A second processor 8, which will be described later, stores the values of the goodness of fit of each dot of all fuzzy templates calculated using the parameters of the matching pattern (fuzzy template) and the three-dimensional membership function formula.

【0034】理想的入力パターンの総適合度及び平均適
合度記憶部7は、同様に第2のプロセッサ8により、上
記適合度の値が所定の基準値以上になるドットを、理想
的な入力パターンの2値の一方の値(例えば2値{0,
1}の“ON”となる“1”)とみなすことによって得
られるパターンを、照合用パターンに対応する理想的な
入力パターンとして、算出された総適合度と平均適合度
の値を記憶する。
Similarly, the total goodness-of-fit and average goodness-of-fit storage unit 7 of the ideal input pattern is determined by the second processor 8 so that the dots having the value of the goodness of fit of a predetermined reference value or more are converted into the ideal input pattern. One of the two values (for example, the binary value {0,
The calculated values of the total goodness-of-fit and the average goodness-of-fit are stored as the ideal input pattern corresponding to the pattern for collation, which is obtained by regarding 1} which is “ON” of 1}.

【0035】ファジィテンプレートパラメータ記憶部9
は、入力パターンを認識するための基準となるファジィ
テンプレートのパラメータを記憶する。この記憶部9に
記憶されたファジィテンプレートのパラメータは、コン
ピュータの端末装置として用いられるCRTとキーボー
ドのようなマンマシンインタフェース10を介して、マ
ニュアルで調整及び変更可能である。
Fuzzy template parameter storage unit 9
Stores the parameters of a fuzzy template which serves as a reference for recognizing the input pattern. The fuzzy template parameters stored in the storage unit 9 can be manually adjusted and changed via a CRT used as a terminal device of a computer and a man-machine interface 10 such as a keyboard.

【0036】3次元メンバシップ関数発生装置11は、
ファジィテンプレートを形成するために必要なメンバシ
ップ関数を発生する。
The three-dimensional membership function generator 11 is
Generate the membership functions needed to form a fuzzy template.

【0037】上記のファジィテンプレートパラメータ記
憶部9とマンマシンインタフェース10と3次元メンバ
シップ関数発生装置11とで、照合パターン形成手段を
構成している。
The fuzzy template parameter storage unit 9, the man-machine interface 10 and the three-dimensional membership function generator 11 constitute a collation pattern forming means.

【0038】第2のプロセッサ8は、上記ファジィテン
プレートパラメータ記憶部9に格納されているパラメー
タに基づき、図2に示すような入力画像のドットに対す
るファジィテンプレートの適合度を計算し、ファジィテ
ンプレート適合度記憶部6に送る。また、上記適合度が
基準値α(例えば 0.97 )以上のドットのみを対象とし
て、総適合度と平均適合度を算出し、それらの値を理想
的入力パターンの総適合度及び平均適合度記憶部7に送
る。この第2のプロセッサ8の動作は、本装置の立ち上
げ時に行われ、パターン認識時には行われない。
The second processor 8 calculates the degree of conformity of the fuzzy template with respect to the dots of the input image as shown in FIG. 2 based on the parameters stored in the fuzzy template parameter storage unit 9, and the degree of fuzzy template conformance. It is sent to the storage unit 6. Further, the total goodness of fit and the average goodness of fit are calculated only for the dots having the goodness of fit of the reference value α (for example, 0.97) or more, and these values are stored in the total goodness of fit of the ideal input pattern and the average goodness of fit storage unit. Send to 7. The operation of the second processor 8 is performed when the apparatus is started up, and is not performed during pattern recognition.

【0039】上記のファジィテンプレート適合度記憶部
6と、理想的入力パターンの総適合度及び平均適合度記
憶部7とに記憶された内容は、実際にパターン認識を行
うとき、第1のプロセッサ3による処理で用いられる。
すなわち、第1のプロセッサ3は、上記のように記憶部
6及び7の情報を参照して入力パターンの照合演算を行
い、結果を信号変換部4に送る。
The contents stored in the fuzzy template goodness-of-fit storage unit 6 and the total goodness-of-fit and average goodness-of-fit storage unit 7 of the ideal input pattern are stored in the first processor 3 when pattern recognition is actually performed. Used in processing by.
That is, the first processor 3 refers to the information in the storage units 6 and 7 as described above, performs the input pattern matching calculation, and sends the result to the signal conversion unit 4.

【0040】なお、上記実施例では、演算処理手段とし
て2つのプロセッサ3及び8を使用するものとして説明
したが、実際の装置(ハードウエア)では、1つのCP
U(メインプロセッサ)でこれら2つのプロセッサの機
能を実現することができる。
In the above embodiment, the two processors 3 and 8 are used as the arithmetic processing means, but in the actual device (hardware), one CP is used.
U (main processor) can realize the functions of these two processors.

【0041】次に、上記実施例によるパターン認識の例
を説明する。
Next, an example of pattern recognition according to the above embodiment will be described.

【0042】「8」という数字を例にとると、ファジィ
テンプレートは、前述の式(3) で表現される。
Taking the number "8" as an example, the fuzzy template is expressed by the above-mentioned equation (3).

【0043】そして、図2に示すように横12個×縦2
1個のドットをxy座標平面上に設定し、各ドットの中
心点の座標により適合度を計算すると、図3に示す結果
が得られる。そして、これらの値を12×21の行列の
要素として、ファジィテンプレート適合度記憶部6に記
憶する。これを図に表わすと、図4のようになる。
Then, as shown in FIG. 2, horizontal 12 × vertical 2
When one dot is set on the xy coordinate plane and the fitness is calculated from the coordinates of the center point of each dot, the result shown in FIG. 3 is obtained. Then, these values are stored in the fuzzy template conformance storage unit 6 as elements of a 12 × 21 matrix. This is shown in FIG.

【0044】次に、基準値α=0.97として、図3に示さ
れた値から0.97以上の適合度を抽出すると、図5の枠で
囲んだものが該当する。このドットを理想的入力パター
ンの2値のONの値(1)とみなすと、図6に示すよう
な「8」の理想的入力パターンが決定される。このとき
のドットを対象として、前述の照合演算により総適合度
と平均適合度を算出し、それらの値を理想的入力パター
ンの総適合度及び平均適合度記憶部7に記憶する。これ
を図に表わすと、図6のようになる。
Next, when the reference value α is set to 0.97 and the conformity of 0.97 or more is extracted from the value shown in FIG. 3, the one enclosed by the frame in FIG. 5 is applicable. When this dot is regarded as the binary ON value (1) of the ideal input pattern, the ideal input pattern of "8" as shown in FIG. 6 is determined. For the dots at this time, the total goodness-of-fit and the average goodness-of-fit are calculated by the above-described matching calculation, and those values are stored in the total goodness-of-fit and average goodness-of-fit storage unit 7 of the ideal input pattern. This is shown in the figure as shown in FIG.

【0045】パターン認識のための演算処理は、第1の
プロセッサ3において上記の記憶部6及び7の値を参照
することにより、高速に行われる。
The calculation processing for pattern recognition is performed at high speed by referring to the values in the storage units 6 and 7 in the first processor 3.

【0046】[0046]

【発明の効果】上記のように、本発明によれば、パター
ン認識に必要な情報を予め求めておき、パターン認識の
際には、これらの情報を参照して入力パターンと照合用
パターンとの比較演算を行うようにしたので、パターン
認識のための演算処理時間を大幅に短縮することが可能
となり、本発明の対象とするパターン認識装置の利用分
野が拡大される。また、理想的な入力パターンをファジ
ィテンプレートに対応させて自動設定できるので、従来
のマニュアル操作の手間が省略され、操作性が向上す
る。
As described above, according to the present invention, the information necessary for pattern recognition is obtained in advance, and at the time of pattern recognition, the input pattern and the matching pattern are referred to by referring to these information. Since the comparison calculation is performed, the calculation processing time for pattern recognition can be significantly shortened, and the field of use of the pattern recognition apparatus to which the present invention is applied is expanded. Further, since an ideal input pattern can be automatically set in correspondence with the fuzzy template, the labor of the conventional manual operation is omitted and the operability is improved.

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

【図1】本発明に係るファジィパターン認識装置の一実
施例を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a fuzzy pattern recognition device according to the present invention.

【図2】入力画像の座標を示す図。FIG. 2 is a diagram showing coordinates of an input image.

【図3】数字「8」のファジィテンプレートを表わす各
ドットの適合度の値を示す図。
FIG. 3 is a diagram showing a value of a goodness of fit of each dot representing a fuzzy template of a numeral “8”.

【図4】「8」のファジィテンプレートの例を示す図。FIG. 4 is a diagram showing an example of a fuzzy template of “8”.

【図5】図3において基準値以上の適合度を示す図。FIG. 5 is a diagram showing a degree of conformance that is equal to or greater than a reference value in FIG.

【図6】「8」の理想的入力パターンの例を示す図。FIG. 6 is a diagram showing an example of an ideal input pattern of “8”.

【図7】入力パターンに対応するファジィテンプレート
による照合例を示す図。
FIG. 7 is a diagram showing a collation example using a fuzzy template corresponding to an input pattern.

【符号の説明】[Explanation of symbols]

1…画像読取装置、2…信号変換部、3…第1のプロセ
ッサ、4…信号変換部、5…出力装置、6…ファジィテ
ンプレート適合度記憶部、7…理想的入力パターンの総
適合度及び平均適合度記憶部、8…第2のプロセッサ、
9…ファジィテンプレートパラメータ記憶部、10…マ
ンマシンインタフェース、11…3次元メンバシップ関
数発生装置。
DESCRIPTION OF SYMBOLS 1 ... Image reading device, 2 ... Signal conversion part, 3 ... 1st processor, 4 ... Signal conversion part, 5 ... Output device, 6 ... Fuzzy template matching degree storage part, 7 ... Total matching degree of an ideal input pattern, and Average goodness-of-fit storage unit, 8 ... second processor,
9 ... Fuzzy template parameter storage unit, 10 ... Man-machine interface, 11 ... Three-dimensional membership function generator.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ファジィ集合を表わすメンバシップ関数に
基づいてパターン認識を行う装置において、 認識対象のパターンを入力するパターン入力部と、 前記メンバシップ関数を1以上発生し、該メンバシップ
関数を組み合わせることにより、前記パターン入力部か
ら入力される認識対象のパターンを認識するための照合
用パターンを形成する照合パターン形成手段と、 前記パターン入力部から入力された認識対象のパターン
を前記照合パターン形成手段で形成された照合用パター
ンと比較することにより認識の確信度を算出する演算処
理手段とを備え、 前記演算処理手段は、前記照合用パターンのパラメータ
と3次元メンバシップ関数を用いて算出される照合用パ
ターンの各ドットの適合度を、全ての照合用パターンに
ついて予め求めて記憶しておき、パターン認識の際に
は、記憶されている適合度の値を参照することにより、
前記認識対象のパターンと前記照合用パターンとの比較
を行うことを特徴とするファジィパターン認識装置。
1. An apparatus for pattern recognition based on a membership function representing a fuzzy set, a pattern input section for inputting a pattern to be recognized, and one or more of the membership functions are generated and the membership functions are combined. As a result, a matching pattern forming unit that forms a matching pattern for recognizing a recognition target pattern input from the pattern input unit, and a recognition target pattern input from the pattern input unit by the matching pattern formation unit And a calculation processing means for calculating the certainty factor of the recognition by comparing with the matching pattern formed in 1., the calculation processing means is calculated by using a parameter of the matching pattern and a three-dimensional membership function. The suitability of each dot in the matching pattern is calculated in advance for all matching patterns and recorded. Keeping in mind, at the time of pattern recognition, by referring to the stored goodness of fit value,
A fuzzy pattern recognition device, which compares the pattern to be recognized with the matching pattern.
【請求項2】前記演算処理手段は、予め求めた適合度の
値が所定の基準値以上になるドットを理想的な入力パタ
ーンの2値の一方の値とみなして得られるパターンを、
前記照合用パターンに対応する理想的な入力パターンと
して、総適合度及び平均適合度を求めて記憶することを
特徴とする、請求項1記載のファジィパターン認識装
置。
2. A pattern obtained by the calculation processing means by regarding a dot having a preliminarily obtained fitness value equal to or larger than a predetermined reference value as one of binary values of an ideal input pattern,
2. The fuzzy pattern recognition device according to claim 1, wherein a total goodness of fit and an average goodness of fit are obtained and stored as ideal input patterns corresponding to the matching pattern.
JP4130608A 1992-05-22 1992-05-22 Fuzzy pattern recognition device Expired - Lifetime JP2732753B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4130608A JP2732753B2 (en) 1992-05-22 1992-05-22 Fuzzy pattern recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4130608A JP2732753B2 (en) 1992-05-22 1992-05-22 Fuzzy pattern recognition device

Publications (2)

Publication Number Publication Date
JPH05324917A true JPH05324917A (en) 1993-12-10
JP2732753B2 JP2732753B2 (en) 1998-03-30

Family

ID=15038288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4130608A Expired - Lifetime JP2732753B2 (en) 1992-05-22 1992-05-22 Fuzzy pattern recognition device

Country Status (1)

Country Link
JP (1) JP2732753B2 (en)

Also Published As

Publication number Publication date
JP2732753B2 (en) 1998-03-30

Similar Documents

Publication Publication Date Title
US6347156B1 (en) Device, method and storage medium for recognizing a document image
US5809166A (en) Character recognition system which cuts between touching characters
JP4300098B2 (en) Object identification method and apparatus, program and recording medium
JP3761937B2 (en) Pattern recognition method and apparatus, and computer control apparatus
US5526440A (en) Hand-written character recognition apparatus
Chi et al. Separation of single-and double-touching handwritten numeral strings
EP0709800A2 (en) Method for designing classification trees
JP2002245441A (en) Device for extracting portrait
JP2732753B2 (en) Fuzzy pattern recognition device
JP2732752B2 (en) Fuzzy pattern recognition device
JP2909604B2 (en) Fuzzy pattern recognition method and apparatus
JP3172498B2 (en) Image recognition feature value extraction method and apparatus, storage medium for storing image analysis program
JPH07220023A (en) Method and device for table recognition
JPH05135206A (en) Fuzzy pattern recognition device
JP2732748B2 (en) Fuzzy pattern recognition device
US5821938A (en) Apparatus for shaping figures to be point symmetrical
JPH05324923A (en) Fuzzy pattern recognizing device
JPH05290169A (en) Fuzzy pattern recognizing device
JP2000076378A (en) Character recognizing method
JPH05346959A (en) Fuzzy pattern recognizing device
JP2739011B2 (en) Security system
JP3706646B2 (en) OCR control method and classification method and apparatus
JPH05290170A (en) Fuzzy pattern recognizing device
JP2812391B2 (en) Pattern processing method
JPH05314263A (en) Method and device for recorgnizing fuzzy pattern