JPS6292090A - Pattern recognizing device - Google Patents

Pattern recognizing device

Info

Publication number
JPS6292090A
JPS6292090A JP60232972A JP23297285A JPS6292090A JP S6292090 A JPS6292090 A JP S6292090A JP 60232972 A JP60232972 A JP 60232972A JP 23297285 A JP23297285 A JP 23297285A JP S6292090 A JPS6292090 A JP S6292090A
Authority
JP
Japan
Prior art keywords
state
sequential logic
processing
pattern
transition
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
JP60232972A
Other languages
Japanese (ja)
Inventor
Yuzo Kato
雄三 加藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60232972A priority Critical patent/JPS6292090A/en
Publication of JPS6292090A publication Critical patent/JPS6292090A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To produce a dictionary having a learning function by applying a prescribed pre-processing to an input standard pattern and producing the correction and discrimination functions of the standard order logic according to said pre-processing. CONSTITUTION:A CPU 1 executes a program stored in a memory 4 and a standard pattern is supplied from a scanner 2 according to this program. Thus the pre-processing is carried out in the working area of a memory 5 such as the picture input processing, the broken line approximation processing and the standard order processing. Then a dictionary producing memory 6 corrects the standard order logic supplied from a console 3 based on the picture data pre-processed by the memory 5 and produces the discrimination function for the production of dictionaries I and II. Thus it is possible to produce a dictionary having a learning function.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パターン認識装置における、順序論理との照
合および識別関数による識別処理に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to identification processing using sequential logic and identification functions in a pattern recognition device.

また、本発明は、学習機能を有したパターン認識装置に
関するものである。
The present invention also relates to a pattern recognition device having a learning function.

本発明は、OCRを開発するときの辞書の自動作成に関
するものである。
The present invention relates to automatic creation of a dictionary when developing OCR.

本発明は、特に学習機能を有したパターン認識装置であ
って、パターンサイズの正規化処理、細線化処理および
チェノ・コーディングなどの前処理1位相幾何学的特徴
を用いた大分類処理、順序論理との照合による中分類お
よび識別関数による識別処理などから構成されているも
のに関する。
The present invention is a pattern recognition device particularly having a learning function, and includes preprocessing such as pattern size normalization processing, thinning processing, and Cheno coding; This method consists of intermediate classification based on comparison with other people, and identification processing using a discriminant function.

本発明は、学習のための標本パターンの入力処理に関す
る。
The present invention relates to sample pattern input processing for learning.

〔従来技術〕[Prior art]

従来から文字、認識の研究が多数行われ、種々の認識方
法、装置が実用化している。しかし、辞書の作成などの
開発が困難であり、また、誤読をなくすることも困難で
あった。しかし学習機能がないので同様の誤読が繰り返
されることもあり、認識率の低下、装置の使用効率の低
下を招き、認識装置が普及しにくい原因の1つになって
いる。
BACKGROUND ART Many studies have been conducted on character recognition, and various recognition methods and devices have been put into practical use. However, development such as creating a dictionary was difficult, and it was also difficult to eliminate misreading. However, since it does not have a learning function, similar misreadings may be repeated, resulting in lower recognition rates and lower device usage efficiency, which is one of the reasons why recognition devices are difficult to spread.

また、認識方法の1つとして、例えばパターンのストロ
ークの構造を解析する方法があるが、他の認識方法の1
つである類似度法などに比べて、高い認識率が得られる
という長所があるが、辞書の作成が難しく手間がかかる
という欠点がある。したがって、構造解析法に対する辞
書の自動作成は認識率の点を考慮すると重要で、学習機
能の研究が必要となっている。
Also, one of the recognition methods is, for example, a method of analyzing the structure of the strokes of a pattern, but one of the other recognition methods is
Although this method has the advantage of achieving a higher recognition rate than other methods such as the similarity method, it has the disadvantage that it is difficult and time-consuming to create a dictionary. Therefore, automatic dictionary creation for the structural analysis method is important in terms of recognition rate, and research on learning functions is required.

公知の技術、装置としては、学習機能には関係ないが、
例えば日立製作所(株)の手書き文字認識装置(H−8
959OCR)があり、文字パターンに対し、以下の処
理を行っている。
Although the known technology and device are not related to the learning function,
For example, Hitachi, Ltd.'s handwritten character recognition device (H-8
959OCR), which performs the following processing on character patterns.

つまり、文字パターンを線図形化し、チェインコードと
呼ばれる方向コードで表わし、そのコードに基づいて、
辞書である標準パターンの順序論理との照合によって識
別するものである。そして、状態遷移の状態の通過回数
に制約を設け、認識率を向上させているものである。
In other words, the character pattern is converted into a line diagram, represented by a directional code called a chain code, and based on that code,
Identification is made by checking the order logic of standard patterns in a dictionary. In addition, a restriction is placed on the number of times the state transition state is passed, thereby improving the recognition rate.

しかし、文字によってはチェインコードの開始点が一意
に決まらなかったり、一つの順序論理では表現できない
ものも多く、例えば手書き数字に対してほぼ100個の
順序論理が必要であるとされており、辞書の作成、認識
に多大の時間が必要となるという欠点があった。
However, depending on the character, the starting point of the chain code cannot be uniquely determined, and there are many things that cannot be expressed using a single sequential logic.For example, it is said that approximately 100 sequential logics are required for handwritten digits. The disadvantage is that it takes a lot of time to create and recognize.

以上のことから明らかなように、文字パターン認識にお
ける学習機能を有した辞書の作成。
As is clear from the above, the creation of a dictionary with a learning function in character pattern recognition.

認識時における学習の研究が望まれているのが現状であ
る。
Currently, research on learning during recognition is desired.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上の点から明らかなように、本願発明の目的は、上記
欠点を除去することにある。
As is clear from the above points, an object of the present invention is to eliminate the above-mentioned drawbacks.

また、本願発明の目的は、OCRの開発あるいはパター
ン認識時における辞書の作成において学習機能を持たせ
ることにある。
Another object of the present invention is to provide a learning function in the development of OCR or the creation of a dictionary during pattern recognition.

また、本願発明の目的は、パターン認識装置の認識時に
おいて学習機能を持たせることにある。
Another object of the present invention is to provide a pattern recognition device with a learning function during recognition.

また、本願発明の目的は、ストローク構造解析法に順序
論理(オートマトン)の思想を取り入れ、更に識別関数
による識別処理をも行うようにしたパターン認識装置を
提供することにある。
Another object of the present invention is to provide a pattern recognition device that incorporates the idea of sequential logic (automata) into a stroke structure analysis method and further performs a classification process using a classification function.

本願発明の目的は、オンライン又はオフライン文字認識
の辞書の自動作成を行うことにある。
An object of the present invention is to automatically create a dictionary for online or offline character recognition.

本願発明の目的は、パターン認識用のチェンコードを元
にして、辞書作成用のチェンコードを作成することにあ
る。
An object of the present invention is to create a chain code for dictionary creation based on a chain code for pattern recognition.

本願発明の目的は、標準の順序論理を入力することにあ
る。
The purpose of the present invention is to input standard sequential logic.

本願発明の目的は、辞書である順序論理をチェンコード
を元にして修正し、より良い順序論理を学習することに
ある。
An object of the present invention is to modify the sequential logic, which is a dictionary, based on the chain code, and to learn better sequential logic.

また、本願発明の目的は、辞書データである順序論理の
各状態を通過する回数を変数とする識別関数を作成する
ことにある。
Another object of the present invention is to create a discriminant function whose variable is the number of times each state of sequential logic, which is dictionary data, is passed.

〔問題点を解決するための手段〕[Means for solving problems]

この問題を解決する一手段として、例えば第1図のブロ
ック図に示すパターン入力装置は、ディジタルコピー装
置などのスキャナ2から読み取られた画像情報をメモリ
5の前処理用のワーキングエリアにおいて前処理し、メ
モリ6において辞書情報を修正し、作成し、メモリ7に
転送する。メモリ7では、順序論理とこれと対で用いる
識別関数の番地とを記憶している。
As a means of solving this problem, for example, the pattern input device shown in the block diagram of FIG. , the dictionary information is corrected and created in the memory 6, and transferred to the memory 7. The memory 7 stores the sequential logic and the address of the discriminant function used in pair with the sequential logic.

メモリ8は、識別関数を格納する部分である。Memory 8 is a part that stores identification functions.

標本の順序論理はスキャナ2のオフライン入力装着によ
りパターンの形態で入力される。
The sequential logic of the specimen is input in the form of a pattern by the off-line input attachment of the scanner 2.

〔作 用〕[For production]

かかる第1図の構成において、CPUIは、メモリ4に
格納されたプログラムを実行し、スキャナ2から読み取
られた画像情報をメモリ5において前処理し、コンソー
ル3からのキー人力、あるいは外部メモリである光ディ
スクあるいはフロッピーディスクからの基本順序論理を
上記前処理されたデータによって修正し、また、識別関
数を作成する。
In the configuration shown in FIG. 1, the CPUI executes a program stored in the memory 4, preprocesses image information read from the scanner 2 in the memory 5, and performs key input from the console 3 or external memory. The basic sequential logic from the optical disk or floppy disk is modified using the preprocessed data, and a discriminant function is created.

;実施例〕 以下に本発明の1実施例を説明する。;Example〕 One embodiment of the present invention will be described below.

第1図は本発明を実施する装置の構成図である。4はメ
モリーであり、本発明を実施するためのプログラムが記
憶される。
FIG. 1 is a block diagram of an apparatus for implementing the present invention. 4 is a memory in which a program for carrying out the present invention is stored.

lはCPUであり、メモリー4に記憶されたプログラム
に従い他の装置部分を制御し、動作させる。
1 is a CPU, which controls and operates other parts of the device according to a program stored in the memory 4.

2はスキャナーであり、画像データを光学的読み取り手
段により計算機処理できる情報に変換する。
Reference numeral 2 denotes a scanner, which converts image data into information that can be processed by a computer using optical reading means.

