JPH0746363B2 - Drawing reader - Google Patents

Drawing reader

Info

Publication number
JPH0746363B2
JPH0746363B2 JP60047480A JP4748085A JPH0746363B2 JP H0746363 B2 JPH0746363 B2 JP H0746363B2 JP 60047480 A JP60047480 A JP 60047480A JP 4748085 A JP4748085 A JP 4748085A JP H0746363 B2 JPH0746363 B2 JP H0746363B2
Authority
JP
Japan
Prior art keywords
symbol
sub
symbols
partial
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60047480A
Other languages
Japanese (ja)
Other versions
JPS61208171A (en
Inventor
成佳 下辻
尚 恒川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP60047480A priority Critical patent/JPH0746363B2/en
Publication of JPS61208171A publication Critical patent/JPS61208171A/en
Publication of JPH0746363B2 publication Critical patent/JPH0746363B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] この発明は、図面中のシンボルを認識する図面読取装置
に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a drawing reading apparatus for recognizing symbols in drawings.

[発明の技術的背景とその問題点] 従来のシンボル認識は、まず、入力画像の局所的特徴
や、線、図形の位置情報を利用してシンボル1個,1個を
切り出し、認識部へおくり、その形状を識別するという
手順であった。この手法においては、粗な図面すなわ
ち、シンボルとシンボル間の距離が充分はなれている図
面においては問題はないが、シンボルとシンボルが近接
すると、シンボル検出を正確に行うことができずその結
果、認識ができないという状況がおこる。
[Technical background of the invention and its problems] In conventional symbol recognition, first, one or more symbols are cut out by utilizing local characteristics of an input image, position information of lines and figures, and sent to a recognition unit. The procedure was to identify the shape. This method does not cause any problems in rough drawings, that is, in drawings in which the distance between symbols is sufficiently large, but if the symbols are close to each other, symbol detection cannot be performed accurately, resulting in recognition. There is a situation where you cannot do it.

[発明の目的] 本発明は、密に書かれた図面や任意の大きさの図形にお
いても正確にシンボル認識が行えることのできる図面読
取装置を提供することを目的とする。
[Object of the Invention] It is an object of the present invention to provide a drawing reading device capable of accurately recognizing a symbol even in a densely drawn drawing or a figure of an arbitrary size.

[発明の概要] 入力された画像データより検出されたループ、塗りつぶ
し等の幾何学的に分類されている部分図形の中から距離
的に組合せ可能なものをまず選択し、次にこれら選択さ
れた部分図形より辞書上の記号シンボルを予測し、シン
ボル候補を求める。辞書との照合では、この予測したモ
デルの上の特徴記述と、シンボル候補の特徴が合ってい
るか否かを検証する。もし、照合不可能であれば、別の
組合せによるシンボル候補について試みる。このような
試行を繰返しながら徐々に部分図形の組合せとシンボル
の認識処理を進めていき、全シンボルについての処理を
完了させる。すなわち、第6図に示すように、照合結果
の内容をシンボル検出にフィードバックさせて利用する
ものである。
[Summary of the Invention] Among geometrically classified subfigures such as loops and fills detected from input image data, those which can be combined in terms of distance are first selected, and then these are selected. The symbol symbols in the dictionary are predicted from the partial figure, and symbol candidates are obtained. In the collation with the dictionary, it is verified whether or not the feature description on the predicted model matches the feature of the symbol candidate. If collation is not possible, a symbol candidate with another combination is tried. By repeating such trials, the process of combining partial graphics and the process of recognizing symbols are gradually advanced to complete the process for all symbols. That is, as shown in FIG. 6, the content of the collation result is fed back to the symbol detection for use.

[発明の効果] 本発明により、入力画像データの局所的特徴や図形の位
置情報のみではシンボル検出が不可能であった密な図面
の処理が可能となる。
[Advantages of the Invention] According to the present invention, it is possible to perform a dense drawing process in which symbol detection cannot be performed only by the local feature of input image data or the positional information of a figure.

