JPS583078A - Pattern information extracting system - Google Patents

Pattern information extracting system

Info

Publication number
JPS583078A
JPS583078A JP56101843A JP10184381A JPS583078A JP S583078 A JPS583078 A JP S583078A JP 56101843 A JP56101843 A JP 56101843A JP 10184381 A JP10184381 A JP 10184381A JP S583078 A JPS583078 A JP S583078A
Authority
JP
Japan
Prior art keywords
code
verification
lattice point
label
label code
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
JP56101843A
Other languages
Japanese (ja)
Other versions
JPS6316786B2 (en
Inventor
Shigemi Osada
茂美 長田
Takeshi Masui
桝井 猛
Toshio Matsuura
松浦 俊夫
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 JP56101843A priority Critical patent/JPS583078A/en
Publication of JPS583078A publication Critical patent/JPS583078A/en
Publication of JPS6316786B2 publication Critical patent/JPS6316786B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To extract block patterns from a drawing where characters and patterns are mixed, by extracting only block parts and wiring parts of hand-written linear patterns on a basis of data at each grating point. CONSTITUTION:A block pattern recognizing circuit 36 recognizes pattern candidates extracted by a block pattern candidata extracting circuit 35 and holds them in a block pattern description table 37. A vector converting circuit 38 extracts cross points, inflection points and terminal points and gets information of linkage between these points and block patterns and converts them as vector information. Vector information of wiring patterns transmitted from the vector converting circuit 38 are held in a wiring pattern description table 39.

Description

【発明の詳細な説明】 本発明は図形情報抽出方式に関し1%に格子軸上に描か
れた線図形と文字群が混在する図面の入力ビデオを使用
して線図形情報のうち、4’lKブロツクパターンと配
線パターンとを分離・抽出するようKしたものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a graphic information extraction method, and uses an input video of a drawing in which line figures drawn on a grid axis and character groups are mixed in 1% to extract 4'lK of line figure information. The block pattern and the wiring pattern are separated and extracted.

例えば館1図に示す如く、ドpツプアウトヵ2−の格子
線を有する用紙上に手書き図形された線図形と文字群が
混在する図面から線図形部分のみを計算機等のデータ処
理装置K入力するとき、デジタイず等を使用してオペレ
ータが線形部分Oみを抽出しながら入力する必要がある
。e、O場合。
For example, as shown in Figure 1, when inputting only the line figures from a drawing containing a mixture of line figures and characters drawn by hand on a sheet of paper with grid lines of dop-p-out curves 2-, to a data processing device such as a computer. It is necessary for the operator to input the linear part while extracting it using a digitizer or the like. e, O case.

オペレータは各線の端部と端部を指示し、直線という情
報を入力する必要がある。それ故、簡単な回路図ならば
あまり問題はないが、IC回路のような非常に複雑な回
路図で紘そのデータの入力が非常に煩雑となりオペレー
タはかなり忍耐を必要とする。しかもデータの入力に長
時間を必要とし。
The operator must indicate the end and end of each line and input the information that it is a straight line. Therefore, there is no problem with simple circuit diagrams, but with very complex circuit diagrams such as IC circuits, inputting data becomes very complicated and requires considerable patience on the part of the operator. Moreover, it takes a long time to enter data.

オペレータの入力Kl!I抄の存在することもある。Operator input Kl! I-sho may also exist.

そして各シンボルに文字が付毒されるような場合。And when each symbol is poisoned with a letter.

この文字を別にキイボードより入力し九抄、するいはカ
ードよ抄入力しなければならなかつ大。
This character must be entered separately from the keyboard, or by entering the text from a card.

それ故2文字と図形が混在する手書き図面からブロック
パターンのシンボルおよび各シンボル間の結線情報勢を
自動的に抽出し、データ処理装置に自動入力がで!、必
要に応じてこの抽出データにもとづき清書図面が得られ
るようなものが要求されていた。
Therefore, block pattern symbols and connection information between each symbol can be automatically extracted from handwritten drawings containing a mixture of two characters and figures, and automatically input into the data processing device! There was a need for something that would allow for the creation of clean drawings based on this extracted data, if necessary.

したがって本発明はこのような文字・図形が混在する手
書き図面を1例えばファクシ建すのよう擾光学的入力装
置を用いて読取り、こO読取りデータから必要とするブ
ロックバター/情報およびブロックパターンに対する配
線パターン情報を分離−抽出することができる図形情報
抽出方式を蝿供することを目的とするものである。そし
てこのために本発明における図形情報抽出方式では、m
像入力手段と、該画像入力手段から入力され良画像デ7
夕を保持する画像データ保持手段と、格子点近傍Km像
データ存在の可能性を示す格子点ラベルコードを生成す
る格子点ラベルコード生成手段と、この格子点ラベルコ
ードを保持するラベルコード保持手段と、格子点2ベル
コードの情報と格子軸からの画像データとの位置ずれを
検証する検証手段と、この検証手段より得られ九位置ず
れ情報を保持する位置ずれ情報保持手段と、W像データ
の局部的形状変化を判別し文字ストロークの可能性を識
別する形状変化手段と、この形状便化手段から出力され
た形状変化ラベル情報を保持する形状変化ラベル保持手
段と、上記格子点ラベルコード、位置ずれ情報および形
状変化ラベル情報勢により集約された集約的格子点ラベ
ルコードを決定する集約的格子点ラベル決定手段と、こ
の集約的格子点ラベルコードにおける文字ストμmりの
可能性を示す文字フラグを拡散する文字フラグ拡散手段
と、線により囲まれていない部分の文字7ツグを消去す
る文字フラグ消去手段と、ブロックパターンを抽出する
プ四ツクパターン抽出手段を具備するととにより1文字
−図形混在図面からブロックパターンを抽出するように
したことを特徴とする。
Therefore, the present invention reads such handwritten drawings containing a mixture of characters and figures using an optical input device, such as when creating a facsimile, and then extracts the necessary block butter/information and wiring for the block pattern from the read data. The purpose of this invention is to provide a graphical information extraction method that can separate and extract pattern information. For this purpose, in the graphic information extraction method of the present invention, m
an image input means, and a good image data 7 inputted from the image input means;
lattice point label code generating means for generating a lattice point label code indicating the possibility of existence of Km image data near the lattice point; label code holding means for holding the lattice point label code; , a verification means for verifying the positional deviation between the information of the grid point 2 bell code and the image data from the grid axis, a positional deviation information holding means for holding the nine positional deviation information obtained from the verification means, and a positional deviation information holding means for holding the nine positional deviation information obtained from the verification means, A shape change means for determining local shape changes and identifying the possibility of character strokes, a shape change label holding means for holding shape change label information output from the shape facilitation means, and the grid point label code and position. An intensive lattice point label determining means for determining an intensive lattice point label code aggregated by shift information and shape change label information, and a character flag indicating the possibility of character string μm in this intensive lattice point label code. A single character-figure mixed drawing is provided by providing a character flag diffusion means for diffusing, a character flag erasing means for erasing characters in a portion not surrounded by lines, and a block pattern extraction means for extracting a block pattern. The feature is that a block pattern is extracted from.

先ず本発明・を詳述するに先立ち2本発明の概略を第1
図ないし第3図にもとづき説明する。
First, before describing the present invention in detail, the outline of the present invention will be explained first.
The explanation will be given based on the figures.

本発明は、第1図に示すように格子軸の画かれた。いわ
ゆる方眼紙上に手描きした文字の描かれた線図形を7ア
クシンリの如き光学的読取装置で読み、その結果得られ
た入力画像情報を格子点のデータとして所有するもので
ある。例え社館2図における格子点への周囲に、第3図
の知音線形Vが存在する場合に、後述するように、格子
点G、を中心にして第2図に示す矢印の存在する範囲な
中心にして、II像の存在の有無および存在する場合に
は、それが線情報としての確からしさ1図形データがこ
の格子点G、の上下左右のどの方向に存在するのか、そ
れからこの画像の存在する位置までのずれ等をその格子
点G、の情報として格納しておく。そしてこれらの各格
子点のデータにもとづき上記手書き線図形のプ四ツク部
分および配線部分のみを例えばベクトルとして抽出し、
計算換部のデータ処理装置に自動入力できるようKした
ものである。ただしプルツク内部には文字が記入され。
In the present invention, the lattice axes are plotted as shown in FIG. A line figure with hand-drawn characters on so-called graph paper is read by an optical reading device such as a 7A line, and the input image information obtained as a result is held as grid point data. For example, if there is a sound line V in Figure 3 around the grid point in Figure 2 of the shrine building, as will be described later, the range where the arrow shown in Figure 2 exists with the grid point G as the center is The presence or absence of the II image, and if so, the certainty that it is line information. 1.Which direction (up, down, left, right) of this grid point G does the figure data exist? Then, the existence of this image. The deviation, etc. to the position where the grid point G is located is stored as information on that grid point G. Then, based on the data of each of these lattice points, extract only the square part and the wiring part of the handwritten line figure as, for example, a vector,
This information has been modified so that it can be automatically input into the data processing device of the calculation converter. However, characters are written inside the plug.

ブロックパターンの角から配線パターンは出ていないも
のとする。
It is assumed that the wiring pattern does not protrude from the corner of the block pattern.

次に本発明の一実施例を第4図表いし第66図にもとづ
き説明する。
Next, one embodiment of the present invention will be described based on FIG. 4 to FIG. 66.

第4図ないし鯖6図は初期格子点ラベル;−ドLBLの
抽出方法の説明図である。第7図ないし第9図は各種画
像データに対応する初期格子点ラベルコードLBI、の
説明図、第1011および第11図は画像データが格子
点よ抄離れている状態を検証する館1検証方法の説明図
であり、第12図ないし第15図社会種画像データに対
応する上記第1検証を説明するものである。第16図な
いし第19図は上記第1検証結果にもとづき調像データ
が格子軸上に存在するようにし丸、いわゆゐ正規化した
状態を示すもの、第20図ないし第2s図は第2検証方
法および各種Ii像データに対応するその第2検証結果
の説明図、第24図ないし第27図はこの第2検証結果
にもとづき再度正規化した状態およびそのラベルコード
の説明図である。第28図は第5検証方法に使用する第
5検証マスクの説明図、第29図は第5検証マスクを使
用して得られた第3検証ラベルコードの説明、1145
0図ないし第33図は各種図形に対する第3検証方法お
よびその結果得られた第3検証ラベルコード。
4 to 6 are explanatory diagrams of a method for extracting initial lattice point labels; -do LBL. Figures 7 to 9 are explanatory diagrams of initial grid point label codes LBI corresponding to various image data, and Figures 1011 and 11 are the first verification method for verifying the state in which image data is separated by a certain distance from the grid points. FIG. 12 is an explanatory diagram illustrating the first verification corresponding to the social type image data of FIGS. 12 to 15. Figures 16 to 19 show the so-called normalized state in which the toning data is placed on the lattice axis based on the first verification result, and Figures 20 to 2s show the state in which the image data is so-called normalized. An explanatory diagram of the verification method and its second verification results corresponding to various Ii image data, and FIGS. 24 to 27 are explanatory diagrams of the state normalized again based on the second verification result and its label code. FIG. 28 is an explanatory diagram of the fifth verification mask used in the fifth verification method, and FIG. 29 is an explanation of the third verification label code obtained using the fifth verification mask, 1145
0 to 33 show the third verification method for various shapes and the third verification label codes obtained as a result.

第34図は格子点ラベル;−ド、第55図ないし第58
図は各種図形に対する格子点2ペルコードの説明図であ
る。
Figure 34 shows grid point labels;
The figure is an explanatory diagram of lattice point 2 pel codes for various figures.

第59図ないし第54図は格子点ラベルコードの修正状
態およびその修正の程度にもとづき復元され九図形を示
す。
FIGS. 59 to 54 show nine figures restored based on the modified state of the lattice point label code and the extent of the modification.

第55図は他の手書き図面、第56図は第55図から入
力された入力iIIIgIA情報、第57図は第54図
に対応する修正により第55図の手書き図面における格
子点ラベルフードの出力図、第58図は第57図におゆ
るあいまいフラグの拡散状態説明図、第59図はブロッ
クパターン候補の抽出図。
Fig. 55 is another handwritten drawing, Fig. 56 is the input IIIgIA information input from Fig. 55, and Fig. 57 is an output diagram of the grid point label hood in the handwritten drawing of Fig. 55 with the modification corresponding to Fig. 54. , FIG. 58 is an explanatory diagram of the diffusion state of the ambiguous flag in FIG. 57, and FIG. 59 is an extraction diagram of block pattern candidates.

第60図ないし第62図はプルツクパターンの認識状態
説明図、第63図は第62図の状態における格子点ラベ
ルフード説明図、第64図はプルツクパターンの記述状
態説明図、第65図社ブロックパターンおよび配線パタ
ーン出力図、第66図は本発明の一実施例構成図である
60 to 62 are diagrams explaining the recognition state of the pull pattern, Figure 63 is a diagram explaining the lattice point label hood in the state of Figure 62, Figure 64 is a diagram explaining the description state of the pull pattern, and Figure 65 FIG. 66 is a block pattern and wiring pattern output diagram, and is a configuration diagram of an embodiment of the present invention.

以下本発明を、初期格子点ラベルコード(LBL)の抽
出、@1検証処理、第1検証ラベルコード(LBl)の
抽出、第2検証処理、第2検証ラベルコード(LB2)
の抽出、第3検証処理および第3検証ラベルj−ド(L
B、)の抽出、格子点ラベルコード(LABEL )の
決定、大域的統合処理、折線近似処理、あ゛いまいフラ
グの拡散処理、ブロックパターン候補の抽出処理、ブロ
ックパターンの認識処理、ブロックパターンの記述処理
等の手順にしたがって説明する。
Hereinafter, the present invention will be described as extraction of initial lattice point label code (LBL), @1 verification processing, extraction of first verification label code (LBl), second verification processing, and second verification label code (LB2).
extraction, third verification process, and third verification label j-do (L
B. ) extraction, grid point label code (LABEL) determination, global integration processing, broken line approximation processing, ambiguous flag diffusion processing, block pattern candidate extraction processing, block pattern recognition processing, block pattern description The process will be explained according to the procedure.

+11  初期格子点ラベルコード(LBL)の抽出初
期格子点ラベルコードは、格子点近傍の図形構造を大ま
かに把握するものであって、以下にその抽出方式につい
て説明する。
+11 Extraction of initial lattice point label code (LBL) The initial lattice point label code roughly grasps the graphic structure in the vicinity of the lattice point, and its extraction method will be explained below.

まず手書き図面を読取って得られた画像データを、第3
図に示す如く、格子軸x1ないしxsおよび格子軸右な
いしY、で区−し、これを第4図に示す如く、格子点G
、を中心に、格子@ n K相当するn×1ビツトの大
きさの窓部W、−xおよびWl−!でそれヤれX方向お
よびY方向に走査する。そして仁の窓内Kll像データ
(黒点)が1ビツトでも存在するとき、これを各窓部の
黒点検出出力「1」としてこれを保持部Rs−xおよび
R1−!にそれぞれ保持させる。その結果9例えば第4
図に示す画像データを窓11 Wt −x 、 Wl−
vで走査したとき、保持部R1−4sR1−Y Kそれ
ぞれ斜纏部で示した如き状態で上記窓部Wl−x、 W
l−Yからの黒点情報としての出力「1」が。
First, the image data obtained by reading the handwritten drawing is
As shown in the figure, it is divided by the lattice axes x1 to xs and the lattice axis right to Y.
, with windows W, -x and Wl-! having a size of n×1 bits corresponding to the lattice @nK. It then scans in the X and Y directions. When even 1 bit of Kll image data (black dot) in the window exists, this is set as the black dot detection output of each window as "1" and is stored in the holding units Rs-x and R1-! hold each. As a result 9, for example, the fourth
The image data shown in the figure is divided into windows 11 Wt −x, Wl−
When scanning with V, the holding parts R1-4sR1-YK are in the state shown by the diagonal lines, respectively, and the window parts Wl-x, W
Output "1" as black point information from l-Y.

各格子軸上の投影結果として保持される仁とになる。This is the value that is maintained as the projection result on each grid axis.

次に、第5図(イ)に示すように保持部R1−XK対し
て領域R・、R1を定義してこれらの領域内における「
1」(黒点情報を示す)OS1和を求め、それが一定の
閾値以上であれば、格子点への右方向に線分が存在する
可能性があるという情報rR−IJを決定し、閾値以下
ならば可能性がないという情報「R−0」を決定する。
Next, as shown in FIG. 5(a), regions R. and R1 are defined for the holding parts R1-XK, and "
1'' (indicating black point information) is calculated, and if it is above a certain threshold, information rR-IJ that indicates that there is a possibility that a line segment exists in the right direction to the grid point is determined, and if it is below the threshold If so, information "R-0" indicating that there is no possibility is determined.

同様にして領域り、、 L、を定義して各領域における
「1」の総和を求め、これが閾値以上であれば左方向に
線分が存在する可能性があるという情報「L−1Jを決
定し、閾値以下ならば「L−OJを決定する。勿論、第
5図(ロ)K示す如く、保持部R1−Yに対しても、上
下に領域U@m Ul及びDls DIを定め領域U@
 t ’ Ul内およびり、。
In the same way, define the area L, and calculate the sum of ``1'' in each area, and if this is greater than the threshold, determine ``L-1J'', which indicates that there is a possibility that a line segment exists in the left direction. However, if it is below the threshold value, "L-OJ" is determined.Of course, as shown in FIG. @
t' Ul inside and.

DI内の「1」の総和が閾値以上か以下かに応じて上方
向情報rU = 、1 or OJおよび下方向情報「
D−1orOJを決定する。仁Qようにして、初期格子
点ラベルコード(LBL)D、L、U、Rが求められ9
例えば第4図の画像データに対しては、第6図(イ)K
示す如く1上TKl1分が存在する可能性があり、左右
には可能性がないという、第6図(ロ)K、示す如き、
格子点GM K対する初期格子点2ベルコードが決定さ
れる。
Depending on whether the sum of "1" in DI is above or below the threshold, upward direction information rU = 1 or OJ and downward direction information "
Determine D-1 or OJ. The initial lattice point label codes (LBL) D, L, U, and R are obtained in the following manner:
For example, for the image data in Figure 4, Figure 6 (a) K
As shown in FIG.
An initial grid point 2 bell code for grid point GM K is determined.

このようにして第7図(イ)に示す如き画像データに対
してり、第7図(ロ)に示す如く、上、下、左。
In this way, for the image data as shown in FIG. 7(a), the top, bottom, and left sides are displayed as shown in FIG. 7(b).

右に線分の存在する可能性がめゐことを示す、第7図(
ハ)に示す初期格子点2ベルコード(LBL)が求めら
れ、第8図(イ)に示す画像データに対しては。
Figure 7 (
The initial lattice point 2-bell code (LBL) shown in (c) is obtained for the image data shown in FIG. 8 (a).

第8図(ロ)K示す左、右、上方向に線分の存在する可
能性のあることを示す、第8図(ハ)に示す[LBL=
 011 j Jが求められ、第9図(イ)IC示す画
像データに対しては、同様に「LBL−0111Jが求
められる。
Figure 8 (B) K shows that there is a possibility that line segments exist in the left, right, and upward directions, as shown in Figure 8 (C) [LBL=
011 j J is obtained, and "LBL-0111J" is similarly obtained for the image data shown in FIG. 9 (a) IC.

(2)  第1検証処理 第1検証処理は、上記初期格子点ラベル;−ドLBLを
基にして、夾際にその格子点近傍を、初期格子点ラベル
コードLBLに対応した方向Km分が存在するか否かを
検証するものである。
(2) First verification process The first verification process is based on the above-mentioned initial lattice point label; This is to verify whether or not it is possible.

まず、第10図に示す如< e Wvo ”−Wvm 
e Wh。
First, as shown in FIG.
e Wh.

〜W1の各第1検証窓部を設ける。これらの第1つて、
R■1.L−1のときはIXnビットの第1検証窓郁W
voを使用し、R−0,L−1のときは1×(!!−+
1)ビットの第1検証窓部Wマ1を使用し、R−1,L
−00と!UIX(−7+1)ビットの第1検証窓1l
Wvzを使用する゛。セしてU−1゜D−1のときはn
X1ビツトの第1検証窓II Wm。
- W1 are provided. The first of these is
R■1. When L-1, IXn bit first verification window W
Use vo, and when R-0, L-1, 1 x (!!-+
1) Using the first verification window Wma1 of the bit, R-1,L
-00! UIX (-7+1) bit first verification window 1l
Use Wvz゛. When set and U-1°D-1, n
X1 bit first verification window II Wm.

を使用し、U−o、D−1のときは(i+1)×1ビッ
トの第1検証窓部Wllを使用し、U−1,D−〇のと
きは(A+1)XIビットの第1検証窓郁WMsを使用
する。そして第11図(イl、(費IK示すように、こ
れらの第1検証窓部を水平格子軸(又は垂直格子軸)を
始点として、上下方向(又は左右方向)IcXツイドさ
せ、最初にこれらの#11検証窓部を全部黒点情報であ
る「1」が埋める位置を検出する。このスライド操作の
スライド幅は上下左右方向とも格子間距離の早発、すな
わち第11wJ(イl、i口)のnの範囲内テアル。
When U-o and D-1, use the first verification window Wll of (i+1)×1 bits, and when U-1 and D-〇, use the first verification window Wll of (A+1)XI bits. Use Mado Iku WMs. Then, as shown in FIG. Detects the position where the #11 verification window part of is completely filled with "1" which is black point information.The slide width of this slide operation is the rapid onset of the grid distance in both the vertical and horizontal directions, that is, the 11th wJ (I, I). within the range of n.

このスライド操作によって格子点近傍を初期格子点2ベ
ルコードに応じた方向の線分が存在すゐか否か、また存
在するとすれば、その線分社格子軸からどの程度ずれて
いるd=ということを検出することができる。そしてこ
れらのずれ情報を第1検証ずれ情1@8X1,8Y1と
して抽出するものである。ここで次の如(8)N、sy
lを表示する。
This slide operation allows you to determine whether there is a line segment in the vicinity of the grid point in the direction corresponding to the initial grid point 2 bell chord, and if so, how far that line segment deviates from the grid axis (d=). can be detected. Then, these deviation information is extracted as first verification deviation information 1@8X1, 8Y1. Here, as follows (8) N, sy
Display l.

SX1:左右方向のずれ  士右方向;−左方向8Y1
 :上下方向のずれ  士下方向−−上方向ただしnビ
ットのスライド幅の範囲内で窓部内を黒点がすべて埋め
る状Illll力布存在力為った場合Kti、8X1.
8Y1 としてr999J とい’tatig定する。
SX1: Left-right deviation - Right direction; -Left direction 8Y1
: Vertical deviation Lower direction -- Upper direction However, if the black dots completely fill the window within the sliding width of n bits, Kti, 8X1.
Define r999J as 8Y1.

そして初期格子A5ベルコート’ L B L kして
水平あるいは垂直方向の線分蛤五検出されなメつた場合
は、その方向にはスライド操作を行な寸なかったという
ことを示すために8X1.8Y1Jして[1000Jと
いう値を設定するO第12図ないし第15図は各種図形
に対して書1検証処理を行なってそのずれを検証した状
態・示すものである。
If no line segment in the horizontal or vertical direction is detected using the initial grid A5 Bellcoat' L B L k, the 8X1. 8Y1J and then set a value of 1000J. Figures 12 to 15 show the results of verifying deviations by performing the Book 1 verification process on various figures.

第12図ではLBL−1010に応じて、第10□。In FIG. 12, No. 10 □ corresponds to LBL-1010.

01検証窓部WIOを格子軸d=ら4ビツト右にライド
したとき第1検証窓部W菖Oを黒点にて置めることがで
きるので8X1−4となる。しかしLBL−1010よ
り上下方向のスライド操作を行なう必要はないのでこれ
を示すため8Y1−1000とする。
When the 01 verification window WIO is moved 4 bits to the right from the lattice axis d, the first verification window W can be placed at a black point, resulting in 8X1-4. However, since there is no need to perform a sliding operation in the vertical direction compared to LBL-1010, 8Y1-1000 is used to indicate this.

またfllk1s図では、LBL−1111であって、
このとき第1検証窓部WIIoとWvoをシフトさせる
必要なくその格子軸でこれらの第1検証窓部W厘eとW
vOが黒点で埋めることになるので8X1−0,8Y1
−0である。そして第14図では、LBL−0111で
ヒ   あり、このとき第1検証窓部W11.は左方に
1ビツトシフトさせたとき該第1検証窓部Wlll U
オール黒点となり、第1検証窓部WvOを3ビツト下方
にプ   シフトさせたときこれをオール黒点とするこ
とができるので、8X1−−1.5Y1−5 となる。
Also, in the fllk1s diagram, it is LBL-1111,
At this time, it is not necessary to shift the first verification windows WIIo and Wvo by using the grid axes of the first verification windows WIIo and Wvo.
Since vO will be filled with black dots, 8X1-0, 8Y1
-0. In FIG. 14, there is a failure in LBL-0111, and at this time, the first verification window W11. When shifted one bit to the left, the first verification window Wllll U
This becomes all black points, and when the first verification window WvO is shifted downward by 3 bits, it can be made into all black points, so it becomes 8X1--1.5Y1-5.

しかしながら第15図の図形では、 J、BL−011
1であIE   L第1検証窓部W11を左方に1ビツ
トシフトさを  せたとき該第1検証窓sW罵3はオー
ル黒点とすることができるが、第1検証窓部Wマ。を使
用して館図   11図(イ)に示す幅nでシフトして
もこの第1検証・ス  窓部WマOを黒点で埋めること
はできず、それ故8X1−−1,8Y1−999と+[
)。
However, in the figure of Figure 15, J, BL-011
When the IEL first verification window W11 is shifted one bit to the left in 1, the first verification window W11 can be made entirely of black dots; Even if you shift by the width n shown in Figure 11 (a) using and +[
).

13+  第1検IEFペルコード(LBl)の抽出上
記(2)で求められた第1検鉦ずれ情報8X1゜8Y1
を基にして格子点近傍の図形構造を捉える矩形領域を動
かしてその線分を格子軸上に位置するように正規化した
あとで、再び上&!O)の初期格子点ラベルコード(L
BL)を抽出した方法と同様な方法によね格子点ラベル
コードを求め、これを第1検証2ベルコード(Llll
l)とする。
13+ Extraction of 1st detection IEF pel code (LBl) 1st detection key deviation information obtained in (2) above 8X1゜8Y1
After moving the rectangular area that captures the graphical structure near the lattice points based on and normalizing the line segments so that they are located on the lattice axes, we move the rectangular area that captures the geometric structure near the lattice points and normalize the line segments so that they are located on the lattice axes. O) initial grid point label code (L
The lattice point label code is obtained using the same method as the method used to extract the BL), and this is used as the first verification 2Bell code (Lllll
l).

この場合X方向への正規化処理として次のようにする。In this case, normalization processing in the X direction is performed as follows.

5X1−1000.8X1−999,5x1−0の場合
は矩形領域は動かさない。そしてSX1>0のときは矩
形領域を右方向へ18X11だけ動かし。
In the case of 5X1-1000.8X1-999, 5x1-0, the rectangular area is not moved. When SX1>0, the rectangular area is moved to the right by 18X11.

8X1<00ときは矩形領域を左方向へ+8X11だけ
動かす。
When 8X1<00, move the rectangular area to the left by +8X11.

同様に、Y方向への正規化処理として次のようにする。Similarly, normalization processing in the Y direction is performed as follows.

8Y1−1000.8Y1−999,8Y1−00場合
−は矩形領域は動かさない、そして8Y1>Oのときは
矩形領域を下方向へlsY[lだけ動かし。
In the case of 8Y1-1000.8Y1-999, 8Y1-00, the rectangular area is not moved, and when 8Y1>O, the rectangular area is moved downward by lsY[l.

8Y1<0のときは矩形領域を上方向K18Y11だけ
動かす。
When 8Y1<0, the rectangular area is moved upward by K18Y11.

例えば、第16図(イ)K示す如き画像データの場合に
は、5X1−4のため矩形領域を右方向に(相対的には
画像データを左方向K)4ビツトだけシフトするが、こ
のとき8Y1−1000のため上下方向には矩形領域社
動かさない。この結果、第16図(ロ)K示す如き状態
の図形が得られ、これを第4図に示した如き窓部W1シ
、 W、−!で走査して、保持部RトxおよびR,−Y
ICは第16図(ロ)の斜線部分に示す如き黒点情報が
得られる。そしてこれにもとづき、第5図の説明と同様
の処理を行なって、第1検証ラベルコードLB1(LB
1寵DURL)を得ることができ、かくして第16図(
ロ)の図形では第1検証ラベルコードLB1−ICNO
を得る。
For example, in the case of image data as shown in FIG. 16 (a) K, the rectangular area is shifted to the right (relatively, the image data is shifted to the left K) by 4 bits because it is 5X1-4. 8Y1-1000, so the rectangular area does not move in the vertical direction. As a result, a figure as shown in FIG. 16(b)K is obtained, and this is converted into the window W1, W, -! as shown in FIG. to scan the holding parts R to x and R, -Y
The IC can obtain black point information as shown in the shaded area in FIG. 16(b). Based on this, the same process as explained in FIG. 5 is performed to obtain the first verification label code LB1 (LB
1 DURL) can be obtained, thus, Figure 16 (
In the shape of (b), the first verification label code LB1-ICNO
get.

そして、第17図(イ)に示す画像データの場合には、
81−0,8Y1−0のために、左右上下方向の移動は
行なわず、この結果第1検証ラベルコードLB1−11
11となり、初期格子点ラベルコードと同一となる。
In the case of the image data shown in FIG. 17(a),
81-0, 8Y1-0, no movement is performed in the horizontal, vertical, and vertical directions, and as a result, the first verification label code LB1-11
11, which is the same as the initial grid point label code.

また第18図(イ)に示すmsデータの場合には。In the case of the ms data shown in FIG. 18(a).

8X1−−1,8Y1−5のために、!i形領領域左方
向に1ビツト、下方向に5ビツトだけ移動(相対的には
画像データを右方向に1ビツト、上方向に3ビツトシフ
ト)して、上記の如き処理を行ない。
For 8X1--1, 8Y1-5! The i-type area is shifted 1 bit to the left and 5 bits downward (relatively, the image data is shifted 1 bit to the right and 3 bits upward) and the above processing is performed.

その結果、初期格子点2ペルコードLBI、と同一な、
第1検証2ペルコードLB1−0111を得る。
As a result, the initial grid point 2 pel code LBI is identical to
Obtain the first verification 2 pel code LB1-0111.

さらに、第19図(イ)に示す画像データの場合には、
8X1−−1,5YI−999のた、めに短形領域を左
方向に1ビツトだけ移動して第1検証ラベルコードLB
1鍵0111を得る。
Furthermore, in the case of the image data shown in FIG. 19(a),
For 8X1--1,5YI-999, move the rectangular area by 1 bit to the left to create the first verification label code LB.
Get 1 key 0111.

(4)  第2検証処理 第2検証地理は、上記第1検証2ペルコードLB1を基
にして実際にその格子点近傍を、第1検証之ベルコード
LBIに対応した方向く線分が存在するか否かを検知し
、第2検証2ベルコードLB2を求めるための処理でお
り、第1検証ラベルコードLBIK応じて、第20図に
示す如く、第2検証窓部BWy6〜BWvm # BW
mo 〜BWII!を設け。
(4) Second verification process The second verification geography is based on the first verification second pel code LB1, and determines whether there is actually a line segment in the vicinity of the grid point in the direction corresponding to the first verification bell code LBI. This is a process for detecting whether or not the second verification label code LB2 is detected, and in response to the first verification label code LBIK, the second verification window portions BWy6 to BWvm #BW are detected as shown in FIG.
mo ~BWII! established.

上記第1検証処理と同様の方法で検証を行なうものであ
る。そして、これらの各第2検証窓部の大きさけ第3図
に示す如く、格子点G、の両側の格子軸間の幅をWDと
するとき1次のように定められる。
Verification is performed using the same method as the first verification process described above. As shown in FIG. 3, the size of each of these second verification windows is determined as follows, where WD is the width between the lattice axes on both sides of the lattice point G.

これらの第2検証窓部の使用態様は次のようにして決定
される。すなわち、R−1,L−1のときはIXWDビ
ットの第2検証窓部BWv、を使用し。
The manner in which these second verification windows are used is determined as follows. That is, in the case of R-1 and L-1, the second verification window section BWv of the IXWD bit is used.

WD Rmo、LmlのときはIX(−H−?1)ビットの第
2検証窓部B w、、を使用し、R−1,L−0のとき
はI X (”十1 )ビットの第2検証窓部BWマ、
を使用する。そしてU、l、D−1のときは、WDX1
ビットの第2検証窓部BW、。を使用し、U−0,DD 部BWH1を使用し、U−1,D−0のときは(T±1
)×1ビットの第2検証窓部BW0を使用する。
When WD Rmo and Lml, the second verification window B w of IX (-H-?1) bits is used, and when R-1 and L-0, the second verification window section B w of IX ("11") bits is used. 2 Verification window BW Ma,
use. And when U, l, D-1, WDX1
Second verification window BW of bits. When using U-0, DD section BWH1, and U-1, D-0, (T±1
)×1 bit second verification window BW0 is used.

そしてこれらの各第2検証窓部を水平格子軸(又は垂直
格子軸)を始点として上下方向(又は左右方向)Kスラ
イドさせ、最初に使用した第2検証窓部を全部黒点情報
で多る「1」が埋める位置を検出する。このスライド操
作のスライド幅は。
Then, each of these second verification windows is slid up and down (or left and right) K with the horizontal grid axis (or vertical grid axis) as the starting point. 1" is detected. What is the slide width for this slide operation?

上下左右とも、第1検証窓部のときと同様に、第11図
(イ)、(ロ)のnの範囲内である。そしてこの結果得
られた。ずれ情報を第2検証ずれ情報8X2゜8Y2と
して上記8X1,8Y1と同様にして決定するものであ
る。
Both the top, bottom, right and left are within the range of n in FIGS. 11(a) and 11(b), as in the case of the first verification window. And this result was obtained. The deviation information is determined as second verification deviation information 8X2°8Y2 in the same manner as 8X1 and 8Y1 described above.

例えば第20図の図形に対しては、 LBl−IC11
0に応じて第2検証窓部B Wl、を使用し、これを格
子軸から1ビツト右にスライドしたとき、この第2、検
証窓部BWIoを黒点にて埋めることができるので8X
2−1となる。しかしLBl−1010より上下方向の
スライド操作を行なう必要はないので。
For example, for the figure in Figure 20, LBL-IC11
When using the second verification window BWl according to 0 and sliding it one bit to the right from the lattice axis, this second verification window BWIo can be filled with black points, so
It becomes 2-1. However, there is no need to perform a sliding operation in the vertical direction compared to the LBl-1010.

これを示すため5Y2−1000とする。To illustrate this, we will use 5Y2-1000.

また第21図ではLBl−1111により第2検証窓部
B WI!・とBWマ・を使用する。このとき第2検証
窓部BW勧は格子軸上で黒点で埋るためシフトさせる必
要がな(SX2−0であるが、第2検証窓部B wv、
は下方に1ビツトシフトさせ九ときオール黒点となるの
で8Y2−1となる。
Further, in FIG. 21, the second verification window B WI! is detected by LBl-1111. Use ・and BWma・. At this time, the second verification window Bwv is filled with black dots on the grid axis, so there is no need to shift it (SX2-0, but the second verification window Bwv,
is shifted downward by 1 bit and becomes all black dots at 9, resulting in 8Y2-1.

そして第22図でti、LBl−0111により第22
検証窓部B WN、およびBWマ・は格子軸上に位置さ
せたときいずれもオール黒点となるので8X2=0.5
y2=6である。
And in Fig. 22, ti, 22nd by LBl-0111.
Verification windows B WN and BW M are all black dots when placed on the lattice axis, so 8X2 = 0.5
y2=6.

しかしながら第23図ではLl−0111によ抄第2検
証愈部BW酊およびBWマ・を使用するものであるが、
これらの第2検証窓部Bw■およびBWマ・を第11図
(イ)、(ロ)K示す幅n内にシフトしてもオール黒点
とすることができないので、8X2−999 、8Y−
2縞999となる。
However, in Fig. 23, the second verification part BW and BW are used in Ll-0111.
Even if these second verification windows Bw and BW are shifted within the width n shown in FIGS.
There are 2 stripes, 999.

(5)  第2検証ラベルコード(LB2)の抽出上記
(4)で求められた第2検証ずれ情報8X2゜SY2を
基にして、格子点近傍の図形構造を捉える矩形領域を更
に動かしてその線分を格子軸上により正確に位置するよ
う正規化したあとで、再び上記初期格子点ラベルコード
LBLおよび第1検証ラベル;−ドLB1を抽出したと
同様の方法で。
(5) Extracting the second verification label code (LB2) Based on the second verification deviation information 8 After normalizing the part so that it is more accurately located on the grid axis, the initial grid point label code LBL and the first verification label;-do LB1 are extracted again in the same manner as above.

第2検証ラベルコードLB2を求める。A second verification label code LB2 is obtained.

すなわち、第24図(イ)では5X2−1.8Y2−1
000であるので、これにもとづき矩形領域を右方向に
1ビツトシフトする。このと龜8Y2■1000のため
、上下方向には矩形領域は動かさない。この結果、第2
4図(ロ)の如き図形が得られ、これにもとづき上記初
期格子点ラベルコードLBLおよび第1検証ラベルコー
ドLB1を抽出したときと同様の方法で、第2検証ラベ
ルコードLB2−1010を求めることができる。
That is, in Figure 24 (a), 5X2-1.8Y2-1
000, so based on this, the rectangular area is shifted one bit to the right. In this case, the rectangular area does not move in the vertical direction because the pin 8Y2 is 1000. As a result, the second
A figure as shown in Figure 4 (B) is obtained, and based on this, the second verification label code LB2-1010 is obtained in the same manner as when the above-mentioned initial lattice point label code LBL and first verification label code LB1 were extracted. I can do it.

また第25図(イ)の図形で杜8X2−0.8Y2−1
であり矩形領域を下方向に1ビツトシフトする。
Also, in the shape of Figure 25 (a), Mori 8X2-0.8Y2-1
and shifts the rectangular area downward by 1 bit.

この結果第25図(ロ)の如き図形が得られ、これにも
とづき第2検証2ベルコードLB2−1111を求める
ことができる。
As a result, a figure as shown in FIG. 25(b) is obtained, and the second verification 2 bell code LB2-1111 can be determined based on this figure.

そして第26図(イ)の図形では8X2−0,8Y2=
0であり、このまま第26図(ロ)のように、第2検証
ラベルコードLB2−0111を求めることができる。
And in the figure of Figure 26 (a), 8X2-0,8Y2=
0, and the second verification label code LB2-0111 can be obtained as shown in FIG. 26(b).

さらに、第27図(イ)の図形では8X2−999゜8
Y2−999であり、 このまま第27図(ロ)のよう
に、第2検証ラベルコードLB2−0111を求めるこ
とができる。
Furthermore, in the figure of Figure 27 (a), 8X2-999°8
Y2-999, and the second verification label code LB2-0111 can be obtained as shown in FIG. 27 (b).

(6)  嬉3検証処理および第5検証ラベルコードL
B3の抽出 上記(11〜(5)により求められるLBL、8X1.
5Y1sLBI、8X2,8Y2.LB2  等は次の
事項を表現している。
(6) Happy 3rd verification process and 5th verification label code L
Extraction of B3 LBL determined by the above (11 to (5)), 8X1.
5Y1sLBI, 8X2, 8Y2. LB2 etc. express the following matters.

(イ) 格子点近mKts分が存在するかどうか。(a) Whether there is mKts near the lattice point.

(ロ)格子点近傍に線分が存在する場合にはその線分は
4方向(水平、垂直)のどの方向のものか。
(b) If a line segment exists near a grid point, which of the four directions (horizontal, vertical) does the line segment belong to?

H格子点近傍K1分が存在するときKそのS分が格子軸
からどの程度ずれているのか。
When there is a K1 segment near the H lattice point, how far does the S segment deviate from the lattice axis?

この第5検証処理は、これらの図形表現に加えてさらに
細かい局所的な形状変化を捉えるために設けられたもの
であり、館28図に示す第3検証窓部8Wを用いて、格
子点近傍に存在する線分が線図形の線分であるかそれと
も文字のストロークの一部であるか、その可能性を表現
するものである。
This fifth verification process is provided to capture even more detailed local shape changes in addition to these graphic representations, and uses the third verification window 8W shown in Figure 28 to detect the vicinity of the grid points. It expresses the possibility of whether the line segment existing in is a line segment of a line figure or a part of the stroke of a character.

そしてこの第3検証処理は、上記13)および(5)K
おける処理によシ正規化された図形に対して実行するも
のである。
This third verification process is performed in 13) and (5) above.
This is executed on the figure that has been normalized by the processing in the process.

この場合、第3検証窓部SWの各辺の矩形領域内に、第
28図(ロ)および第29図(イ)郷に示した4つの領
域”at U*r IQ+ DIを定義し、各領域Rs
〜D3に対して次の処理を行なう。
In this case, within the rectangular area on each side of the third verification window SW, four areas "at U*r IQ+ DI" shown in FIGS. Area Rs
~ Perform the following processing on D3.

■第29図(イ)に示す如く、各領域R@e U@v 
lll5Dsを細分化してIXflビットあるいはnX
1ピツFの領域の集合として捉える。この場合、領域R
■As shown in Figure 29 (a), each area R@e U@v
Ill5Ds is subdivided into IXfl bits or nX
It is regarded as a set of areas of 1 pits F. In this case, the area R
.

は細分領域R11s ”81 + RIsに分割され、
領域U、は細分領域UH+ Ulll U工に分割され
、領域り、は細分領域り、1゜L−L、、に分割され、
領域り、は細分領域り、□、 DI!、 I)uに分割
されている。
is divided into subdivision regions R11s ”81 + RIs,
The area U is divided into subdivisions UH+Ull U, and the area U is divided into subdivisions 1°L−L, ,
The area is the subdivision area, □, DI! , I) is divided into u.

■各細分領域において黒点の凝t!llの個数(ライン
セグメントの個数)L8KG、黒点の数(線幅に相当す
る)が閾値Ltm以下である黒点の凝壕りの個数(線幅
とみなし得る黒点の凝壕りの個数)ARIをカウントす
る。なおここで閾値LtNは筆記用具や入力装置の解像
度等から決まる線幅の閾値である。
■Conspicuous black spots in each subdivision area! The number of black dots (the number of line segments) L8KG, the number of black dots where the number of black dots (corresponding to line width) is less than the threshold Ltm (the number of black dots that can be considered as line width) ARI. Count. Note that the threshold value LtN here is a threshold value of the line width determined based on the resolution of the writing instrument, the input device, and the like.

■細分領域毎に上記黒点の凝抄およびラインセグメント
の個数L8KG、黒点の凝まシの長さが閾値LtN以下
の個数AR4O数を基にして、あいまいさのフラグFA
および連結腕CAMを示す次の2ビツト情報を生成する
■For each subdivision area, based on the number of black dots and line segments L8KG, the number of black dots whose length is less than the threshold LtN, and the number AR4O, the ambiguity flag FA is set.
and the following 2-bit information indicating the connected arm CAM is generated.

L8BG厘1.ARム菖1 → FA−0,CAM冒1
L8EG■0      → PA−0、CAM冒0そ
の他      →FA−1、CAM −1■領域R@
 r UI + Ll e Dsの各領域毎に上記■に
より得られた情報の論理和をとり、これを4つの領域R
,,U□L□D、毎に2ビツトの情報とする。
L8BG 1. AR Musume 1 → FA-0, CAM 1
L8EG■0 → PA-0, CAM-0 Other →FA-1, CAM-1■ Area R@
For each region of r UI + Ll e Ds, take the logical sum of the information obtained in the above ① and add this to the four regions R
, , U□L□D, each is 2 bits of information.

■領域R,,U□L□D、の4つの領域がら得られる2
ビツトずつの情報の合計8ピツトの情報により、第29
図(ロ)K示す第3検証2ベルコードLB3を生成する
。ここで第29図(ロ)の最後の4ビットD、L、U、
Rは、これらが「1」のときKは、その方向KM分が走
っているか否かを示しておシ。
■2 obtained from the four areas R, , U□L□D,
Based on a total of 8 bits of information, the 29th
A third verification 2-bell code LB3 shown in Figure (b) K is generated. Here, the last 4 bits D, L, U, in FIG. 29(b),
When R is "1", K indicates whether or not the vehicle is running for KM in that direction.

またF島〜F、は、FIIが「1」のときには右方向に
走っている線分があいまいであること、すなわち線図形
の一部の線分であってノイズが乗っているか。
Also, regarding F island to F, when FII is "1", the line segment running to the right is ambiguous, that is, is it a part of the line segment and contains noise?

文字の一部であるということを表わしている。八が「1
」のと亀には、上方向に走りていゐ線分力Iあいまいで
あること、つま抄上lie Fmについて説明し九よう
なことが上方向に存在することを表しe F&が「1」
のときKは、左方向に走っている線分があいまいであり
、FDが「1」のと1&には下方向に走っている線分が
あいまいであって、それぞれ上装置1について説明した
ようなことがこれらに%存在することを表わしている。
It means that it is part of a character. Eight is “1”
'' and the tortoise, the line segment force I running upward is ambiguous, and the above explanation of Fm indicates that such a thing exists in the upward direction.
For K, the line segment running to the left is ambiguous, and for FD "1" and 1&, the line segment running downward is ambiguous, as explained above for device 1. This means that there are % of these.

そしてhが「1」のときは上記F、ないしhのいずれか
が「1」であることを示している。
When h is "1", it indicates that either F or h is "1".

したがって、第30図の図形を第3検証窓部8Wを使用
して、上記■〜■にもとづき第3検証2ペルコードLB
3を作成する場合、 LBIS−000001010を
得る。この場合は、第30図の図形ではあいまいさはな
く、線分が上下に走っていることを示している。
Therefore, by using the third verification window section 8W for the figure in FIG.
3, you will get LBIS-000001010. In this case, there is no ambiguity in the figure of FIG. 30, which shows that line segments run up and down.

そして第31図の図形について第3検証2ベルっ−ドL
B5を作成すればLBIS−000001111を得る
。この場合は、あいまいさがなく、線分カ鷺上下左右に
走っていることを示している。
The third verification of the figure in Figure 31 is 2 bells L.
If you create B5, you will get LBIS-000001111. In this case, there is no ambiguity, and the line segments run vertically and horizontally.

ま九第52図の図形について第5検証ラベルコードLB
Sを作成すればLB5−000000111を得るが、
これはあいまいさがなく、Sが上方向と左右に走ってい
ることを示している。
5th verification label code LB for the figure in Figure 52
If you create S, you will get LB5-000000111, but
This shows that there is no ambiguity and that S runs upward and to the left and right.

しかし、第3s図の図形について第3検証ラベル・コー
ドLB5を作成すれば、LB3−100111111を
得る。これは線分がこの第5検証窓部8WK対しては上
下左右に存在する奄のの、そのうち上方向と右方向のも
のKあいまいさが存在することを示している。
However, if the third verification label code LB5 is created for the figure in Figure 3s, LB3-100111111 is obtained. This indicates that among the line segments that exist above, below, and to the left and right of the fifth verification window 8WK, ambiguity exists in the upward and rightward directions.

(7)  格子点ラベルコード(LABEL)の決定上
記+11〜(6)tでに説明した事項にしたがって。
(7) Determination of lattice point label code (LABEL) According to the matters explained in +11 to (6)t above.

初期格子点2ペルコードLBL :第1検証ずれ情報8
X1,8Yj、第1検証ラベルコードLB1:第2検証
ずれ情報8X2.8Y2.第2検証ラベルコードLB2
および第6検征ラベルコードLB3を抽出することがで
きる。そしてこれらの抽出情報をまとめて第34図に示
す知音、16ビツ)O最終的な格子点ラベルコードLA
BELを下記の如く決定する。
Initial grid point 2 pel code LBL: 1st verification deviation information 8
X1, 8Yj, first verification label code LB1: second verification deviation information 8X2.8Y2. Second verification label code LB2
and the sixth expedition label code LB3 can be extracted. Then, these extracted information are summarized to create the final grid point label code LA shown in Figure 34, 16 bits)
BEL is determined as follows.

■、初期格子点ツベルコードLBLがすべて0のときは
、格子点ラベルコード(LABIIL )は16ビツト
全部を0にするが、LBLがオール0でないときで嬉3
検証ラベルコードLB3がオール0の場合には、LAB
ELを先頭の区分0のおいまいフラグのみ「1」にして
残りの15ビツトを0とする。いわゆる16進表示のL
ABEL−8000となる。
■When the initial lattice point label code LBL is all 0, the lattice point label code (LABIIL) sets all 16 bits to 0, but when LBL is not all 0,
If verification label code LB3 is all 0, LAB
In EL, only the ready flag of the first section 0 is set to "1", and the remaining 15 bits are set to "0". So-called hexadecimal display L
It becomes ABEL-8000.

1、第1検証ずれ情報8X1,8Y1および第2検証ず
れ情報SX2,8Y2かいずれも999でない場合には
次式により8X、8Yを求める。
1. If neither the first verification deviation information 8X1, 8Y1 nor the second verification deviation information SX2, 8Y2 is 999, 8X and 8Y are determined by the following equations.

8X −8XI +8X2 8Y−8YI +8Y2 &ffL8X1−100X18X2−10000とき5
X−Oとし、8Y1−1000又は8Y2−1000の
ときsy厘0とする。
8X -8XI +8X2 8Y-8YI +8Y2 &ffL8X1-100X18X2-10000 time 5
X-O, and when 8Y1-1000 or 8Y2-1000, syrin is 0.

■まず、LABELをクリアして、LBL 、LB、。■First, clear LABEL, LBL, LB, etc.

LB2お!びLB5の下位4ビツトの論理積をとり。LB2 Oh! and the lower 4 bits of LB5.

LABF!Lの下位ビット、すなわち、第34図の区分
12〜1sK*定する。
LABF! The lower bits of L, ie, sections 12 to 1sK* in FIG. 34, are defined.

対して、ずれの閾値ATIを設定し9次の処理を行なう
。この閾値A?lIは1例えば窓部の最大移動距離であ
る7に定める。
On the other hand, a deviation threshold ATI is set and the ninth-order processing is performed. This threshold A? lI is set to 1, for example 7, which is the maximum moving distance of the window.

(イ118Xl>Aテ■の場合。(In the case of A118Xl>Ate■.

第34図に示すLABIifLの区分7のビットであゐ
、ずれフラグを「1」にする@ そして8X〉0のとき、右方向にずれているので。
In bit 7 of LABIifL shown in FIG. 34, set the deviation flag to "1"@And when 8X>0, the deviation is to the right.

LABELの区分6のビットを「1」とし。Set the bit in section 6 of LABEL to "1".

SX<Oのとき、左方向くずれているのでLAB IL
の区分4のビットを「1」とする。
When SX<O, it is shifted to the left, so LAB IL
Let the bit of section 4 be "1".

また、あta大きく矩形領域を動かしすぎることにより
生ずる。弊害を防止するために上紀ム!冨よりやや小さ
い閾値0!厘を設定し1次の処理を行なう。
It also occurs when the rectangular area is moved too much. In order to prevent harmful effects, please keep in mind! Threshold 0, which is slightly smaller than the wealth! Set up the controller and perform the primary processing.

18Xl)Oテ菖 の場合。18Xl) In the case of Ote irises.

8X〉0ならば。If 8X〉0.

LBIf)Hのビットが「1」ならば、格子軸の右側に
あったものをシフトしすぎた仁とを示すものであり、最
初の状態に信頼を置きLABELの区分15 t−rI
Jとする。
If the bit of LBIf)H is "1", it indicates that the right side of the lattice axis has been shifted too much, and the initial state is trusted and LABEL division 15 t-rI
Let it be J.

SX<Oならば。If SX<O.

LBLのLのビットが「1」ならば、同様にしてLAB
ELの区分13のビットを「1」にする。
If the L bit of LBL is "1", LAB
Set the bit in section 13 of EL to "1".

(ロ)  l  8 Y l  )At厘 の場合。(b) In the case of 8 Y l) At rin.

上記(イ)と同様に、LABELの区分70ビツトであ
るずれフラグを「1」Kする。
Similarly to (a) above, the deviation flag, which is the 70-bit classification of LABEL, is set to "1".

そしてsy>oのとき、下方にずれているので。And when sy>o, it shifts downward.

LABELの区分3のビットを「1」とし、8Y<Oの
とき上方にずれているので区分50ビツトを「1」にす
る。
The bit in section 3 of LABEL is set to "1", and when 8Y<O, since there is an upward shift, the section 50 bit is set to "1".

また=  l5YI>Ot翼の場合 sy>oならば。Also, if = l5YI>Ot wing If sy>o.

LBLのUのビットが「1」ならば、LABELの区分
14のビットを「1」にする。
If the U bit of LBL is "1", the bit of section 14 of LABEL is set to "1".

sy<oならば。If sy<o.

LBLのDのビットが「1」ならば、LABELの区分
12のビットを「1」にする。
If the D bit of LBL is "1", the bit of section 12 of LABEL is set to "1".

■それから、あいまい方向の処理を行なう。■Then, perform processing in the ambiguous direction.

(イ)LABELの区分15のピッFが「1」でかつL
B3のへのビットが「1」ならば、LABELの区分1
1および区分0の各ビットを「1」にする。
(b) The pick F of category 15 of LABEL is “1” and L
If the bit to B3 is “1”, the LABEL division 1
1 and each bit of section 0 is set to "1".

(alLABBLの区分14のビットが「1」でかつL
B5のへのビットが「1」ならば、LABELの区分1
0および区分0の各ビットを「1」にする。
(If bit 14 of alLABBL is “1” and
If the bit to B5 is “1”, the LABEL division 1
0 and each bit of section 0 is set to "1".

(ハ)LABI!Lの区分130ビツトが「1」でかつ
LB 3(DFL(D k’ツ) カrIJ & ラT
d、 LABEL(D区分?および区分0の各ビットを
「1」にする。
(c) LABI! The 130 bits of the L division are "1" and LB 3 (DFL (D k'tsu) KarIJ & RaT
d, LABEL (set each bit of D section? and section 0 to "1".

に)LABBLの区分12のビットが「1」でかつLB
3のFDのビットが「1」ならば、LABELの区分8
および区分0の各ビットを「1」にする。
) If bit 12 of LABBL is “1” and LB
If bit 3 of FD is “1”, LABEL division 8
and each bit of section 0 is set to "1".

■、第1検証ずれ情報8X1,8Y1および第2検証ず
五情報8X2,8Y2がいずれも999の場合では1次
の如き処理を行なう。
(2) If the first verification deviation information 8X1, 8Y1 and the second verification deviation information 8X2, 8Y2 are both 999, the first-order processing is performed.

■LABELをクリアーL、LBL、LB1.LB2゜
LB5の下位4ビツトの論理積をとり、LABELの下
位4ビツトすなわち区分12〜15を上記論理積に設定
する。
■ Clear LABEL L, LBL, LB1. The lower 4 bits of LB2 and LB5 are logically ANDed, and the lower 4 bits of LABEL, that is, sections 12 to 15, are set to the logical product.

■LABBLの区分0のビットを「1」にし、線分とし
てはあいまいであって文字の可能性のあることを示す。
(2) Set the bit in section 0 of LABBL to "1" to indicate that the line segment is ambiguous and may be a character.

■、第1検鉦ずれ情報8X1と第2検証ずれ情報8X2
がともに999であってしがも嬉1検証ずれ情報8Y1
−1000の場合には、上記■と同様な処理を行なう。
■, 1st verification deviation information 8X1 and 2nd verification deviation information 8X2
Both are 999, but I'm happy 1 verification deviation information 8Y1
In the case of -1000, the same process as in (2) above is performed.

■、第1検証ずれ情報8X1が1000であってしかも
第1検証ずれ情報8Y1および第2検証ずれ情報SY2
が999の場合には、上記■と同様な処理を行なう。
■, the first verification deviation information 8X1 is 1000, and the first verification deviation information 8Y1 and the second verification deviation information SY2
When is 999, the same process as in (2) above is performed.

■、第1検証ずれ情報8X1が999であってしかも第
1検証ずれ情報8Y1と第2検証ずれ情報8X2,8Y
2かいずれも検証できたことを示す。
■, the first verification deviation information 8X1 is 999, and the first verification deviation information 8Y1 and the second verification deviation information 8X2, 8Y
This indicates that both of 2 have been verified.

999より小さい場合には。If it is less than 999.

8X、8X2 8Y−8Y1+8Y2 として、上記璽の■〜■の処理を行なう。8X, 8X2 8Y-8Y1+8Y2 As such, perform the steps ① to ② in the box above.

1、第1検証ずれ情報8X1,8Y1および第2検証ず
れ情報8X2,8Y2が、8X1<999t’8Y1−
999で8X2(99?でしかも8Y2<999の場合
には。
1. The first verification deviation information 8X1, 8Y1 and the second verification deviation information 8X2, 8Y2 satisfy 8X1<999t'8Y1-
999 and 8X2 (99? And if 8Y2<999.

8X■8X1 +8X2 Y−8Y2 として、上記■の■〜■の処理を行なう。8X■8X1 +8X2 Y-8Y2 As a result, the processes ① to ② of ① above are performed.

■、上記1〜■以外の場合、下記の如き処理を行なう。(2) In cases other than 1 to (2) above, the following processing is performed.

8)Nン999→SX1車0 8X2〉999  →5x2−。8)N999→SX1 car 0 8X2〉999 →5x2-.

8Y1 〉999  → 8Y1−0 8Y2〉999  → 8Y2−O 8X■SX1+5X2 8Y−8Y1 十8Y2としかつ、LABEI、の区分
0を「1」とし、上記鳳の■〜■の処理を行なう。
8Y1 〉999 → 8Y1-0 8Y2〉999 → 8Y2-O 8X■SX1+5X2 8Y-8Y1 18Y2 and LABEI, set category 0 to "1" and perform the above-mentioned steps 1 to 2.

上記1〜■の如き処理によ塾生成される格子点ラベルコ
ードLABELの表現するところを要約すれば次のよう
Kなる。
The expression of the lattice point label code LABEL generated by the above processes 1 to 2 can be summarized as follows.

(al格子点近傍に線分が存在するか否か。これはLA
BFtLの区分12〜15の4方向コードによ抄わかる
(Whether or not there is a line segment near the al lattice point. This is LA
It can be summarized by the four-way code of sections 12 to 15 of BFtL.

Tbl格子点近傍に線分が存在するとすれば、その線分
は左右上下の4方向のうちのどの方向の線分であるか否
か、あるいはその綜分紘線図形の一部か文字の一部であ
るかの可能性を表わす、これはLABBLの区分0と1
区分8〜11ビット目すなわちあいまいフラグとあいま
い方向によ抄わかる。
If a line segment exists near the Tbl lattice point, it is important to know which of the four directions (left, right, up and down) the line segment is in, or whether it is a part of the heddled line figure or a character. This represents the possibility that the division is 0 and 1 in LABBL.
It can be determined by the 8th to 11th bits, that is, the ambiguous flag and the ambiguous direction.

(cl格子点近傍KIII分が存在すれば、その線分は
格子軸からどの方向にづれているか。これはずれ方向ず
れフラグを示すLABELの区分S〜70ビットによ抄
わかる。
(If there is a KIII segment near the cl lattice point, in what direction is the line segment shifted from the lattice axis? This can be determined by the segment S~70 bit of LABEL indicating the directional shift flag.

そして上記のようKして決定されるLABIiiLを。Then, LABIiiiL is determined by K as described above.

謔55図ないし第38図について示す。Figures 55 to 38 are shown below.

第35図(イ)K示す図形の場合には、そのLBL。FIG. 35(a) In the case of the figure shown in K, its LBL.

LBl 〜LB、、8X1,8Y1,8X2.B10は
その(イ)〜(ハ)K示す通知であり、これらにもとづ
き。
LBl ~LB, , 8X1, 8Y1, 8X2. B10 is a notice indicating (a) to (c)K, based on these.

同図に)に示す如きLABgLが得られる。LABgL as shown in ) is obtained.

第56図(イ)の図形も、同様にして第66図に)に示
すLABILが得られ、第s7図、第38図について4
これまた同様である。
Similarly, for the figure in Fig. 56 (a), the LABIL shown in Fig. 66) is obtained, and 4
This is also the same.

このようにして本発明によれば、入力画像情報を、格子
点近傍の図形表現によって格子点上の=−ド情報で参る
格子点ラベルコードに圧縮することがで暑る。
In this way, according to the present invention, input image information can be compressed into a grid point label code, which is represented by =-code information on the grid points, by means of a graphical representation of the vicinity of the grid points.

(8)  大域的統合処理 次に上記のようにして作成された格子点2ペルコードを
よ抄大域的に眺めて、あいまいさの補正。
(8) Global integration processing Next, the lattice point 2 pel code created as described above is viewed globally and ambiguity is corrected.

ずれの補正等を行ないながら、Im図形部分のみの格子
点ラベルコードを得る。
The lattice point label code of only the Im figure part is obtained while correcting the deviation.

第1図tiシミュレーションに用いた手書き図面であっ
て、これを光学的装置により読出して上記の如き各処理
を行ない格子点ラベルコードを抽出した結果を第59図
に示す。この第S9図は、第1図の左下の部分的な領域
Xに対する格子点ラベルコードを示すものである。この
格子点ラベルコードはすべてコード情報であるが、わか
抄易くするためコード情報を図形に復元し九本のであっ
て。
FIG. 1 is a handwritten drawing used in the simulation, and FIG. 59 shows the result of reading this with an optical device, performing the various processes described above, and extracting lattice point label codes. This FIG. S9 shows the lattice point label code for the partial region X at the lower left of FIG. These lattice point label codes are all code information, but in order to make it easier to summarize, the code information is restored to a figure and is made into nine pieces.

第59図のうち○印はあいまい7ラグ(LABELの区
分0のビット)が「1」であるものを示し、また太線は
、ずれフラグ(LABELの区分7のビット)が「1」
であるものを示している。
In FIG. 59, the ○ mark indicates that the ambiguous 7 lag (bit of section 0 of LABEL) is "1", and the thick line indicates that the deviation flag (bit of section 7 of LABEL) is "1".
It shows what is.

■対の処理−1 この格子点ラベルー−ドを2X2e窓部で走査してその
うち、tず区分0やあいまいフラグ「1」のもの、すな
わち第s9図のO印で示されるものを検出する。そして
その下位4ビツトを検出して。
(2) Pair Processing-1 This lattice point label is scanned with a 2×2e window to detect those with tzu category 0 or ambiguity flag "1", that is, those indicated by the O mark in FIG. s9. Then, detect the lower 4 bits.

その隣接格子点の2ペルコードと、第40図に示す如き
対をなしている腕を残し、対をなしていない4方向の腕
を除去する。このようにしてこの対の処理により、第4
1図に示す如き状態に格子点ツベル;−ドが修正される
The two pel codes of the adjacent grid points and the paired arms as shown in FIG. 40 are left, and the unpaired arms in the four directions are removed. In this way, by processing this pair, the fourth
The lattice points are corrected to the state shown in FIG.

■文字の除去−1 上記■の対の処理−1によ抄修正された格子点2ペルコ
ードを次に、第42図(イ)K示す如き、3×3の窓部
により次の処理を行なう。まず、このs×5の窓部のう
ち格子点GiKあいまいブラダ「1」(すなわち区分0
0ビツトがrlJ ) またはずれ7′yグ「1」(す
なわち区分7のビットが「1」)の格子点2ペルコード
を置く。そして第42図()→に示す如く、第1ステツ
プとして、この格子点Giが必らず1つ存在する2×2
の窓部でこれらの窓部の格子点ラベルコードを走査し、
この2×2の一ドは、この2×2の窓部内のものについ
て、その腕を除去、′:)ま抄区分12〜150ビット
をrOJに落す。しかしこのときそのあいまいフラグあ
るいはずれフラグは落さない。次いで第2ステツプで1
×3および3X1の窓部で同様の処理を行なってその窓
部内での隙を除去する。そして第3ステツプで3×1の
窓部により同様の処理を、行なう。
■Character Removal-1 Next, the lattice point 2 pel code corrected by the above pair of processing-1 is subjected to the following processing using a 3 x 3 window as shown in Figure 42 (a) K. . First, in this s×5 window, grid point GiK ambiguous bladder “1” (that is, segment 0
0 bit is rlJ) Also, a lattice point 2 pel code of the 7'y group "1" (that is, the bit of section 7 is "1") is placed. As shown in FIG.
Scan the grid point label codes of these windows with the windows of
This 2x2 one-do removes that arm for anything within this 2x2 window, and drops the fraction 12-150 bits into rOJ. However, at this time, the ambiguity flag or deviation flag is not dropped. Then in the second step 1
A similar process is performed on the x3 and 3x1 windows to remove gaps within the windows. Then, in the third step, similar processing is performed using a 3×1 window.

例えば第42図(ロ)K示す如き腕を有する図形の場合
には、第1ステツプの2X2の窓部による処理によ抄、
第42図(イ)のG、 、 G、、 G、、偽の腕部が
除去されることになる。このようにして5X3の窓部よ
り外に出る可能性のきわめて大きい一線分図形のみを残
し1文字図形の可能性の大きい格子点ラベルコードの腕
部を除去する。このようにして。
For example, in the case of a figure with arms as shown in FIG.
G, , G, , G, in FIG. 42(a), the false arm will be removed. In this way, only one-line segment figures that have a very high possibility of going outside the 5×3 window are left, and the arm portions of the lattice point label code that have a high possibility of being one-character figures are removed. In this way.

第41図の図形の格子点2ペル;−ドが腑43図の状態
の格子点ラベルコードに修正される。
The lattice point 2 pel of the figure in FIG. 41 is corrected to the lattice point label code in the state shown in FIG.

■ずれの補正−1 上記■により修正された格子点ラベルコードを。■ Misalignment correction-1 The grid point label code modified by ■ above.

次に第44図(イ)あるいは(ロ)K示す如き処理を行
なう。すなわち、ずれブラダ「1」の格子点ツベル;−
ド(#E44図の太線のもの)K対し、そのずれ方向の
格子点ラベルコードを調べ、その方向の格子点ラベルコ
ードがすべてずれフラグ「0」、あいまい7ツグ「0」
ならば、そのずれ方向フラグを落す、tたすべでのずれ
方向のビットが「0」であればずれ7ラグを「0」に落
す。例えば、第44図(イ)の場合には、ずれ方向フラ
グを「0」K落し、(ロ)の場合には落さず「1」に保
持する。このような処理の結果、第45図の状態の格子
点ラベルコート°を得る。
Next, processing as shown in FIG. 44 (a) or (b) K is performed. In other words, the lattice point tube of shift bladder “1”; −
For K (thick line in figure #E44), check the lattice point label codes in that direction, and find that all the lattice point label codes in that direction are the deviation flag "0" and the ambiguous 7 tag "0".
If so, the shift direction flag is dropped, and if the shift direction bit in t is "0", the shift 7 lag is dropped to "0". For example, in the case of FIG. 44 (a), the deviation direction flag is dropped to "0", and in the case of (b), it is not dropped and is kept at "1". As a result of such processing, a lattice point label code in the state shown in FIG. 45 is obtained.

■あいまい補正−1 上記■により修正された格子点ラベルコードに対して次
のような処理を行ないあいまい補正をする。
(2) Ambiguity correction-1 The following processing is performed on the lattice point label code corrected in (1) above to perform ambiguity correction.

すなわち、あいまいフラグが「1」の格子点ラベルコー
ド(Lo)K対しその下位4ビツトの4方向コードのう
ち、少なくとも2ビツトが「1」(つま抄少くとも2方
向の腕を持つもの)で、力1つその方向に対応した格子
点ラベルコード(L+)のすべてがあいまい7ツグが「
0」かつずれ7フグ「0」であるならば、格子点2ペル
コード(Lo)のあいまいフラグを「0」K落す。
In other words, for a lattice point label code (Lo) K with an ambiguity flag of "1", at least 2 bits of the 4-way code of its lower 4 bits are "1" (the label has arms in at least two directions). , all of the lattice point label codes (L+) corresponding to one force and its direction are ambiguous.
0'' and the deviation 7 blowfish is ``0'', the ambiguity flag of the lattice point 2 pel code (Lo) is dropped by ``0''K.

また格子点2ペルコード(Lo)が直線を成す腕(互に
反対方向02つの腕)を持つならば、その方向に対応し
た格子点ラベルコード(L+)のみがあいまいフラグが
「0」かつずれフラグが「0」であれば格子点ラペルー
−ド(LO)のあいまいフラグをrOJKIIす。この
ような処理の結果、第46図の状態の格子点ラベルコー
ドを得る。
Also, if the grid point 2 pel code (Lo) has straight arms (two arms in opposite directions), only the grid point label code (L+) corresponding to that direction has an ambiguity flag of "0" and a shift flag. If is "0", the ambiguity flag of the lattice point Laperude (LO) is set as rOJKII. As a result of such processing, a grid point label code in the state shown in FIG. 46 is obtained.

■ずれの補正−2 次に上記■の修正をうけた格子点ラベル;−ドよシ、第
47図(イ)わるいFii口)K示す如く、対向するず
れ方向を持ち、隣接した格子点ラベルコードの対を捉え
る。そしてその対のずれ方向が左右方向ならば上下方向
の格子点ラベルスードを調らべ。
■ Misalignment correction - 2 Next, the lattice point labels that have been corrected in the above (■); Capturing pairs of codes. If the misalignment direction of the pair is in the horizontal direction, check the lattice point labels in the vertical direction.

またその対のずれ方向が上下方向表らば左右方向の格子
点ラベルコードを調らべ、確実性のある格子点ラベルコ
ード(すなわちあいまい77グ「0」。
Also, if the direction of deviation of the pair is in the vertical direction, the grid point label code in the horizontal direction is checked, and the grid point label code with certainty (that is, ambiguous 77g "0") is checked.

ずれフラグ「0」)の方にあいthe格子、気2ペルコ
ードを補正する。
Correct the lattice and Q2 pel code towards the deviation flag "0").

すなわち、実際には1本の線がずれKよって2つの格子
点Ktたがることを補正するわけである。
In other words, the fact that one line actually forms two grid points Kt due to the deviation K is corrected.

このような処理の結果、第48図の状態の格子点2ベル
コードを得る。
As a result of such processing, a lattice point 2 bell code as shown in FIG. 48 is obtained.

■あいまい補正−2 次に上記■によシ修正された格子点ラベルコードに対し
て確実な格子点2ベルコード(あいまいフラグ「0」か
りずれフラグrOJ)Kよってはさまれた連続するあい
まいな格子点2ペルコード(あいまい751グ「1」あ
るいはずれ72グ「1」)を確実な格子点2ペルコード
にする。すなわち、このような格子点ラベルコードのあ
いまいフラグおよびずれフラグをそれぞれクリアーする
。このような処理の結果、第49図の状態の格子点2ペ
ルコードを得る。
■ Ambiguity correction - 2 Next, for the grid point label code corrected according to the above To make a lattice point 2 pel code (ambiguous 751g "1" or deviation 72g "1") into a reliable lattice point 2 pel code. That is, the ambiguity flag and deviation flag of such a grid point label code are respectively cleared. As a result of such processing, a 2-pel code with lattice points as shown in FIG. 49 is obtained.

■あいまいな腕の除去 上記■により修正された格子点2ペルコードに対して、
あいまいフラグが「1」の格子点ラベルコードのあいま
い方向のビットが「1」の方向の腕を除去する。この結
果、第50図の状態の格子点2ベルコードを得る。
■Removal of ambiguous arms For the grid point 2 pel code modified by ■ above,
The arm in the direction where the ambiguous direction bit is "1" of the grid point label code whose ambiguity flag is "1" is removed. As a result, a lattice point 2 bell code as shown in FIG. 50 is obtained.

■対の処理−2 上記のKより修正された格子点ラベルコードに対し、上
記■にて説明した対の処理−1と同様な処理を行ない対
をなしていない腕を1去する。この結果、第51図の状
態の格子点ラベルコードを得る。
(2) Pair processing-2 The same processing as the pair processing-1 described in (2) above is performed on the lattice point label code modified from K above, and one unpaired arm is removed. As a result, a grid point label code in the state shown in FIG. 51 is obtained.

■文字の除去−2 上記■によシ修正され丸格子点ラベルコードに対して上
記■にて説明した文字の処1!−1と同様な処理を行な
い文字図形の可能性の大きい格子点2ペル;−ドの腕部
を除去する。この処理により。
■Character Removal-2 The characters explained in ■ above for the round grid point label code corrected according to ■ above 1! The same process as in -1 is performed to remove the arms of grid points 2 and 2, which have a high possibility of being a character figure. With this process.

第52図の状態の格子点2ペル;−ドを得る。Two lattice points in the state shown in FIG. 52 are obtained.

[相]文字の除*−5 上記■により修正された格子点ラベルコードを次に5X
5の窓部で捉え、この窓部から出る方向の腕を持たない
場合には、それらの各格子点2ペルコードの腕を除去す
る。これは5 X 5 の11グ部でなく4X4あるい
はもつと大きなものを使用することができる。このよう
にして第5s図の状態の格子点ラベル;−ドを得る。
[Phase] Character removal *-5 Next, 5X the grid point label code corrected by the above ■
5, and if there is no arm in the direction that exits from this window, the arm of each lattice point 2 pel code is removed. Instead of a 5 x 5 11g section, you can use a 4 x 4 or larger one. In this way, the lattice point labels in the state shown in Fig. 5s are obtained.

0あいまい補正−5 上記OKより修正された格子点ラベルコードを。0 ambiguity correction - 5 The grid point label code modified from OK above.

あいオいフラグ「1」でかつ4方向コード(下位4ビツ
ト)のビットに少くとも「1」が存在するときこのあい
まいフラグを「0」に落す。このようにして第54図の
状態の格子点ラベル;−ドを得る。
When the ambiguity flag is ``1'' and at least ``1'' exists in the bits of the four-way code (lower 4 bits), the ambiguity flag is set to ``0''. In this way, the lattice point labels in the state shown in FIG. 54 are obtained.

(9)  あいまいフラグの拡散処理 上記(1)〜(8)の処理にもとづき得られ、かつ修正
された。第54図に示される格子点2ベルコードを1&
にして図形抽出処理を行なう。
(9) Diffusion processing of ambiguous flags Obtained and modified based on the processing of (1) to (8) above. The grid point 2 bell chord shown in FIG.
Perform figure extraction processing.

第54図(イ)K示される状態の格子点ツベル;−ドに
おいて、その先頭のあいまいフラグと下位4ビツトの区
分12〜15を除き1区分1〜11をクリアする。すな
わち、第54図(ロ)K示す如く、格子点ラベルコード
の区分0と2区分12〜15のみを残し、他を消去する
。そしてこの区分0にあいまいフラグ「1」を区分12
〜15の少くとも1つが「1」である方向コードを有す
る格子点まで拡散する。この状態を第57図および゛第
58図に示す。
FIG. 54(A) In the lattice point table in the state shown in K, one section 1 to 11 is cleared except for the leading ambiguity flag and the lower 4 bits of sections 12 to 15. That is, as shown in FIG. 54(b)K, only sections 0 and 2 sections 12 to 15 of the lattice point label code are left and the others are deleted. Then, set the ambiguity flag "1" to this section 0 and set it to section 12.
˜15 to grid points having a direction code in which at least one is “1”. This state is shown in FIGS. 57 and 58.

ζこで請57図は、1155図に示す手書き図面を光学
読取装置で読み、その結果得られた#l156図に示す
入力両像情報を上記(1)〜(8)の如き処理を行なっ
た結果得られた格子点ラベルコードを図形出力した(復
元した)状態を示すものであり、O印符号があいまいフ
ラグ「1」の存在する格子点を示している。そしてこの
′O印で示されるあいまいフラグ「1」を方向コードを
有する格子点、すなわちブロック・パターンあるい紘配
線パターンの存在する格子点まで拡散させてゆく。
ζ In Figure 57, the handwritten drawing shown in Figure 1155 was read with an optical reader, and the resulting input double image information shown in Figure #1156 was processed as in (1) to (8) above. This shows the state in which the resulting lattice point label code is graphically output (restored), and the O symbol indicates the lattice point where the ambiguity flag "1" exists. Then, the ambiguity flag "1" indicated by the 'O' mark is diffused to grid points having a direction code, that is, grid points where a block pattern or a wide wiring pattern exists.

〔ステップ1〕水平走査 (イ)tず第57図において例えば左から右方向に水平
に走査して、あいまい75グ「1」の格子点ラベルコー
ドを検出する。そしてその右隣方向の格子点ツベル;−
ドを調らべ、あいまい72グが「1」でなく方向コード
を持たなければ、すなわち区分12〜15の少くとも1
つが「1」でなければこの右隣方向の格子点2ベルコー
ドのあいまい72グをrlJKする0次に、このように
して斬らしくあいまいフラグが「1」にされた格子点ラ
ベルコードの右隣りの格子点ラベルコードを調らぺ、同
様の処理を行なう。このようにして第57図の右端まで
同様の処理を行ないながら左から右に水平走査する。
[Step 1] Horizontal scanning (a) In FIG. 57, horizontal scanning is performed, for example from left to right, to detect the ambiguous lattice point label code of 75 groups "1". And the lattice point in the direction to the right; −
If the ambiguous 72 code is not "1" and does not have a direction code, i.e. at least 1 in categories 12-15.
If it is not "1", rlJK the ambiguous 72 g of the grid point 2 bell code in the direction of this right neighbor. Next, the right neighbor of the grid point label code whose vague flag is set to "1" in this way Find the grid point label code of and perform the same process. In this way, horizontal scanning is performed from left to right while performing similar processing up to the right end in FIG.

(ロ)次に上記(イ)の処理を行なった各格子点ラベル
コードを右から左方向に水平走査し、あいまいフラグ「
1」の格子点ラベルコードを検出する。そしてその左隣
方向の格子点ラベルコードを調らぺ。
(b) Next, horizontally scan each lattice point label code that has been processed in (a) above from right to left, and flag the ambiguity flag.
1” is detected. Then check the grid point label code to the left of it.

方向コードを持たなければそのあいまいフラグを「1」
にする。次にこのようにして新らしくあいまいフックが
「1」にされた格子点ラベルコードの左隣抄の格子点ラ
ベル;−ドを調らべ、同様の処理を行なう。このように
して第57図の左端まで同様の処理を行ないながら右か
ら左に水平走査する。
If there is no direction code, set the ambiguity flag to "1"
Make it. Next, the lattice point label ;- code on the left side of the lattice point label code whose ambiguous hook has been newly set to "1" is checked, and the same processing is performed. In this way, horizontal scanning is performed from right to left while performing similar processing up to the left end in FIG.

〔ステップ2〕垂直走査 (イ)上記ステップ1の水平走査を行なったあと。[Step 2] Vertical scanning (a) After performing the horizontal scan in step 1 above.

これをまず下から上に垂直走査して、あいまいフラグ「
1」の格子点ラベルコードを検出する。そしてその上方
の格子点ラベルコードを調らべ、そのあいまいフラグが
「1」でなくかつ方向コードを持たなければそのあいま
いフラグを「1」Kする0次に更にその上方の格子点ラ
ベル;−ドを調らべ同様の処理を行なう。このようにし
て第57図の下端から上端まで同様の処理を行ないつつ
下から上に垂直走査する。
This is first scanned vertically from bottom to top, and the ambiguity flag is
1” is detected. Then, check the grid point label code above it, and if the ambiguity flag is not "1" and there is no direction code, set the ambiguity flag to "1".0 Next, the grid point label above it; - Check the code and perform the same process. In this way, the same processing is performed from the bottom end to the top end in FIG. 57, and vertical scanning is performed from bottom to top.

(ロ)次に上記(イ)の垂直走査を行なった各格子点2
ペルコードを上から下に垂直走査し、あいまいフラグ「
1」の格子点2ペルコードを検出する。そしてその下方
の格子点ラベルコードを調らべ、方向コードを持たなく
かつそのあいまいフラグが「1」でなければ、このあい
まいフラグを「1」にする。
(b) Next, each grid point 2 where the vertical scanning of (a) above was performed
Vertically scan the Pell code from top to bottom and check the ambiguity flag "
1" lattice point 2 pel code is detected. Then, the grid point label code below it is checked, and if it does not have a direction code and its ambiguity flag is not "1", the ambiguity flag is set to "1".

次に更にその下方の格子点2ペルコードを調らべ同様の
処理を行なう。このようにして第57図の上端から下端
まで同様の処理を行ないつつ上から下に垂直走査する。
Next, the two pel codes of the lattice points below it are examined and the same processing is performed. In this way, the same processing is performed from the upper end to the lower end in FIG. 57, and vertical scanning is performed from top to bottom.

〔ステップ5〕判定 上記ステラtiのあとに再び上記ステップ1およびステ
ップ2の処理を行ない、あいまいフラグ「1」の格子点
ラベルコードの数に変化がなくなるまで、これらのステ
ップ1およびステップ2の処理を繰返し行なう。このよ
うにして第58図に示すような格子点ラベルコードが得
られる。
[Step 5] Judgment After the above stellar ti, the above steps 1 and 2 are performed again, and the steps 1 and 2 are repeated until there is no change in the number of lattice point label codes with the ambiguity flag "1". Repeat. In this way, a grid point label code as shown in FIG. 58 is obtained.

a・ ブロックパターン候補の抽出処理炭にブロックパ
ターン候補として、あいまいフラグ「1」の格子点ラベ
ルコードに埋められた矩形領域のみを抽出する。
a. Extraction processing of block pattern candidates Only the rectangular areas buried in the lattice point label codes with ambiguity flag "1" are extracted as block pattern candidates.

〔ステップ1〕境界格子点のあいまいフラグrOJ処理 第58図において、その境界格子点(第58図の最外側
の格子点)の格子点ラベルコードを調らべ、そのあいま
いフラグが「1」であれば、これを「0」Kする。
[Step 1] Ambiguity flag rOJ processing for boundary grid points In Figure 58, check the grid point label code of the boundary grid point (the outermost grid point in Figure 58), and check if the ambiguity flag is "1". If there is, set it to "0".

〔ステップ2〕水平走査 (イ)上記ステップ1の処理の後、その左端の格子A9
ペルコードのあいまいフラグを調らべ、あいまいフラグ
「0」の格子点ラベルコードを検出する。
[Step 2] Horizontal scanning (a) After the processing in step 1 above, the leftmost grid A9
Check the ambiguity flag of the pel code and detect the lattice point label code with the ambiguity flag "0".

そしてその右隣方向の格子点2ペル;−ドを調らべ、方
向コードを持たなければそのあいまいフラグを「0」に
する。次にこのようKしてあい★いフラグが「0」Kな
りた格子点ラベルコードの右隣抄の格子点2ペルコード
を調らぺ同様の処理を行なう。このようにして第58図
の右端まで同様の処理を行ないながら左から右に水平走
査する。
Then, check the grid point 2 pels to the right of it, and if it does not have a direction code, set its ambiguity flag to "0". Next, the lattice point 2 pel code on the right side of the lattice point label code whose matching flag has become "0" K is checked, and the same process is performed. In this way, horizontal scanning is performed from left to right while performing similar processing up to the right end in FIG.

(ロ)次に上記(イ)の処理を行なった各格子点ラベル
コードを今muその右端の格子点ラベルコードのあいま
いフラグを調らべ、あいまいフラグ「0」の格子点ラベ
ルコードを検出する。そしてその左隣方向の格子点ラベ
ルコードを調らぺ、方向コードを持たなければそのあい
まいフックを「0」にする。
(b) Next, check the ambiguity flag of the rightmost lattice point label code for each lattice point label code that has been processed in (a) above, and detect the lattice point label code with the ambiguity flag "0". . Then, check the lattice point label code in the direction adjacent to the left, and if there is no direction code, set the ambiguous hook to "0".

次にこのようにしてあいまいフラグが「0」Kなった格
子点ラベルコードの左隣動方向の格子点ラベルコードを
調らべ、方向コードを持たなければそのあいまいフラグ
を「0」にする。このようKして新らしくあいまいフラ
グが「0」にされた格子点2ペルコードの左隣妙の格子
点ラベルコードを調らべ、同様の処理を行なう。このよ
うKして第58図の左端まで同様の処理を行ないながら
右から左に水平走査する。
Next, the lattice point label code on the left side of the lattice point label code whose ambiguity flag has become "0" K is checked, and if it does not have a direction code, its ambiguity flag is set to "0". In this way, the lattice point label code to the left of the lattice point 2 pel code whose ambiguity flag has been newly set to "0" is checked, and the same processing is performed. In this way, horizontal scanning is performed from right to left while performing similar processing up to the left end in FIG.

〔ステップ5〕垂直走査 (イ)上記ステップ2の水平走査を行ったあと、今度轄
その下端の格子点ラベルコードのあいまいフラグを調ら
べ、あいまいフラグrOJの格子点ラベルコードを検出
する。そしてその上方の格子点ラベルコードを調らべ、
方向コードを持たなければそのあいまいフラグを「0」
圧する。次にこのようKしてあいまいフラグが「0」K
なつ九格子点うペルコー)゛の上方の格子点ラベルコー
ドを調らべ。
[Step 5] Vertical scanning (a) After performing the horizontal scanning in step 2 above, the ambiguity flag of the lattice point label code at the lower end of the control is checked, and the lattice point label code of the ambiguity flag rOJ is detected. Then check the grid point label code above it,
If there is no direction code, set the ambiguity flag to "0"
Press. Next, do K like this and set the ambiguity flag to "0"
Check the grid point label code above the nine grid points (Pelcor).

同様の処理を行なう。このようKして嬉58図の上端ま
で同様の処理を行ないながら下から上に垂直走査する。
Perform the same process. In this way, vertical scanning is performed from bottom to top while performing similar processing up to the top end of the 58th diagram.

(ロ)次に上記(イ)の垂直走査を行なった各格子点2
ベルコードを今度はその上端の格子点ラベルコードのあ
いまいフラグを調らべ、あいまいフラグ「0」の格子点
ラベルコードを検出する。そしてその下方の格子点ラベ
ルコードを調らべ、方向コードを持たなければそのあい
まいフラグを「0」Kする0次にこのようにしてあいま
いフラグが「0」になった格子点2ベル;−ドの下方の
格子点ラベルコードを調らぺ、同様の処理を行なう。こ
のようにして第58図の上端から下端まで同様の処理を
行ないながら上から下に垂直走査する。
(b) Next, each grid point 2 where the vertical scanning of (a) above was performed
Next, the ambiguity flag of the lattice point label code at the upper end of the bell code is checked, and the lattice point label code with the ambiguity flag "0" is detected. Then check the lattice point label code below it, and if it does not have a direction code, set its ambiguity flag to "0". 0 Next, the lattice point 2 bell whose ambiguity flag became "0" in this way; - Check the grid point label code below the code and perform the same process. In this way, vertical scanning is performed from top to bottom while performing similar processing from the top end to the bottom end in FIG.

〔ステップ4〕判定 上記ステップ5の垂直走査のあと再び上記ステップ2お
よびステップ3の処理を行ない、あいまい72グ「0」
の格子点2ベルコードの数に変化がなくなるまでこれら
のステップ2および3の処理を繰返し行なう。このよう
Kして第59図に示す格子点ラベルコードが得られる。
[Step 4] Judgment After the vertical scanning in Step 5 above, the processing in Steps 2 and 3 above is performed again, and the ambiguous 72 group is "0".
These steps 2 and 3 are repeated until there is no change in the number of lattice point 2 bell chords. In this manner, the grid point label code shown in FIG. 59 is obtained.

aυ プレツクパターンのi1#lIA理このブロック
パターンの認識処理は、ブロックパターン候補を1つず
つ分離して取出す処理を行なうものであって、そのため
にプロツクノくターンの4隅には配線パターンが存在し
愈いという館員条件を利用して、このブロックノ(ター
/をI!識するものである。
aυ Plex pattern i1#lIA Process This block pattern recognition process separates and extracts block pattern candidates one by one.For this purpose, there are wiring patterns at the four corners of the block pattern. Taking advantage of the curator's condition of being shy, I can recognize this block no (tar/).

〔ステップ1)1つのブロックパターン候補の抽出 (イ)第59図の格子点ラベルコードを例えば左上隅よ
り水平に順次走査してあいまいフラグが「1」かつ終了
フラグが「0」の格子点ラベルコードを検出する。 こ
の終了フラグはブロックパターン候補として一度抽出さ
れたことを意味するもので。
[Step 1) Extraction of one block pattern candidate (a) The grid point label code in Fig. 59 is sequentially scanned horizontally from the upper left corner, for example, to obtain a grid point label with an ambiguity flag of "1" and an end flag of "0". Detect code. This end flag means that it has been extracted once as a block pattern candidate.

例えば第63図に示す格子点ラベルコードの区分1を使
用する。 この場合は、先ずプレツクパターンWAC)
IE上上部部分格子点2ベルコードにお叶るあいまいフ
ラグ「1」が最初に検出されるので。
For example, section 1 of the grid point label code shown in FIG. 63 is used. In this case, first the plect pattern WAC)
Because the ambiguity flag "1" corresponding to the upper part grid point 2 bell code of IE is detected first.

これに他のブロックパターン候補と区分するための識別
ブラダ「1」を立てる。この識別フラグは。
An identification bladder "1" is set for this block pattern candidate to distinguish it from other block pattern candidates. This identification flag is.

例えば第63図に示す格子点ラベルコードの区分2を使
用し、これを「1」にする。それからブロックパターン
候補として一度抽出されたことを意味する終了フラグ「
1」を立てる。
For example, use section 2 of the grid point label code shown in FIG. 63 and set it to "1". Then there is the end flag "
1”.

(ロ)上記(イ)において付与された識別7ラグ「1」
を上記(9)あいまいブラダの拡散処理の項K1M!明
したと同様にして、方向コードを持つ格子点ラベルコー
ドまでの範囲で水平・垂直走査を行ないその織前フラグ
を「1」にする。このようにして先ずブロックパターン
W人内のすべての格子点ラベルフードに識別フラグ「1
」が付与されることになり、この識別72グ「1」の格
子点ラベルの集合が1つのブロックパターン候補の内部
領域として抽出される。
(b) Identification 7 lag “1” given in (a) above
above (9) Ambiguous bladder diffusion processing term K1M! In the same manner as described above, horizontal and vertical scanning is performed in the range up to the grid point label code having the direction code, and the Orimae flag is set to "1". In this way, first, all the grid point label hoods in the block pattern W are marked with the identification flag "1".
” will be added, and a set of lattice point labels with this identification 72 tag “1” will be extracted as an internal region of one block pattern candidate.

〔ステップ2〕ブロツクパターンのiIlllm(イ)
上記の如くして抽出された識別7ラグ「1」の格子点ラ
ベルの集合領域を矩形として捉え、最小格子点アドレス
Iおよび最大格子点アドレスJを抽出する。すなわち、
識別フラグ「1」の格子点ラベルの集合領域が菖60図
(イ)K示す○印で示される場合vcB、i−oが最小
格子点アドレスとなり。
[Step 2] Block pattern iIllm (a)
The collection area of the lattice point labels with the identification 7 lag "1" extracted as described above is taken as a rectangle, and the minimum lattice point address I and the maximum lattice point address J are extracted. That is,
When the collection area of the lattice point labels of the identification flag "1" is indicated by the circle mark K shown in FIG.

j−0が最大格子点アドレスとなる。また、この集合領
域が第60図(ロ)の○印に示されるように非矩形状の
場合には、I−1が最小格子点アドレスとなり、j−1
が最大格子点アドレスとなる。
j-0 becomes the maximum grid point address. In addition, if this collection area is non-rectangular as shown by the circle in FIG. 60(b), I-1 becomes the minimum grid point address, and
is the maximum grid point address.

(ロ)次に最小格子点アドレスlと最大格子点アドレス
jで形成される矩形領域内の格子点ラベルコードのあい
まいフラグが「1」であるか否かを調べる。
(b) Next, it is checked whether the ambiguity flag of the lattice point label code in the rectangular area formed by the minimum lattice point address l and the maximum lattice point address j is "1".

■すべての格子点ラベルコードのあいまいブラダが「1
」の場合、 ■−1第60@(イ)K示す如く、最小格子点アドレス
i−0と最大格子点アドレスj−0により形成される矩
形領域内の格子点ラベルコードのあいまいフラグがすべ
て「1」の場合には、この短形領域を基にブロックパタ
ーン候補の4隅の格子点ラベルコードを調べる。このと
き第61図(イ)、(ロ)。
■The fuzzy bladder of all grid point label codes is “1”.
'', as shown in ■-1 No. 60 @ (a) K, all the ambiguity flags of the lattice point label codes in the rectangular area formed by the minimum lattice point address i-0 and the maximum lattice point address j-0 are `` 1'', the grid point label codes at the four corners of the block pattern candidate are checked based on this rectangular area. At this time, Figures 61 (a) and (b).

()→に示す如く、最初にチェックする隅部(これらの
例では最小格子点アドレスに対する隅部)の格子A′y
ペルコードが鍵形を示し、他の3隅部の格子点ラベルコ
ードが鍵形あるいは鍵形およびト字形であれば、ブロッ
クパターンとみなし、ブロックパターンを形成する矩形
の4辺の格子点の格子点ラベルコ:ドにプロツクノ(タ
ーンであることを意味するブロックフラグ「1」を立て
るとと4にそのブロック番号づけを行なう。例えばこの
ブロックフラグは、第63図に示す如く区分11の領域
を′使用し、ブロック番号は区分3ないし10の領域を
使用することができる。
As shown in ()→, the lattice A'y of the corner to be checked first (the corner for the minimum lattice point address in these examples)
If the pel code indicates a key shape and the lattice point label code at the other three corners is a key shape or a key shape and a T-shape, it is considered a block pattern, and the lattice points of the lattice points on the four sides of the rectangle forming the block pattern are Label code: If a block flag "1" is set to indicate a turn, the block number will be assigned to "4".For example, this block flag will use the area of section 11 as shown in Figure 63. However, the block number can use the area of divisions 3 to 10.

■−2また上記■−1においてそのブロックバター/候
補の4隅の格子点ラベルコードを調らにチェックする隅
部(これらの例では最小格子点アドレスに対する隅部)
の格子点2ペルコードがト字形を示し、他の5隅部の格
子点ラベルコードが鍵形またはト字形でおれば、それぞ
れ点線図示のO印で示した格子点のあいまいフラグを調
べ。
■-2 Also, in ■-1 above, the corner where the grid point label code of the four corners of the block butter/candidate is carefully checked (in these examples, the corner corresponding to the minimum grid point address)
If the lattice point 2 pel code of 2 indicates a T-shape, and the lattice point label codes of the other 5 corners are key-shaped or T-shape, check the ambiguity flags of the lattice points indicated by O marks in the dotted line diagram.

いずれも「1」であればブロックパターンとIII織し
If both are "1", it is block pattern and III weaving.

上記■−1と同様に、ブロックフラグ「1」を立てると
ともにブロック番号づけを行なう。
In the same manner as in (1) above, the block flag "1" is set and block numbering is performed.

このようにして第59図のプpツクパL−ンWA、RA
、NI、N 、A・・・等に順次ブロックフラグおよび
ブロック番号づけが行なわれる。
In this way, in FIG.
, NI, N, A, etc., block flags and block numbers are sequentially assigned.

■矩形領域内の格子点ラベルコードの一部KI)いまい
フラグ「1」でないものが存在する場合第60図(ロ)
K示す如く、最小格子点アドレスi−1と最大格子点ア
ドレスJ−IKよ抄形成される矩形領域内の格子点2ベ
ルコードの一部にあいまいフラグr 1.J、でないも
の(図において0印のない部分)が存在するとき、この
識別フラグ「1」の格子点ラベルコードの集金領域は矩
形では危くシたがってブロックパターンであると認識し
ない。
■ Part of the grid point label code in the rectangular area KI) If there is a bad flag that is not “1” Figure 60 (b)
As shown in K, an ambiguity flag r1. When there is a part that is not J, (a part without a 0 mark in the figure), the collection area of the lattice point label code of this identification flag "1" is dangerously rectangular and will not be recognized as a block pattern.

そしてこの矩形領域内のあいまいフラグおよび識別フラ
グを「OJ K して、上記ステップ10如く。
The ambiguity flag and identification flag within this rectangular area are then "OJ K" as in step 10 above.

次のブロックパターン候補の抽出処理を行なうことにな
る。
Extraction processing for the next block pattern candidate will be performed.

〔ステップ5〕プpツクパターンの記述上記ステップ2
の■−1.■−2におけるようにII識されたブロック
パター/のプルツク番号、最小格子点アドレスおよび最
大格子点アドレスを。
[Step 5] Writing the print pattern Step 2 above
■-1. (2) The pull number, minimum grid point address, and maximum grid point address of the block pattern/II identified as in -2.

第64図(ロ)に示す如く、テーブルとして保持する。It is held as a table as shown in FIG. 64(b).

そして上記これらのステップ1ないしステップ30手順
を、ブロックパターン候補のなくなるまで繰返すことK
よりブロックパターンのli!!織およびその記述が終
了する。この上うKして得九ブpツクパターンの認識結
果のうち、第65図の太線としてブロックフラグ1ヨの
格子点を示す。
Then, repeat the steps 1 to 30 described above until there are no more block pattern candidates.
More block pattern li! ! The fabric and its description are finished. Among the recognition results of the nine block patterns obtained by this process, the grid points of the block flag 1 are shown as thick lines in FIG.

(11配線パターンの抽出処理 この配線パターンの抽出処理は、上1e鵠で認識された
ブロックパターンがどのようKm続されているか、配線
パターンをベクトルで表示するI&麿である。
(11 Wiring pattern extraction processing) This wiring pattern extraction processing is an I & Maro process that displays the wiring pattern as a vector to show how the block patterns recognized in the above 1e are connected.

このために、ブロックフラグ「1」の格子点を走査によ
り検出する。例えば第59図のブロックパターンWAの
ブロック7ツグ「1」の格子点をII[次その方向コー
ドが示す方向に追跡し、ブロックパターンRA’Jの配
線や、その配線の途中から分岐している配線パターンを
捉える。これを各ブロックパターンのブロック75グ「
1」の格子点について順次その方向コードの示す方向に
追跡することKよ抄、交点、変曲点、端点を捉えること
ができ。
For this purpose, grid points with block flag "1" are detected by scanning. For example, the lattice point of block 7 "1" of block pattern WA in FIG. Capture the wiring pattern. Add this to block 75 of each block pattern.
By sequentially tracing the grid points of 1 in the direction indicated by the direction code, it is possible to detect intersections, inflection points, and endpoints.

かくして配線パターンをベクトルで表現することができ
る。
In this way, the wiring pattern can be expressed as a vector.

次に以上の如き処理を行なうための一実施例構成を第6
6図(イ)、(ロ)Kもとづき説明する。第66図(ロ
)の1社、第66図(イ)Kおける鎖m部を示すもので
あり、その第5あいまい補正回路32の出力が格子点2
ぺにコードテーブル55に伝達される。
Next, the configuration of an embodiment for performing the above processing will be explained in the sixth section.
The explanation will be based on Figures 6 (a) and (b) K. 66(b) and the chain m part in FIG. 66(a) K, the output of the fifth ambiguity correction circuit 32 is at the grid point 2
The code is transmitted to the peni code table 55.

図中、1社画像入力装置であって、第1図あるいは第5
5図に示す手書き図面を読取り、これを画像データとし
て変換出力するもので0例えばフアクシンリの如きもの
である。2は閤像メ令すであって画像入力装置1から伝
達され大画像データを保持するメそすである。Sは検証
回路であって上記第1検証処理ないし第5検証処理を行
なうものである。4は基準点検出回路であって、j11
図あるいは第55図に+印として示されるように。
In the figure, it is an image input device made by one company, and it is shown in Figure 1 or 5.
It reads the handwritten drawing shown in FIG. 5, converts it into image data, and outputs it. For example, it is similar to a facsimile. Reference numeral 2 denotes an image command, which is transmitted from the image input device 1 and holds large image data. S is a verification circuit that performs the first to fifth verification processes described above. 4 is a reference point detection circuit, and j11
As shown as a + mark in the figure or FIG. 55.

入力データ用紙にあらかじめ記入され九基準点の入力ア
ドレスを検出して1画像入力段階において生ずる例えば
回転遍を算出し、これにもとづ會−像メ彎すから読出す
べ龜データの位置ずれを補正すゐ九めのものであって1
例えば本願出願人が先に出顕した特願W354−974
13号に記lI畜れ九構成を有するものである。S紘格
子点テーブルであって、入力された両像データの格子点
のアドレスを保持するテーブルで上記基準点検出a略4
からの補正出力にもとづき歪分の補正されたアドレスが
保持されている。
The input addresses of the nine reference points previously entered on the input data sheet are detected to calculate, for example, the rotational deviation that occurs in the step of inputting one image, and based on this, the positional deviation of the base data to be read from the image display is calculated. This is the ninth correction, and it is 1
For example, patent application W354-974, which the applicant has previously filed
No. 13 has the following structure. The S-Hiro grid point table is a table that holds the addresses of the grid points of the input image data, and the reference point detection a is approximately 4.
An address whose distortion has been corrected based on the corrected output from is held.

6は格子変換回路(水平νであって、上記初期格子点ラ
ベルコードI、BLないし第2検証ラベルコードLB2
の抽出のためKll像データの格子点近傍を格子軸の大
きさの2X2の患部で読出して。
6 is a lattice conversion circuit (horizontal ν), which converts the initial lattice point label code I, BL or second verification label code LB2.
In order to extract the data, read out the vicinity of the lattice points of the Kll image data in the affected area of 2x2, which is the size of the lattice axis.

例えば第4図に示す如<mX1ビツトの患部Wl−1で
走査させ、水平方向の投影像を保持部組−xK保持させ
るものである。7社格子点ラベルコード生成回路(水平
)であって、第5図(イ)K示すようK。
For example, as shown in FIG. 4, the affected area Wl-1 of <mX1 bits is scanned, and the horizontal projected image is held in the holding unit set -xK. 7 company lattice point label code generation circuit (horizontal), as shown in Figure 5 (A).

保持部R1−!に保持された黒点情報に%とづ暑曽分が
右方向tたは左方向に存在する可能性を求めるための処
理を行なう亀のである。
Holding part R1-! This is a turtle that performs processing to determine the probability that the hot spot exists in the right direction t or left direction based on the sunspot information held in %.

8酸格子変換回路(垂直)であって、上記初期格子点ラ
ペに:I−ドLBL〜第2検証ラベル;−ドLB2の抽
出のためKli像データO格子点近傍を格子軸の大暑さ
の2X20窓部によ勤読出しえもat、例えば第4図に
示す如<ylXnビットの窓部W1−!で走査させ、垂
直方向の投影像を保持部R1,1に保持させるものであ
る。9社格子点ラベル;−ド住威回路(垂直)であって
、IIs図(ロ)に示すように、保持部R1−YK保持
された黒点情Illもとづき一分が上方向tたは下方向
に存在する可能性を求めゐ丸めの処理を行なうものであ
る。
In the 8-acid lattice conversion circuit (vertical), in order to extract the initial lattice point Lape: I-de LBL ~ second verification label; A 2X20 window can also be read at, for example, a <ylXn bit window W1-! as shown in FIG. The vertically projected image is held in the holding portion R1,1. 9 company lattice point label: -D Sumui circuit (vertical), as shown in IIs diagram (b), based on the black point information held by holding part R1-YK, one minute is upward t or downward It calculates the possibilities that exist in , and performs rounding.

10はアドレス制御部であって1画像メ七す2から必要
とする画像データを取出すための例えばアドレスの発生
等必要とする制御を行なうものである。11は制御部で
ろって1手書き図面からデータを読出し、上記の如き各
種処理を行ないベクトル情報としてこれを保持し、必要
に応じてこれKもとづき図形を出力するまでの各種の制
御を行なうものである。
Reference numeral 10 denotes an address control section which performs necessary controls such as generation of an address for extracting necessary image data from one image menu 2. Reference numeral 11 denotes a control unit which reads data from one handwritten drawing, performs various processes as described above, holds it as vector information, and performs various controls until outputting a figure based on this as necessary. be.

12は検証ウィンドウ設定回路であって、上記第1検証
処理〜第3検証処理を行なうために必要な各種の窓部を
設定する回路である。
Reference numeral 12 denotes a verification window setting circuit, which sets various windows necessary for performing the first to third verification processes.

1!5FiLBLテーブルであって、上記初期格子点ラ
ベルコードLBLの抽出に%とづき得られた初期格子点
ラベルコードLBLを保持するテーブルである。14は
LB1テーブルであって、上記第1検証ラペルゴードL
B1の抽出にもとづき得られた第1検証ラベルコードL
B1を保持するテーブルである。15はLB2テーブル
であって。
1!5FiLBL table, which holds the initial lattice point label code LBL obtained based on the extraction of the above-mentioned initial lattice point label code LBL. 14 is the LB1 table, in which the first verification lapel gord L
First verification label code L obtained based on extraction of B1
This is a table that holds B1. 15 is the LB2 table.

上記第2検証ラベルー−ドLB2の抽出にもとづき得ら
れた第2検証ラベルコードLB2を保持するテーブルで
ある。
This table holds the second verification label code LB2 obtained based on the extraction of the second verification label code LB2.

16は8X1・8Y1テーブルであって、上記第1検証
処理の結果得られた第1検証ずれ情報SX1および8Y
tを保持するテーブルである。 17社SX2・8Y2
テーブルであって上記第2検証処理の結果得られた第2
検証ずれ情報8X2および8Y2を保持するテーブルで
ある。
16 is an 8X1/8Y1 table, which contains first verification deviation information SX1 and 8Y obtained as a result of the above first verification process.
This is a table that holds t. 17 companies SX2/8Y2
A second table obtained as a result of the second verification process described above.
This is a table that holds verification deviation information 8X2 and 8Y2.

18はアドレス変換回路であって、正規化処理を行なう
ために上y8X1−8Y1テーブル16から伝達される
一第1検証ずれ情報SX1および8Y1あるい紘上記8
X2・8Y2テーブル17から伝達される第2検証ずれ
情報8X2および8Y2 勢によ転格子点テーブル5か
ら伝達される格子点アドレスを正規化するために必要と
するビット数だけシフトしたアドレスに変換して出力す
る4のである。
Reference numeral 18 denotes an address conversion circuit which converts the first verification deviation information SX1 and 8Y1 or the above 8Y1 transmitted from the upper y8X1-8Y1 table 16 to perform normalization processing.
The second verification deviation information 8X2 and 8Y2 transmitted from the X2/8Y2 table 17 is converted into an address shifted by the number of bits required to normalize the lattice point address transmitted from the transposed lattice point table 5. This is the 4th output.

19はLBH生成回路であって、上記(6)K記載した
処理を行ない第5検証2ペルコードLB3 を生成する
ものであり、20はLB3B3テーブルって上記LB5
生成回路19によ勤得られる第3検証ツペルコードLB
5を保持するテーブルである。
Reference numeral 19 is an LBH generation circuit that performs the processing described in (6)K above to generate the fifth verification 2 pel code LB3, and 20 is an LB3B3 table that
Third verification code LB obtained by the generation circuit 19
This is a table that holds 5.

21は格子点ラベルコード決定回路であって。21 is a grid point label code determination circuit;

上記(7)に記載した処理を行ない格子点2ペルコード
LABRLを得ゐものである。22はLABELテーブ
ルであって、上記格子点ラベルコード決定回路21によ
り得られた格子点2ベルコー)’ LABBLを保持す
るテーブルである。
The process described in (7) above is performed to obtain the lattice point 2-pel code LABRL. Reference numeral 22 denotes a LABEL table, which holds the lattice point 2 label code LABBL obtained by the lattice point label code determination circuit 21.

25は対処理回路であって、上記(8)Kおける■対の
処理−1および■対の処理−2の処理を行なうものであ
る。24は第1文字除去回路であって。
Reference numeral 25 denotes a pair processing circuit which performs the pair processing-1 and the pair processing-2 in (8)K above. 24 is a first character removal circuit.

上記(8)における■文字の除去−1の処理を行なうも
のでめる。25は第1ずれ補正回路であって。
The process described in (8) above (■Character Removal-1) is performed. 25 is a first deviation correction circuit.

上記181 Kおける■ずれの補正−1の処理を行なう
ものである。26は第1あいまい補正回路であって、上
E (81Kおける■あいまい補正−1の処理を行なう
ものである。27社第2ずれ補正回踏であって、上記(
8)Kおける■ずれの補正−2の地理を行なうものであ
る。28は第26いまい補正回踏であって、上記(8)
Kおける■あいまい補正−2の処理を行なうものである
。29はあいまいな腕除去回路であって、上記(8)に
おける■あいまい亀腕の除去の処理を行なうものである
。50は第2文字除去回路であって上記(8)における
■文字の除去−20処理を行なうものである。Slは第
5文字除去回路で参って、上記(8)における[株]文
字の除去−3の処理を行なうものである。52は第3あ
いまい補正回路であって上記(8)Kおける■あいまい
補正−3の処理を行たうものである。
This process performs the correction of deviation -1 in the above 181K. 26 is the first ambiguity correction circuit, which performs the process of ■ ambiguity correction -1 in upper E (81K).
8) Correction of deviation in K - 2 geography is performed. 28 is the 26th ambiguity correction round, and the above (8)
This is to perform the processing of (2) ambiguity correction in K. Reference numeral 29 denotes an ambiguous arm removal circuit, which performs the process of (1) removing the ambiguous arm in (8) above. 50 is a second character removal circuit which performs the character removal-20 process in (8) above. Sl is a fifth character removal circuit that performs the process of removing the [stock] character-3 in (8) above. Reference numeral 52 denotes a third ambiguity correction circuit, which performs the process of (8)K (1) ambiguity correction-3.

53は格子点2ベルコードテーブルであって。53 is a grid point 2 bell code table.

第54図(イ)あるいは第57図に示した如き状態の1
6ビツトの格子点2ペルコードを保持するメモーリであ
る。54はあいまいフラグ拡散回路であって、上記(9
)におけるステップ1表いしステツ′プ5の処理を行な
うものである。55はプ冒ツクパターン候補抽出回路で
あって、上記a@におけるステップ1ないしステップ4
の処理を行なうものである。56はブロックパターン認
識WA踏であって。
1 in the state shown in Figure 54 (a) or Figure 57
This is a memory that holds a 6-bit grid point 2 pel code. 54 is an ambiguous flag diffusion circuit, which is
), steps 1 to 5 are executed. 55 is a block pattern candidate extraction circuit, which performs steps 1 to 4 in a@ above.
This process performs the following processing. 56 is a block pattern recognition WA step.

上記alKおけるステップ1ないしステップ3の処理を
行なうものである。57はブレツクパターン記述テーブ
ルであって、上記(II)Kおけるステップ5の処理結
果が保持されるメモリである。58はベクトル変換回路
であって、上記alKおける配線パターンの抽出に4と
づき交点、変曲点、端点を抽出したのちこれらの交点、
変曲点、端点、ブロックパターン関勢の連絡情報を捉え
、ベクトル情報としてこれらを変換するものである。5
9は配呻パターン記述テーブルであって、上記ベクトル
変換回路38から伝達された配線パターンのベクトル情
報を保持するメモリである。
It performs the processing of steps 1 to 3 in the above alK. 57 is a break pattern description table, which is a memory in which the processing result of step 5 in (II)K above is held. Reference numeral 58 is a vector conversion circuit which extracts intersection points, inflection points, and end points according to 4 in the extraction of the wiring pattern in alK, and then extracts these intersection points,
It captures the contact information of inflection points, end points, and block pattern connections, and converts them as vector information. 5
Reference numeral 9 denotes a wiring pattern description table, which is a memory that holds vector information of the wiring pattern transmitted from the vector conversion circuit 38.

以下諺66図の動作について説明する。The operation of the proverb 66 diagram will be explained below.

(A1  第1図に示す手書き図面が画像入力装置1に
より読取られてその画像データが画像メモリ2に記憶さ
れる。この画像メモリ2に保持された画像データから基
準点の入力状態が基準点検出回路4にで検出され、その
入力歪にもとづく補正が行なわれた各格子点のアドレス
が格子点テーブル5に保持される。
(A1 The handwritten drawing shown in FIG. 1 is read by the image input device 1 and the image data is stored in the image memory 2. The input state of the reference point is determined from the image data held in the image memory 2. The address of each grid point detected by the circuit 4 and corrected based on the input distortion is held in the grid point table 5.

(B)次に制御部11はこの格子点テーブル5から得ら
れたアドレスにもとづき1画像メ七り2を格子軸間のサ
イズで2X2の窓部にて読出し、これを格子変換回路(
水平)6および格子変換回路(垂直)IIK伝達し、第
4図に示す如き窓部Wl−1tW1−!で走査し、この
結果得られた保持部R1−!*R14のデータを、格子
点ラベルコード生成回路(水平)7および格子点ラベル
コード生成回路−(垂直)9にて、上記(1) におい
て第5図(イ)、(ロ)Kついて説明した如き処理を行
ない、初期格子点ラベルコードLBLを抽出する。そし
てこの初期格子点ラベルコードLBL 1kLBLテー
ブル13に記入する。
(B) Next, the control unit 11 reads out one image 2 in a 2×2 window with the size between the lattice axes based on the address obtained from the lattice point table 5, and transfers it to the lattice conversion circuit (
(horizontal) 6 and lattice conversion circuit (vertical) IIK, and the window portion Wl-1tW1-! as shown in FIG. The resulting holding portion R1-! *The data of R14 is explained in Fig. 5 (a) and (b) K in (1) above using the grid point label code generation circuit (horizontal) 7 and the grid point label code generation circuit - (vertical) 9. The initial lattice point label code LBL is extracted by performing the following processing. Then, this initial grid point label code LBL 1kLBL table 13 is entered.

fcl  そしてこの初期格子点2ペルコードLBLに
応じて、検証ウィンドウ設定回路12にて、第10図に
示す如き第1検証窓部Wvo〜w、、 、 W、・〜W
■のうちの使用すべきものを設定し、これによ抄検証回
路3によ抄第1検証処理を行なう、そしてこの結果得ら
れた第1検証ずれ情報8X1゜8Y1を8X1・8Y1
テーブル16に記入する。
fcl Then, in accordance with this initial lattice point 2 pel code LBL, the verification window setting circuit 12 sets the first verification window portions Wvo~w, , W, . . . ~W as shown in FIG.
Set the one to be used among (2), perform the first verification process on the abstract verification circuit 3, and convert the first verification deviation information 8X1°8Y1 obtained as a result to 8X1・8Y1.
Fill in table 16.

(D)  このようKして得られた第1検証ずれ情報8
X1,8Y1を基にして格子点テーブル5の格子点アド
レスをアドレス変換回路18によ如シフトさせて、上記
(3)に記載されるように、正規化し九のちに再び格子
変換回路(水平)6および格子変換回路(垂直)8と、
格子点ラベルコード生成回路(水平)7および格子点ラ
ベルコード生成回路(垂直)?により第1検証ラベルコ
ードLB1を求め、これをLB1テーブル14に記入す
る。そしてこの第1検証ラベルコードLBIK4とづき
検証ウィンドウ設定回路12により、第20図に示す如
き第2検証窓部B Wy@ 〜B Wvs 、 B W
ms〜B Winのうちの使用すべきものを設定し、こ
れにより検証回路3により第2検証処理を行なう。そし
てこの結果得られた第2検証ずれ情報8X2,8Y2を
8X2.8Y2テーブル16KF!入する。
(D) First verification deviation information 8 obtained by performing K in this way
Based on X1, 8Y1, the address conversion circuit 18 shifts the lattice point address of the lattice point table 5, normalizes it as described in (3) above, and then returns it to the lattice conversion circuit (horizontal). 6 and a lattice conversion circuit (vertical) 8;
Lattice point label code generation circuit (horizontal) 7 and lattice point label code generation circuit (vertical)? The first verification label code LB1 is determined by the following and is entered in the LB1 table 14. Based on this first verification label code LBIK4, the verification window setting circuit 12 sets the second verification window portions BWy@ to BWvs, BW as shown in FIG.
ms to B Win to be used is set, and the verification circuit 3 then performs the second verification process. Then, the second verification deviation information 8X2, 8Y2 obtained as a result is stored in the 8X2.8Y2 table 16KF! Enter.

iml  このようにして得られた第2検証ずれ情報8
X2,8Y2によ抄格子点テーブル5から得られる格子
点アドレスをアドレス変換回路18にてシフトさせ、上
記(5)に記載されるように正規化したのち、上記■)
と同様にして第2検証2ペルコードLB2を求め、これ
をLB2.テーブル15に記入する・ (Fl  次に第28図に示す如き、第3検証窓部8W
を検証ウィンドウ設定回路12に設定し、上記(6)K
記載されるように、検証回路5にて処理を行なう。そし
てその結果得られたデータをLB3生成回路19に送出
して、上記(6)K記載されるような処理が行なわれ、
第3検証ラベルコードLBiSが得られるので、これを
LBi5テーブル20に記入する。
iml Second verification deviation information 8 obtained in this way
The address conversion circuit 18 shifts the grid point address obtained from the grid point table 5 using X2, 8Y2 and normalizes it as described in (5) above.
The second verification 2 pel code LB2 is obtained in the same manner as LB2. Fill in table 15. (Fl Next, as shown in FIG.
is set in the verification window setting circuit 12, and the above (6)K
The processing is performed in the verification circuit 5 as described. Then, the data obtained as a result is sent to the LB3 generation circuit 19, and the processing described in (6)K above is performed.
Since the third verification label code LBiS is obtained, it is entered in the LBi5 table 20.

(Gl  そしてLB5テーブル20から伝達された第
3検証ラベルコードLB!、LBLテーブル1!1に記
入された初期格子点ラベルコードLBL、LB1テーブ
ル14に記入された第1検証ラベルコードLB1.LB
2テーブル15に記入された第2検証2ベルコードLB
2,8X1・8Y1テーブル17に記入された嬉1検証
ずれ情報8X1,8Y1,8X2φ8Y2テーブル17
に記入された第2検証ずれ情報8X2.8Y2等により
格子点ラベルコード決定回路21では、上記(7)K記
載した如き処理が行なわれ、この結果得ら些た格子点ラ
ベルコードLABILがLABBLテーブル221’C
記入される。
(Gl And the third verification label code LB! transmitted from the LB5 table 20, the initial grid point label code LBL written in the LBL table 1!1, the first verification label code LB1.LB written in the LB1 table 14
2 Second verification 2 Bell code LB entered in table 15
2, 8X1, 8Y1 table 17 filled in the happy 1 verification deviation information 8X1, 8Y1, 8X2φ8Y2 table 17
The lattice point label code determination circuit 21 performs the processing described in (7)K above based on the second verification deviation information 8 221'C
Filled out.

圓 セしてこのLA]3BLテーブル22に記入された
格子点ツベルコードLABBLK対し上記(8)の■〜
■の各処理が、それぞれ対処ma絡路2s、1文字除去
回路24.菖1ずれ補正回路25.第1あいまい補正回
路26.第2ずれ補正回路27゜第2あいまい補正回路
28.あいまいな腕除去回路29.第2文字除去回路3
o、第5文字除去回@S1.第5あいまい補正回路32
等により行なわれる。かくして第5あいまい補正回路3
2から。
This LA] 3BL The grid point tube code LABBLK entered in the 3BL table 22 is
Each of the processes in (2) corresponds to the corresponding ma circuit 2s, one character removal circuit 24. Iris 1 deviation correction circuit 25. First ambiguity correction circuit 26. Second deviation correction circuit 27° Second ambiguity correction circuit 28. Ambiguous arm removal circuit 29. Second character removal circuit 3
o, 5th character removal @S1. Fifth ambiguity correction circuit 32
etc. Thus, the fifth ambiguity correction circuit 3
From 2.

第54図(イ)あるいは第57図に示す如き格子点ラベ
ルコードが得られ、これが第66図(ロ)における格子
点2ベルコードテーブル153に保持される。
A lattice point label code as shown in FIG. 54(a) or FIG. 57 is obtained and held in the lattice point 2 bell code table 153 in FIG. 66(b).

(Il  格子点ラベルコードテーブルs s K11
lすれた2例えば第57図の状態の格子点ラベルコード
に対し、あいまいフラグ拡散回路s4が、上記(9)の
あいまいフラグ拡散II&履を行なう。これKより第5
8図に示す状態の格子点ラベル;−ドが得られる。
(Il Lattice point label code table s s K11
For example, the ambiguous flag diffusion circuit s4 performs the ambiguous flag diffusion II& of the above (9) on the lattice point label code in the state shown in FIG. This is 5th from K
The lattice point labels shown in FIG. 8 are obtained.

(Jl  それから、この第58図の状態の格子点ラベ
ルコードに対し、ブロックパターン候補抽出回路55が
、上記Qllのブロックパターン候補の抽出麩履を行な
う。これKより第59図に示す状態の格子点ラベルコー
ドが得られる。
(Jl) Then, the block pattern candidate extraction circuit 55 extracts the block pattern candidates of Qll from the grid point label code in the state shown in FIG. 58. From this, the lattice point label code in the state shown in FIG. You will get the point label code.

(K)  このようKして得られ大館59図に示す状態
の格子点2ベルコードに対してブロックパターン認識回
路36が、上記alのブロックパターンの。
(K) The block pattern recognition circuit 36 calculates the block pattern of al above for the lattice point 2 bell code obtained by K in this manner and shown in FIG. 59.

認識処理を行なう。これによシ第65図に太線で示すブ
ロックパターンが得られるので、これよりそのプレツク
パターンの番号と、その最小格子点アドレスゑおよび最
大格子点アドレスJが出力され、プレツクパターン記述
テープks7に、864図(ロ)K示す如き状態でこれ
らのデータが保持される。そしてこの太線のブロックパ
ターンは格子点2ベルコードテーブル35に記入される
Perform recognition processing. As a result, the block pattern indicated by the thick line in FIG. 65 is obtained, and from this the number of the plex pattern, its minimum lattice point address E and maximum lattice point address J are output, and the plex pattern description tape ks7 is output. These data are held in the state shown in FIG. 864 (b) K. This bold line block pattern is then written into the grid point 2 bell code table 35.

(IJ  tたベクトル変換囲路58は、格子点ラベル
コードテーブル55に保持されている。第65図に太線
で示し九プpツクパターンを順次走査して、上記a湯の
配線パターンの抽出処理を行なう。
(The IJ t vector conversion circuit 58 is held in the lattice point label code table 55. The nine-pocket pattern indicated by the thick line in FIG. 65 is sequentially scanned to extract the wiring pattern of Do the following.

そしてこれによ抄得られ九交点、費―点、端点等を捉え
て配線パターンをlI繊し、これをベクトルとして表現
する。そしてこのようKしてベクトル表現した配線パタ
ーンを配線パターン記述テーブル59fC保持する。が
くしてブロックパターン記述f−プルS7および配線パ
ターン記述テーブル39に、第55図に示す如き手書き
久方図面に記入した配膳図を第65図に示す如き清書図
形情報(ベクトル情報)として保持することができる。
Then, by capturing the nine intersection points, cross points, end points, etc. obtained from this, the wiring pattern is drawn into II lines, and this is expressed as a vector. The wiring pattern expressed as a vector using K in this way is held in the wiring pattern description table 59fC. Then, in the block pattern description f-pull S7 and the wiring pattern description table 39, the serving plan entered in the handwritten Kugata drawing as shown in FIG. 55 is retained as clean graphic information (vector information) as shown in FIG. I can do it.

以上説明の如く2本発明によれば文字・図形等が混在す
る手書き入力画像情報を格子点上に格子点ラベルコード
として情報を圧縮し、これにもとづき図形部分や配線部
分をベクトル情報として正しく抽出し、必要に応じてこ
れらを図形としてプリントすることができるので、コン
ピユータラ使用した回路設計等をきわめて効率的に行な
うことができる。
As explained above, according to the second invention, handwritten input image information containing a mixture of characters, figures, etc. is compressed as grid point label codes on grid points, and based on this information, graphic parts and wiring parts are correctly extracted as vector information. However, since these can be printed as figures as necessary, circuit design using a computer can be carried out extremely efficiently.

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

第1図は手書き入力図、第4図ないし第6図辻初期格子
点2ペルコードLBLの抽出方法説明。 第7図ないし第9図は各−画像データに対応する初期格
子点2ペルコードLBLの説明図、第1゜図および第1
1図は第1検証方法の説明図、第12図ないし第15図
は各種画像データに対応する第1検証の説明、1E16
図ないし第19図は第1検証にもとづく正規化状態図、
第20図ないし第25図は第2検証結果の説明図、第2
4図ないし第27図祉第2墳証結果により正規化し九状
態およびそのラベルコードの説明図、第28図社第3検
証マスクの説明図、第29図は第5検証ラベルコードの
説明、第sO図ないし第5s図は各種図形に対する第3
検証方法および第5検証ラベルコード。 第34図は格子点ラベルコード、第35図ないしjll
E311wJは各種図形に対する格子点ラベルコードの
説明図、第39図ないし第54図社格子点ラベルコード
LAB]ilLの修正状態およびその修正の稠度にもと
づき復元された図形、第55図は他の手書き図面、第5
6図は第55図から入力された入力画像情報、第57図
は第54図に対応する修正により第55図の手書き図面
における格子点ラベルコードの復元図、第58図は第5
7図におけるあいまいフラグの拡散状態説明図、第59
図はブロックパターン候補の抽出図、第60図ないし第
62図はブロックパターンのmm状膣説明図、第6s図
は第62図の状態における格子点ラベルコード説明図、
第64図紘プ冒ツクパターンの記述状態説明図、第65
図はブロックパターンおよび配線パターン出方図、第6
6図は本発明の一実施例構成図である。 図中、1は画像入力装置、2は画像メモリ、Sは検証回
路、4は基準点検出囲路、5は格子点テーブル、6゛は
格子変換回路(水平)、7は格子点2ペルコ一ド生成回
路(水平)、8は格子変換回路(!i[)、 ?は格子
点ラベル;−ド生威回路(垂直)、1oはアドレス制御
部、11は制御部。 12状検証ウィンドウ設定回路、1sはLBLテーブル
、14tiLBtテーブル、15はLB2テーブル、1
6紘8X1・8Y1テーブル、17は8X2・SY2テ
ーブル、18はアドレス変換回路。 19はLBi5生成回路e 20 tf LB S f
−プル。 21社格子点ツベルコード決定回路、22はLABII
L? −フ#、  25 liNmNMmm、  24
 till 1 *字除去回路、25は鮪1ずれ補正回
路、26は111あい鵞い補正回路、27紘絡2ずれ補
正@路、28は第2あいまい補正回路、29はあいまい
な腕除去回路、sOは第2文字除去回路、slは第3文
字除去回路、32紘第3あいまい補正回路、5sは格子
点ラベルコードテーブル、34はあいまい7ラグ拡散回
路、35はブロックパターン候補抽出回路、56はブロ
ックパターン認識回路、37Bプayクパターン記述テ
ーブル、38はべ/)ル変換回路、39は配線パターン
記述テーブルをそれぞれ示す。 特許出願人 富士通株式会社 代理人弁理士 山 谷 嗜 榮 才+41!1 才I51!1 才IGIII t17図 R1−X 101113門に1−× 才1’lln °°°°°°蜘入 B%o      vo      l I21記 才23[21 −・欅−1・9・榔−−争・e響1ψ串ζ骨−・―−―
・才ZS口 才z[l (イ) す27図 (ロ) −・1−書 し31     j≧L f30図    LBs−oooo01o+。 十31国    L83−00000101手続補正書
(方式) 昭和56年12月1日 2、発明の名称 図形情報抽出方式 3、補正をする者 事件との関係 特許出願人 住 所 神奈川県用崎市中原区上小田中1015番地氏
 名 (522)  富士通株式会社代表者山本卓眞 4、代理人 5、補正命令の日付 昭和56年11月58発送日  
昭和56年11月24 日 補正の内容 1、 明細書第67頁第16行の「第1図は手書き入力
図」を、「第1図は手書き入方図、第2図は格子点処理
領域説明図、第3図は格子点を中心とした局M的な矩形
領域とその領域における図形の一例」と補正する。 以上
FIG. 1 is a handwritten input diagram, and FIGS. 4 to 6 illustrate a method for extracting the initial grid point 2-pel code LBL. 7 to 9 are explanatory diagrams of the initial lattice point 2 pel code LBL corresponding to each image data;
Figure 1 is an explanatory diagram of the first verification method, Figures 12 to 15 are explanations of the first verification corresponding to various image data, 1E16
Figures 19 to 19 are normalization state diagrams based on the first verification,
Figures 20 to 25 are explanatory diagrams of the second verification results;
Figures 4 to 27 are explanatory diagrams of the nine states and their label codes normalized according to the results of the second tomb verification, Figure 28 is an explanatory diagram of the third verification mask, and Figure 29 is an explanation of the fifth verification label code. The sO diagram or the 5s diagram is the third diagram for various figures.
Verification method and fifth verification label code. Figure 34 is the grid point label code, Figure 35 to jll
E311wJ is an explanatory diagram of lattice point label codes for various figures, Figures 39 to 54 are figures restored based on the correction state of the grid point label code LAB]ilL and the consistency of the correction, and Figure 55 is an illustration of other handwritten figures. Drawing, 5th
6 is the input image information input from FIG. 55, FIG. 57 is a restored diagram of the lattice point label code in the handwritten drawing of FIG. 55 after modification corresponding to FIG. 54, and FIG.
Explanatory diagram of the diffusion state of the ambiguous flag in Fig. 7, No. 59
The figure is an extraction diagram of block pattern candidates, Figures 60 to 62 are illustrations of mm-shaped vagina of block patterns, Figure 6s is an illustration of lattice point label codes in the state of Figure 62,
Fig. 64 Explanation diagram of the description state of the screen opening pattern, Fig. 65
The figure shows the block pattern and wiring pattern.
FIG. 6 is a configuration diagram of an embodiment of the present invention. In the figure, 1 is an image input device, 2 is an image memory, S is a verification circuit, 4 is a reference point detection circuit, 5 is a grid point table, 6 is a grid conversion circuit (horizontal), and 7 is a grid point 2 Pelco code generation circuit (horizontal), 8 is a lattice conversion circuit (!i[), ? are lattice point labels; -de production circuit (vertical), 1o is the address control section, and 11 is the control section. 12-state verification window setting circuit, 1s is LBL table, 14tiLBt table, 15 is LB2 table, 1
6 Hiro 8X1/8Y1 table, 17 8X2/SY2 table, 18 address conversion circuit. 19 is LBi5 generation circuit e 20 tf LB S f
-Pull. 21 company lattice point tuber code determination circuit, 22 is LABII
L? - F#, 25 liNmNMmm, 24
till 1 * character removal circuit, 25 is tuna 1 deviation correction circuit, 26 is 111 deviation correction circuit, 27 is Hirou 2 deviation correction @ road, 28 is second ambiguous correction circuit, 29 is ambiguous arm removal circuit, sO is the second character removal circuit, sl is the third character removal circuit, 32 is the Hiro third ambiguity correction circuit, 5s is the grid point label code table, 34 is the ambiguity 7 lag diffusion circuit, 35 is the block pattern candidate extraction circuit, 56 is the block 3 shows a pattern recognition circuit, 37B a block pattern description table, 38 a bar conversion circuit, and 39 a wiring pattern description table. Patent Applicant Fujitsu Ltd. Representative Patent Attorney Yamatani Takashi Eisai +41!1 Sai I51!1 Sai IGIII t17 Figure R1-X 101113 Gate ni 1-x Sai1'lln °°°°°°B%o Vol.
・Skill ZS Mouth Skill z[l (A) Su27 Figure (B) -・1-Written 31 j≧L f30 Figure LBs-oooo01o+. 131 Countries L83-00000101 Procedural Amendment (Method) December 1, 1980 2, Name of invention Graphical information extraction method 3, Relationship with the person making the amendment Case Patent applicant address Nakahara-ku, Yozaki City, Kanagawa Prefecture 1015 Kamiodanaka Name (522) Fujitsu Ltd. Representative Takuma Yamamoto 4, Agent 5 Date of amendment order November 58, 1981 Sent date
Contents of the November 24, 1981 amendment 1: "Figure 1 is a handwritten input diagram" on page 67, line 16 of the specification was changed to "Figure 1 is a handwritten input diagram, and Figure 2 is a grid point processing area. The explanatory diagram, FIG. 3, is an example of a local rectangular area centered on a lattice point and a figure in that area.''that's all

Claims (1)

【特許請求の範囲】[Claims] (1)w像入力手段と、鋏−像入力手段から入力された
画像データを保持する画像データ保持手段と、格子点近
傍KiI像データ存在の可能性を示す格子点ラベルコー
ドを生成する格子点ラベルコード生成手段と、この格子
点ラベルコードを保持するラベルコード保持手段と、格
子点ラベルコードの情報と格子軸からの画像データとの
位置ずれを検証する検証手段と、この検証手段より得ら
れた位置ずれ情報を保持する位置ずれ情報保持手段と。 画像データの局部的形状変化を判別し文字ストロークの
可能性を識別する形状変化手段と、この形状変化手段か
ら出力され丸形状変化〉ベル情報を保持する形状変化ラ
ベル保持手段と、上記格子点ラベルコード2位置ずれ情
報および形状変化ラベル情報勢により集約された集約的
格子点ラベルコードを決定する集約的格子点ラベル決定
手段と。 この集約的格子点ラベルコードにおける文字ストローク
の可能性を示す文字72グを拡散する文字フラグ拡散手
段と、線により囲まれていない部分の文字フラグを消去
する文字7クグ消去手段と。 ブロックパターンを抽出するブロックパターン抽出手段
を具備することにより1文字・図形混在図画からブロッ
クパターンを抽出するようにしたことを特徴とする図形
情報抽出方式。
(1) A w-image input means, an image data holding means for holding the image data input from the scissor-image input means, and a lattice point for generating a lattice point label code indicating the possibility of existence of KiI image data near the lattice point. A label code generating means, a label code holding means for holding the grid point label code, a verification means for verifying the positional deviation between the information of the grid point label code and the image data from the grid axis, and and a positional deviation information holding means for holding positional deviation information. a shape change means for determining a local shape change of image data and identifying the possibility of a character stroke; a shape change label holding means for holding round shape change>bell information outputted from the shape change means; An aggregated lattice point label determining means for determining an aggregated lattice point label code aggregated by code 2 positional deviation information and shape change label information. A character flag diffusion means for diffusing character 72g indicating the possibility of a character stroke in this intensive lattice point label code, and a character 7g erasing means for erasing character flags in a portion not surrounded by a line. A graphic information extraction method characterized in that a block pattern is extracted from a single character/graphic mixed drawing by comprising a block pattern extracting means for extracting a block pattern.
JP56101843A 1981-06-30 1981-06-30 Pattern information extracting system Granted JPS583078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56101843A JPS583078A (en) 1981-06-30 1981-06-30 Pattern information extracting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56101843A JPS583078A (en) 1981-06-30 1981-06-30 Pattern information extracting system

Publications (2)

Publication Number Publication Date
JPS583078A true JPS583078A (en) 1983-01-08
JPS6316786B2 JPS6316786B2 (en) 1988-04-11

Family

ID=14311332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56101843A Granted JPS583078A (en) 1981-06-30 1981-06-30 Pattern information extracting system

Country Status (1)

Country Link
JP (1) JPS583078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6048580A (en) * 1983-08-26 1985-03-16 Fujitsu Ltd Processor logical circuit diagram

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6048580A (en) * 1983-08-26 1985-03-16 Fujitsu Ltd Processor logical circuit diagram
JPH0430634B2 (en) * 1983-08-26 1992-05-22

Also Published As

Publication number Publication date
JPS6316786B2 (en) 1988-04-11

Similar Documents

Publication Publication Date Title
JPH04104324A (en) Program generating device
JPS583078A (en) Pattern information extracting system
JPS6315635B2 (en)
JPH0119189B2 (en)
JP4153850B2 (en) Image processing apparatus and image processing program
JP2978801B2 (en) Character input method for handwritten character recognition
JPH0773228A (en) Automatic drawing recognizing method
JPH02176973A (en) Drawing read processing method
JPH08212292A (en) Frame line recognition device
JPH05128309A (en) Edge detecting method for character recognition
JP2000194744A (en) Method and device for processing image data of construction drawing and computer readable recording medium recording control program therefor
JPS592190A (en) Separating system of logical symbol domain
EP0067236A1 (en) Character and figure isolating and extracting system
JPS63173188A (en) Character processing system
JPH0430634B2 (en)
JPS592168A (en) Disconnection correction system
JPS6325385B2 (en)
JPH0434652A (en) Drawing input device
JPS6330666B2 (en)
JPS5836906B2 (en) Border line removal device
JP2000187730A (en) Method and device for processing picture data of construction drawing and computer readable recording medium storing control program for the method
JPS6097480A (en) Apex extracting system of closed area graphic
JPH04241067A (en) Figure recognition device
JPS6261180A (en) Character area extraction system
JPH03282791A (en) Character recognizing method