3はコンソールであり、キーボードやディスプレイから
なり、データの入力などのCPUとのインターフェイス
手段を含める。
Reference numeral 3 denotes a console, which consists of a keyboard and a display, and includes means for interfacing with the CPU such as inputting data.

5は前処理用のメモリーであり、スキャナー2で読み取
った画像データを格納し、該画像データに対し、画像処
理やコーディングなどの前処理を行うためのメモリエリ
アである。
A preprocessing memory 5 is a memory area for storing image data read by the scanner 2 and performing preprocessing such as image processing and coding on the image data.

6は辞書作成用のメモリでありコンソール3あるいはフ
ロッピーなどから入力された基本順序論理を格納する。
Reference numeral 6 denotes a memory for creating a dictionary, which stores basic sequential logic input from the console 3 or a floppy disk.

そしてメモリ5で前処理された画像データを元に、上記
コンソール3から入力された標準順序論理(あるいは、
フロッピーなどの外部メモリに登録されたものを読み出
してもよい)を修正したり、識別関数奢作成し、辞書I
 、 IIを作成する。
Based on the image data preprocessed in the memory 5, standard sequential logic (or
(You may also read out those registered in external memory such as a floppy), create a discrimination function, and create a dictionary I.
, create II.

7は辞書の一部である順序論理を記憶するメモリであり
、メモリ6で修正された順序論理とこれと対で用いる識
別関数の番地とを記憶し認識の際の辞書の一部辞書(I
)となる。
A memory 7 stores the sequential logic that is part of the dictionary, and stores the sequential logic corrected in the memory 6 and the address of the discriminant function used in pair with it.
).

8は辞書のもう一つの部分である識別関数を記憶するメ
モリーであり、メモリー6で作成された識別関数とこれ
を用いて識別される認識結果が記憶され、認識のための
残りの辞書の一部(辞書■)となる。
Reference numeral 8 denotes a memory for storing the discrimination function, which is another part of the dictionary.The discrimination function created in memory 6 and the recognition result identified using this are stored, and the rest of the dictionary for recognition section (dictionary ■).

〔動作の波れ図〕[Operation wave diagram]

第2図は本発明の動作を示す流れ図である。 FIG. 2 is a flowchart showing the operation of the present invention.

第2図を使い動作のより詳mな説明を行う。A more detailed explanation of the operation will be given using FIG.

以下、動作の流れを追って説明する。The flow of operations will be explained below.

本実施例では、同一カテゴリーに属するパターンを集中
的に用い、そのパターンに対する辞書を作成し1次に他
のカテゴリーに属するパターンに対する辞書を作成する
といった順序で行うものとする。
In this embodiment, patterns belonging to the same category are used intensively, a dictionary is created for that pattern, and then dictionaries are created for patterns belonging to other categories.

まず前述のスキャナ2から同一カテゴリに属する標本パ
ターンが入力される。ステップ17の画像入力処理では
、ディジタル複写機、ハンドスキャナ、ワードプロセッ
サ、ファクシミリなどのイメージリーグであるスキャナ
2で読み取った画像からパターン認識の対象となる1つ
のパターンを切り出す処理を行う。
First, sample patterns belonging to the same category are input from the scanner 2 described above. In the image input process of step 17, one pattern to be subjected to pattern recognition is cut out from the image read by the scanner 2, which is an image league such as a digital copying machine, hand scanner, word processor, facsimile, etc.

ステップ18の前処理では、z値化処理。In the preprocessing of step 18, z-value processing is performed.

サイズの正規化処理、細線化処理からなる。It consists of size normalization processing and line thinning processing.

ステップ19の折線近似処理では、細線化画像を所定の
有限個の線分、例えば第3図21の8方向コードの方向
をもつ線分で折線近似処理を行う。このとき、折線近似
したパターンの各線分の方向は8方向コードで表すこと
ができる。第19図に1実施例を示す、ステップ5の標
準順序論理では、折線近似した標本パターン中の各線分
に対応した状態と状態間を結ぶ遷移条件を求める。第1
9図および第4図をもとにより詳細な説明を行う。
In the broken line approximation process of step 19, the thinned image is subjected to the broken line approximation process using a predetermined finite number of line segments, for example, line segments having the directions of the 8-direction code shown in FIG. 321. At this time, the direction of each line segment of the pattern approximated by a broken line can be represented by an 8-direction code. In the standard sequential logic of step 5, an example of which is shown in FIG. 19, transition conditions connecting states corresponding to each line segment in the sample pattern approximated by a broken line are determined. 1st
A more detailed explanation will be given based on FIGS. 9 and 4.

第19図の各線分に対し5方向コード3゜2.1.8お
よび7に対応して、状態AI。
Condition AI corresponds to five-way code 3°2.1.8 and 7 for each line segment in FIG.

A2.A3.A4.A5を設ける。A2. A3. A4. Provide A5.

次に各状態間を遷移条件は、線分間の接続状態により、
状TErA1とA2は接続されており、方向コード2に
よりA1からA2へ遷移する。
Next, the transition conditions between each state are determined by the connection state of the line segments.
TERA1 and A2 are connected, and the direction code 2 causes a transition from A1 to A2.

同様状mA2とA3は方向コード1によりA2からA3
へ遷移する。以下同様。
Similar mA2 and A3 are from A2 to A3 by direction code 1.
Transition to. Same below.

また、本実施例では、各状態自身への遷移も許す、例え
ば状態AI、A2ではそれぞれ方向コード3.2により
自身への遷移を行う9以上より第19図の標本折線近似
パターンより第4図に示す標準状態遷移図が求まる。
In addition, in this embodiment, each state also allows a transition to itself. For example, in states AI and A2, each state transitions to itself with a direction code of 3.2. From 9 or above, the sample broken line approximation pattern of FIG. 19 is shown in FIG. The standard state transition diagram shown in is obtained.

以上の画像入力処理、前処理、折線近似処理、および標
準順序処理はメモリ5のワーキングエリアで処理され、
ステップ6により該標準順序論理はメモリ7に記憶され
る。
The above image input processing, preprocessing, broken line approximation processing, and standard order processing are processed in the working area of the memory 5,
According to step 6, the standard sequential logic is stored in memory 7.

テップ1の画像入力処理では、ステップエフと同じく1
つのパターンを切り出す処理を行う。
In step 1, image input processing, 1
Performs processing to cut out two patterns.

ステップ2の前処理では、2値化処理、サイズの正規化
処理、細線化処理およびチェノ・コーディングからなり
、画像データをCPU処理およびパターン認識処理に適
した符号化されたデータに変換する前処理を行う。
The preprocessing in step 2 consists of binarization processing, size normalization processing, thinning processing, and Cheno coding, and preprocessing that converts image data into encoded data suitable for CPU processing and pattern recognition processing. I do.

上述の画像入力処理および前処理はメモリ5のワーキン
グ・エリア−の部分で処理され、ヂエン拳コード化され
たものが記憶される。
The above-mentioned image input processing and pre-processing are processed in the working area of the memory 5, and the encoded image is stored.

〔チェン拳コード〕[Chen fist code]

チェンーコード化の1実施例を第3図に示す。 An example of chain encoding is shown in FIG.

21は8方向コードであり、隣接した画素間の関係を1
から8のコードを使い表現するものである。線巾が1画
素となるように細線化された画像20は画素Sから画素
Eまで8方向コード21を用いて、チェノ・コーディン
グされチェノ・コード22となる。
21 is an 8-way code, which expresses the relationship between adjacent pixels by 1
It is expressed using chords from 8 to 8. The image 20, which has been thinned so that the line width is one pixel, is subjected to Cheno coding from pixel S to pixel E using an eight-way code 21, resulting in a Cheno code 22.

明らかにチェノ・コード22から画像20が再生できる
から、チェノ・コード22は画像情報を保存している訳
である。
Since the image 20 can obviously be reproduced from the cheno code 22, the cheno code 22 stores image information.

メモリー7には先に作られた順序論理をデータ化したも
のと対応するパターン名が記憶されている。
The memory 7 stores pattern names corresponding to the data of the previously created sequential logic.

なお、チェン番コード2?は、第3図の画像20のスタ
ート地点Sから終了点Eまでの隣接する画素を方向コー
ド21で方向イ1けしていったものである。例えば画素
Sから次の画素までは、方向が3で、その次は方向が2
というように方向付けしたものである。
By the way, Chen number code 2? , the adjacent pixels from the start point S to the end point E of the image 20 in FIG. For example, from pixel S to the next pixel, the direction is 3, and then the direction is 2.
It is oriented as follows.

該実施例では、標準論理に関する辞書の作成と識別関数
に関する辞書の作成は順次行うものとし、ステップlの
画像入力処理とステップ2の前処理は両者の辞書作成の
段階で実行される。
In this embodiment, the creation of a dictionary regarding standard logic and the creation of a dictionary regarding discriminant functions are performed sequentially, and the image input processing in step 1 and the preprocessing in step 2 are executed at the stage of creating both dictionaries.

ステップ3のプロセス判断処理ではフラッグ(後述フラ
グ(F)=1であれば識別関数作成)をみて、順序論理
作成の段階か識別関数作成の段階か判別する。順序論理
作成の段階(F=0)であればYに進む、順序論理作成
の段階では、次にステップ4の順序論理の修正を行う。
In the process determination process of step 3, a flag (discrimination function creation if flag (F)=1, which will be described later) is checked to determine whether it is a sequential logic creation stage or a discriminant function creation stage. If it is the step of creating a sequential logic (F=0), proceed to Y. In the step of creating a sequential logic, the next step is to modify the sequential logic.

ステップ4の順序論理の修正とはカテゴリーに対応して
コンソールから入力された前述のステップ5の標準順序
論理をステップ6の順序論理のメモリー6への記憶処理
を介し、実データを使い学習ルールに従い、実用的な順
序論理に順序、つまり修正に修正を加え修正していく。
Modification of the sequential logic in step 4 involves storing the standard sequential logic in step 5, which was input from the console corresponding to the category, into the sequential logic memory 6 in step 6, using actual data, and following the learning rules. , we add and modify the order of practical sequential logic, that is, modify the modification.