[発明の実施例] 第1図は、本願発明の1実施例を実現するためのハード
ウエア構成図である。本装置は、 ファクシミリ,ドラムスキャナ等の入力部11、 入力画像を記憶するフレームメモリ12、 フレームメモリの2次元アドレスを管理するアドレスコ
ントローラ13、 フレームメモリ上の画像を処理する線図形プロセッサ1
4、 線図形プロセッサの処理結果をもとにシンボルを認識す
るテーブル処理プロセッサ15及び、辞書及び各種テーブ
ルを記憶する記憶部16、 からなる。本装置を用いた図面読取におけるシンボル認
識処理の全体の手順を第2図に示す。
[Embodiment of the Invention] FIG. 1 is a hardware configuration diagram for realizing one embodiment of the present invention. The apparatus includes an input unit 11 such as a facsimile and a drum scanner, a frame memory 12 for storing an input image, an address controller 13 for managing a two-dimensional address of the frame memory, and a line drawing processor 1 for processing an image on the frame memory.
4. A table processing processor 15 for recognizing symbols based on the processing result of the line figure processor, and a storage unit 16 for storing a dictionary and various tables. FIG. 2 shows the entire procedure of the symbol recognition processing in the drawing reading using this apparatus.

(イ)「セグメントテーブルの作成」 入力部11より入力したフレームメモリ12上の二値画像に
対し、線図形プロセッサ14はいかに述べる図形処理をほ
どこしたセグメントテーブルを作成する。このセグメン
トテーブルは次の4つのStepから作成される。
(B) "Creation of segment table" For the binary image on the frame memory 12 input from the input unit 11, the line graphic processor 14 creates a segment table which is subjected to graphic processing described below. This segment table is created from the following four steps.

Step1:入力画像(細線書画像)における連結図形を検出
する。
Step1: Detect the connected figure in the input image (thin line image).

Step2:連結図形毎に細線化する。Step2: Make a thin line for each connected figure.

Step3:各連結図形の外接長方形のサイズにより、文字と
図形領域に分類する。
Step3: According to the size of the circumscribed rectangle of each connected figure, it is classified into characters and figure areas.

Step4:図形領域毎に、細線化画像上で線分追跡を行いセ
グメントテーブルを作成する。
Step4: For each figure area, line segments are traced on the thinned image to create a segment table.

ここでセグメントとは、細線化画像における特徴点(分
岐点,端点)間のディジタル線分をさす。また、上記St
ep4について具体的に述べると、細線化画像の追跡方向
をもとに有効グラフ表現(親リンク&子リンク情報)で
表したセグメント同士の接続情報およびセグメントの終
点座標,終点での分岐数,セグメント長等のセグメント
の形状に関する情報を求め、これらの情報はテーブル処
理プロセッサ15を介して記憶部16のセグメントテーブル
領域に記憶される。
Here, the segment refers to a digital line segment between feature points (branch points, end points) in the thinned image. Also, above St
ep4 is specifically described. Connection information between segments represented by effective graph representation (parent link & child link information) based on the tracking direction of the thinned image, end point coordinates of the segment, number of branches at the end point, segment Information about the shape of the segment such as the length is obtained, and the information is stored in the segment table area of the storage unit 16 via the table processing processor 15.

以上の処理が終了するとテーブル処理プロセッサ15はこ
のセグメント記述された図形の中からシンボルの構成要
素であるサブシンボルを検出する。
When the above processing is completed, the table processor 15 detects the sub-symbol which is a constituent element of the symbol from the figure described in the segment.

(ロ)「サブシンボルテーブルの作成」 一般に、図面中のシンボルは、その中に、ループ、
分岐点,端点、塗りつぶし,屈折点のいずれかを
1つ以上含むことが必要条件である。そこでテーブル処
理プロセッサ15はこの5つの部分特徴を含む図形をセグ
メントテーブル上から見つけサブシンボルテーブルを作
成する。
(B) “Creating a sub-symbol table” In general, symbols in drawings have loops,
It is a necessary condition to include at least one of a branch point, an end point, a fill, and a refraction point. Then, the table processor 15 finds a figure including these five partial features from the segment table and creates a sub-symbol table.

