JPS60107190A - Graphic recognizing system - Google Patents

Graphic recognizing system

Info

Publication number
JPS60107190A
JPS60107190A JP58215708A JP21570883A JPS60107190A JP S60107190 A JPS60107190 A JP S60107190A JP 58215708 A JP58215708 A JP 58215708A JP 21570883 A JP21570883 A JP 21570883A JP S60107190 A JPS60107190 A JP S60107190A
Authority
JP
Japan
Prior art keywords
character
recognized
characters
figures
dictionary
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
JP58215708A
Other languages
Japanese (ja)
Other versions
JPH0146913B2 (en
Inventor
Masashige Yamamoto
山本 正成
Mitsuo Ishii
石井 光雄
Yasukazu Ito
伊藤 能一
Michiko Iwasaki
岩崎 美知子
Hiroaki Harada
裕明 原田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58215708A priority Critical patent/JPS60107190A/en
Publication of JPS60107190A publication Critical patent/JPS60107190A/en
Publication of JPH0146913B2 publication Critical patent/JPH0146913B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain ease of recognition of a new graphic whose shape is not clear by storing a dictionary graphic/character in terms of vector data and normalizing a graphic/character to be recognized and its size by means of the vector data of dictionary graphic and character. CONSTITUTION:The graphic/character 12 to be recognized is a dot data having height YW and width XW, and a dictionary graphic/character 13 is a candidate graphic/character and stored in terms of basic sizes XW0XYW0, XW1XYW1,.... The candidate graphic/character is a graphic/character group classified by a characteristic amount extracted from the graphic/character to be recognized. The ratios of size between the graphic/character 12 to be recognized and the candidate graphic/character 13, m0, m1,..., n0, n1,..., are obtained and the candidate graphic/character 12 is formed in a vector data 15 being the same size as the graphic/character to be recognized. The vector data 15 is converted into a dot data 17 and subjected to pattern matching with the graphic/character 12 to be recognized (dot data).

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、辞書図形・文字をベクトル・データで保持し
、被認識図形・文字の大きさに規格化した後、ドツト−
データに変換し、辞書図形・文字と被認識図形・文字と
のドツト−イメージのバタ−ン・マツチングを行うよう
にした図形認識方式に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention stores dictionary figures and characters as vector data, normalizes them to the size of figures and characters to be recognized, and then converts them into dots.
This invention relates to a figure recognition method that performs pattern matching of dot images between dictionary figures and characters and figures and characters to be recognized.

〔技術の背景〕[Technology background]

電気回路図面、機械図面、プラント図面、建築図面など
の各種図面は、人間にとって非常に明確且つ直観的にわ
かる情報伝達手段である。このような図面から意味ある
各種情報を得ることは、人間の優れたパターン認識能力
にゆだねられていたが、近年、多くの産業分野で図面情
報の認識、理解を可能とする画像処理技術(図形認識)
を機械化、自動化させようとする強い社会的要請があり
、各種の図形認識処理方式が提案されてきている。
Various types of drawings, such as electrical circuit drawings, mechanical drawings, plant drawings, and architectural drawings, are a means of transmitting information that humans can understand very clearly and intuitively. Obtaining various types of meaningful information from such drawings was left up to humans' excellent pattern recognition ability, but in recent years, image processing technology (shape recognition)
There is a strong social demand for mechanization and automation, and various shape recognition processing methods have been proposed.

〔従来技術と問題点〕[Conventional technology and problems]

第1図は梯来の図形認識方式の1例を説明する図である
。第1図において、1−1ないし1−4は被認識図形・
文字、2は規格化処理部、3−1ないし3−4は規格化
後の図形φ文字、4−1ないし4−ルは辞書の図形・文
字ドツト・データ、5はパターン・マツチング処理部を
示す。
FIG. 1 is a diagram illustrating an example of the figure recognition method of Hashira. In Figure 1, 1-1 to 1-4 are figures to be recognized.
Characters, 2 is the standardization processing unit, 3-1 to 3-4 are the figures φ characters after normalization, 4-1 to 4- are the figures, character dots, and data of the dictionary, and 5 is the pattern matching process unit. show.

各種図面内に書かれる情報を考えてみると、単なる線分
の外に、意味ある図形慟文字を含むために、画像入力装
置(FAX、ドラム・スキャナ、TVカメラ等)を介し
て計算機に入力したディジタル画像データから、線図形
の抽出、図形の抽出認識、文字の抽出認識等の処理が必
要である。しかし、これら図形・文字の抽出認識処理は
、人間が自由に書く図形・文字に各人個有の歪が加わる
ため非常に難しく、従来技術では、図面作成時にテンプ
レートを使用して書くとか、図形・文字のサイズや書く
位置に厳しい制約を設ける等、人間が機械に譲歩した図
面を対象とした処理装置が多い。
When considering the information written in various drawings, in order to include meaningful figures and characters in addition to simple line segments, it is necessary to enter the information into a computer via an image input device (FAX, drum scanner, TV camera, etc.). It is necessary to perform processing such as extraction of line figures, extraction and recognition of figures, and extraction and recognition of characters from the digital image data obtained. However, extraction and recognition processing of these figures and characters is extremely difficult because each person's unique distortions are added to the figures and characters freely drawn by humans. - Many processing devices are designed for drawings where humans have made concessions to machines, such as by setting strict restrictions on the size and position of characters.

次に、図形・文字の認識技術の問題点について詳細に述
べる。従来の図形認識方式は、周知の如く大きく分けて
特徴マツチングとパターン・マツチングの2種類に大別
でき、夫々一長一短を持っている。通常、図面に書かれ
る図形は何種類もの大きさの異なった図形が多く、文字
のようにある一定の大きさで書かれることはあまりない
ことから、図形の認識は特徴マツチングで行われ、文字
の認識はパターン・マツチングで行われている。
Next, we will discuss in detail the problems with figure/character recognition technology. As is well known, conventional figure recognition methods can be broadly divided into two types: feature matching and pattern matching, each of which has advantages and disadvantages. Usually, the figures drawn in drawings are many types of figures of different sizes, and are rarely drawn in a fixed size like letters, so figure recognition is done by feature matching, and letters The recognition is done by pattern matching.

その理由は、パターン・マツチングは大きさの歪に弱い
ことがあげられる。パターン・マツチングは、第1図に
示すように、抽出されたドツト・データの被認識図形・
文字1−1ないし1−4を規格化処理部2で辞書サイズ
に規格化し、パターン・マツチング処理部5で辞書の図
形・文字ドツト・データ4−1ないし4−nの中から規
格化後の図形・文字3−1ないし3−4に最も近いもの
を選ぶようになっている。このように、被認識図形・文
字と辞書の図形・文字との大きさが異なる場合、パター
ン・マツチングでは、被認識図形・文字を辞書の図形・
文字と同じ大きさに規格化しなければならない。規格化
処理では、同一の筆記具で書いたものとして、線幅を保
存した拡大、縮小が行われるが、ドツト・データの規格
化は複雑で完壁にできず、実際には太められたり、目つ
ぶれ等が生じたりする。そのため、あまり大きさが異な
ると、元の形状からかけ離れたものが生じやすく、認識
に悪影響を与える。壕だ、特徴マツチングでは、図形の
大きさが異なることも特徴データの1つで有効なデータ
となるが、これは認識対象図形の形状が既知のときにい
えることであって、形状が不明々新規図形を認識対象と
して追加する場合や、形状歪を考えるとあまり良い認識
率を得ることが期待できない。
The reason for this is that pattern matching is susceptible to size distortion. As shown in Figure 1, pattern matching involves matching the extracted dot data to the figure to be recognized.
The characters 1-1 to 1-4 are standardized to the dictionary size in the standardization processing unit 2, and the standardized characters are extracted from among the figures, character dots, and data 4-1 to 4-n in the dictionary in the pattern matching processing unit 5. The one closest to figure/character 3-1 or 3-4 is selected. In this way, when the shapes and characters to be recognized are different in size from the shapes and characters in the dictionary, in pattern matching, the shapes and characters to be recognized are matched with the shapes and characters in the dictionary.
It must be standardized to the same size as the letters. In the standardization process, lines are enlarged or reduced while preserving the line width as if they were written with the same writing instrument, but the standardization of dot data is complex and cannot be perfected, and in reality, lines may be thickened or drawn. Crashes may occur. Therefore, if the sizes differ too much, shapes that are far different from the original shapes are likely to occur, which will have a negative impact on recognition. Well, in feature matching, the fact that the shapes have different sizes is one of the valid feature data, but this only applies when the shape of the shape to be recognized is known, and when the shape is unknown. When adding a new figure as a recognition target or considering shape distortion, it is not expected to obtain a very good recognition rate.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであって、大きさな
どが自由な大きさで書かれた図面内に現われる手書き歪
を含んだ図形の認識、及び形状不明な新規図形の認識が
容易にできる図形認識方式を提供することを目的とする
ものである。
The present invention is based on the above consideration, and it is possible to easily recognize figures containing handwritten distortion that appear in drawings drawn in a free size, and to recognize new figures whose shapes are unknown. The purpose of this is to provide a figure recognition method that can be used.

〔発明の構成〕[Structure of the invention]

そのために本発明の図形認識方式は、第2図に示すよう
な、図面に書かれた設計情報を自動的に抽出する図面自
動入力装置の中枢をなすもので、図面αを走査し、光電
変換を経てドツト・データにする図面読取装置b、読取
ったドツト・データを保持するドツト・データ保持装置
c1上記ドツト・データ保持装置よりドツト・データを
ロードして、被認識図形・文字領域の切り出しと線分の
抽出を行う図形・文字・線分抽出装置d1上記図形・文
字・線分抽出装置によって抽出された線分を保持する線
分保持装置e1及び上記図形・文字・線分抽出装置によ
って抽出された図形・文字を保持する被認識図形・文字
保持装置fを含む本発明による図形認識処理部1からな
る図面自動入力装置に使用される。
To this end, the figure recognition method of the present invention forms the core of an automatic drawing input device that automatically extracts design information written on drawings, as shown in FIG. A drawing reading device b converts the dot data into dot data, a dot data holding device c1 holds the read dot data, and the dot data is loaded from the dot data holding device to cut out the figure/character area to be recognized. A figure/character/line segment extraction device d1 that extracts line segments; a line segment holding device e1 that holds the line segments extracted by the figure/character/line segment extraction device; and a line segment extraction device e1 that holds the line segments extracted by the figure/character/line segment extraction device. The present invention is used in an automatic drawing input device comprising a figure recognition processing section 1 according to the present invention, which includes a figure/character holding device f to be recognized which holds the figures/characters that have been recognized.

本発明の図形認識方式は、図面に書かれた被認識図形・
文字の領域を保持する被認識図形e文字保持装置、辞書
図形・文字を記憶する図形・文字辞書記憶装置、上記被
認識図形・文字の認識処理結果を記憶する認識結果記憶
装置、グラフィック・ディスプレイ装置、及び演算制御
装置を具備し、上記辞書図形・文字の中から上記被認識
図形・文字に最も近い図形・文字を上記演算制御装置に
より選択して上記認識結果記憶装置に記憶する図形認識
方式であって、上記図形φ文字辞書記憶装置は、図形中
文字の特徴により分類される図形e文字の種類と、図形
・文字の大きさを定義する図形・文字基本サイズと、図
形・文字を各種のベクトルで定義するベクトル・データ
とによって上記辞書図形・文字を記憶するように構成さ
れ、上記演算制御装置は、上記被認識図形・文字保持装
置に保持された被認識図形φ文字から特微量を抽出し、
該特微量により分類される図形・文字の種類の辞書図形
・文字を上記図形・文字辞書記憶装置からロードして上
記被認識図形・文字と同じサイズに規格化し、しかる後
、上記ベクトル拳データを上記規格化したサイズでドツ
ト・データに変換し、該ドツト・データと上記被認識図
形・文字のドツト会データとよりパターン・マツチング
ラ行い、上記被認識図形・文字に最も近い辞書図形e文
字を上記認識結果記憶装置に記憶する処理を行うように
構成されたことを特徴とするものである。
The figure recognition method of the present invention is based on the figure to be recognized written on the drawing.
A figure/character dictionary storage device for storing a character area to be recognized, a figure/character dictionary storage device for storing dictionary figures/characters, a recognition result storage device for storing recognition processing results for the figure/characters to be recognized, and a graphic display device. , and an arithmetic control device, a figure recognition method in which a figure or character closest to the figure or character to be recognized is selected from among the dictionary figures or characters by the arithmetic control device and stored in the recognition result storage device. Therefore, the above-mentioned figure φ character dictionary storage device stores the types of figure e characters that are classified according to the characteristics of characters in figures, the basic figure and character size that defines the size of figures and characters, and the various types of figures and characters. The arithmetic and control device is configured to store the dictionary figure/character by vector data defined by a vector, and the arithmetic and control unit extracts a feature quantity from the figure to be recognized φ character held in the figure to be recognized/character holding device. death,
A dictionary figure/character of the type of figure/character classified by the feature amount is loaded from the figure/character dictionary storage device and normalized to the same size as the figure/character to be recognized, and then the vector fist data is Convert it to dot data with the standardized size, perform pattern matching with the dot data and the dot association data of the figure/character to be recognized, and select the dictionary figure e-character closest to the figure/character to be recognized. The present invention is characterized in that it is configured to perform processing for storing recognition results in a storage device.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照しつつ説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第3図は本発明が適用されるシステム構成例を示す図、
第4図は本発明の1実施例を説明する図、第5図は本発
明の図形認識処理の流れを説明する図、第6図はベクト
ル・データを説明する図である。図において、7は被認
識図形・文字保持装置、8は演算制御装置、9は図形・
文字辞書記憶装置、10は認識結果記憶装置、11はグ
ラフィック・ディスプレイ装置、12は被認識図形・文
字、13は候補図形・文字、14は規格化処理部、15
はベクトル・データ、16はベクトル/ドツト変換部、
17はドツト・データ、18はパターン−マツチング処
理部)12を示す。
FIG. 3 is a diagram showing an example of a system configuration to which the present invention is applied;
FIG. 4 is a diagram for explaining one embodiment of the present invention, FIG. 5 is a diagram for explaining the flow of figure recognition processing of the present invention, and FIG. 6 is a diagram for explaining vector data. In the figure, 7 is a figure/character holding device to be recognized, 8 is an arithmetic control unit, and 9 is a figure/character holding device.
10 is a recognition result storage device, 11 is a graphic display device, 12 is a figure/character to be recognized, 13 is a candidate figure/character, 14 is a standardization processing unit, 15
is vector data, 16 is a vector/dot converter,
17 is dot data, 18 is a pattern-matching processing section) 12.