〔順序論理の修正〕[Modification of sequential logic]

以下で、順序論理の修正処理について詳細に説明する。 The sequential logic modification process will be described in detail below.

順序論理を学習、作成するとき。When learning and creating sequential logic.

1)必要な情報の保存 2)学習方法のルール化 が必要であり、このために本発明ではディジタル化雑音
などの雑音を無視した標本となる順序論理である標準順
序論理をコンソール、フロッピーディスク等から入力す
ることにより、必要な情報の保存を行い、特に標準順序
論理中の状態間の遷移からパターンのストロークの特性
を表わす方向を定義し、これにより学習方法のルール化
を回旋とする点に特徴がある。
1) Preservation of necessary information 2) It is necessary to establish rules for the learning method, and for this purpose, in the present invention, standard sequential logic, which is a sample sequential logic that ignores noise such as digitization noise, is stored on a console, floppy disk, etc. By inputting from , the necessary information is stored, and in particular, the direction that represents the characteristics of the stroke of the pattern is defined from the transition between states in standard sequential logic. It has characteristics.

パターン「7」の標準順序論理の遷移図を第4図に示す
A transition diagram of the standard sequential logic of pattern "7" is shown in FIG.

第4図において、O印の中のAI、A2.−−−−−A
 5は状態であり、矢印に添付されたコードは状態間の
遷移条件を与える。
In FIG. 4, AI, A2. -----A
5 is a state, and the code attached to the arrow provides a transition condition between states.

例えば、状態A1においてコードが3のとき状態A1へ
、コードが2のとき状態A2へ遷移することができ、そ
の他の場合は遷移できない。(すなわち照合しない、) ここで状態Sから出発し、許された遷移に従い状態Eへ
到着したとき、パターン「7」と順序論理は照合する。
For example, in state A1, when the code is 3, it is possible to transition to state A1, when the code is 2, it is possible to transition to state A2, and in other cases, transition is not possible. (That is, it does not match.) Here, when starting from state S and arriving at state E according to the allowed transitions, pattern "7" and the sequential logic match.

実際のパターン「7ノの画像を入力処理および前処理し
て得たチェノ・コードの1例は、7E である、チェンΦコード化については、前述したので省
略する。
An example of a Cheno code obtained by input processing and preprocessing an image of the actual pattern ``7'' is 7E.Since the Cheno Φ encoding has been described above, it will be omitted here.

該コードは第4図に示す標準状態遷移図(前述のコンソ
ール3或いはフロッピー等の外部記憶部から入力)にお
いて、状態Sから状態A5まで遷移できるが、コード6
に対する遷移が許されていないため、照合しないことに
なる。これを照合するように状態遷移図を修正すること
がステップ4の順序論理の修正の目的である。
This code can transition from state S to state A5 in the standard state transition diagram shown in FIG. 4 (input from the aforementioned console 3 or external storage such as floppy), but code
Since transition to is not allowed, it will not be matched. The purpose of modifying the sequential logic in step 4 is to modify the state transition diagram to match this.

第5−1図、第5−2図に方向の定義を図示する。Definitions of directions are illustrated in FIGS. 5-1 and 5-2.

第5−1図の状態Bの順方向は状態AとCに対する遷移
条件、すなわち第3図或いは第5−2図において方向コ
ード8と7の配列により、第5−2図に示すように8か
ら7へ近道するときの回転方向が順方向となり、逆は逆
方向となる。同様に遷移状771pについても、状態C
とDに対する遷移条件、すなわちコード1と2の配列に
より、第5−2図の矢印が順方向となる。
The forward direction of state B in FIG. 5-1 is determined by the transition conditions for states A and C, that is, the arrangement of direction codes 8 and 7 in FIG. The rotation direction when taking a shortcut from to 7 is the forward direction, and the reverse direction is the reverse direction. Similarly, regarding the transition state 771p, state C
Due to the transition conditions for and D, that is, the arrangement of codes 1 and 2, the arrow in FIG. 5-2 is in the forward direction.

〔順序論理の修正修理〕[Correction and repair of sequential logic]

第6図に順序論理の修正処理の流れ図を示す、第6図を
もとに順序論理の修正処理の詳細な説明を行う、ステッ
プ30はチェノ・コードの変換処理であり、以降の処理
を簡単化するため、ステップ2の前処理で得たチェノ・
コードを変化のみを表わすコード列に変換する。なお元
のチェノ・コードも、パターン認識の為に後程使用され
る。
Figure 6 shows a flowchart of the sequential logic modification process.A detailed explanation of the sequential logic modification process will be given based on Figure 6.Step 30 is the process of converting the Cheno chord, and the subsequent process will be simplified. In order to
Converts a code into a code string that only represents changes. The original cheno chord will also be used later for pattern recognition.

コードの変換は例えば、チェノ・コード“5E ”は該
変換処理により532187676767Eとなる。
For example, a cheno chord "5E" becomes 532187676767E through the conversion process.

〔照合処理〕[Verification process]

以降の処理は変換されたコード列を基に行う。 The subsequent processing is performed based on the converted code string.

該記憶された順序論理はステップ38の記憶処理により
修正処理のために、メモリー6中のワーキング・エリア
に移される。そしてステップ31の照合処理では変換さ
れたコード列の変化点のみを表わすコード列と順序論理
との照合処理を行う。
The stored sequential logic is moved to a working area in memory 6 for modification by the storage process of step 38. Then, in the matching process in step 31, a code string representing only the changing points of the converted code string is compared with the sequential logic.

コード列S32187676767Eと第4図の状態遷
移図すなわち順序論理を例にして。
Let's take the code string S32187676767E and the state transition diagram of FIG. 4, that is, the sequential logic, as an example.

照合処理以降の修正処理の説明を行う。The correction process after the verification process will be explained.

先ずコード列Sの次にコード3があるが、第4図におい
て状態Sから遷移が許されるコードは3であり、コード
3に対して遷移が許される、すなわちステップ32の照
合の判断において照合できた。となり、状8Sから状態
A1へ遷移する。ステップ33の照合処理終了ではコー
ド列の最後のコードEにあるか否かにより終了したかど
うかを判断し、終了であれば、ステップ38で第1図の
メモリ6に記憶され修正された順序論理をステップ6で
記憶された順序論理の場所へ転送され、順序論理は修正
されたものと書き変わる(第3図ステップ6−A)。
First, code 3 is next to the code string S, and in FIG. 4, the code that is allowed to transition from state S is 3, and the transition is allowed for code 3, that is, it cannot be matched in the matching judgment at step 32. Ta. Therefore, a transition is made from state 8S to state A1. At the end of the collation process in step 33, it is determined whether the collation process is completed based on whether or not the code is at the last code E of the code string. is transferred to the location of the sequential logic stored in step 6, and the sequential logic is rewritten with the corrected one (step 6-A in FIG. 3).

終了していない場合、ステップ31の照合処理へ戻る。If the process has not been completed, the process returns to step 31.

そして、例えば上述の話の流れに沿って説明するとコー
ド3の次のコード、すなわちコード2との照合処理が行
われる。
Then, for example, following the flow of the above-mentioned story, a process of matching code 3 with the next code, that is, code 2, is performed.

第4図において、先のコード3により、状態Sから状態
A1へ遷移しているが、状態A1ではコード3とコード
2の場合遷移が許されている。従って次のコード2は状
態A1から状態A2への遷移が可能、すなわち照合し、
状態は状態A2へ遷移する。
In FIG. 4, a transition is made from state S to state A1 due to code 3, but in state A1, transition is allowed for code 3 and code 2. Therefore, the following code 2 can transition from state A1 to state A2, that is, it verifies,
The state transitions to state A2.

同様な処理がくり返され、状態A3.A4から次にコー
ド列中の最初に現われるコード7により状態A5へ遷移
する。
Similar processing is repeated until state A3. A transition is made from A4 to state A5 by code 7 which appears first in the code string.

コード7の次のコードはコード6であるが、状態A5で
はコード7とEに対してのみ遷移が許されており、照合
はできない。このとき修正のためのルール1〜ルール5
(後述する)により修正処理され、修正が可能であった
とき。
The next code after code 7 is code 6, but in state A5 transition is only allowed for codes 7 and E, and verification is not possible. Rules 1 to 5 for correction at this time
(described later), and the correction was possible.

ステップ31の照合処理へフィードバックされる。修正
が不可能な場合、修正処理は終り。
This is fed back to the matching process in step 31. If correction is not possible, the correction process ends.

その時の修正の途中にあるステップ38で記憶された場
所にある順序論理は無視される。すなわちステップ6の
処理で記憶された順序論理の前述の第2図のステップ6
Aで説明したような書き換えは行わない。
The sequential logic at the location stored in step 38 during the current modification is ignored. That is, step 6 of the above-mentioned FIG. 2 of the sequential logic stored in the process of step 6
Rewriting as explained in A is not performed.

ここで、ルール1〜ルール5により、第4図の標準状態
遷移図が第7図の状態遷移図に修正されれば、コード列
のコード6以降のコードとの照合も可能となり、ステッ
プ33の照合処理読了判断で終了と判断され、該データ
に対する修正処理は完了する。そして、修正完了した修
正済順序論理をステップ38においてメモリ6のワーキ
ングエリアに格納する。
Here, if the standard state transition diagram in FIG. 4 is modified to the state transition diagram in FIG. 7 according to rules 1 to 5, it becomes possible to match the codes after code 6 in the code string, and step 33 It is determined that the collation process has been read and finished, and the correction process for the data is completed. Then, in step 38, the modified sequential logic that has been modified is stored in the working area of the memory 6.

〔修正処理、ルール0〜ルール4〕 以下、順序論理の修正処理を行うルール1〜ルール5に
ついて説明しる。
[Correction Processing, Rules 0 to 4] Hereinafter, Rules 1 to 5 for performing sequential logic modification processing will be explained.

各ルールの説明する前にここで用いる言語の定義をして
おく。
Before explaining each rule, let us define the language used here.