サブシンボルとしては例えば、 ループサブシンボル41 短セグメント(の集まり)サブシンボル42 独立セグメントサブシンボル43(図示せず) 塗りつぶしサブシンボル44 屈折サブシンボル45 の5種である。The sub-symbols are, for example, five types of loop sub-symbol 41, short segment (collection of) sub-symbol 42 independent segment sub-symbol 43 (not shown), filled sub-symbol 44 and refraction sub-symbol 45.

第4図には、上記サブシンボルの組み合せで構成された
3個のシンボル例を示す。
FIG. 4 shows an example of three symbols composed of a combination of the above sub-symbols.

(ハ)「シンボル候補の検出」 テーブル処理プロセッサ15はサブシンボルテーブルの作
成後、これ等サブシンボルの中から距離的に組合せ可能
なものを検出しシンボル認識処理アルゴリズムを実行す
る。シンボル認識処理アルゴリズムは、シンボルに関す
る辞書を用いて、サブシンボルを組合せ、シンボル候補
としてシンボル認識を行う。もし認識不能であれば、別
の組合せによるシンボル候補を試みる。このような試行
を繰返しながら徐々に、シンボル認識処理を進めていき
全シンボルについての処理を完了する。
(C) "Detection of Symbol Candidates" After creating the sub-symbol table, the table processor 15 detects a sub-symbol that can be combined in terms of distance and executes a symbol recognition processing algorithm. The symbol recognition processing algorithm uses a dictionary for symbols to combine sub-symbols and perform symbol recognition as symbol candidates. If unrecognizable, try a symbol candidate with another combination. While repeating such trials, the symbol recognition process is gradually advanced to complete the process for all symbols.

第3図は、上記したシンボル認識アルゴリズムの機能を
説明するための機能図である。本構成は、 シンボルを記述した辞書31(記憶部16内) 辞書を用いて、シンボル候補を求めるサブシンボルの統
合機能32 検出されたシンボル候補の特徴を記述するワークメモリ
33 シンボル候補と辞書との照合機能34 辞書照合に必要な特徴を求める特徴抽出ルーチン群35 の5つの機能からなる。
FIG. 3 is a functional diagram for explaining the function of the symbol recognition algorithm described above. This configuration is a dictionary 31 that describes symbols (in the storage unit 16). A sub-symbol integration function that obtains symbol candidates using a dictionary 32 Work memory that describes the characteristics of detected symbol candidates
33 Matching function of symbol candidate and dictionary 34 It is composed of five functions of a feature extraction routine group 35 for obtaining features necessary for dictionary matching.

図面で用いられるシンボルは、その中に、ループ,分岐
点,端点,塗りつぶし領域,屈折点のいずれか1つ以上
を含む特徴をもつ。シンボルの辞書31は、この部分図形
を記本構成要素として、各シンボルを構成するサブシン
ボルの特徴及びサブシンボル間の関係によって記述す
る。
The symbols used in the drawings are characterized by including therein one or more of loops, branch points, end points, filled areas, and inflection points. The symbol dictionary 31 describes this partial figure as a book constituent element by the characteristics of the sub-symbols constituting each symbol and the relationship between the sub-symbols.

具体的に辞書31は、次に示す3階層のフレームで表現し
た。
Specifically, the dictionary 31 is expressed by the following three layers of frames.

F1:シンボルを構成する部分図形の種類(と数)…各ス
ロットには、シンボルを構成するループ,端点,等のサ
ブシンボルの種類(と数)を記述する。
F1: Kind (and number) of sub-graphics that make up a symbol ... Describe the kind (and number) of sub-symbols such as loops, endpoints, etc. that make up a symbol in each slot.

F2:サブシンボルの特徴…シンボルを構成するサブシン
ボルの特徴を記述するフレームで各スロットは、たとえ
ばループ長が10〜50等のように、変数に対する制約条件
という形で記述される。
F2: Features of sub-symbols ... In a frame that describes the features of sub-symbols that form a symbol, each slot is described in the form of a constraint condition for a variable, such as a loop length of 10 to 50.

