JPH04115377A - Dictionary registration method for pattern recognition system - Google Patents
Dictionary registration method for pattern recognition systemInfo
- Publication number
- JPH04115377A JPH04115377A JP2236186A JP23618690A JPH04115377A JP H04115377 A JPH04115377 A JP H04115377A JP 2236186 A JP2236186 A JP 2236186A JP 23618690 A JP23618690 A JP 23618690A JP H04115377 A JPH04115377 A JP H04115377A
- Authority
- JP
- Japan
- Prior art keywords
- pattern recognition
- dictionary
- pattern
- dictionary registration
- font
- 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
Links
- 238000003909 pattern recognition Methods 0.000 title claims description 27
- 238000000034 method Methods 0.000 title claims description 12
- 239000013598 vector Substances 0.000 claims description 10
- 230000006835 compression Effects 0.000 description 8
- 238000007906 compression Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000003702 image correction Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 244000062793 Sorghum vulgare Species 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 235000019713 millet Nutrition 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
A、産業上の利用分野
本発明は、パターン認識システムに係り、特にシンボル
認識用辞書の登録方法に関する。DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a pattern recognition system, and more particularly to a method for registering a dictionary for symbol recognition.
B9発明の概要
本発明は、パターン認識システムにおいて、シンボルを
含むサンプルパターンを輪郭ベクトル化し、これを辞書
登録すると同時にフォントを作成して、これらをともに
登録することにより、パターン認識辞書とフォントとの
対応付けを容易にするとともに、新規フォント作成に要
する労力を軽減したものである。B9 Summary of the Invention The present invention provides a pattern recognition system that converts a sample pattern including a symbol into an outline vector, registers it in a dictionary, simultaneously creates a font, and registers them together, thereby making it possible to combine the pattern recognition dictionary and the font. This simplifies mapping and reduces the effort required to create new fonts.
C8従来の技術
パターン認識システムの辞書登録方法に関して、本願出
願人は先に特願平第1−117869号及び特願平第1
−120076号の技術を提案した。C8 Regarding the dictionary registration method of the conventional technology pattern recognition system, the applicant has previously published Japanese Patent Application No. 1-117869 and Japanese Patent Application No.
- proposed the technology of No. 120076.
第3図を参照して前者の提案を概説すると、画像入力部
31で読取られた画像信号は情報圧縮部32により細線
画像化やベクトル化になる情報圧縮がなされ、パターン
認識部33においてパターン認識辞書34の登録パター
ンとの比較によってパターン認識がなされ、認識結果編
集部35で編集されて原画像の認識出力として取出され
る。To outline the former proposal with reference to FIG. 3, the image signal read by the image input section 31 is compressed into a thin line image or vectorized by the information compression section 32, and the pattern recognition section 33 performs pattern recognition. Pattern recognition is performed by comparison with registered patterns in the dictionary 34, edited by a recognition result editing section 35, and taken out as a recognition output of the original image.
一方、辞書登録部36は、原画像として定義用紙に書込
まれた登録パターンを画像入力部31及び情報圧縮部3
2を通してサンプルパターン情報として受取り、このサ
ンプルパターンの形状特徴情報と接続情報をパターン認
識辞書34に登録する。これにより図形の辞書登録が容
易になされる。On the other hand, the dictionary registration section 36 inputs the registered pattern written on the definition sheet as an original image to the image input section 31 and the information compression section 3.
2 as sample pattern information, and registers the shape feature information and connection information of this sample pattern in the pattern recognition dictionary 34. This facilitates the dictionary registration of figures.
また、第4図を参照して後者の提案を概説すると、画像
入力部41で読み取られた画像信号は情報圧縮部42に
より情報圧縮がなされ、パターン認識部43においてパ
ターン認識辞書44の登録パターンとの比較によってパ
ターン認識を行い、認識結果編集部45で編集されて原
画像の認識出力として取り出される。In addition, to outline the latter proposal with reference to FIG. 4, the image signal read by the image input section 41 is compressed by the information compression section 42, and the pattern recognition section 43 converts the image signal into a registered pattern of the pattern recognition dictionary 44. Pattern recognition is performed by comparing the images, which are edited by the recognition result editing section 45 and taken out as the recognition output of the original image.
一方、画像入力部4工により読み取られた辞書登録パタ
ーンは原画修正部46に転送されてそのグラフィックメ
モリに一旦格納されるとともにこの画像をCRT表示装
置47に表示し、オペレータによる目視判定が不適当な
ときはマウス48やキーボード49を使って修正処理を
行わせる。このようにして適正化された登録パターン画
像は、原画修正部46のグラフィックメモリから情報圧
縮部42に転送され、情報圧縮後に辞書管理部50にて
パターン認識に必要な特徴量抽出が行われてパターン認
識辞書44に登録される。これにより辞書登録が確実に
行われる。On the other hand, the dictionary registration pattern read by the image input section 4 is transferred to the original image correction section 46 and temporarily stored in its graphic memory, and this image is displayed on the CRT display device 47, so that visual judgment by the operator is inappropriate. In such a case, the user uses the mouse 48 or the keyboard 49 to perform correction processing. The registered pattern image optimized in this way is transferred from the graphic memory of the original image correction unit 46 to the information compression unit 42, and after the information is compressed, the dictionary management unit 50 extracts the features necessary for pattern recognition. It is registered in the pattern recognition dictionary 44. This ensures dictionary registration.
D9発明が解決しようとする課題
しかしながら、上記のような先提案に係るパターン認識
システムの辞書登録方法は、図形の辞書登録を確実、容
易にする利点はあるが、その一方、認識結果をCRT等
に表示する際に、文字の認微結果については文字コード
即ちJIS第1水準漢字コードやシフトJISコード等
に対するフォントが用意され、これらの文字コードを認
識結果とすれば良いが、シンボルの場合には、文字コー
ドのようなフォントが用意されていないので、利用者が
予め表示用のフォントを別途作成しなければならず、し
かもその作成にがなりの労力を費やすという課題が残さ
れている。D9 Problems to be Solved by the Invention However, although the dictionary registration method of the pattern recognition system proposed above has the advantage of ensuring and facilitating the dictionary registration of figures, on the other hand, the recognition results cannot be transferred to a CRT, etc. When displaying character recognition results, fonts are prepared for character codes, such as JIS 1st level kanji codes and shift JIS codes, and these character codes can be used as recognition results, but in the case of symbols, Since fonts such as character codes are not prepared, the user has to create a display font separately in advance, and the problem remains that creating it requires a lot of effort.
本発明は上記問題に鑑みてなされたものであり、その目
的とするところは、シンボル等のサンプルパターンの辞
書登録をする際の表示用フォント作成に要する労力を軽
減するとともに、登録辞書と表示用フォントとの対応対
を簡易なものにするパターン認識システムの辞書登録方
法を提供することにある。The present invention has been made in view of the above problems, and its purpose is to reduce the labor required to create display fonts when registering sample patterns such as symbols in a dictionary, and to An object of the present invention is to provide a dictionary registration method for a pattern recognition system that simplifies correspondence pairs with fonts.
E3課題を解決する手段
上記目的を達成するために、本発明の構成は、サンプル
パターンを情報圧縮してこれを輪郭ベクトル化し、ベク
トル化されたパターンをパターン認識辞書として登録す
る手段を有する辞書登録方法において、前記輪郭ベクト
ル化されたサンプルパターンをフォントデータ化して清
書し、このフォントデータを前記パターン認識辞書内に
格納するようにしたことを特徴とする特
F1作用
サンプルパターンを輪郭ベクトル化すると、辞書登録が
容易になるとともに、フォントに近似した図形が同時に
作成される。従って、これを清書処理してフォントとし
、パターン認識辞書とともに格納すれば、両者を対応付
けながら管理することができる。Means for Solving Problem E3 In order to achieve the above object, the configuration of the present invention is a dictionary registration system having means for compressing information on a sample pattern, converting it into a contour vector, and registering the vectorized pattern as a pattern recognition dictionary. In the method, the contour vectorized sample pattern is converted into font data and cleaned up, and the font data is stored in the pattern recognition dictionary. Dictionary registration becomes easier, and a figure similar to the font is created at the same time. Therefore, if this is processed into a font and stored together with the pattern recognition dictionary, the two can be managed while being associated with each other.
G、実施例 以下、本発明の詳細な説明する。G. Example The present invention will be explained in detail below.
第1図は本発明の一実施例に係る辞書登録方法を示すブ
ロック図である。FIG. 1 is a block diagram showing a dictionary registration method according to an embodiment of the present invention.
辞書登録の対象となるシンボル等のサンプルパターンは
予め定義用紙に書き込まれたものを用い、これをイメー
ジスキャナ等の画像入力部1で読み込んで白黒画素デー
タに対応する二値画像に変換する。この二値画像は情報
圧縮部2に送られて輪郭のベクトル近似処理が行われる
。Sample patterns such as symbols to be registered in the dictionary are written in advance on a definition sheet, which is read by an image input unit 1 such as an image scanner and converted into a binary image corresponding to black and white pixel data. This binary image is sent to the information compression section 2, where contour vector approximation processing is performed.
輪郭ベクトル化されたサンプルパターンは辞書登録部7
に送られ、ここでパターン認識に必要な特徴抽出が行わ
れ、その結果がパターン認識辞書格納部8に登録される
。The sample pattern converted into a contour vector is stored in the dictionary registration section 7.
Here, features necessary for pattern recognition are extracted, and the results are registered in the pattern recognition dictionary storage section 8.
また、輪郭ベクトル化されたサンプルパターンはフォン
ト作成部3のメモリに一旦格納され、この格納された画
像をCRTに表示してオペレータによる目視確認を可能
にし、ここで必要に応じてマウス5やキーボード6等に
よるフォントデータの清書がなされる。例えば、表示さ
れた画像が第2図(a)のような輪郭ベクトルデータの
場合には、余分な点、線の除去、屈折点の移動、多角形
箇所の円弧化等を行うことにより同図(b)のようなフ
ォントデータに修正される。In addition, the sample pattern converted into a contour vector is temporarily stored in the memory of the font creation unit 3, and this stored image is displayed on a CRT to enable visual confirmation by the operator. The font data is cleansed using 6 or the like. For example, if the displayed image is contour vector data as shown in FIG. The font data is modified as shown in (b).
清書されたフォントデータは前記パターン認識辞書格納
部8に隣接するフォント格納部8に登録。The cleanwritten font data is registered in the font storage section 8 adjacent to the pattern recognition dictionary storage section 8.
される。be done.
このように、本実施例では、情報圧縮部2において輪郭
ベクトル化されたサンプルパターンを辞書登録部7で認
識辞書登録すると同時にフォント作成部3でそのサンプ
ルのフォントを作成できるようにしたので、登録された
辞書とフォントとの管理(対応付け)が簡易になフた。In this way, in this embodiment, the sample pattern converted into an outline vector in the information compression unit 2 is registered in the recognition dictionary in the dictionary registration unit 7, and at the same time, the font creation unit 3 can create a font for the sample. The management (correlation) of dictionaries and fonts has become easier.
また、フォントの作成が情報圧縮部2において輪郭ベク
トル化されたサンプルパターンに基づいて行えるので、
いわば半自動的操作によるフォント作成が可能となり、
オペレータの労力が著しく軽減される。In addition, since the font can be created based on the sample pattern converted into contour vectors in the information compression section 2,
It is now possible to create fonts through semi-automatic operations, so to speak.
Operator effort is significantly reduced.
H9発明の効果
以上の説明のとおり、本発明によれば、シンボル等のサ
ンプルパターンの辞書登録をする際の表示用フォント作
成に要する労力を軽減するとともに、登録辞書と表示用
フォントとの対応付を簡易なものにするパターン認識シ
ステムの辞書登録方法を提供することができる。H9 Effects of the Invention As explained above, according to the present invention, it is possible to reduce the labor required to create display fonts when registering sample patterns such as symbols in a dictionary, and to make correspondence between registered dictionaries and display fonts. It is possible to provide a dictionary registration method for a pattern recognition system that simplifies the process.
なお、本発明は図面入力装置において使用することがで
き、これにより、入力される図面の修正が極めて容易に
行えるようになった。Note that the present invention can be used in a drawing input device, which makes it extremely easy to modify input drawings.
第1図は本発明の一実施例を示す装置構成図、第2図は
フォントの清書処理過程を説明した図であり、(a)は
処理前、(b)は処理後のフォントを示す。
また、
第3図及び第4図は共に先提案に係るパターン認識シス
テムの辞書登録方法の装置構成図を示す。
1・・・画像入力部、
2・・・情報圧縮部、
3・・・フォノ
ト処理部、
4・・・CRT。
5・・・マウス、
6・・・キール
ード、
7・・・辞書登録部、
8・・・パターン認識辞書及
びフォント格納部。
第
1図
1−一一一正導入1郡
2−−−4PEヨ壇郭
3−−−−フ實ントイ乍紀−t)
4−−−−CRT
5−−−−4?ス
ローーq−v□−ド
7−−−−−IF警縁郡
9−−−−バーター7gah黍Lgg v”7v−7)
−閥4内g(18不の直線でlI八−)FIG. 1 is a diagram showing the configuration of an apparatus according to an embodiment of the present invention, and FIG. 2 is a diagram illustrating a font cleanup process, in which (a) shows the font before processing and (b) shows the font after processing. Furthermore, FIGS. 3 and 4 both show a device configuration diagram of the dictionary registration method of the pattern recognition system according to the previous proposal. 1... Image input unit, 2... Information compression unit, 3... Phonograph processing unit, 4... CRT. 5...Mouse, 6...Keyrood, 7...Dictionary registration section, 8...Pattern recognition dictionary and font storage section. Figure 1 1-Eleven Issei Introduction 1 Group 2---4PE Yodangu 3----Fujitsu Toi-ki-t) 4-----CRT 5-----4? Slow q-v□-do 7-----IF Keengun 9-----Barter 7gah millet Lgg v"7v-7)
-G within 4 points (lI8- on a straight line of 18)
Claims (1)
トル化し、ベクトル化されたパターンをパターン認識辞
書として登録する手段を有する辞書登録方法において、 前記輪郭ベクトル化されたサンプルパターンをフォント
データ化して清書し、このフォントデータを前記パター
ン認識辞書内に格納するようにしたことを特徴とするパ
ターン認識システムの辞書登録方法。(1) In a dictionary registration method that includes means for compressing information on a sample pattern, converting it into contour vectors, and registering the vectorized pattern as a pattern recognition dictionary, the sample pattern converted into contour vectors is converted into font data and then fine-printed. and storing this font data in the pattern recognition dictionary.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2236186A JPH04115377A (en) | 1990-09-06 | 1990-09-06 | Dictionary registration method for pattern recognition system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2236186A JPH04115377A (en) | 1990-09-06 | 1990-09-06 | Dictionary registration method for pattern recognition system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04115377A true JPH04115377A (en) | 1992-04-16 |
Family
ID=16997051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2236186A Pending JPH04115377A (en) | 1990-09-06 | 1990-09-06 | Dictionary registration method for pattern recognition system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04115377A (en) |
-
1990
- 1990-09-06 JP JP2236186A patent/JPH04115377A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5619592A (en) | Detection of highlighted regions | |
| JPH04115377A (en) | Dictionary registration method for pattern recognition system | |
| JPH10240869A (en) | Character recognition dictionary creation device and character recognition dictionary creation method | |
| JPH07118002B2 (en) | Image processing device | |
| JP2908451B2 (en) | Method and apparatus for processing scanned video images | |
| JP2974596B2 (en) | Color image processing equipment | |
| JP2649807B2 (en) | Character reader | |
| JP2968617B2 (en) | CAD equipment | |
| JPS594358Y2 (en) | Character control device in character correction | |
| JP2862498B2 (en) | Image processing method | |
| JP2937607B2 (en) | Layout creation device | |
| JP2838556B2 (en) | Image processing device | |
| JPS63188278A (en) | Contour extracting system | |
| JPH0381875A (en) | Linear graphic edition system | |
| JPH03254275A (en) | Picture magnification and reduction method | |
| JPH01270107A (en) | Program generation device for numerically controlled working device | |
| JPH02165288A (en) | Picture processor | |
| JPH06342280A (en) | Video character pattern processor | |
| JPH0554144A (en) | Registering device for pattern recognizing dictionary | |
| JPS6292080A (en) | Character pattern recognition correction device | |
| JPS62134765A (en) | Electronic retrieving method for dictionary of chinese character explained in japanese | |
| JPH08180087A (en) | Distortion correcting method for graphic | |
| JPH0375648A (en) | Illustration cutting out device | |
| JPH01245368A (en) | Encoding processor for contour detecting image | |
| JPH0792828B2 (en) | Image data processor |