補助状態とは、標準状態遷移図中修正によって追加され
る状態をいい、標準状態遷移図中の状態(以下標準状態
と呼ぶ)とは区別する。
The auxiliary state refers to a state added by modification to the standard state transition diagram, and is distinguished from the state in the standard state transition diagram (hereinafter referred to as standard state).

第7図における状iAsが補助状態である。The state iAs in FIG. 7 is the auxiliary state.

飛越し遷移とは、隣接した状態以外への遷移であり、飛
越しの数は標準状態をもとに計算される0例えば、第4
図において状態A1から状態A3への遷移を飛越し数1
の遷移と呼ぶ。
A jump transition is a transition to a state other than the adjacent state, and the number of jumps is 0 calculated based on the standard state, for example, the fourth
In the figure, the transition from state A1 to state A3 is skipped by 1.
This is called the transition.

仮に、状態A4と隣接した補助状態があるとしたとき、
該補助状態から状態A5への遷移は飛越し数1の遷移と
呼ぶ、隣接した状態への遷移は飛越し数Oである。
Suppose there is an auxiliary state adjacent to state A4,
The transition from the auxiliary state to state A5 is called a transition with jump number 1, and the transition to the adjacent state has jump number O.

以下のルール1〜5で共通したものとして、〔ルール2
〕ルールへの遷移は補助状態への遷移を除いて許さない
What is common to Rules 1 to 5 below is [Rule 2
] Transitions to rules are not allowed except for transitions to auxiliary states.

つまり、第5−2図に示すそれぞれの矢印の方向には遷
移するが、例えば8から1へ或いは1から8への方向の
状態遷移は行わないのである。
In other words, although the state transitions in the directions of the respective arrows shown in FIG. 5-2, the state does not change, for example, from 8 to 1 or from 1 to 8.

〔ルール1〕状態S(これを始状態と呼ぶ)から1個の
補助状態を付加することにより次に飛越し数例えば2以
下で標準状態へ遷移できる場合に補助状態を付加する。
[Rule 1] One auxiliary state is added from the state S (this is called the starting state), and then the auxiliary state is added if a transition to the standard state is possible with the number of jumps, for example, 2 or less.

このとき許す遷移条件は始状態から補助状態への遷移、
補助状態から補助状態自身への遷移と補助状態から標準
状態への遷移である9例を第8図に示すが、図から明ら
かなように図中状maoが補助状態である。
The transition conditions allowed at this time are transition from the initial state to the auxiliary state,
Nine examples of transitions from the auxiliary state to the auxiliary state itself and from the auxiliary state to the standard state are shown in FIG. 8, and as is clear from the figure, the shape mao in the figure is the auxiliary state.

〔ルール2〕ルール1を満足しない場合において、飛越
し数2以下の遷移で始状態から標準状態へ遷移できると
き、この遷移を付加する。
[Rule 2] When Rule 1 is not satisfied, if a transition from the initial state to the standard state can be made with a transition of 2 or less jumps, this transition is added.

例を第9図に示す0図中a、bを添付したものが付加し
た遷移である。
An example is shown in FIG. 9, in which a and b are attached, indicating the added transition.

〔ルール3〕状態Sから状態Eの途中の・状態で、逆方
向のコードであったとき、補助状態を付加することによ
り、次のコードで飛越し数1以下で標準状態へ遷移でき
るとき、標準状態から飛越し数例えば1以下で標準状態
へ遷移できるとき、この遷移を付加する0例を第10図
に弘す0図中aを添付したものが付加した遷移である。
[Rule 3] When the state is between state S and state E, and the code is in the opposite direction, by adding an auxiliary state, it is possible to transition to the standard state with the number of jumps of 1 or less in the next code, When a transition can be made from the standard state to the standard state with a jump count of, for example, 1 or less, an example of adding this transition is shown in FIG. 10. The one with a attached in FIG.

〔ルール4〕ルール3を満足しない場合において、補助
状態と標準状態から補助状態への遷移、補助状態から補
助状態自身への遷移、補助状態から標準状態への遷移を
付加する0例を第11図に示す0図中状態aQは補助状
態である。
[Rule 4] When Rule 3 is not satisfied, 0 examples of adding transitions from the auxiliary state and standard state to the auxiliary state, transitions from the auxiliary state to the auxiliary state itself, and transitions from the auxiliary state to the standard state are shown in the 11th example. State aQ in the 0 diagram shown in the figure is an auxiliary state.

第6図のステップ34〜ステツプ37のルール1からル
ール4の各判断処理では、先の各ルールにおいて、これ
を満足するか否かを判断し。
In each determination process of rules 1 to 4 in steps 34 to 37 in FIG. 6, it is determined whether or not each of the previous rules is satisfied.

満足する場合にはルールに従い順序論理を修正し、照合
処理へフィードバックする。ルールを満足しない場合は
ルールlからルール4の順序で判断処理を行う。
If it is satisfied, the order logic is modified according to the rules and fed back to the matching process. If the rules are not satisfied, judgment processing is performed in the order of rules 1 to 4.

第2図の全体の流れ図に戻り、ステップ4の順序論理の
修正処理以降の説明を行う。
Returning to the overall flowchart of FIG. 2, the steps after the sequential logic correction process in step 4 will be explained.

ステップ7ではlカテゴリーの全データによる順序論理
の修正が終了したか否かを判断し、終了していない場合
には同じカテゴリーに属する例えば“1″であれば“1
″のカテゴリーに属する種々の次パターン画像を入力し
、順序論理の修正を行う。
In step 7, it is determined whether or not the modification of the sequential logic using all the data in the l category has been completed.
Input various next pattern images belonging to the ``category'' and modify the sequential logic.

lカテゴリーの全データに対する修正が終了したとき、
前述のステップ5の標準順序論理処理及びステップ6の
順序論理の記憶処理によって記憶されたメモリ6内の標
準順序論理をステップ4において修正したが、そのデー
タをステップ6−Aにおいてメモリ6に記憶し、ステッ
プ10においてメモリ7に辞書(I)として登録する。
l When all the data in the category has been corrected,
The standard sequential logic stored in the memory 6 by the standard sequential logic processing in step 5 and the sequential logic storage processing in step 6 described above is modified in step 4, but the data is stored in the memory 6 in step 6-A. , is registered in the memory 7 as a dictionary (I) in step 10.

なお、ステップ4においてステップ6−Aの動作を行っ
ていてもよい、ステップ8の判断処理では全てのカテゴ
リーに対する処理が終了したか否かを判断し、終了して
いなければステップ1に戻る。この時前述のステップ5
の標準順序論理処理およびステップ6の順序論理の記憶
処理により、次の修正したい新しいカテゴリーの標準順
序論理をメモリー5へ記憶しておけばよい。
Note that the operation of step 6-A may be performed in step 4. In the determination process of step 8, it is determined whether or not the processing for all categories has been completed. If not, the process returns to step 1. At this time, step 5 mentioned above
The standard sequential logic of the next new category to be modified can be stored in the memory 5 through the standard sequential logic processing in step 6 and the sequential logic storage processing in step 6.

〔識別関数の作成処理〕[Discrimination function creation process]

全てのカテゴリーの全データによる順序論理の修正が終
了したと判断したとき、ステップ8で°“Y”となり、
ステップ9に進み、フラグを立て、以下のプロセスでは
識別関数の作成をする旨をステップ3のプロセス判断処
理へ伝える。これにより、以降のステップ3を通る処理
は“No”からステップ11以後の識別関数の作成処理
となる。そして、ステップエの画像入力処理とステップ
2の前処理が順序論理の修正と識別関数の作成の両方で
使えることになる。
When it is determined that the modification of the sequential logic using all data of all categories is completed, the result is "Y" in step 8,
Proceeding to step 9, a flag is set to inform the process judgment process in step 3 that a discriminant function will be created in the following process. As a result, the subsequent processing through step 3 becomes the discriminant function creation processing from step 11 onwards from "No". Then, the image input processing of Step E and the preprocessing of Step 2 can be used for both modifying the sequential logic and creating the discriminant function.

次に、識別関数について説明する。Next, the discriminant function will be explained.

本発明における、順序論理を用いることで従来比較して
極めてパターンの識別精度が高くなったが更に精度を上
げるため極めて類似したr7J  、rり」、「ワ」等
の識別を行うために、識別関数を用いる。
By using sequential logic in the present invention, pattern identification accuracy has become extremely high compared to conventional methods. Use functions.

これにより、本発明の特徴は更に明確になる。This makes the features of the present invention even clearer.

1、 各状態を通過する回数の制限を除くことにより、
必要な順序論理の数を大巾に削減した。
1. By removing the limit on the number of times each state can be passed,
The number of required sequential logics has been greatly reduced.

2、 個々の状態に対する制限のかわりに、状態間の関
係というストローク構造を表現できる関数を求め、パタ
ーンを識別する際の関数、すなわち識別関数とすること
により、英数字から仮名といった、より対象の広い認識
装置となる。
2. Instead of restricting individual states, we find a function that can express the stroke structure of the relationship between states, and use it as a function for identifying patterns, that is, a discriminant function. It becomes a wide recognition device.

そして、順序論理中の各状態を通過する回数を変数とす
る識別関数を定義し、係数、いき値、および特徴抽出を
する方法を求めることにより、識別関数の自動作成を回
旋とした。
Then, by defining a discriminant function whose variable is the number of times it passes through each state in the sequential logic, and finding a method for extracting coefficients, threshold values, and features, the automatic creation of the discriminant function was made convoluted.

次に識別関数の自動作成の原理について説明する。Next, the principle of automatically creating a discriminant function will be explained.

任意の順序論理において、該順序論理と照合した異なる
カテゴリーに属するパターンを識別するもの(すなわち
識別関数)を該順序論理中の各状態で表わす場合を考え
る。
Consider a case where, in arbitrary sequential logic, each state in the sequential logic represents something that identifies a pattern belonging to a different category compared with the sequential logic (i.e., a discriminant function).