F3:サブシンボル間の特徴(関係フレーム)…シンボル
を構成するサブシンボル間の幾何学的な関係を記述した
フレームで、各スロットは、「サブシンボルAとサブシ
ンボルBの関係は〜である」という形で記述する。
F3: Characteristics between sub-symbols (relationship frame) ... In a frame in which a geometrical relationship between sub-symbols forming a symbol is described, each slot has “the relationship between sub-symbol A and sub-symbol B is ~” It is described in the form.

第5図に、この辞書上のシンボルの表現例を示した。こ
こでは、F1フレームの記述内容は、下記の〜であ
る。
FIG. 5 shows a representation example of symbols in this dictionary. Here, the description contents of the F1 frame are as follows.

シンボルコード(シンボル名):AHS 構成サブシンボル各々に変数をわりつけ、それらの変
数の属性として、わりつけられたサブシンボルの種類
(ループ,短セグ,独立セグ,ぬりつぶし,屈折)をわ
りあてる。また、サブシンボルの形状を表現するため
に、各変数X1,X2,X3に対してF2フレームへのポインタを
わりあてる。すなわち、各スロットは、(変数名,サブ
シンボル,の種類,F2フレームへのポインタ)の3組で
表現される。
Symbol code (symbol name): Assigns variables to each AHS constituent sub-symbol, and assigns the type of the attached sub-symbol (loop, short segment, independent segment, fill, refraction) as the attribute of those variables. Further, in order to express the shape of the sub-symbol, a pointer to the F2 frame is assigned to each variable X1, X2, X3. That is, each slot is represented by three sets of (variable name, subsymbol, type, pointer to F2 frame).

各変数(サブシンボル)間の関係を表現したF3フレー
ムへのポインタ。
A pointer to the F3 frame that expresses the relationship between each variable (sub-symbol).

F2フレームでは、一フレームに対し1種のサブシンボル
の特徴とF1フレームへのポインタを記述し、各特徴に対
し(特徴名,最小値,最大値,ペナルティ)の4つの組
で表現する。このサブシンボルの記述に用いる特徴は、
サブシンボルの種類のよって異なる。
In the F2 frame, one type of subsymbol feature and a pointer to the F1 frame are described for each frame, and each feature is represented by four groups (feature name, minimum value, maximum value, penalty). The features used to describe this subsymbol are:
It depends on the type of sub-symbol.

例えば、変数X1,X2に対応するループサブシンボルの記
述に用いる特徴は、ループ長,端点の数,構成するセグ
メントの数を用いることができる。
For example, the features used to describe the loop sub-symbols corresponding to the variables X1 and X2 can be the loop length, the number of end points, and the number of constituent segments.

F3フレームの記述内容は、 F1フレームへのポインタP1 F2フレームへのポインタP2及び サブシンボル間の特徴を記述したスロットで、 例えば、 (TOUCH(X1,X2)NOT) :ループX1とX2は離れている (POSITION(X1,X2,X3)KO) :ループX1,X2、短セグX3の位置関係はKO(変数)であ
る という形で表現する。
The description content of the F3 frame is a slot describing the feature between the sub-symbol and the pointer P1 to the F1 frame P1 to the pointer P2 to the F2 frame. For example, (TOUCH (X1, X2) NOT): Loops X1 and X2 are separated. (POSITION (X1, X2, X3) KO): The positional relationship between loops X1 and X2 and short segment X3 is expressed as KO (variable).

第3図において、統合機能32は (1) サブシンボルテーブル36の(未処理)サブシン
ボルの1つに着目し、これを構成要素とするシンボルを
予測し、 (2) この着目サブシンボルと他の(未処理)サブシ
ンボルとの統合の可否を調べる。第6図にその処理の流
れ図の一例を示す。
In FIG. 3, the integration function 32 (1) focuses on one of the (unprocessed) sub-symbols of the sub-symbol table 36 and predicts a symbol having this as a constituent element. Check for integration with the (unprocessed) subsymbols of. FIG. 6 shows an example of a flow chart of the processing.

まず、サブシンボルテーブル36をサーチし、未処理サブ
シンボルの1つを着目サブシンボルSIとしてそのデータ
をワークメモリ33に書き込む。
First, the sub-symbol table 36 is searched, and one of the unprocessed sub-symbols is set as the focused sub-symbol SI, and its data is written in the work memory 33.