第2図に示す図面自動入力装置の斜線枠内の図形認識処
理部の具体的な構成例を示したのが第3図であり、図形
・文字辞書記憶装置9は、図形・文字データをベクトル
・データとして持っていて、演算制御装置8は、図形・
文字辞書記憶装置9のベクトル・データを、被認識図形
・文字保持装置7で保持している被認識図形・文字のド
ツト・データの大きさと同じ大きさのドツト・データに
変換してパターン・マツチング処理を行うものである。
FIG. 3 shows a specific configuration example of the figure recognition processing section in the diagonal frame of the automatic drawing input device shown in FIG.・It is held as data, and the arithmetic and control unit 8 is
Pattern matching is performed by converting the vector data in the character dictionary storage device 9 into dot data of the same size as the size of the dot data of the figure/character to be recognized held in the figure/character holding device 7 to be recognized. It performs processing.

そしてその結果を記憶するのが認識結果記憶装置10で
あり、ベクトル・データを図形・文字辞書記憶装置9に
登録するのに用いるのがグラフィック・ディスプレイ装
置11である。
The recognition result storage device 10 stores the results, and the graphic display device 11 is used to register vector data in the graphic/character dictionary storage device 9.

被認識図形・文字を辞書図形・文字とパターンマツチン
グ処理するまでのデータ処理の流れを示しだのが第4図
である。第4図において、被認識図形・文字12は、縦
Yw、横Xwの大きさのドツト・データであり、第3図
に示す被認識図形・文字保持装置7に保持されているも
のである。辞書図形・文字13は、第3図に示す図形・
文字辞書記憶装置9の中から取怜出した候補図形・文字
であり、夫々は基本サイズ(大きさは、XWO×YWO
1XW1×YW1、・・・・・・のように異なっていて
もよい)で保持する。候補図形・文字は、被認識図形・
文字から抽出した特微量によって分類された図形・置9
からロードされる。そこで、規格化処理部14は、被認
識図形・文字12と夫々の候補図形・文字13との大き
さの比m01m1、・・・・・・、ル0、rLl、・・
・・・・をめる。そしてその比を使って候補図形・文字
12を被認識図形・文字と同じ大きさのベクトル・デー
タ15にする。なお、円、円弧等の規格化は、例えば祈
れ線近似してから行う。ベクトル/ドツト変換部16は
、ベクトル拳データ15をドツト・データ17に変換し
、パターン・マツチング処理部18は、被認識図形・文
字12(ドツト・データ)とベクトル/ドツト変換部1
6の出力であるドツト・データ17とによるパターン・
マツチングを行い、ドツト・データ17の中から被認識
図形・文字12に一番近い図形を選ぶ。以上のように、
本発明は、パターン・マツチング時に参照比較する辞書
図形・文字をベクトル・データで保持し、被認識図形・
文字と辞書図形・文字との大きさの規格化は、辞書図形
・文字のベクトル・データで行ってからパターン・マツ
チングを行うものである。
FIG. 4 shows the flow of data processing up to pattern matching of figures and characters to be recognized with dictionary figures and characters. In FIG. 4, a figure/character 12 to be recognized is dot data having a size of Yw in the vertical direction and Xw in the horizontal direction, and is held in the figure/character holding device 7 shown in FIG. The dictionary figure/character 13 is the figure/character shown in FIG.
These are candidate figures and characters selected from the character dictionary storage device 9, and each has a basic size (the size is XWO x YWO).
1XW1×YW1, etc.). The candidate figure/character is the figure/character to be recognized.
Figures/places classified by feature quantities extracted from characters 9
loaded from. Therefore, the standardization processing unit 14 calculates the size ratios m01m1, . . ., ru0, rLl, . . .
.... Then, using this ratio, the candidate figure/character 12 is converted into vector data 15 having the same size as the figure/character to be recognized. Note that the normalization of circles, arcs, etc. is performed, for example, after approximating the lines. The vector/dot converter 16 converts the vector fist data 15 into dot data 17, and the pattern matching processor 18 converts the figure/character 12 (dot data) to be recognized and the vector/dot converter 1.
The pattern by dot data 17 which is the output of 6.
Matching is performed and the figure closest to the figure/character 12 to be recognized is selected from among the dot data 17. As mentioned above,
The present invention stores dictionary figures and characters to be referenced and compared during pattern matching as vector data, and stores figures and characters to be recognized as vector data.
Standardization of the sizes of characters and dictionary figures/characters is performed using vector data of dictionary figures/characters, and then pattern matching is performed.