最も単純な場合として、1番目の状態を通過する回数X
nがパターンPaの場合、例えば10回より多く、パタ
ーンPbの場合には10より小さいとき、Xnの値によ
り、入力画像がパターンPaであるかパターンPbであ
るかを知ることができる。これを数式で表現すれば、X
 n > I OすなわちXn−10>0(7)とき入
力画像はパターンPa、Xn<10すなわちXn−1o
<oのとき入力画像はパターンPbとなり、このときF
 (Xn)=Xn−10を識別間数、パターンPaとパ
ターンPbを分離する基準値10をいき値と呼ぶ。
In the simplest case, the number of times X passes through the first state
When n is more than 10 times in the case of pattern Pa, and less than 10 in the case of pattern Pb, it is possible to know whether the input image is pattern Pa or pattern Pb from the value of Xn. Expressing this mathematically, X
When n > I O, that is, Xn-10>0(7), the input image is pattern Pa, and Xn<10, that is, Xn-1o
<o, the input image becomes pattern Pb, and at this time F
(Xn)=Xn-10 is called the discrimination interval number, and the reference value 10 for separating pattern Pa and pattern Pb is called a threshold value.

一般的には、識別のためにより多くの変数を用いる必要
があり、線形識別関数として表わしたとき(1)式とな
る。
Generally, it is necessary to use more variables for identification, and when expressed as a linear identification function, equation (1) is obtained.