次に、統合機能32は再びサブシンボルテーブル36をサー
チし、各サブシンボルSiの位置情報を利用して着目サブ
シンボルSIと各サブシンボルSiとの距離diを求める。こ
こで、 di=max(XIl−Xih,0)+max(Xil−XIh,0) +max(YIl−Yih,0)+max(Yil−YIh,0) ただし、 Xil:サブシンボルSiの外接長方形の最小X座標 Xih:サブシンボルSiの外接長方形の最大X座標 Yil:サブシンボルSiの外接長方形の最小Y座標 Yih:サブシンボルSiの外接長方形の最大Y座標 と定義し、diが闘値thより小さい場合サブシンボルSiの
データをワークメモリ33に書き込む。ここでdiを求める
にあたり、ユークリッド距離を採用しなかったのは、距
離の精度はあまり要求されないこと、また、距離計算に
要する処理量を軽減するため乗算や平方根計算をさけた
からである。また、闘値thは、1つのシンボル内のサブ
シンボルが必ず統合されるように経験的に決定される。
Next, the integration function 32 searches the sub-symbol table 36 again, and uses the position information of each sub-symbol Si to obtain the distance di between the target sub-symbol SI and each sub-symbol Si. Where di = max (XIl-Xih, 0) + max (Xil-XIh, 0) + max (YIl-Yih, 0) + max (Yil-YIh, 0) where Xil: minimum X of the circumscribed rectangle of subsymbol Si Coordinates Xih: Maximum X coordinate of circumscribed rectangle of sub symbol Si Yil: Minimum Y coordinate of circumscribed rectangle of sub symbol Si Yih: Defined as maximum Y coordinate of circumscribed rectangle of sub symbol Si. The data of the symbol Si is written in the work memory 33. The Euclidean distance was not adopted in obtaining di here because the accuracy of the distance is not required so much and the multiplication and the square root calculation are avoided in order to reduce the processing amount required for the distance calculation. Further, the threshold value th is empirically determined so that the sub-symbols in one symbol are always integrated.

以下、サブシンボルを統合し、シンボルの候補を検出す
る手順を説明する。
Hereinafter, a procedure for integrating sub-symbols and detecting symbol candidates will be described.

統合機能32はワークメモリ33内のサブシンボル群で構成
されるシンボルを予測する。つまり、着目サブシンボル
SIと同一種類のサブシンボルの特徴をもつものを辞書31
のF2フレームから探す。そして、そのF2フレームに記述
されたポインタから対応するF1フレームを検索する。こ
のF1フレームの図形を予測シンボルと呼ぶことにする。
The integrated function 32 predicts a symbol composed of a sub-symbol group in the work memory 33. That is, the sub-symbol of interest
Dictionary 31 that has the same type of subsymbol characteristics as SI
Search from F2 frame. Then, the corresponding F1 frame is searched from the pointer described in the F2 frame. The figure of this F1 frame is called a prediction symbol.

例えば、着目サブシンボルSIがループである場合にはF1
フレームをサーチすると、第5図のシンボルAHSが予測
シンボルの一つのして検出される。(ここで、検出され
る予測シンボルは着目サブシンボルS1を含むF1フレーム
全てである。) 次に、統合機能32は、予測シンボルに記述されているサ
ブシンボル群がワークメモリ33に記憶されている予め検
出されたサブシンボルに該当するか否か判断する。この
サブシンボルに該当するものが予測シンボルに全てあれ
ば、このサブシンボルの組合せをシンボル候補として作
成する。ここでは、ワークメモリ33には2つのループと
1つの短セグメントが記憶されており、また、予測シン
ボルAHSには、これらのサブシンボル全て存在するの
で、2つのループと1つの短セグメントの組合せをシン
ボル候補として作成する。
For example, if the sub-symbol SI of interest is a loop, F1
When the frame is searched, the symbol AHS shown in FIG. 5 is detected as one of the prediction symbols. (Here, the detected predictive symbols are all F1 frames including the target sub-symbol S1.) Next, the integrated function 32 stores the sub-symbol group described in the predictive symbols in the work memory 33. It is determined whether or not the sub-symbol is detected in advance. If all of the prediction symbols correspond to this sub-symbol, a combination of this sub-symbol is created as a symbol candidate. Here, two loops and one short segment are stored in the work memory 33, and all of these sub-symbols are present in the prediction symbol AHS, so a combination of two loops and one short segment is used. Create as a symbol candidate.