次に、本発明の図形認識方式による処理の流れを第5図
を参照しつつ説明する。なお、以下の説明において図形
は、先に述べた図形・文字と同義である。
Next, the flow of processing by the figure recognition method of the present invention will be explained with reference to FIG. Note that in the following explanation, the term "figure" has the same meaning as the above-mentioned figure/character.

■ 被認識図形・文字保持装置より1個の図形・文字単
位に領域をロードする。次に■の処理を行う。
■ Load the area for each figure/character from the figure/character holding device to be recognized. Next, perform the process (■).

■ 被認識図形の特徴量を抽出する。次に■の処理を行
う。
■ Extract the features of the figure to be recognized. Next, perform the process (■).

■ 抽出した特徴量により同様の特徴量を持つ図形グル
ープに分類し、パターン・マツチングすべき候補図形を
決める。次に■の処理を行う。
■ Classify shapes into groups with similar features based on the extracted features and determine candidate shapes for pattern matching. Next, perform the process (■).

■ パターン・マツチングすべき候補がいくつおるかを
調べる。
■ Find out how many candidates there are to pattern match.

1個しかなく候補図形が一意に決1った場合にはパター
ン・マツチングを行わず、2個以上N個の候補図形があ
る場合には■の処理(パターン・マツチング処理)を行
う。
If there is only one candidate figure and it is uniquely determined as 1, pattern matching is not performed, but if there are two or more N candidate figures, the process (■) (pattern matching process) is performed.