ここで、Xnはn番目の状態を通過する回数Anおよび
Bmnは係数 GはXnの3次以上の項からなる関数 (これは単純なパターンの識別のときには無視できる) Sは2つのカテゴリーに属するパターンを識別するだめ
のいき値 (X11はxl、x2、−−m=の集合2つのカテゴリ
ーに屈するパターンPaとパターンPbにおいてn番目
の状態を通過する回数をそれぞれPanおよびPbnと
するそれぞれのカテゴリーに属する任意、のパターンに
関してF ((Panl 、 S) >O(2)F (
(Pbn) 、S) <O(3)となる係数An 、B
mn、いき値Sが求まれば、(2)式と(3)式の関係
を使い、人力17Iii像かパターンPaかあるいはパ
ターンPbであるかを識別できる。
Here, Xn is the number of times An and Bmn pass through the nth state. G is a function consisting of terms of order higher than the third order of Xn (this can be ignored when identifying a simple pattern). S belongs to two categories. Threshold value for identifying patterns (X11 is a set of xl, x2, --m=) For patterns Pa and Pb that yield to two categories, the number of times Pan and Pbn pass through the n-th state, respectively. For any pattern belonging to , F ((Panl , S) > O(2) F (
(Pbn) , S) < O(3) Coefficients An , B
Once mn and the threshold value S are determined, it is possible to identify whether it is the human power 17Iiii image, pattern Pa, or pattern Pb using the relationship between equations (2) and (3).

〔係数An 、Bmn) 次に、係数An、Bmnを求める場合について説明する
[Coefficients An, Bmn] Next, a case will be described in which the coefficients An and Bmn are calculated.

(1)弐〜(3)式より、 となる。(以上ではより簡tHな関数で識別させるため
に、又、説明を心労にするためにGの項は一視する) 1′:こテPan−PbnおよびPamPan−Pbm
Pbnはべ’ −ンP a ドパターンPbの違い、す
なわち識別するための特徴および特′6j、賃を表わす
ものである。
From equations (1)2 to (3), it becomes. (In the above, we will look at the G term in order to identify it with a simpler tH function and to make the explanation easier.) 1': This is Pan-Pbn and PamPan-Pbm.
Pbn represents the difference in the bead pattern Pb, that is, the distinguishing feature and feature.

一般に違いの明確なもの、すなわち違いの大きいものを
用いると違いがつきやすく、識別しやすように、認識率
をよくするためには、Pan−PbnおよびPamPa
n−PbmPbnが大きいときには、係数AmおよびB
mnが大きい必要がある。
In general, if you use something with a clear difference, that is, something with a large difference, it will be easier to distinguish and identify the difference.In order to improve the recognition rate, it is necessary to use Pan-Pbn and PamPa.
When n-PbmPbn is large, the coefficients Am and B
mn needs to be large.

PノーF・より、 An  =C(Pan−Pbn) K        
  (5)Bmn=C(PamPan−PbmPbn)
K      (6)ここで、Kは適当な奇数、Cは正
の定数である。
From PnoF, An = C(Pan-Pbn) K
(5) Bmn=C(PamPan−PbmPbn)
K (6) Here, K is an appropriate odd number and C is a positive constant.

式(4)の左辺の第1項、第2項に式(5)。Equation (5) is the first and second term on the left side of Equation (4).

(6)を代入するとそれぞれ (Pan−Pbn) K
” I 。
Substituting (6) gives (Pan-Pbn) K
”I.

(PamPan−PbmPbn)に+’  ト4” ’
l、コ(7)カッ:1の中が負であっても、式が正とな
るように指数を偶数にするためである。パターンは種/
/のイ16をとるから、(5)式と(6)式は平均値と
する必要かある。
(PamPan-PbmPbn)+'to4'''
This is to make the exponent an even number so that even if 1 is negative, the equation will be positive. The pattern is the seed/
Since we take A16 of /, it is necessary to use equations (5) and (6) as average values.

An  =Can −bn             
  (7)Bmn=CPam  an−bmPbn  
        (8)となる。ここで    は平均
値を表わす。
An=Can-bn
(7) Bmn=CPam an-bmPbn
(8) becomes. Here represents the average value.

次に、いき値Sを求める。Next, the threshold value S is determined.

(1)弐〜(3)式において、 F ((Panl 、 S) >0>F ((Pbnl
 、 S)となることより、 ΣAnPan+ΣΣBmnPamPan>S>n   
        mn ΣAnPbn+ΣΣBmnPbmPbn     (9
)となる。(9)式を満足するいき値Sは、近似的に。
In equations (1)2 to (3), F ((Panl , S) >0>F ((Pbnl
, S), ΣAnPan+ΣΣBmnPamPan>S>n
mn ΣAnPbn+ΣΣBmnPbmPbn (9
). The threshold value S that satisfies equation (9) is approximately.

■ 5=−(ΣAn(Pan+Pbn)+ n ΣΣBmn(PamPan+PbmPbn))   (
9−1)mn となる。(9−1)式における(Panl  。
■ 5=-(ΣAn(Pan+Pbn)+n ΣΣBmn(PamPan+PbmPbn)) (
9-1)mn. (Panl in formula (9-1).

(P b n)はパターンによって種々値をとるから、
平均化する必要があり、 5=−(ΣAn   an+   nΣ+n ΣΣBmn  PamPan+PbmPbn  )  
   (10)mn となる。
(P b n) takes various values depending on the pattern, so
Need to average, 5=-(ΣAn an+ nΣ+n ΣΣBmn PamPan+PbmPbn)
(10)mn.

(7)式、(8)式および(10)式においてCとKは
適当に決めることができる(例えばC=K = 1 )
から、パターンPaおよびパターンPbから(Panl
および(P b n)を求めることにより、係数An、
Bmnおよびいき値Sが求まる。
In equations (7), (8), and (10), C and K can be determined appropriately (for example, C=K=1)
, from pattern Pa and pattern Pb (Panl
and (P b n), the coefficient An,
Bmn and threshold S are determined.

すなわち識別関数が求まることになる。In other words, the discriminant function is found.

以上では、2つのカテゴリーに属するパターンの識別関
数の求め方について説明したが、2以上のカテゴリーに
属するパターンに対する識別関数に対しても同様に求ま
る。
Although the method for determining the discriminant function for patterns belonging to two categories has been described above, discriminant functions for patterns belonging to two or more categories can be similarly determined.

例えば3個のカテゴリーに属するパターンをPa 、P
bおよびPcとする。
For example, if patterns belonging to three categories are Pa and P
b and Pc.

先ず、パターンPaとパターンPbに対する識別関数F
lが求まり、 Fl((Pan) 、 Sl) >O(l t)Fl(
(Pbn)、St)<O(12)となる。同様にパター
ンPaとパターンPcに対して識別量@F2が求まり、 F2 ((Pan) 、 S2) >O(13)F2 
((Pen) 、S2) <O(14)となる。同様に
パターンpbとパターンPcに対して識別関数F3が求
まり、 F3 ((Pbn) 、S3)>O(15)F3 ((
Pcnl 、S3)<O(16)となる。
First, the discriminant function F for pattern Pa and pattern Pb is
l is found, Fl((Pan), Sl) > O(lt) Fl(
(Pbn), St)<O(12). Similarly, the discrimination amount @F2 is found for pattern Pa and pattern Pc, and F2 ((Pan), S2) >O(13)F2
((Pen), S2) <O(14). Similarly, the discriminant function F3 is found for pattern pb and pattern Pc, and F3 ((Pbn), S3)>O(15)F3 ((
Pcnl , S3)<O(16).

(l l)式と(16)式を用いれば Fl((Xnl  、St)>oかツF 2 ((Xn
l  、 S2) >0 (17)となれば入力画像は
パターyPaと識別される。
Using equations (l l) and (16), Fl((Xnl , St)>o or F 2 ((Xn
l, S2)>0 (17), the input image is identified as the putter yPa.

同様に F+ ((Xn)、Sl)<OかつF3 (fXn) 
、S3) >0 (18)のとき、入力画像はパターン
pbと識別される。
Similarly, F+ ((Xn), Sl)<O and F3 (fXn)
, S3) >0 (18), the input image is identified as pattern pb.

F2 ((Xn)、S2)<oかツF3 ((xnl 
、 S3) <O(19)のとき、入力画像はパターン
Pcと識別される。
F2 ((Xn), S2) < o or F3 ((xnl
, S3) When <O(19), the input image is identified as pattern Pc.

第12図に以上の関係を抽象的に表わす。各パターンP
a、Pb、Pcのカテゴリー空間をそれぞれ分割してい
るのが識別関数Fl、F2.F3であり、(17)弐〜
(19)式で各カテゴリー空間が定義される。
FIG. 12 abstractly represents the above relationship. Each pattern P
The category spaces of a, Pb, and Pc are divided by discriminant functions Fl, F2. It is F3, (17) 2~
Each category space is defined by equation (19).

そして、入力画像が例えばパターンPaのカテゴリー空
間内にあるならば入力画像はパターンPaと識別される
For example, if the input image is within the category space of pattern Pa, the input image is identified as pattern Pa.

順序論理と照合したパターンのカテゴリーの数がより多
い場合でも同様にして識別関数は求まる。
Even when the number of categories of patterns matched by sequential logic is larger, the discriminant function can be found in the same way.

以上より、係数Anおよび係数Bmnを求める(7)式
と(8)式、およびいき値Sを求める(10)式より、
識別関数を与える(1)式が求まる。任意の1つの順序
論理と照合する複数のカテゴリーを識別することができ
るが、この識別関数および(2)式および(3)式の識
別条件を用いることにより識別に効果的なもの、すなわ
ち識別の特徴により、認識率および処理速度は向上する
From the above, from equations (7) and (8) for calculating the coefficient An and coefficient Bmn, and equation (10) for calculating the threshold value S,
Equation (1) giving the discriminant function is found. It is possible to identify multiple categories that match any one order logic, but by using this discriminant function and the discriminant conditions of equations (2) and (3), it is possible to identify categories that are effective for discrimination, that is, to identify The features improve recognition rate and processing speed.

〔特徴抽出方法〕[Feature extraction method]

次に特徴の抽出方法について説明する。 Next, a feature extraction method will be explained.

(1)式〜(2)式、(7)式、(8)式、(10)式
より、 F ((Pan)、5) (2o) F (1Pbn)、5) が得られる。
From formulas (1) to (2), formulas (7), formulas (8), and formulas (10), F ((Pan), 5) (2o) F (1Pbn), 5) is obtained.

(20)式と(21)式において、 安定した特徴を与えるものは、全てのパターンPaに対
して常に正、全てのパターンPbに対して常に負となる
ものである。
In equations (20) and (21), what gives stable characteristics is one that is always positive for all patterns Pa and always negative for all patterns Pb.

例えば、n番目の状態をaIIiSする回数が安定した
特徴であるためには。
For example, for the number of times the nth state is aIIiS to be a stable feature.

が全てのパターンのPan、Pbnに対して成り立つ必
要がある。
must hold true for all patterns of Pan and Pbn.

この条件は(20)式および(21)式の複数項の和に
対して成り立つ場合でもよい。
This condition may also be true for the sum of multiple terms in equations (20) and (21).

例えば、 An(Pbn−−ズ了an+了qTに「<0(25)が
全てのパターンのPam 、Pan 、PbmおよびP
bnに対して成り立つならばm番目およびn番目の状態
を通過する回数の線形和 AmXm+AnXn が安定した特徴となる。
For example, in An(Pbn--'s completed an + completed qT, "<0 (25) is all patterns of Pam, Pan, Pbm and
If it holds true for bn, the linear sum AmXm+AnXn of the number of times of passing through the m-th and n-th states becomes a stable feature.

一般的には、(20)式および(21)式において、1
つの項あるいは複数個の項の線形和が確率的に高く(実
用に90%以ヒ)、・々、7ンPaに対しては正、パタ
ーンPbに対11.ては負となれば識別のための特徴と
して使える。
Generally, in equations (20) and (21), 1
The linear sum of a term or multiple terms has a high probability (more than 90% in practice), etc., is positive for the pattern Pb, and is positive for the pattern Pb. If it is negative, it can be used as a feature for identification.

未発明の順序論理の修iTE法で作られたものでは、状
態間の飛越しの数が1以下で同じコードで遷移して来る
状態があればこれらの状態(以下共通の状態と呼ぶ)を
通過する回数は単独で安定した特徴となるよりも線形和
が安定した特徴となる確率が高い。例えば第13図のパ
ターン「7」の状態遷移図において状態A1と状態a1
の状態間の飛越しの数はlであり、コード3により遷移
して来る状態であるか、パターン「7」とパターン「ワ
」の識別では、識別関数として、 −7,6(X1+xl)とすることができる。
In the method created using the uninvented modified iTE method of sequential logic, if there are states that transition with the same code and the number of jumps between states is 1 or less, these states (hereinafter referred to as common states) are The probability that the linear sum becomes a stable feature is higher than that of the number of passes alone. For example, in the state transition diagram of pattern "7" in FIG. 13, state A1 and state a1
The number of jumps between states is l, and the state transitions by code 3. In the discrimination between pattern "7" and pattern "wa", the discriminant function is −7,6(X1+xl). can do.

ここでXlおよびXlは、それぞれ状態A1および状態
a1を通過する回数が識別の特徴となる。
Here, Xl and Xl are distinguished by the number of times they pass through state A1 and state a1, respectively.

これは状1QtA 1と状態a1がストローク中の線分
の情報を分担しているためである。
This is because the state 1QtA1 and the state a1 share information on the line segment in the stroke.

次に特徴となりやすいものは、(1)式のXnの2次の
項の中では (X1+X1)”の項 (X1+xtは、状8A1と状態a1との距離に対応す
る) と (X1+xt)(X2+X2)の項 (隣接した状態の通過回数の積−一一一線分の曲率に対
応する) ここでX2はxlに対する状態A1と 隣接した状態A2を通過する回数であ り、X2は状態a2を通過する回数 である。これらが特徴となりやすいのは、前者が線分の
長さに後者が隣り合ったもの同士の積の和で線分の曲率
に関係しているためである。
The next most likely feature is the term (X1+X1)'' (X1+xt corresponds to the distance between state 8A1 and state a1) among the quadratic terms of Xn in equation (1). ) term (corresponds to the product of the number of passes through adjacent states - the curvature of a line segment) where X2 is the number of times xl passes through state A1 and adjacent state A2, and X2 is the number of times xl passes through state A2. These tend to be features because the former is the length of the line segment, and the latter is the sum of the products of adjacent lines, which is related to the curvature of the line segment.

次に、パターン間の大きな違いとなる特徴、すなわち識
別しやすい特徴を与えるものは、係ll!シ(An)お
よび(Bmn)の中の絶対値が大きい項あるいは複数個
の係数の和の平均値の絶対値が大きいものである。
Next, the features that make a big difference between the patterns, that is, the features that make them easy to identify, are the features that make them easy to identify. This is a term with a large absolute value in (An) and (Bmn), or a term with a large absolute value of the average value of the sum of a plurality of coefficients.

実用的には、安定かつ識別しやすい特徴を識別関数とし
て用いる。
In practice, stable and easily distinguishable features are used as the discriminant function.

〔特徴抽出の手順〕[Feature extraction procedure]

このような特徴抽出および識別関数を求める手順を説明
する。
A procedure for extracting such features and determining a discriminant function will be explained.

1、 順序論理との照合処理を通して、順序論理中の各
状態を通過する回数を求める。
1. Find the number of times each state in the sequential logic is passed through the process of matching with the sequential logic.

2、 共通した状態を通過する回数の和を求める。2. Find the sum of the number of times the common state is passed.

3.1および2で求めたものの2乗を求める。3. Find the square of the values found in 1 and 2.

4、 順序論理中の各状態および共通した状態において
、隣接した状態を通過するものの積を求める。
4. Find the product of things passing through adjacent states in each state in the sequential logic and in a common state.

5、 各カテゴリーに対する照合処理を終Yした段階で
、lから4で求めたものの平均値を求める。
5. When the matching process for each category is completed, calculate the average value of the values obtained in step 4 from l.

6、  (7)式および(8)式において、K=l、C
=1とし、上記手順5で求めたものから係数(A n 
)  、  (B m n )を求める。
6. In equations (7) and (8), K=l, C
= 1, and the coefficient (A n
), (B m n ) are determined.

7.6テ求めた係数(An)、(Bmnlの絶対値が大
きい順に例えば10個くらいまで番号を付ける。
7.6 Number the obtained coefficients (An) and (Bmnl) in ascending order of absolute value, for example, up to 10.

8.7で付けた番号順に、(23)弐〜(25)式を確
率的に90%以北満足するものを求め、確率の高い順に
例えば5個くらいまで求める。これが識別関数に用いる
特徴である。
8. In the order of the numbers assigned in step 7, find those that satisfy equations (23) 2 to (25) with a probability of 90% or more, and find, for example, up to about 5 in descending order of probability. This is the feature used in the discriminant function.

9.8で求めた特徴より、(10)式を用い、いき値を
求める。ここで特徴として採用されなかった係数(An
l、(Bmnlに対してはOとして、いき値を求める。
From the features obtained in 9.8, use equation (10) to find the threshold value. Here, the coefficient (An
l, (O for Bmnl, and find the threshold value.

10、 −上記手順の6〜9を同一の順序論理と照合し
た異なるカテゴリー間で行い識別関数を求める。
10. - Perform steps 6 to 9 above between different categories checked against the same sequential logic to obtain a discriminant function.

以J−1の識別関数を求める処理を第2図の流れ図をも
とに更に説明する。
The process for determining the discriminant function of J-1 will be further explained based on the flowchart of FIG.

第2図の流れ図において、順序論理に関する辞書の作成
を終了し、識別関数の作成を開始するステップ11の辞
書検索・照合処理以降の処理について説明する。
In the flowchart of FIG. 2, the processing after the dictionary search/verification process in step 11 in which the creation of a dictionary related to sequential logic is finished and the creation of a discriminant function is started will be described.

ステップ11の辞書検索・照合処理では、ステップ10
で分備された順序論理に関する辞書から、順序論理を検
索し、照合処理を行う。
In the dictionary search/verification process in step 11, step 10
Search for sequential logic from the dictionary related to sequential logic prepared separately, and perform matching processing.

該照合処理の段階で各状態を通過する回数が求まる。At the stage of the matching process, the number of times each state is passed is determined.

ステップ12は照合結果を判断し、照合していなければ
、次の順序論理に対する検索照合を行う。照合したとき
、ステップ13で照合した順序論理と結果を記憶する処
理を行う。この処理の詳細な流れ図を第14図に示す。
Step 12 determines the matching result, and if not matching, performs search matching for the next sequential logic. When the comparison is made, a process is performed in which the sequential logic and result of the comparison are stored in step 13. A detailed flowchart of this process is shown in FIG.

ステップ50は特徴抽出および識別関数を求める特徴抽
出の手順2の処理を行うもので、例えば第13図のパタ
ーン「7」の状態遷移図中状態A1と状態a1.状態A
2と状態a2および状態A4と状態a4に関して各状態
を通過する和を求める。
Step 50 is to perform step 2 of feature extraction to obtain a feature extraction and a discriminant function. For example, in the state transition diagram of pattern "7" in FIG. 13, state A1 and state a1. Condition A
2 and state a2 and state A4 and state a4, the sums passing through each state are calculated.

ステップ51は特徴抽出および識別関数を求める手順3
の処理を行うものである。
Step 51 is step 3 of extracting features and determining the discriminant function.
This process performs the following processing.

ステップ52は特徴抽出および識別関数を求める手順4
の処理を行う。例えば第13図のパターン「7」の状態
遷移図中状態A1と状態a1の和と状態bO1状態A1
と状態a1の和と状態A2と状態a2の和、状態A4と
状態a4の和と状態A3.状態A4と状態a4の和と状
態A5、状態A5と状態a6の各状態を通過する回数の
積が求まる。
Step 52 is step 4 of extracting features and determining a discriminant function.
Process. For example, in the state transition diagram of pattern "7" in FIG. 13, the sum of state A1 and state a1, state bO1, state A1
and the sum of state a1, the sum of state A2 and state a2, the sum of state A4 and state a4, and the state A3. The product of the sum of state A4 and state a4 and the number of times each state of state A5, state A5, and state a6 is passed is determined.

ステップ53では各状態を通過する回数およびステップ
50からステップ52の結果が順序論理とカテゴリーに
より区分けされ記憶される。
In step 53, the number of times each state is passed and the results of steps 50 to 52 are sorted by sequential logic and category and stored.

以上の処理は第2図のステップ14の判断処理により、
全データに関するデータ収集が終るまで続けられる。
The above process is performed by the judgment process in step 14 of FIG.
This will continue until all data have been collected.

データ収集が終ると次にステップ15で識別関数の作成
処理を行う。この処理の詳細な流れ図を第15図に示す
After data collection is completed, a discriminant function is created in step 15. A detailed flowchart of this process is shown in FIG.

ステップ15の識別関数の作成処理は各順序論理に関し
て、該順序論理と照合したカテゴリー間で行われる。例
えば、照合したカテゴリーが1つの場合には識別関数の
作成処理は行わない。[165合したカテゴリーが2つ
の場合には、これらのカテゴリーを識別するだめの識別
関数を作成する。qr(合したカテゴリーがrA」 、
rB」 、rc」の3つの場合にはr A 、1と  
「 B 」  、  「 A 」  と  「 C」 
 及 び r]3  」  と  rcjをそれぞれ識
別する3つの識別関数を作成する。4以−ヒの場合につ
いても同様に行われる。
The process of creating a discriminant function in step 15 is performed for each sequential logic between categories matched with the sequential logic. For example, if the number of matched categories is one, the process of creating a discriminant function is not performed. [165 If there are two categories that match, create a discriminant function to identify these categories. qr (combined category is rA),
rB'', rc'', rA, 1 and
"B", "A" and "C"
and r]3'' and rcj, respectively. The same procedure is applied to cases 4 to 5.

以下、第15図の識別関数作成の流れ図について説明す
る。
The flowchart for creating the discriminant function shown in FIG. 15 will be described below.

ステップ60のモ均値処理では、ステップ53で記憶さ
れたものを、各順序論理を各カテゴリーごとに平均化す
る処理を行う。ステップ61は係数を求める処理であり
、ステップ60の平均値処理で求めた各平均値から、各
1順序論理の異なるカテゴリー間で(5)式あるいは(
6)式から求まる。
In the average value processing in step 60, the values stored in step 53 are averaged for each category of each sequential logic. Step 61 is a process of calculating coefficients, and from each average value obtained in the average value process of step 60, formula (5) or (
6) Determined from the formula.

ステップ62の係数の順位付は処理では、各順序論理の
異なるカテゴリー間で求まる係数に関し、絶対値の大き
い順に番号を付ける処理を行う。
In the coefficient ranking process of step 62, the coefficients found between different categories of each sequential logic are numbered in descending order of absolute value.

ステップ63の特徴抽出処理では、各順序論理の異なる
カテゴリー間で、ステップ62の係数の順位付は処理で
付けられた番号に従って、各係数が(22)弐〜(25
)式の条件式を90%以上の確率で満足するものを抽出
し、確率が高くかつステップ62の順位が若い(すなわ
ち係数の絶対値が大きい)もののたかだか5個程度を抽
出し、これを特徴とする。
In the feature extraction process in step 63, the coefficients in step 62 are ranked between different categories of each sequential logic according to the numbers assigned in the process, so that each coefficient is between (22)2 and (25).
) that satisfies the conditional expression with a probability of 90% or more, extract at most five items with a high probability and a low rank in step 62 (that is, the absolute value of the coefficient is large), and use this as a feature. shall be.

ステップ64のいき値処理では、各順序論理の異なるカ
テゴリー間でステップ63の特徴抽出処理で抽出した特
徴より、(10)式に従いいき値を求める。
In the threshold processing in step 64, threshold values are determined according to equation (10) from the features extracted in the feature extraction processing in step 63 between different categories of each sequential logic.

以上の処理により識別関数中の定数が東まる、すなわち
、識別関数が作成できる。
Through the above processing, the constants in the discriminant function are adjusted, that is, the discriminant function can be created.

ここで作成された識別関数は、各順序論理と照合した異
なるカテゴリー間に存在するから、第2図のステップ1
6の辞書への識別関数の登録では、メモリ7に記憶され
る順序論理と各順序論理と照合したカテゴリーを識別す
る識別関数を対応させる。また識別関数で識別される結
果、すなわち認識結果を記憶する。
The discriminant function created here exists between different categories compared with each sequential logic, so step 1 in Figure 2
In registering the discriminant functions in the dictionary in step 6, the sequential logic stored in the memory 7 is made to correspond to the discriminant function that identifies the category matched with each sequential logic. It also stores the results identified by the discriminant function, that is, the recognition results.

以上の処理によってパターン認識に必要な辞書を作成で
きるが、以下で第1図のメモリ4〜メモリ8の各々およ
び相¥関係について詳細に説明する。
Although the dictionary necessary for pattern recognition can be created through the above processing, each of the memories 4 to 8 in FIG. 1 and the phase relationship will be explained in detail below.

メモリ4は前処理、順序論理作成処理、識別関数作成処
理およびメモリ管理等を実行するだめのプログラムが記
憶されており、該プログラムはCPUIにより実行され
る。
The memory 4 stores programs for performing preprocessing, sequential logic creation processing, discriminant function creation processing, memory management, etc., and these programs are executed by the CPUI.

メモリ5およびメモリ6は前処理および辞書作成処理の
ための作業領域であり、メモリ内容は常にFJき変わる
Memory 5 and memory 6 are work areas for preprocessing and dictionary creation processing, and the memory contents are constantly changed.

メモリ7は予め分割されており、分割された各々に各順
序論理を記憶する。このようにすることにより、順序論
理の修正処理および検索処理を簡単にする。
The memory 7 is divided in advance, and each of the divided sections stores each sequential logic. This simplifies the sequential logic modification process and search process.

〔順序論理の記憶構造〕[Memory structure of sequential logic]

第16図に順序論理の記tα構造を示す。 FIG. 16 shows the notation tα structure of sequential logic.

本実施例では、順序論理の修正をしやす〈1−る為、状
態へ遷移するためのコード、ある状態から次の状態へ遷
移が許される(相対)アドレス、各状態を通過する回数
に対し固定長のメモリ容9(例えば、1バイト)が割り
当てられている。また始状態、終状態および標本遷移図
中の標本状態を予め定まった番地に記憶し、標本状態間
に1つ分の補助状態を追加する場所を設ける事により、
順序論理の修正を容易にした。
In this example, in order to make it easier to modify the sequential logic, we will introduce the code for transitioning to a state, the (relative) address at which transition from one state to the next state is allowed, and the number of times to pass through each state. A fixed length memory capacity 9 (for example, 1 byte) is allocated. In addition, by storing the starting state, final state, and sample state in the sample transition diagram at predetermined addresses, and providing a place to add one auxiliary state between the sample states,
Made it easier to modify the sequential logic.

終状態、コードEの後には識別関数を記憶するやめ定め
られた番地が記憶され順序論理と識別関数が対応付けら
れる。
After the final state, code E, a predetermined address for storing the discriminant function is stored, and the sequential logic and the discriminant function are associated with each other.

第16図は第4図のパターン゛7″の標準状態、S秒間
を表わすメモリマツプであり、第17図は第7図の修正
された状8a移図を表わす。
FIG. 16 is a memory map representing the standard state of pattern "7" in FIG. 4 for S seconds, and FIG. 17 represents a modified state 8a transition of FIG.

第7図の状態塁秒間は第4図の標準状態遷移間中の状態
A 5に補助状8A6を付加する修正を行っており、こ
のとき状態A5からはコード6番こよる状態A6への遷
移と新たに付加された状態A6にはコード6による状態
へ6への遷移およびコード7による状態A5への遷移が
追加される。
The state interval in Figure 7 is modified by adding auxiliary letter 8A6 to state A5 during the standard state transition in Figure 4, and at this time, the transition from state A5 to state A6 with code 6 is made. To the newly added state A6, a transition to state 6 due to code 6 and a transition to state A5 due to code 7 are added.

これはメモリマツプ上では、7316図と第17図の違
いをみればわかるように、コード(状態)のところに6
(A6)が、7(As)の遷移条件6のところに遷移先
6 (As)の番地が6(As)の遷移条件6と7のと
ころに遷移先6 (A6)と7(A5)の番地が記憶さ
れる。
On the memory map, as you can see from the difference between Figure 7316 and Figure 17, 6 is placed at the code (state).
(A6) has transition destination 6 (As) at transition condition 6 of 7(As) and transition destination 6 (A6) and 7(A5) at transition condition 6 and 7 of 6(As). The address will be memorized.

メモリ8は予め分割されており、分割された各々に順序
論理に対応した識別関数、(20)式および(21)式
のような識別関数を用いた条件式、および識別結果が記
tなされる。
The memory 8 is divided in advance, and each division is written with a discrimination function corresponding to the sequential logic, a conditional expression using the discrimination function such as equations (20) and (21), and a discrimination result. .

〔認識処理〕[Recognition processing]

本方式で作った順序論理と識別関数の辞書を用いて認識
処理を行う場合について説明する。
A case in which recognition processing is performed using a dictionary of sequential logic and discriminant functions created using this method will be explained.

このとき、辞書を作成するプログラムの代りに認識処理
をするプログラムを用いる点を除けば、装置の構成は変
らない。第18図に認識処理の流れ図を示す。
At this time, the configuration of the device remains unchanged except that a program for recognition processing is used instead of a program for creating a dictionary. FIG. 18 shows a flowchart of the recognition process.

以下に動作について説明する。The operation will be explained below.

ステップlの画像入力処理、ステップ2の・i′11処
理、ステップ11の順序論理の辞書の検索中照合処理、
およびステップ12の照合の判断・摂理1オ先の辞書の
作成で行ったと同じ処理をイー1−)。
Image input processing in step l, i'11 processing in step 2, collation processing during search of the sequential logic dictionary in step 11,
Then, perform the same process as in Step 12, which is the judgment of collation and the creation of the dictionary in step 1-).

ステップ70は順序論理の辞3の検索が終了15たか否
かを判断し、入力画像が全ての順序論理と照合しなかっ
た場合、すなわち認識できない場合には、処理を終了し
、認識拒否という結果を出す。
In step 70, it is determined whether or not the search for word 3 of the sequential logic is completed 15. If the input image does not match all of the sequential logics, that is, if it cannot be recognized, the process is terminated and recognition is rejected. issue.

ステップ71の識別関数による識別処理では、照合処理
の段階で求めた、順序論理中の各状y、!1紮通過する
回数から識別関数の値を求め、前述の条件式から識別結
果を出し認識処理を終rする。
In the identification process using the identification function in step 71, each state y, ! in the sequential logic obtained at the stage of the matching process. The value of the discriminant function is determined from the number of times one ligature passes, the discriminant result is obtained from the above-mentioned conditional expression, and the recognition process is terminated.

〔効里〕[Eri]

以上、詳述した様に本願発明により、0CRO開発或い
は、パターン認識時における辞−)の作成において、学
習機能を持たせることが可能となる。
As described in detail above, according to the present invention, it is possible to provide a learning function in the development of 0CRO or in the creation of words -) during pattern recognition.

叉、未発明によ((、ストローク構造解析法に順序論理
(オートマトン)の思想を取り入れ、更に識別関数によ
る識別処理をも行うようにしたパターン認識装置を提供
することが可能となる。
Furthermore, it is possible to provide a pattern recognition device which incorporates the idea of sequential logic (automaton) into the stroke structure analysis method and further performs classification processing using a classification function.

又、オンライン又はオフライン文字認識の辞書の自動作
成を行うことが可能となった。
Additionally, it has become possible to automatically create a dictionary for online or offline character recognition.

又、パターン認識用のチェンコードを元にして、辞書作
成用のチェンコードを作成することが可能となった。辞
書である順序論理をチェンコードを先にして修正し、よ
り良い順序論理を学習することが可能となった。又、本
願発明により5方向を示すコードデータにより作成され
た辞書データである順序論理の各状態を通過する回数を
変数とする識別関数を作成することが可能となった。又
、本発明によりクレームを提供することが可能となった
Furthermore, it has become possible to create a chain code for dictionary creation based on a chain code for pattern recognition. By modifying the sequential logic that is a dictionary by starting with the chain code, it became possible to learn better sequential logic. Further, according to the present invention, it has become possible to create a discriminant function whose variable is the number of times each state of sequential logic, which is dictionary data created by code data indicating five directions, is passed through. Furthermore, the present invention has made it possible to provide claims.

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

第1図は本発明の説明ブロック図、 第2図は本発明の動きを示す流れ図、 第3[]1はチェン命コード化の1実施例を示す第4図
は標準順序論理の遷移図、 第5−1図、第5−2図は方向の定義を示す図、 第6図は順序論理の修正処理の流れ図、第7図は修正後
の状態遷移を示す図、 第8図は補助状態を有したルールlの説明のための状態
遷移を示す図、 第9図は補助状態を有したルール2の説明のための状態
遷移を示す図、 第10図は補助状態を有したルール3の説明のための状
態遷移を示す図、 第11図は補助状態を有したルール4の説明のだめの状
態遷移を示す図、 第12図はカテゴリー空間の識別を示す図、第13図は
パターン「7」の状8遷移図、第14図はデータ収集に
関する流れ図。 第15図は識別関数作成の流れ図、 第16図、第17図は順序論理のメモリマツプの説明図
、 第18図は認識処理の流れ図を示す図、第19図は、標
本折線近似パターンを示す図。 1はCPU 7は順序論理格納用メモリ 8は識別関数格納用メモリ 第5−7図  第5−乙図 宰冒30バrノ″7゛切払も蚕授閤 ’P−t74Fa  ″′j乙7カ山」′1′イえ硝し
れト]猶Z〔ン)フミモ?・シフ′了ハ 名75層識別閏数奔族涯虚収A
FIG. 1 is an explanatory block diagram of the present invention. FIG. 2 is a flowchart showing the operation of the present invention. FIG. Figures 5-1 and 5-2 are diagrams showing the definition of directions, Figure 6 is a flowchart of correction processing for sequential logic, Figure 7 is a diagram showing state transitions after modification, and Figure 8 is an auxiliary state. FIG. 9 is a diagram showing the state transition for explaining rule 1 which has an auxiliary state. FIG. 10 is a diagram showing the state transition for explaining rule 2 which has an auxiliary state. Figure 11 is a diagram showing a state transition for explanation of Rule 4 with auxiliary states, Figure 12 is a diagram showing identification of category space, and Figure 13 is a diagram showing pattern "7" Figure 14 is a flowchart related to data collection. Fig. 15 is a flowchart for creating a discriminant function, Figs. 16 and 17 are explanatory diagrams of memory maps of sequential logic, Fig. 18 is a flowchart for recognition processing, and Fig. 19 is a diagram showing a sample broken line approximation pattern. . 1 is a CPU 7 is a memory for storing sequential logic 8 is a memory for storing discriminant functions Figure 5-7 7 Kayama” '1' Yes, it's a fumimo?・Shifu'ryuha name 75 layer identification leap number group lifetime income A

Claims (1)

【特許請求の範囲】 標本パターンを入力する入力手段、 上記入力手段によって入力された標本パターンを標準順
序論理に変換する標本パターン処理手段 上記処理手段は、ストロークパターンの抽出、折線近似
したパターンへの変換をも行うことを特徴とするパター
ン認識装置。
[Scope of Claims] Input means for inputting a sample pattern; sample pattern processing means for converting the sample pattern input by the input means into standard sequential logic; A pattern recognition device characterized by also performing conversion.
JP60232972A 1985-10-17 1985-10-17 Pattern recognizing device Pending JPS6292090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60232972A JPS6292090A (en) 1985-10-17 1985-10-17 Pattern recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60232972A JPS6292090A (en) 1985-10-17 1985-10-17 Pattern recognizing device

Publications (1)

Publication Number Publication Date
JPS6292090A true JPS6292090A (en) 1987-04-27

Family

ID=16947765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60232972A Pending JPS6292090A (en) 1985-10-17 1985-10-17 Pattern recognizing device

Country Status (1)

Country Link
JP (1) JPS6292090A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6370269B1 (en) 1997-01-21 2002-04-09 International Business Machines Corporation Optical character recognition of handwritten or cursive text in multiple languages

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6370269B1 (en) 1997-01-21 2002-04-09 International Business Machines Corporation Optical character recognition of handwritten or cursive text in multiple languages

Similar Documents

Publication Publication Date Title
EP3660733B1 (en) Method and system for information extraction from document images using conversational interface and database querying
US11514698B2 (en) Intelligent extraction of information from a document
Naz et al. The optical character recognition of Urdu-like cursive scripts
US11461638B2 (en) Figure captioning system and related methods
Wilkinson et al. Neural Ctrl-F: segmentation-free query-by-string word spotting in handwritten manuscript collections
CN112347284B (en) Combined trademark image retrieval method
CN112818117A (en) Label mapping method, system and computer readable storage medium
CN117975241B (en) Directional target segmentation-oriented semi-supervised learning method
JPS6292090A (en) Pattern recognizing device
US6175651B1 (en) On line-character recognition method and device
CN112329389B (en) Chinese character stroke automatic extraction method based on semantic segmentation and tabu search
JPS6227886A (en) Pattern recognizing device
JPS6227883A (en) Pattern recognizing device
JP4648084B2 (en) Symbol recognition method and apparatus
JPS6227884A (en) Pattern recognizing device
JPS6227880A (en) Pattern recognizing device
JPH1055409A (en) Handwritten input information processor
JPS6227885A (en) Pattern recognizing device
JPS6227881A (en) Pattern recognizing device
JP3419251B2 (en) Character recognition device and character recognition method
WO2013029834A1 (en) Method and device for generating a fuzzy rule base for classifying logical structure features of printed documents
JPS6227882A (en) Pattern recognizing device
JPS6227879A (en) Pattern recognizing device
JP2851865B2 (en) Character recognition device
JP3015137B2 (en) Handwritten character recognition device