一方、F1フレームに記述されたサブシンボルの組合せが
ワークメモリ33内に存在しない場合、あるいは後述する
照合機能34の処理が失敗した場合には再び残りのF1フレ
ームをサーチする。なお、F1フレームをすべてサーチし
ても照合機能34により照合が成功しなかった場合は、残
りのF2フレームをサーチして同様の処理を繰り返す。
On the other hand, if the combination of sub-symbols described in the F1 frame does not exist in the work memory 33, or if the processing of the collating function 34 described later fails, the remaining F1 frames are searched again. If the collation function 34 does not succeed even after all the F1 frames are searched, the remaining F2 frames are searched and the same processing is repeated.

さて、照合機能34は、シンボル候補と予測シンボル(つ
まり辞書)との照合処理を行うもので、 StepA:シンボル候補を構成する各サブシンボルが予測シ
ンボルに対応するF2フレームに記述されている制約条件
を満たすかどうか検証する、 StepB:各サブシンボルが、予測シンボルのF3フレームに
記述されている相互関係に対する条件を満たすか検証す
る、 ステップからなる。
Now, the matching function 34 performs a matching process between the symbol candidate and the predicted symbol (that is, the dictionary), and StepA: each sub-symbol constituting the symbol candidate is a constraint condition described in the F2 frame corresponding to the predicted symbol. Step B: Verify that each sub-symbol satisfies the conditions for the mutual relationship described in the F3 frame of the prediction symbol.

ステップAにおける検証は完全一致よりも、例えばペナ
ルティの加算という形でマッチングの悪さを評価し、あ
る程度までの相違は許容することが好ましい。
In the verification in step A, it is preferable to evaluate the badness of matching, for example, in the form of adding a penalty, rather than the perfect matching, and tolerate a difference to some extent.

ステップBにおける検証には、特徴抽出機能35を利用す
ることにより、中間的な記憶データ例えばセグメントテ
ーブル36やサブシンボルテーブル37の記憶容量を減少さ
せかつシステム全体を高速化することができる。すなわ
ち、関係フレームでの条件に関する情報を予めすべての
セグメントまたはサブシンボルについて求めておくこと
は時間的にも記憶容量的にも膨大となることに鑑み、本
実施例ではこれらのテーブルには、比較的関係フレーム
で参照する頻度の高い情報のみを記憶しておき、比較的
頻度の低い情報については、StepBで照合の必要性が生
じた場合のみ改めて計測することとした。このためStep
Bにおける照合すべき条件に対応して、例えば判定に必
要なデータがサブシンボルテーブル36にあるもの又はセ
グメントテーブル37にあるものはこれらを参照するが、
例えば、 2点間の方向を求める。
By using the feature extraction function 35 for the verification in step B, the storage capacity of the intermediate storage data such as the segment table 36 and the sub-symbol table 37 can be reduced and the speed of the entire system can be increased. That is, in consideration of the fact that it is enormous in terms of time and storage capacity to obtain information about the conditions in the relational frame in advance for all the segments or sub-symbols, these tables are compared in this embodiment. Only the information that is frequently referred to in the physical relationship frame is stored, and the information that is relatively infrequent is measured again only when the need for collation occurs in Step B. For this reason Step
Corresponding to the condition to be collated in B, for example, the data necessary for the judgment in the sub-symbol table 36 or the segment table 37 refers to these,
For example, find the direction between two points.

2点P1,P2からP3をみた位置を求める。 2 Find the position of P3 from P1 and P2.

ある方向に対する2点P1,P2における▲▼
の方向を求める。
At two points P1 and P2 for a certain direction ▲ ▼
Seek the direction of.

指定セグメントの屈折点の数を求める。 Find the number of inflection points in the specified segment.

サブシンボルsIとsiの連結性を調べる。 Check the connectivity of subsymbols sI and si.