■ N個の候補図形を辞書からロードし、被認識図形の
大きさく Xw、 Yw )に規格化する。次に■の処
理を行う。
■ Load N candidate shapes from the dictionary and normalize them to the size of the figure to be recognized (Xw, Yw). Next, perform the process (■).

■ 規格化されたベクトル拳データをドツトーデータに
変換し、ドツト・イメージのデータを得る。次に■の処
理を行う。
■ Convert the standardized vector fist data to dot data to obtain dot image data. Next, perform the process (■).

■ パターン・マツチングを行い、被認識図形のドツト
・データに一番近い辞書から得たドツト・データの図形
を選ぶ。
■ Perform pattern matching and select the figure whose dot data obtained from the dictionary is closest to the dot data of the figure to be recognized.

辞書図形・文字のベクトル・データを示したのが第5図
である。第5図において、例えば、直線ベクトルの種類
は、始点終点(オープン)がO1継続点(折れ曲り)が
1、分岐(2分岐)が2、というように表示され、円弧
のθlとθンは円弧の中心角や半径の基準線からの角度
が表示される。
FIG. 5 shows vector data of dictionary figures and characters. In Figure 5, for example, the types of straight line vectors are displayed as O1 for the start point and end point (open), 1 for the continuation point (bend), and 2 for the branch (two branches), and θl and θn of the circular arc. The center angle of the arc and the angle of the radius from the reference line are displayed.