点Pがある長方形領域の内側にあるか否かの判定を
行う。
It is determined whether or not the point P is inside a rectangular area.

等についてはそれぞれ特徴抽出ルーチンを設けておき、
必要により線図形プロセッサ14を起動してフレームメモ
リ12内の画像から直接計測する。
A feature extraction routine is provided for each
If necessary, the line figure processor 14 is activated to measure directly from the image in the frame memory 12.

(ニ)「シンボルコードの出力」 以上により照合が成功すれば予測シンボルのコードをシ
ンボル認識結果としてシンボルテーブル38に出力する。
そして、シンボル候補を構成したサブシンボルについて
は、サブシンボルテーブル36から消去又は処理済である
ことを示すフラグを立てる等した後、新たに未処理サブ
シンボルの中から着目サブシンボルを選び第6図に示す
処理を繰り返す。
(D) “Output of symbol code” If the collation succeeds as described above, the code of the predicted symbol is output to the symbol table 38 as the symbol recognition result.
Then, for the sub-symbols forming the symbol candidate, after setting a flag indicating that they have been deleted or processed from the sub-symbol table 36, a target sub-symbol is newly selected from the unprocessed sub-symbols. The process shown in is repeated.

本発明は、図面読取におけるシンボル認識を例にとり説
明したが、シンボルとしては記号に限られず一般的な図
形や文字あるいは、種々の画像の認識に応用できること
はいうまでもない。
The present invention has been described by taking the symbol recognition in the drawing reading as an example, but it goes without saying that the symbol is not limited to the symbol but can be applied to the recognition of general figures and characters or various images.

なお、上記実施例の統合機能はサブシンボル群を統合し
た後にシンボルの予測を行ったが、着目サブシンボルに
対してまずシンボルの予測を行い、これに設定しかつ統
合可能なサブシンボルを求めるようにしてもよい。
Note that the integration function of the above-described embodiment predicts symbols after integrating the sub-symbol groups. However, the sub-symbols of interest are first predicted, and the sub-symbols that can be set and integrated are obtained. You may

また、上記実施例では、サブシンボルテーブルの作成が
完了した後にシンボル認識処理を行ったが、セグメント
テーブルを用いてサブシンボルを検出する毎に上述した
シンボル認識処理を交互に行うように構成することもで
きる。
Further, in the above embodiment, the symbol recognition processing is performed after the creation of the sub-symbol table is completed. However, the symbol recognition processing described above may be alternately performed every time the sub-symbol is detected using the segment table. You can also

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

第1図は本発明の一実施例のハードウエア構成図、第2
図は本発明の一実施例の全体の流れ図、第3図はテーブ
ル処理プロセッサの機能図、第4図はシンボルを構成す
る部分図形の例を示す図、第5図は本実施例の辞書上の
シンボルを表現した一例を示す図、第6図は統合機能の
処理を説明するためのフローチャートである。 11……入力部 12……フレームメモリ 13……アドレスコントローラ 14……線図形プロセッサ 15……テーブル処理プロセッサ 16……記憶部
FIG. 1 is a hardware configuration diagram of an embodiment of the present invention, and FIG.
FIG. 4 is a flow chart of an embodiment of the present invention, FIG. 3 is a functional diagram of a table processor, FIG. 4 is a diagram showing an example of partial graphics constituting a symbol, and FIG. 5 is a dictionary of this embodiment. FIG. 6 is a diagram showing an example in which the symbol is expressed, and FIG. 6 is a flowchart for explaining the processing of the integrated function. 11 …… Input section 12 …… Frame memory 13 …… Address controller 14 …… Line drawing processor 15 …… Table processing processor 16 …… Storage section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】読み取るべき図形とこの図形を構成する最
小単位であって幾何学的な特徴毎に分類されてなる部分
図形およびこの部分図形の位置関係を対応づけて記憶し
てなる記憶手段と、 読み取るべき図形の線分追跡を行い、この図形を部分図
形に分割する分割手段と、 この分割手段で分割した部分図形の1つである第1の部
分図形を構成要素とする図形を前記記憶手段から読み取
るべき図形の候補として検出する候補検出手段と、 この候補検出手段が検出したこの図形の候補の構成要素
である他の部分図形が前記第1の部分図形の近傍に存在
する図形を抽出する抽出手段と、 この抽出手段で抽出された図形のうち前記記憶手段が記
憶している部分図形の位置関係をもとに読み取るべき図
形と部分図形の位置が一致する図形を認識結果として出
力する認識手段を具備することを特徴とする図面読取装
置。
1. A storage means for storing a graphic to be read, a partial graphic which is a minimum unit constituting the graphic and is classified according to geometrical features, and a positional relationship of the partial graphic in association with each other. A dividing means for performing line segment tracing of a figure to be read and dividing the figure into partial figures; and a figure having the first partial figure which is one of the partial figures divided by the dividing means as a constituent element A candidate detecting means for detecting as a candidate of a figure to be read from the means, and a figure in which another partial figure which is a constituent element of the candidate of the figure detected by the candidate detecting means exists near the first partial figure is extracted. And a figure whose position of the figure to be read coincides with the figure to be read based on the positional relationship between the figure extracted by the extracting means and the figure stored in the storage means. A drawing reading device comprising a recognition means for outputting the output.
JP60047480A 1985-03-12 1985-03-12 Drawing reader Expired - Lifetime JPH0746363B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60047480A JPH0746363B2 (en) 1985-03-12 1985-03-12 Drawing reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60047480A JPH0746363B2 (en) 1985-03-12 1985-03-12 Drawing reader