第7図は歪温度の定義を説明する図である。本発明で適
用されるパターン・マツチング処理手法には、種々の手
法があるが、以下にその一つとして既に本願の発明者に
よって提案されている手法の概略を説明する。この手法
は、図形・文字の形(被認識図形・文字の形)を標準形
(辞書図形・文字)と照し合わせて最敷歪の小さいもの
を認識図形・文字とするアルゴリズムである。このアル
ゴリズムでは、第7図に示すように、成るサンプルされ
た(被認識)図形・文字Xは成る基準パターン(辞書図
形・文字)Sに歪dが加えられて生成されたものである
と仮定して、その歪み量の犬きさを評価関数として定義
している。この評価関数を全基本パターン(辞書図形・
文字)についてめ、最小の歪み量をもつ図形・文字パタ
ーンがサンプルの図形争文字であると決定される。歪み
量りは、 D=Σd”(X:(L、j、)、S:(ル、L))と定
義される。ここで、(L、 7)、 (4,1)ハJt
4近い黒画素の座標、dは2点間の距離を示す。
FIG. 7 is a diagram explaining the definition of strain temperature. There are various pattern matching processing methods that can be applied in the present invention, and one of them, which has already been proposed by the inventor of the present application, will be outlined below. This method is an algorithm that compares the shape of a figure/character (figure to be recognized/character shape) with a standard form (dictionary figure/character) and selects the figure/character with the smallest distortion as the recognized figure/character. In this algorithm, as shown in Figure 7, it is assumed that the sampled (to be recognized) figure/character X is generated by adding a distortion d to the standard pattern (dictionary figure/character) S. Then, the degree of distortion is defined as an evaluation function. This evaluation function is applied to all basic patterns (dictionary shapes,
The figure/character pattern with the smallest amount of distortion is determined to be the sample figure-contesting character. The distortion measure is defined as D=Σd" (X: (L, j,), S: (L, L)). Here, (L, 7), (4, 1) Jt
The coordinates of the black pixel near 4, d indicates the distance between the two points.

(例えば、[回路図に書かれた文字の認識の検討]石井
光雄・岩崎美知子(富士通器) 1980年1月25日
社団法人、電子通信学会 PRL79−83 )次に、
第2図に示す図面自動入力装置における図形・文字・線
分抽出装置dによる図形、文字、線分の抽出方法の概略
を説明する。第8図は文字抽出法を説明する図、第9図
は図形と線分の抽出法を説明する図である。
(For example, [Study of recognition of characters written on circuit diagrams] Mitsuo Ishii and Michiko Iwasaki (Fujitsuki) January 25, 1980 Institute of Electronics and Communication Engineers PRL79-83) Next,
A method for extracting figures, characters, and line segments by the figure/character/line segment extraction device d in the automatic drawing input device shown in FIG. 2 will be briefly described. FIG. 8 is a diagram for explaining the character extraction method, and FIG. 9 is a diagram for explaining the figure and line segment extraction method.

文字抽出は、2個画像(O:白画素〔背景〕、1:黒画
素〔文字、図形、線分〕)内より黒画素を見つけ、それ
に第8図(h)に示す8連結でつながる黒画素群を抽出
し、それを囲う矩形枠のサイズ(χ・、1−)が文字ら
しいものを抽出する。そのためには、ここで文字と図形
の大きさに規約が必要になる。例えば第8図(a)に示
すA、Hのようガ文字は5 mm X 5 my+以下
、図形で線分とつながらない・ものは5朋X511!以
上とする等がその規約に相当する。
Character extraction is performed by finding a black pixel from two images (O: white pixel [background], 1: black pixel [character, figure, line segment]), and then finding a black pixel connected to it by 8 connections as shown in Figure 8 (h). A group of pixels is extracted, and a rectangular frame surrounding it whose size (χ·, 1−) resembles a character is extracted. To do this, we need rules regarding the size of characters and graphics. For example, the letters A and H shown in Figure 8(a) are 5 mm x 5 my+ or less, and the shapes that are not connected to line segments are 5 mm x 511! The above terms correspond to the terms.

図形と線分の抽出は、各種図面の表記法によって異なる
為、決め手と々る抽出方法は、図面種類によって異なる
が、1例として、以下に図形と線分の抽出方法について
説明する。例えば、■線分と図形の接触箇所のパターン
によって分離し、抽出する。回路図の場合には、第9図
(α)と(h)に示すように、T、Y1イ、・・・等の
パターンを判定することによって、分離、抽出ができる
。また、■第9図(C)に示すよう寿オーブン端点01
第9図(d)に示すよう力閉ループLを持つものは、図
形として抽出する。なお、この場合の規約として、線分
にオープン端点けなく、線分で閉ループは構成しない。
Since the extraction of figures and line segments differs depending on the notation of each drawing, the key extraction method differs depending on the type of drawing, but as an example, the extraction method of figures and line segments will be explained below. For example, ■ Separate and extract lines based on patterns of contact points between line segments and figures. In the case of a circuit diagram, separation and extraction can be performed by determining patterns such as T, Y1, . . . as shown in FIGS. 9(α) and (h). Also, as shown in Figure 9 (C), the end point 01 of the Kotobuki oven is
As shown in FIG. 9(d), those having a closed force loop L are extracted as figures. Note that the rules in this case are that line segments do not have open endpoints, and line segments do not form closed loops.

第9図(=)に示すような格子は、閉ループでも4隅か
ら線分が出ている場合は線分とされる。
A lattice like the one shown in FIG. 9 (=) is considered to be a line segment even if it is a closed loop if there are line segments coming out of the four corners.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれば、手書
き歪のある図形のサイズもベクトル・データの単なる比
率だけによって簡単に規格化でき、未知の図形もベクト
ル・データで辞書に登録するだけで容易に認識処理に適
用することができる。
As is clear from the above explanation, according to the present invention, the size of figures with handwritten distortion can be easily standardized by simply using the ratio of vector data, and even unknown figures can be simply registered in a dictionary using vector data. can be easily applied to recognition processing.

またベクトル・データのため辞書の記憶領域も小さくす
ることができる。
Furthermore, since it is vector data, the storage area of the dictionary can also be reduced.

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

第1図は従来の図形認識方式の1例を説明する図、第2
図は図面自動入力装置の構成を示す図、第3図は本発明
が適用されるシステム構成例を示す図、第4図は本発明
の1実施例を説明する図、第5図は本発明の図形認識処
理の流れを説明する図、第6図はベクトル・データを説
明する図、第7図は歪測度の定義を説明する図、第8図
は文字抽出法を説明する図、第9図は図形と線分の抽出
法を説明する図である。 1−1ないし1−4と12・・・被認識図形・文字、2
と14・・・規格化処理部、3−1ないし3−4・・・
規格化後の図形・文字、4−1ないし4− n・・・辞
書の図形・文字ドツト・データ、5と18・・・パター
ン・マツチング処理部、7とf・・・被認識図形・文字
保持装置、8・・・演算制御装置、9・・・図形・文字
辞書記憶装置、10・・・認識結果記憶装置、11・・
・グラフィック・ディスプレイ装置、13・・・候補図
形e文字、15・・・ベクトル・データ、16・・・ベ
クトル/ドツト変換部、17・・・ドツト・データ、α
・・・図面、b・・・図面読取装置、C・・・ドツト・
データ保持装置、d・・・図形・文字・線分抽出装置、
e・・・線分保持装置、9・・・図形認識処理部。 特許出願人 富士通株式会社 代理人弁理士 京 谷 四 部 グ 1 m 73 図 (邦!l:) プ S 図 1に貫ぞ檄
Figure 1 is a diagram explaining an example of a conventional figure recognition method, Figure 2
3 is a diagram showing an example of a system configuration to which the present invention is applied; FIG. 4 is a diagram illustrating an embodiment of the present invention; FIG. 5 is a diagram illustrating an embodiment of the present invention. Figure 6 is a diagram explaining the flow of figure recognition processing, Figure 6 is a diagram explaining vector data, Figure 7 is a diagram explaining the definition of distortion measure, Figure 8 is a diagram explaining the character extraction method, and Figure 9 is a diagram explaining the character extraction method. The figure is a diagram illustrating a method for extracting figures and line segments. 1-1 to 1-4 and 12... figure/character to be recognized, 2
and 14... standardization processing section, 3-1 to 3-4...
Figures/characters after standardization, 4-1 to 4-n... Dictionary figures/character dots/data, 5 and 18... Pattern matching processing section, 7 and f... Figures/characters to be recognized Holding device, 8... Arithmetic control device, 9... Graphic/character dictionary storage device, 10... Recognition result storage device, 11...
・Graphic display device, 13... Candidate figure e character, 15... Vector data, 16... Vector/dot conversion unit, 17... Dot data, α
...Drawing, b...Drawing reading device, C...Dot...
Data holding device, d... figure/character/line segment extraction device,
e...Line segment holding device, 9...Graphic recognition processing unit. Patent Applicant Fujitsu Ltd. Representative Patent Attorney Kyotani Shibegu 1m 73 Figure (Japanese!l:) Pu S Pencil to Figure 1

Claims (1)

【特許請求の範囲】[Claims] 図面に書かれた被認識図形・文字の領域を保持する被認
識図形・文字保持装置、辞書図形・文字を記憶する図形
・文字辞書記憶lA置、上記被認識図形・文字の認識処
理結果を記憶する認識結果記憶装置、グラフインク・デ
ィスプレイ装置、及び演算制御装置を具備し、上記辞書
図形Q文字の中から上記被認識図形・文字に最も近い図
形e文字を上記演算制御装置により選択して上記認識結
果記憶装置に記憶する図形認識方式であって、上記図形
・文字辞書記憶装置は、図形−文字の特徴により分類さ
れる図形・文字の種類と、図形や文字の大きさを定義す
る図形・文字基本サイズと、図形・文字を各種のベクト
ルで定義するベクトル・データとによって上記辞書図形
・文字を記憶するように構成され、上記演算制御装置は
、上記被認識図形・文字保持装置に保持された被認識図
形・文字から特微量を抽出し、該特微量により分類され
る図形・文字の種類の辞書図形・文字を上記図形・文字
辞書記憶装置からロードして上記被認識図形・文字と同
じサイズに規格化し、しかる後、上記ベクトル・データ
を上記規格化したサイズでトノF・データに変換し、該
ドツト・データと上記被認識図形・文字のドツト・デー
タとよりパターン・マツチングを行い、上記被認識図形
Φ文字に最も近い辞書図形ψ文字を上記認識結果記憶装
置に記憶する処理を行うように構成されたことを特徴と
する図形認識方式。
A figure/character storage device to be recognized holds the area of figures/characters to be recognized written on the drawing, a figure/character dictionary memory 1A to store the dictionary figures/characters, and stores the recognition processing results of the figures/characters to be recognized. A recognition result storage device, a graph ink display device, and an arithmetic control device are provided to select the figure e character closest to the figure/character to be recognized from among the dictionary figure Q characters by the arithmetic and control device. It is a figure recognition method that stores the recognition results in a memory device, and the figure/character dictionary memory device stores the types of figures/characters that are classified based on the characteristics of figures and characters, and the shapes/characters that define the sizes of figures and characters. The dictionary figures and characters are stored in accordance with the basic character size and vector data that defines figures and characters using various vectors, and the arithmetic and control unit stores the figures and characters to be recognized in the figure and character holding device. A feature quantity is extracted from the figure/character to be recognized, and a dictionary figure/character of the type of figure/character classified by the feature quantity is loaded from the figure/character dictionary storage device and is the same as the figure/character to be recognized. After that, the vector data is converted to TonoF data with the standardized size, and pattern matching is performed using the dot data and the dot data of the figure/character to be recognized. A figure recognition method, characterized in that it is configured to perform a process of storing a dictionary figure ψ character closest to the recognized figure Φ character in the recognition result storage device.
JP58215708A 1983-11-16 1983-11-16 Graphic recognizing system Granted JPS60107190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58215708A JPS60107190A (en) 1983-11-16 1983-11-16 Graphic recognizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58215708A JPS60107190A (en) 1983-11-16 1983-11-16 Graphic recognizing system

Publications (2)

Publication Number Publication Date
JPS60107190A true JPS60107190A (en) 1985-06-12
JPH0146913B2 JPH0146913B2 (en) 1989-10-11

Family

ID=16676841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58215708A Granted JPS60107190A (en) 1983-11-16 1983-11-16 Graphic recognizing system

Country Status (1)

Country Link
JP (1) JPS60107190A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62206694A (en) * 1986-03-07 1987-09-11 Toshiba Corp Drawing reader
DE4422590A1 (en) * 1994-06-28 1996-01-04 Ford Werke Ag Screen washer nozzle for rear screen of vehicle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62206694A (en) * 1986-03-07 1987-09-11 Toshiba Corp Drawing reader
DE4422590A1 (en) * 1994-06-28 1996-01-04 Ford Werke Ag Screen washer nozzle for rear screen of vehicle
DE4422590C2 (en) * 1994-06-28 1998-05-07 Ford Werke Ag Windscreen washer nozzle for motor vehicles
DE4422590C5 (en) * 1994-06-28 2007-01-25 Ford-Werke Gmbh Windscreen washer nozzle for motor vehicles

Also Published As

Publication number Publication date
JPH0146913B2 (en) 1989-10-11

Similar Documents

Publication Publication Date Title
US5212739A (en) Noise tolerant optical character recognition system
JP4933186B2 (en) Image processing apparatus, image processing method, program, and storage medium
US6185341B1 (en) Image processing using vector data to reduce noise
KR101606469B1 (en) Method for image analysis, especially for mobile stations
Den Hartog et al. Knowledge-based interpretation of utility maps
CN112926463B (en) Target detection method and device
CN116597467B (en) Drawing detection method, system, equipment and storage medium
EP0446632A2 (en) Method and system for recognizing characters
JP4919171B2 (en) CHARACTER READING DEVICE, CHARACTER READING METHOD, AND CHARACTER READING CONTROL PROGRAM USED FOR THE CHARACTER READING DEVICE
Hosseini et al. A combined method for Persian and Arabic handwritten digit recognition
JPS60107190A (en) Graphic recognizing system
CN113902035A (en) Omnidirectional and arbitrary digit water meter reading detection and identification method
JP4213357B2 (en) Image processing apparatus, image processing method, and program for executing the method
JP4648084B2 (en) Symbol recognition method and apparatus
JP3113769B2 (en) Character recognition device
AU2021104831A4 (en) A Novel Deep Convolutional Neural Network for Tattoo Text Detection in Images
Parker et al. Vector templates for symbol recognition
JP2715930B2 (en) Line detection method
JPS6222186A (en) Drawing reader
JP2586117B2 (en) Character recognition device
JP2022041468A (en) Identification method, information processing system, method, and program
JPS58165178A (en) Character reader
JPH0656625B2 (en) Feature extraction method
JP2575402B2 (en) Character recognition method
JPH0474755B2 (en)