Publications (2)

Publication Number Publication Date
JPS61208171A JPS61208171A (en) 1986-09-16
JPH0746363B2 true JPH0746363B2 (en) 1995-05-17

Family

ID=12776295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60047480A Expired - Lifetime JPH0746363B2 (en) 1985-03-12 1985-03-12 Drawing reader

Country Status (1)

Country Link
JP (1) JPH0746363B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4949388A (en) * 1987-02-19 1990-08-14 Gtx Corporation Method and apparatus for recognition of graphic symbols
JPH07118016B2 (en) * 1990-12-26 1995-12-18 三菱電機株式会社 Figure recognition device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58117081A (en) * 1981-12-30 1983-07-12 Fujitsu Ltd Pickup processing system of composite diagram pattern

Also Published As

Publication number Publication date
JPS61208171A (en) 1986-09-16

Similar Documents

Publication Publication Date Title
US5410611A (en) Method for identifying word bounding boxes in text
US5907631A (en) Document image processing method and system having function of determining body text region reading order
Santosh et al. Overlaid arrow detection for labeling regions of interest in biomedical images
RU2370814C2 (en) System and method for detection of list in handwritten input data
WO2022247403A1 (en) Keypoint detection method, electronic device, program, and storage medium
JP2009193603A (en) Character recognition system for identification of scanned and real time handwritten characters
US20150055866A1 (en) Optical character recognition by iterative re-segmentation of text images using high-level cues
JP3216800B2 (en) Handwritten character recognition method
JP3917349B2 (en) Retrieval device and method for retrieving information using character recognition result
KR102138748B1 (en) Method and system for detecting and sorting string in line unit
JP3232991B2 (en) Character reading method and address reading method
JP2002063548A (en) Handwritten character recognizing method
JPH0746363B2 (en) Drawing reader
KR102303851B1 (en) Method for searching location through image analysis and system thereof
JP3897999B2 (en) Handwritten character recognition method
CN116758571A (en) Method and device for extracting and analyzing structured information from table images based on text detection
JP4221960B2 (en) Form identification device and identification method thereof
JPH1166230A (en) Document recognition device, document recognition method, and medium
JP4648084B2 (en) Symbol recognition method and apparatus
JP3209197B2 (en) Character recognition device and recording medium storing character recognition program
JP4209511B2 (en) Character recognition method, character recognition device, and computer-readable recording medium recording a program for causing a computer to execute the character recognition method
JP2972443B2 (en) Character recognition device
JP4936635B2 (en) Character string search device, character string search method, and program for causing computer to execute the method
JP2001184460A (en) Handwritten character recognition device and method
JP2851865B2 (en) Character recognition device