JPS585888A - Symbol extracting device - Google Patents
Symbol extracting deviceInfo
- Publication number
- JPS585888A JPS585888A JP56104014A JP10401481A JPS585888A JP S585888 A JPS585888 A JP S585888A JP 56104014 A JP56104014 A JP 56104014A JP 10401481 A JP10401481 A JP 10401481A JP S585888 A JPS585888 A JP S585888A
- Authority
- JP
- Japan
- Prior art keywords
- region
- input
- singel
- closed region
- output
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/42—Global feature extraction by analysis of the whole pattern, e.g. using frequency domain transformations or autocorrelation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
Description
【発明の詳細な説明】
本発明はシンゲルと線分とが混在した図面の中からシン
ゲルと定義される部分のみを抽出する方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for extracting only portions defined as singels from a drawing in which singels and line segments coexist.
従来、フローチャートや論理回路図等に用いられている
各シンゲルはあらかじめ約束された形状として定義され
ている。前記定められ九シンールによりて書かれ九前記
フキーチャートや論理回路図のシンゲルを抽出する方法
にはツヤターンマツチング法や特徴抽出法等がある。Conventionally, each singel used in flowcharts, logic circuit diagrams, etc. is defined as a predetermined shape. Methods for extracting the symbols of the Fukey chart or logic circuit diagram written using the defined nine symbols include the gloss turn matching method and the feature extraction method.
/ぐターンマツチング法は定義されたシンゲルの形状を
あらかじめ登録しておき、前記登録された原図形とシン
ゲルを抽出するv/AWJとを照合し、一致したときに
その部分をシンゲルとして判断していた。q#微油抽出
法シンゲルを抽出する図面からシンゲルを構成すると思
われる特徴たとえば端点。In the /g turn matching method, the shape of a defined singel is registered in advance, the registered original shape is compared with the v/AWJ for extracting the singel, and when a match is made, that part is determined as a singel. was. q# Fine oil extraction method Extracting the singel From the drawing, the features that are thought to constitute the singel, such as the end points.
変曲点、交点などを抽出し、前記抽出したデータとあら
かじめ定義され九シンIルの特徴とを比較し、特徴の一
致する形状のものをシンゲルとして抽出する方式である
。′
前記/4ターンマツチング法社シンがル部分は確実に抽
出てきるが、シンがルの一部と線分とによって形成され
た構造があらかじめ登録されているノfターンと偶然一
致した場合は前記構造もシンゲルとして抽出してしまう
誤抽出や、拡大、縮少などがほどこされた図面を扱う場
合には新しくノ譬ターンの登録を行なわなければならな
いという欠点を有し工いた。特徴抽出法はシンゲルとし
て判断する特徴の基準をどのように与えるか、又各特徴
をどのように組み合わせてシンゲルとして判定するか、
さらには各特徴をいかに安定な状態で比較するか等、実
際に使う場合にはかな夛の難しい問題を有していた。This method extracts points of inflection, intersections, etc., compares the extracted data with predefined features of nine shapes, and extracts shapes with matching features as singels. 'The four-turn matching method described above can reliably extract the thin part, but if the structure formed by the part of the thin part and the line segment coincidentally matches the pre-registered no f turn. This technique has the drawbacks of erroneously extracting the above-mentioned structure as a singel, and of having to register a new parable turn when dealing with drawings that have been enlarged or reduced. The feature extraction method provides criteria for features to be judged as a singel, and how to combine each feature to judge it as a singel.
Furthermore, in actual use, there were many difficult problems, such as how to compare each feature in a stable state.
本発明は前記問題点を解決するものであシ、その目的と
するところはシンゲルと線分とが混在した図面の中から
シンゲルと定義された部分のみを大域的な構造解析に基
づいて抽出するシンゲル抽出方法を提供することにある
。The present invention is intended to solve the above-mentioned problems, and its purpose is to extract only parts defined as singels from a drawing in which singels and line segments coexist based on global structural analysis. The object of the present invention is to provide a singel extraction method.
本発明の特徴とするところは閉領域からなる複数のシン
ゲルと該シンがルを中心として0” 、 90@。The present invention is characterized by a plurality of single gels each consisting of a closed region, and a plurality of single gels having an angle of 0'' and 90 @ centered around the single single area.
180@、 270″の4方向のうち少なくとも一方向
で前記シンがル関ならびく前記シンゲルと前記シンゲル
以外の部分を結ぶ直線群よりなる図面番人刃する手段と
前記入力手段によって得られ九図面データのaS化を行
なう手段と、前記細線化された図面データのシンゲルと
直線群の交点ならびに直線群の線どうしの交点をウィン
ド処理によって抽出する手段と前記細線化された図面r
−夕の閉領域を抽出し閉領域単位に区分する手段と、前
記ウィンド処理によりて抽出した交点が前記閉領域を抽
出し閉領域単位に区分する手段によって得られた閉領域
のどの閉領域によって構成されるかを抽出する手段と、
前記交点が構成される閉領域を抽出する手段によって得
られ九データをもとに各閉領域の結合関係を求める手段
と、前記結合関係を求める手段によって得られた関係を
もとに結合数が5以上の領域をシンゲルではないと判断
する手段と前記判断する手段によってシンゲルではない
と判断された領域とのみ結合している領域をシンゲルと
して判断する手段と、前記シンゲルではないと判断され
要領領域と前記シン−ルであると判断された閉領域とを
除いた各閉領域のうち単一〇閉領域と結合している閉領
域をシンゲルと判断しさらに前記シンゲルと判断された
閉領域と結合している閉領域をシンゲルでないと判断す
る手段よ構成シ、閉領域からなる複数のシンゲルと骸シ
ン?ルを中心としてO” 、 90” 、 180°、
270”の4方向のうち少なくとも一方向で前記シン
ゲル間ならびに前記シン−ルと前記シンゲル以外の部分
を結ぶ直線群よ構成る図面からシンゲルの拳を抽出する
シンゲル抽出装置を提供することである。180@, 270'', the nine drawings obtained by the input means and the drawing controller consisting of a group of straight lines connecting the singel and the part other than the singel, in which the thinning lines are parallel to each other in at least one of the four directions; means for converting data into aS; means for extracting intersections between singels and straight line groups of the thinned drawing data and intersections between lines of the straight line groups by window processing; and means for extracting the thinned drawing data by window processing.
- Means for extracting the evening closed region and dividing it into closed region units, and which closed region of the closed regions obtained by the means for extracting the closed region and dividing it into closed region units determines the intersection point extracted by the window processing. a means for extracting whether the
means for determining the connection relation between each closed region based on the nine data obtained by the means for extracting the closed region where the intersection points are formed; and means for determining the number of connections based on the relationship obtained by the means for determining the connection relation. means for determining that a region of 5 or more is not a singel; means for determining as a singel a region that is only connected to the region determined as not to be a singel by the determining means; and a point area that is determined to be not a singel. Among each closed region excluding the closed region determined to be a single 〇, a closed region that is combined with a single 〇 closed region is determined to be a singel, and further combined with the closed region determined to be a singel. Is there a way to determine that a closed region that is a closed region is not a Singel? O”, 90”, 180°, centering on Le
To provide a singel extraction device that extracts a singel's fist from a drawing constituted by a group of straight lines connecting the singels and the parts other than the singels in at least one of the four directions of 270''.
以下、本発明の実施例を用いて本発明の詳細な説明を行
なう。Hereinafter, the present invention will be explained in detail using examples of the present invention.
本発明はシンdlAzと線分とからなる図面のシンゲル
抽出のすべてに適用できるtのではなく、閉領域からな
る複数のシンゲルと咳シンがルを中心として0@、 9
G” 、 180°、 270@の4方向のうち少なく
とも一方向で前記シンゲル間ならびに前記シンゲルと前
記シンゲル以外の部分を結ぶ直線群よりなる図面よ〉シ
ンゲルを抽出する方法である。The present invention is not applicable to all single-gel extractions of drawings consisting of single dlAz and line segments, but rather multiple single-gels consisting of closed regions and cough singles centered around 0@, 9.
This is a method of extracting singels from a drawing consisting of a group of straight lines connecting the singels and the singels and parts other than the singels in at least one of the four directions: G", 180°, and 270@.
第1図は本発明で処理できるフローチャート図面である
Φ第2図は各シンゲルの連結方向を示す図である。シン
ゲルはすべて閉ルーグよシなりている、さらにシンボル
と他シンがルの結合はすべて0” 、 to’ 、 1
80・、270”12)方向よプなっている。FIG. 1 is a flowchart that can be processed by the present invention. FIG. 2 is a diagram showing the connection direction of each singel. All symbols are closed loops, and all combinations of symbols with other symbols are 0'', to', 1
80., 270"12) direction.
第3図には本発明のシンがル抽出方法の処理フローを示
す・本発明の処理は前処理部、領域の表現処理部、領域
の区分処理部に大別できる。前処理部では図面データ1
の細線化処理2を行ない前記細線化処理した結果をもと
に交点の抽出処理3と領域の区分処ff14を行なう、
領域の表現処暑部2では前記前処理部によりて得られた
結果すなわち交点の抽出処I13の結果と領域の分割処
理4の結果をもとに境界の抽出処理5を行ない、さらに
前記境界の抽出処理5の結果を用いて領域間の結合処理
6を行なう、領域の区分処理部では前記領域間の結合処
l16の結果より判定−1処理7を行なりた後判定−2
処理8を行ない、シン?ルデータ9を出力する。FIG. 3 shows a processing flow of the thin line extraction method of the present invention. The processing of the present invention can be roughly divided into a preprocessing section, a region expression processing section, and a region classification processing section. In the preprocessing section, drawing data 1
perform line thinning process 2, and based on the result of the line thinning process, perform intersection extraction process 3 and area segmentation process ff14;
The region expression processing unit 2 performs a boundary extraction process 5 based on the results obtained by the preprocessing unit, that is, the results of the intersection extraction process I13 and the results of the area division process 4, and further extracts the boundary. The region segmentation processing unit performs the inter-region joining processing 6 using the result of the processing 5, and performs the judgment-1 processing 7 based on the result of the inter-region joining processing l16, and then performs the judgment-2.
Perform processing 8, Shin? Outputs file data 9.
前処理部では原図面データの中から、シンゲルと線分の
交点を抽出するとともに図面全体を1つの閉領域を1単
位とした閉領域群に分割する・細線化処理2は第4図に
示す演算回路によりて構成される。入力Vデオ端子10
は、゛青ツファ11の入力12に接続される。バッファ
11の出力13はバッファ14の人力15とレジスタ1
6の入力17に入るe ” y 7714の出力18は
バッファ190入力20とレジスタ210入力22に入
る。The preprocessing section extracts the intersections of singels and line segments from the original drawing data, and divides the entire drawing into groups of closed regions with each closed region as a unit. Thinning process 2 is shown in Figure 4. Consists of arithmetic circuits. Input Vdeo terminal 10
is connected to the input 12 of the blue buffer 11. The output 13 of the buffer 11 is the output 15 of the buffer 14 and the register 1
The output 18 of 7714 goes into buffer 190 input 20 and register 210 input 22.
バッファ19の出力23はレジスタ24の入力25に入
力する。レジスタ16,21.24のそれぞれの出力2
6,27,28は辞書メモリ290入力30.31.3
2にそれぞれ接続される。The output 23 of buffer 19 is input to input 25 of register 24. Output 2 of each register 16, 21.24
6, 27, 28 are dictionary memory 290 inputs 30.31.3
2, respectively.
辞書メモリ29の出力33はバッファレジスタ34の出
力3sに入シ、バッファレジスタ34の出力36は出力
ビデオとして出力される。細線化演算回路は3×3のウ
ィンドの論理に基づいた構成をとっており、量初に原図
面データを3つのバッファ11,14.19と3つのレ
ジスタ16゜21.24に3×3のウィンドととに切シ
出す。The output 33 of the dictionary memory 29 is input to the output 3s of the buffer register 34, and the output 36 of the buffer register 34 is output as an output video. The thinning arithmetic circuit has a configuration based on the logic of a 3×3 window, and the original drawing data is first transferred to three buffers 11, 14.19 and three registers 16°21.24 in a 3×3 window. Cut out the window.
前記切9出し九内容は辞書メモリ内の論JIKよって変
換する・前記変換は「細めノ譬ターン」と「補f→ター
ン」の組み合わせによって実行されるものであシ、細め
のノ1ターンは110すなわち黒を白、補正ノ々ターン
はOtlすなわち白を黒に変えるパターンで、3行3列
のウィンドウを辞書メモリ内のパターンと照合し、場合
に応じて前記出力図形を変換する。The above-mentioned cut 9 out 9 contents are converted according to the logic JIK in the dictionary memory.The above conversion is executed by a combination of ``same no parable turn'' and ``complement f → turn'', and slender no 1 turn is 110, that is, a pattern that changes black to white, and correction no-no-turn is a pattern that changes Otl, that is, white to black, and the window of 3 rows and 3 columns is compared with the pattern in the dictionary memory, and the output figure is converted depending on the case.
第5図にはウィンドウ31のデータと辞書メ峰IJ K
格納されている各パターンのデータ38との対応関係管
示す・
第6図は一般に用いられている照合順を示す。Figure 5 shows the data in window 31 and the dictionary memine IJK.
The correspondence relationship between each stored pattern and the data 38 is shown. FIG. 6 shows a generally used collation order.
入力データ庄はCtJTl 、 Cυ〒2 、 CUT
l 、 CUT2゜CUT3 、 CUT4 、 C1
J↑3 、 CUT4 、 PADI 、 CUT3
。The input data is CtJTl, Cυ〒2, CUT
l, CUT2゜CUT3, CUT4, C1
J↑3, CUT4, PADI, CUT3
.
CUT4 、 PAD2 、 PAD3 、 PAD4
# PAD5の履に照合される6111表には各CU
T1〜CU’r4 、 PADI 〜PAD5の辞書Δ
ターンt″16進2ケタで表わした1例である・
第1表
「細め/母ターン」
■CIJT 1
28#09#29.60,68#69,0!1,2B、
6B、C010118,[9゜11#DO,FO,F8
.Fe2O2,6FIF、94.D4.F4.FC,F
D。CUT4, PAD2, PAD3, PAD4
# In the 6111 table that is checked against the PAD5, each CU
Dictionary Δ of T1 to CU'r4, PADI to PAD5
This is an example of turn t'' expressed in two hexadecimal digits. Table 1 “Narrow/Main turn” ■CIJT 1 28#09#29.60, 68#69, 0!1,2B,
6B, C010118, [9°11#DO, FO, F8
.. Fe2O2,6FIF,94. D4. F4. FC,F
D.
9@
■CIJT2
29.419,03.OB、2B、1iiO,90,0
0,06,07,OF、2F、14゜16t17.IF
、3F、94#D4.96.97.9F、BP、D6.
F6.D7゜F7゜
■国!3
29.68.69.011#211,6B、1c018
.[9,IB、DO,FO,F8゜F9#07.6F、
lF#94.D4.?4.iFc、FD、9G■CUT
4
!9.69.OB4!1.go、Do、07.01P、
2F、16.17.lF、3F。9@ ■CIJT2 29.419,03. OB, 2B, 1iiO, 90, 0
0,06,07,OF,2F,14°16t17. IF
, 3F, 94#D4.96.97.9F, BP, D6.
F6. D7゜F7゜■Country! 3 29.68.69.011#211,6B, 1c018
.. [9, IB, DO, FO, F8°F9#07.6F,
IF#94. D4. ? 4. iFc, FD, 9G■CUT
4! 9.69. OB4!1. go, do, 07.01P,
2F, 16.17. IF, 3F.
94eD4.9L97.9LilLD6.1LD7.7
7゜「補正/#メーン」
■PAD 1
48.49.4ム#4B−CIIeCesCA、CB−
50#70−58.78,51−71.59,79,5
2.72,5ム、7ム#53.73t5B17B、08
.D9゜DA#DB#4Ce4D#41C,4F、CC
,CD、C11i、CF、54,7415C。94eD4.9L97.9LilLD6.1LD7.7
7゜ "Correction/# Main" ■PAD 1 48.49.4mm #4B-CIIeCesCA, CB-
50#70-58.78,51-71.59,79,5
2.72, 5mm, 7mm #53.73t5B17B, 08
.. D9゜DA#DB#4Ce4D#41C, 4F, CC
, CD, C11i, CF, 54,7415C.
7C,55,75,50,7D#56.70.5g、7
に、57,77.5F、7F。7C, 55, 75, 50, 7D#56.70.5g, 7
57, 77.5F, 7F.
DC,DD#Dii、DF
■PAD露 ■PムD4OA、2
A、O1,2m 12.13.92.9
3■PAD 3 ■PAD 5
50.7G、54.74 48.49.C
8,C9辞書/皆ターン
交点の抽出処理は前記l1lIsI化されたデータtさ
らに3×3のウィンドに切9出し、前記ウィンドデータ
を厘7図に示す交点を意味する論理条件と照合すること
によって行なわれる。1に8図は交点抽出の処ms1表
わす回路である。バッフ丁レジスタ39の出力4oはバ
ッフ、41の入力42とタイ建ンダ回路43の入力44
に入る。パラフチ41の出力45はバッファ46の人力
47とレジスタ4sの入力49に接続される・バッファ
46ノ出力50はパラフチ510入カ52とレジスタ5
30入力54Kmi続される。バッファ51の出力55
はレジスタ56の入力57Km!絖される。DC, DD#Dii, DF ■PAD Dew ■Pmu D4OA, 2
A, O1,2m 12.13.92.9
3■PAD 3 ■PAD 5
50.7G, 54.74 48.49. C
8.C9 Dictionary/All-turn intersection extraction processing is performed by cutting the above-mentioned data t into a 3×3 window and comparing the window data with the logical condition indicating the intersection shown in Figure 7. It is done. Figures 1 and 8 are circuits representing the intersection extraction process ms1. The output 4o of the buffer register 39 is the input 42 of the buffer 41 and the input 44 of the tie construction circuit 43.
to go into. The output 45 of the para-fuch 41 is connected to the input 47 of the buffer 46 and the input 49 of the register 4s.The output 50 of the buffer 46 is connected to the input 52 of the para-fuch 510 and the register 5.
30 inputs connected for 54 km. Output 55 of buffer 51
is the input of register 56 57Km! It is threaded.
レジスタ48,53.51!Iのそれぞれの出方5s。Register 48, 53.51! 5s for each way of I.
59.60は照合メモリ61の入力62,63゜61C
それぞれ入力される・メイイング回路43の出力65は
カウンタ6g、$7の入力68゜69に1照合メモリ6
1の出カフoはカウンタ66.67の入力71.73に
それぞれ接続される。カウンタ66.67の出カフ3,
74は座標点メモリ750人カ’16.7’lに接続さ
れる。パy 7 y 41 e 4 fk m 51
ト1/ ’) JCI 48 * 53 #56によう
で切)出され九ウィンドデータは照合メモリ・10内容
と比較され、第7図に示すような轡黴点抽出データと一
致した場合には交点であるとしてカウンタの内容【座標
点メモリ75に格納すゐ・領域の分割処114は図面デ
ータtシンールやシンールと1分によって構成される閉
領域を各閉領域t−1単位として分割する処理である・
第9図には領域の分割処m回路を示す、ラベル変換回路
780ライト出カフG、80のバッフアメ篭り81.8
2のライト入力83.84ICバツツアメモリ81.8
2のり−ド出ヵ85.86はラベル変換回路78のリー
ド入力87.88に:それぞれ接続される。ラベル変換
回路780制御入方108、ステータス出力109はさ
らにラベル変換回路制御部8−の制御出方90.ステー
タス人力91がそれヤれ接続されている。ラベル変換(
ロ)路89のアドレス制御出力92はアドレス制御部9
3の入力94に入る。アドレス制御部93のアドレス出
力95はバッファメモリ8111’20アドレス入方9
6.97に入る。アドレス検出回路98の入出力端子9
9はパック丁メモリ81の入出力端子lOoと接続され
ている。制御部1010制御端子102,103.10
4はアドレス検出回路980制御端子105.ラベル変
換回路制御部920制御端子106.アドレス制御部の
制御端子107にそれぞれ接続されているe g 91
!Iにおいてノ苛ツフ丁メモリ81に格納されている前
記細線化されたデータ管行方肉に沿りて水平方向から順
次リードする・前記リードのIIK最初に黒から白すな
わちlから0に変化するアドレス値をとらえ、さらに自
から黒すなわち0からIK変化するアドレス値をとらえ
る・前記二つの変化するアドレス値の間の領域の区分管
意味するラベルを付与し、前記matパッフテメ篭り8
2に格納する0次にバッファメモリ82Pgのデータを
列方向に沿って垂直方向から順次リードし、曽記弯化す
るアドレス値0間の領域の区分を意味するラベルが1列
中にあっ光場合には前記1列の前記ラベルをはさむ黒か
ら白に変化す為アドレスと自から黒に変化するアドレス
間の領域に前記区分を意味するラベル管付与し、前記結
果を−ぐツファーモリ81に格納する・前記水平方向と
垂直方向のリードとラベル付与をラベル領域が変化しな
くなるまで〈9かえす・前記変化がなくなりた時のラベ
ル領域は1つの閉領域を示している。前記1つの閉領域
が求tり、出力し九後さらに前記ラベル領域の画面デー
タに対して前記ラベル付与の処理を画面データの黒から
白すなわち1からOK変化する状態がなくなるオでくシ
かえず。59.60 is input 62, 63°61C of collation memory 61
The output 65 of the main circuit 43 is input to the counter 6g, and the input 68° and 69 of $7 are connected to the matching memory 6.
The outputs o of 1 are connected to inputs 71 and 73 of counters 66 and 67, respectively. Counter 66.67 output cuff 3,
74 is connected to a coordinate point memory 750 people. pa y 7 y 41 e 4 fk m 51
1/') JCI 48 * 53 #56) The output 9-wind data is compared with the collation memory 10 contents, and if it matches the mold point extraction data as shown in Figure 7, the intersection point is set. Assuming that the contents of the counter [stored in the coordinate point memory 75], the area division process 114 is a process of dividing a closed area formed by the drawing data t thin line, thin line and 1 minute into units of each closed area t-1. be·
FIG. 9 shows a region division processing circuit, a label conversion circuit 780, a write output cuff G, and a buffer candy 81.8 of 80.
2 write input 83.84 IC battle memory 81.8
The two lead outputs 85 and 86 are connected to the read inputs 87 and 88 of the label conversion circuit 78, respectively. The label conversion circuit 780 control input 108 and status output 109 are further controlled by the control output 90 of the label conversion circuit control section 8-. Status human power 91 is connected. Label conversion (
b) The address control output 92 of the path 89 is the address control section 9.
3 input 94 is entered. The address output 95 of the address control unit 93 is the buffer memory 8111'20 address input 9.
Enter 6.97. Input/output terminal 9 of address detection circuit 98
9 is connected to the input/output terminal lOo of the pack memory 81. Control unit 1010 control terminals 102, 103.10
4 is an address detection circuit 980 control terminal 105. Label conversion circuit control section 920 control terminal 106. e g 91 each connected to the control terminal 107 of the address control section.
! At I, read sequentially from the horizontal direction along the thinned data pipe stored in the output memory 81. IIK of the read is an address that first changes from black to white, that is, from l to 0. Capture the value, and further capture the address value that changes from black, that is, from 0 to IK. Add a label that means a division of the area between the two changing address values, and add a label to the mat puff teme 8.
The data stored in the 0-order buffer memory 82Pg stored in 2 is read sequentially from the vertical direction along the column direction, and if a label indicating the division of the area between address values 0 to be converted to Zengji is displayed in one column. , a label tube indicating the division is given to the area between the addresses that change from black to white between the labels of the one column and the addresses that change from self to black, and the results are stored in the file memory 81. - The horizontal and vertical directions and labeling are repeated <9 times until the label area stops changing. - When the above-mentioned change disappears, the label area shows one closed area. After the one closed area is found and output, the process of labeling the screen data of the label area is changed to eliminate the state where the screen data changes from black to white, that is, from 1 to OK. figure.
第10図に入力図面を示す、纂10図においてシンがル
は説明の九めすべて矩形を用いている。The input drawing is shown in FIG. 10. In FIG. 10, rectangles are used for all explanations.
第11図には前処理1行なりた久方図面1示す・翼lN
143は閉領域のラベル、P2N2は交点會それヤれ示
す。Figure 11 shows Kugata drawing 1 with 1 pre-processing process.
143 indicates a label of a closed region, and P2N2 indicates an intersection point.
前処1111によって入力図面データは交点と閉領域単
位のラベルに変換される・領域の表現処理部では前記前
J611結果を用いて各領域の結合状態を抽出し、図面
全体Yti次元的な;−ド列として表現する。すなわち
、領域の表現処理部では領域という面単位の構造を簡単
な数値間の結合におきか見る処理を行なう拳前記前処理
によって得られた交点は領域面の境界上にあるので、境
界の抽出結果をもとに領域間の結合処理6によって領域
面の結合管抽出する・
11112WJは境界の抽出処理Sの抽出処m回路を示
す・座標点メ峰す75の入出力端子111a制御回路1
12の入出力端子113に接続される。The input drawing data is converted into labels for intersection points and closed regions by the preprocessing step 1111.The region expression processing unit uses the results of the previous step J611 to extract the connection state of each region, and converts the entire drawing into Yti-dimensional; Expressed as a string. In other words, the region expression processing section performs processing to see the structure of each surface called a region into simple connections between numerical values.Since the intersection obtained by the above preprocessing is on the boundary of the region surface, it is necessary to extract the boundary. Based on the result, the joint tube of the area surface is extracted by the inter-region joining process 6. ・11112WJ indicates the extraction process m circuit of the boundary extraction process S. ・Input/output terminal 111a control circuit 1 of the coordinate point M peak 75
It is connected to 12 input/output terminals 113.
制御(ロ)路112の出力114,115はアドレス制
御回路116.領域テーブルメモリ117に接続される
。アドレス制御回路116の出力118はバッフアメ篭
り119.ラベル検索回路120を介して領域テーツル
メ篭す117に接続される。Outputs 114, 115 of control path 112 are connected to address control circuit 116. It is connected to area table memory 117. The output 118 of the address control circuit 116 is stored in a buffer 119. It is connected to the area search engine 117 via the label search circuit 120.
第8図に示した交点の抽出回路の座標点メ毫り79に格
納されている交点アトリスデータを制御回路112がリ
ードし、アドレス制御回路116に出力する。アドレス
制御1路116は前記アドレスデータ管中心としてバッ
フアメ篭り119に格上されている細線化されラベルが
付加された図面データt3×3の小ウィンドに切1出し
、ラベル検索回路120に出力する・ラベル検索回路1
20では前記小ウィンド内に存在するラベル【求め領域
テーブルメモリ117に格納する。前記一連の処理を座
標点メモリに格納されている全データすなわち全ての交
点について行なう。The control circuit 112 reads the intersection atris data stored in the coordinate point map 79 of the intersection extraction circuit shown in FIG. 8, and outputs it to the address control circuit 116. The address control 1 path 116 cuts out drawing data t3×3, which is thinned and labeled, which is stored in the buffer storage 119 as the center of the address data tube, and outputs it to the label search circuit 120. Label search circuit 1
At step 20, the labels existing within the small window are stored in the search area table memory 117. The series of processes described above are performed for all data stored in the coordinate point memory, that is, for all intersection points.
第2表には、第11図に示す交点、閉領域のデータの境
界抽出1行なった結果である。Table 2 shows the results of one boundary extraction of the intersection point and closed region data shown in FIG. 11.
Noは交点を五〇〇RIEIi8は領域テーブル117
アドレス¥tLINKAGEは閉領域の結合を示してい
る。No: 500 intersection RIEIi8: area table 117
The address \tLINKAGE indicates a connection of closed regions.
領域間の結合処理6は前記領域テーブル117のIJN
KAG1部分の内容を検索し、各領域と結合している他
の領域の関係1求める。たとえば領域R5は交点P5に
おいて領域R1、R3と、交点P8に−blAc領域R
3、R8と交点pHにおいて領域R1,R8と接してい
るので、領域R5の結合ラベルすなわち結合領域はR1
、R3、R8となる拳
第13図は領域間の結合処理の回路構成である。The connection process 6 between areas is based on the IJN of the area table 117.
The contents of the KAG1 portion are searched to determine the relationship 1 between each area and other areas connected to it. For example, region R5 connects regions R1 and R3 at intersection P5, and -blAc region R at intersection P8.
3. Since it is in contact with regions R1 and R8 at the intersection pH with R8, the binding label of region R5, that is, the binding region is R1.
, R3, and R8. FIG. 13 shows a circuit configuration for connection processing between regions.
ラベル発生回路121は制御部122と接続される。領
域テーブル123はアドレス検出回路124と接続され
る・制御部の出力125はアドレス検出回路124と2
ベル検出回路126t−介して結合テーブル127の入
力128に入力される。ラベル発生回路121は制御部
122の指示によって順次交点の番号を発生し、制御部
122に出力 ′する。制御W5122は前記交点の番
号をアドレス検出(ロ)路124に伝える。アドレス検
出回路124は領域テーブル123の閉領域の結合デー
タをアドレス検出回路124を介してラベル検出回路1
26に出力する。ラベル検出回路126では3つの結合
している閉領域の結合ラベルを結合テ・−プル127に
格納する。 lI[3!!l!は第2表に示した領域テ
ーブルのデータをもとに領域間の結合処理を行なった結
果管示す。Label generation circuit 121 is connected to control section 122 . The area table 123 is connected to the address detection circuit 124.The output 125 of the control section is connected to the address detection circuit 124 and 2.
It is input to the input 128 of the combination table 127 through the bell detection circuit 126t. The label generation circuit 121 sequentially generates intersection numbers according to instructions from the control section 122 and outputs them to the control section 122. Control W5122 communicates the number of the intersection to address detection (b) path 124. The address detection circuit 124 sends the combined data of the closed area of the area table 123 to the label detection circuit 1 through the address detection circuit 124.
Output to 26. The label detection circuit 126 stores the combined labels of the three connected closed regions in the combined table 127. lI [3! ! l! 2 shows the result of performing a join process between regions based on the data of the region table shown in Table 2.
領域の区分処理は判足−1逃理7と判足−2処理8工り
なり領域間の結合および前記結合の個数をもとに、各領
域がシンールか否かt判断し、最終的にはシンゲルを意
味する領域のみを抽出する・各領域がシンがルか否かの
判断は2つの利足論理に基づいて行なわれる。前記判断
の1つはシンがルのもつ連結方向の規則(シンゲルを中
心として、0・、90°、180°、270°の4方向
)から判足されるものであり、前記判定は判足−1処理
で行なわれる。前記判断の一方は領域間の結合状態から
判足されるものであ)、判2−2処理で行なわれる。The area classification process is based on the connections between the areas and the number of connections described above, based on the connections between the areas and the number of connections, and finally, extracts only the regions that mean singel.The judgment of whether each region is singel is made based on two advantageous logics. One of the above judgments is based on the rule of connection direction of Shingel (4 directions of 0, 90°, 180°, 270° with Shingel as the center); -1 processing is performed. One of the above-mentioned judgments is determined based on the state of connection between regions), and is performed in judgment 2-2 processing.
e4啼I6呻啼cQへ韓n1噂呻啼へN〜へヘーーーー
oP4へn啼膿ψト■Φ0−〜用啼1φトψ[相]ロー
へ eJ 侶 〜 へ包 へ へ 〜伽(12Fl 凶
n のの 韓韓 n の啼 呻閲関−一関鍼鋪鍼一鋪
閲一閲一一関関閲一関一一判定−1処理に結合テーブル
の各領域が結合する結合個数によってシンはルかシンが
ルでないかを判定する。すなわち、結合個数から5以上
の領域はシンールでにないと判定する。e4 啼I6 groan cQ to Korean n1 rumors groan N~ to heeeee oP4 to n pus ψ to ■ Φ 0 - ~ use 1 φ to ψ [phase] to low eJ 〜 he package to ~ 伽 (12Fl evil n no's hanhan n's 啼 groaning review - Ichinoseki Acupuncture Acupuncture 1Seki 1 review 11SekiSekiView 1Seki 11 Judgment - Depending on the number of connections each area of the join table joins in one process, the In other words, it is determined that the area of 5 or more from the number of connections is not simple.
菖14図には判定−1処理の構成図を示す、結合テーブ
ル130の出力はパ、7γ131に入る。Diagram 14 shows a block diagram of the judgment-1 process, and the output of the join table 130 is input to 7γ131.
バッフy1.31の出力は減算器132に接続される。The output of buffer y1.31 is connected to subtracter 132.
制御部133の出力134,135は結合テーブル13
0と減算器132に接続される。減算1S132の正出
力136はフラグ生成137に、負出力138Fi制御
部に接続される。制御部133によって結合テーブルの
各領域の結合個数が順次バッファに出力される。パ、フ
ァ131ri前記結合側数を減算器132に出力し、減
算−132では制御部よシ入力されるデータすなわち“
4#と前記入力された結合個数とを比較し前記結合個数
が4よシ大きい場合には負出力138よシ次の領域個数
を入力するよう制゛御部に伝える。フラグ生成137に
正信号が入るとフラグ生成137では前記結合テーブル
の結合ラベルを消し、シンボルでない情報を書き込む。The outputs 134 and 135 of the control unit 133 are the connection table 13
0 and the subtracter 132. The positive output 136 of the subtraction 1S 132 is connected to the flag generation 137, and the negative output 138 is connected to the Fi control section. The control unit 133 sequentially outputs the number of connections in each area of the connection table to the buffer. The P and F 131ri output the connected side number to the subtracter 132, and in the subtraction -132, the data inputted from the control unit, that is, "
4# is compared with the input number of regions, and if the number of regions is greater than 4, a negative output 138 tells the control section to input the next number of regions. When a positive signal is input to the flag generation 137, the flag generation 137 erases the connection label in the connection table and writes non-symbol information.
王妃動作を領域個数分繰り返す、R4表は第3表の結合
テーブルをもとに判定−1処11を行なった結果を示す
。第4表中@NO,8YMBOL”はシンールでないこ
とを示すラベルである。The queen motion is repeated for the number of regions.Table R4 shows the results of judgment-1 and 11 based on the connection table in Table 3. In Table 4, "@NO, 8YMBOL" is a label indicating that it is not thin.
判定−2処IIIFi前記判定−1処理の結果を用いて
シンボルを意味する閉領域を抽出する処理であ)、第1
の条件「シンIkが意味する領域はシンボルでない領域
によって囲まれている」と#I2の条件「結合しあう2
つの領域は共にシンールであることはない」という2つ
の条件を用いて処理を行なう。Judgment-2 processing IIIFi is a process of extracting a closed region meaning a symbol using the result of the judgment-1 processing), the first
The condition of #I2 is ``The area meant by the symbol Ik is surrounded by areas that are not symbols.''
The processing is performed using two conditions: 1. Two regions cannot both be thin.
第15図は第1の条件を用いてシンがルを判定する回路
構成を示す。結合テーブル130の出力139汀アドレ
スパ、7テ140とリンクバッファ141に入る。第1
5図(a)のアビ222.フ丁140の出力けΔラフ丁
メモリ142に接続される。リンクツ1.フ丁の出力は
比較器143を介してパ、7丁メモリ142に入る。制
御部144は結合テーブルと比較器143に接続される
。[15図(b)の結合テーブル130はリンクバッフ
ァ145を介して比較!1146の入力に接続される。FIG. 15 shows a circuit configuration for determining a thin line using the first condition. The outputs of the join table 130 enter the address space 139, the address space 140 and the link buffer 141. 1st
Loon 222 in Figure 5(a). The output of the page 140 is connected to the rough page memory 142 . Links 1. The output of the first page enters the second page memory 142 via the comparator 143. The control unit 144 is connected to the combination table and the comparator 143. [The join table 130 in FIG. 15(b) is compared via the link buffer 145! 1146 input.
制御部147は結合テーブル130とパ、7丁メモリ1
42に@続される。バッファメモ!7142(D出力は
比較1!146に出方される。比較器のON出力148
はCOF 71 %す149の入力150に入シ、比較
器のOFF出力151riACCメ%す152(D入力
153に入る。0077%す149の出力154゜15
5はカウンク156の入力157とデータテーブル15
8の入力159に入る。ムccメモリ152の出力16
0,161tlカウン7162の入力183とデータテ
ーブル158の入力16午に入る。カラン)156.1
62のそれぞれの出力165.166Hデータテーブル
158の入力167.168にそれぞれ接続されている
。The control unit 147 has a connection table 130 and a memory 1
Followed by @42. Buffer memo! 7142 (D output is output to comparison 1!146. Comparator ON output 148
is input to the input 150 of the COF 71% 149, and the OFF output 151riACC of the comparator 152 (enters the D input 153.0077% is input to the input 150 of the 149.
5 is input 157 of count 156 and data table 15
Enter input 159 of 8. Output 16 of mu cc memory 152
0.161tl Enters the input 183 of the counter 7162 and the input 16 of the data table 158. Karan) 156.1
62 respective outputs 165, 166 are connected to inputs 167, 168 of the H data table 158, respectively.
第15図(a)では結合テーブル130の領域の中で内
容がシンがルではないと表現された領域の7ラグ會取シ
出しノ青ツ7テメモリ142に格納する処理が行なわれ
る* jllG 15図(b)では結合テーブル130
の内容をラベル順に取シ出し、前記取り出したデータと
パ、フフメモリ142のADD −1の内容とを比較し
、両者が一致したものと不一致のものとに分離する。さ
らにムCCメモリ、COFメモリに格納されたデータ数
を算出し、C0FN−00ものを抽出する。前記抽出し
た閉領域はシンがルである。In FIG. 15(a), processing is performed to store in the memory 142 the seven lag data of an area whose contents are expressed as not being thin in the area of the join table 130. In figure (b), the join table 130
The content of the data is extracted in the order of the labels, and the extracted data is compared with the content of ADD-1 of the buffer memory 142, and those that match and those that do not match are separated. Furthermore, the number of data stored in the MCC memory and COF memory is calculated, and data of C0FN-00 is extracted. The extracted closed region is thin.
WJ5表には第4表に示す結合テーブルを用いて求めた
判定用テーブル(4)と判定結果(B) t−示す0判
定用テーブル(4)でC0FNはシンールらしい閉領域
との結合数、ACCN Uシンがルでない閉領域との結
合数を示す。判定結果俤)で″NO”はシンがルでない
ことを示し、@8M”はシンールであることを示す。Table WJ5 shows the judgment table (4) obtained using the join table shown in Table 4 and the judgment result (B). ACCN Indicates the number of connections with closed regions where the U syn is not Ru. In the judgment result 俤), "NO" indicates that the thin line is not true, and "@8M" indicates that the thin line is true.
第16図Fi1g5%に示した判定結果を図示したもの
である。前記判定結果ではまた閉領域R3゜R5,R9
,R13,R16,R18,R20゜R21、R23,
R26,R27,R28,R31゜R32,R35,R
36が未定である。第2条件すなわち「結合しあう2つ
の領域は共にシンがルであることはない」を用いて前記
未定閉領域のシンがルを決定する。FIG. 16 illustrates the determination results shown in Fi1g5%. In the above judgment result, closed regions R3°R5, R9
, R13, R16, R18, R20°R21, R23,
R26, R27, R28, R31゜R32, R35, R
36 are undecided. The second condition, ie, ``two regions that are connected to each other cannot both have a thin line'' is used to determine the thin line of the undetermined closed area.
−
球
Mv+aφh@11[相]Oe−1# #)雫−轡トー
偽@−e1m N N N 18 N N M M 2
1−^^−e s s w vS*aa関関鍼−一関一
一一一一鋪一一一鵬一0600 −0eloφ
ロロロoOΦ−−〜
誓Q誓誓−W u %j誓!誓Q誓!Qす9QワQQm
g+4eQ鱒@1!ψ韓ψ啼〜〜〜!−Φへnηn〜
賛一
嶌
瞬 00口O−066ψ ロロ0ロロψ−−〜
−−−− −の−m−閃F−w4 v−4y4−
N口OO00In # 66066660aラ 噂
fi −ラ)1
0−〜 トω0ロロOOOOO
N+−+ eflm NN
寸前−〜−鶴韓0嶋−輔[相]0ロロ
+1 m (+11包へ へ〜閃−−閃軸一啼賛cQ
〜閃nめ哨寸前包へへ包偶−−−値
O曙 ・
η
琴
f fi (’4 fi fi瞬瞬啼!〜凶へN舖−一
−^!瞬ψトeoaso−偶n!噂ψトψ[相]0輪H
e1l 〜 員 輔 −め n −両 −−錦 韓
韓 !次に実施例管用いて説明を行なう前にシンIルを
決定する論理を説明する。前記第1の条件を基に行なり
え処理で決定できない閉領域は領域間の結合が2.3.
4およびそれらの合成によって形成される5 、 6
、7−・・である、以下、前記数値を結合度と呼ぶ。- Sphere Mv + aφh @ 11 [phase] Oe-1# #) Drop - 轡To false @ - e1m N N N 18 N N M M 2
1-^^-e s s w vS*aaSekiSeki Acupuncture-Ichinoseki 11111 111Peng10600 -0eloφ
RororooOΦ--~ Oath Q Oath-W u %j Oath! Oath Q oath! Qsu9QwaQQm
g+4eQ trout @1! ψKorea ψ! −Φ to nηn~
Sanichishima Shun 00ku O-066ψ Roro 0 Roro ψ--~ --m-Sen F-w4 v-4y4-
NguchiOO00In # 66066660a Rumor
fi-la)1
0-~ To ω0 RoroOOOOOO N+-+ eflm NN On the verge of-~-Tsuruhan0shima-suke[phase]0 Roro+1 m (to +11 package To~Sen--Senkoku Ichipaku cQ
〜Sen nme shu sōzen bahe he wa shu ---value O Akebono ・η Koto f fi ('4 fi fi instant moment! ~ evil to N or - one - ^! moment ψto eoaso- even n! Rumor ψtψ [phase] 0 wheel H
e1l ~ member suke -me n -ryo --nishiki han
Han! Next, before proceeding with an explanation using an example, the logic for determining the sinusoidal number will be explained. For closed regions that cannot be determined by the process based on the first condition, the connection between regions is determined by 2.3.
4 and 5, 6 formed by their synthesis
, 7-... Hereinafter, the above numerical value will be referred to as the degree of coupling.
第17図は、結合度が3.4,5,6.7の一例である
。前記閉領域群を囲む領域はすべてシンがルではないと
判断されているので、まず各領域においである一つの閉
領域が他の単一の閉領域に結合しているものを抽出する
。前記抽出された領域は複数個の領域を囲む領域と明ら
かにシンールではないと判定された領域とによって囲ま
れた領域であるから、シンールと判断できる。す表わち
、第5表のC0FNの内容が1である閉領域が該当する
。FIG. 17 shows examples of coupling degrees of 3.4, 5, and 6.7. Since it is determined that all the regions surrounding the group of closed regions are not thin, first, in each region, a region in which one closed region is connected to another single closed region is extracted. The extracted area can be determined to be thin because it is an area surrounded by a plurality of areas and an area that is clearly determined to be not thin. In other words, the closed region in which the content of C0FN in Table 5 is 1 corresponds to the closed region.
前記処理によって第17図の結合度が3でFiR’1と
R’5 、6ではR’lとR’5とR’6.7ではR’
lとR’2とR’6とR’7がシンー身と判定される0
次に前記シン&Aと判定された閉領域と結合する閉領域
をシンIルでないと判断する。前記判断によりて結合度
3ないし4Fiすべて処理すなわち判断されるが他は閉
領域群の一部しか判断されない、しかしながら、未処理
の領域は基本結合lILを有する構成の重畳した形態で
あるので、再度前記処mt行なうことにより全閉領域の
シンールが判定できる。As a result of the above processing, the coupling degree in FIG. 17 is 3 for FiR'1 and R'5, 6 for R'1 and R'5, and R'6.
0 where l, R'2, R'6 and R'7 are judged to be thin.
Next, it is determined that the closed region that is connected to the closed region determined to be thin &A is not thin I. According to the above judgment, all the connectivity degrees 3 to 4Fi are processed or determined, but only a part of the closed region group is determined for the others. However, since the unprocessed region is a superimposed form of configurations having basic connectivity IL, By carrying out the above process mt, it is possible to determine the thin line of the fully closed region.
第18図(−は判定−1処理の結果すなわち第16図を
用いてC0FN−1よシシンー身と判定された閉領域を
示しくIs)は前記結果すなわちシンがルと第18図(
a)によって判定されたシンがルに結合した閉領域をシ
ンがルでないと判定された結果を示しく@)は伽)によ
って判定されたシンールでない閉領域と結合した閉領域
をシンがルと判定された結果を示す。FIG. 18 (- indicates the result of the judgment-1 process, that is, a closed region determined to be more similar to C0FN-1 using FIG. 16).
Indicates the result of determining that the closed region where Shin is connected to Ru, determined by a), is not Shin. Indicates the determined result.
第19図は第20県件すなわち「結合しあう2つの領域
は共にシンールであることはない」という条件を用いて
シンがルと判定する回路構成を示す。FIG. 19 shows a circuit configuration for determining that the area is thin using the 20th condition, that is, ``two areas that are connected to each other cannot both be thin.''
第19図(1)のデータテーブル158の出力はC0F
IN/肴、フチ170の入力171に入る。 C0FN
/f、7丁17Gの出力172は比較器173の入力1
71に入る。The output of the data table 158 in FIG. 19 (1) is C0F.
IN/dish, enter the input 171 of the border 170. C0FN
/f, the output 172 of the 7th 17G is the input 1 of the comparator 173
Enter 71.
一比較1!1780出力17S#iシンがルアラダ生成
1780人力177に接続される。S/ンール7ツr生
威116の出力1711tデータチーグル鄭の入力17
8に入る。制御部1800制御出力181は比較1B1
73、シンがルツラダ生成1フロ、データチー2kll
i8のそれぞれの制御入力182゜183.114に1
1続される。制御部1800制御端子1811はデータ
テーブル1 !S IO制御端子186に接続されゐ、
第191伽)のデータテープA 11! 8の出力18
7.1118はそれぞれシンールフラダパッフテ188
の入力111、C0FNバッフ丁190の入力191に
*絖される。 111j御部19!の制御端子193は
アドレス2.フ丁194の制御端子19器とデータチー
1ル1s8の制御端子196に接続される。シン?ルフ
ラダt427丁188の出力197は比較器198の一
方の入力199に入シ、比較5198の出力199#i
/4、アテメモリ200C)一方の入力201に入る。Comparison 1!1780 output 17S#i Shin is connected to Luarada generation 1780 human power 177. Output 1711t data of S/nur 7r Shengwei 116 Input 17 of Cheagle Zheng
Enter 8. Control unit 1800 control output 181 is comparison 1B1
73, Shin generates Rutsurada 1 floor, data chi 2 kll
1 for each control input of i8 182°183.114
Continuous. The control unit 1800 control terminal 1811 is connected to the data table 1! Connected to the SIO control terminal 186,
191) data tape A 11! 8 output 18
7.1118 is Sinurfuradapakhte 188 respectively
* is inserted into the input 111 of , and the input 191 of the C0FN buffer 190 . 111j Gobe 19! The control terminal 193 of the address 2. It is connected to the control terminal 19 of the frame 194 and the control terminal 196 of the data team 1s8. Shin? The output 197 of the Lufrada t427-188 goes into one input 199 of the comparator 198, and the output 199#i of the comparator 5198
/4, memory 200C) enters one input 201.
アドレスパッツテ194の出力202aハ、フチメモリ
の他方の入力203に接続される。制御部の制御出力2
04は比較@198、バッファメモ1720 Gのそれ
ぞれの制御入力端子205.206に接続される。比較
*201t)入力208 、208にはバッフテメモリ
zooo出力210とC0FNパ、7丁190の出力2
11がそれぞれ入力される。比較5207の出力21雪
はyy−ルアラダ生成213を介してデータチー1ル1
58の入力213に接続される。An output 202a of the address pad 194 is connected to the other input 203 of the border memory. Control output 2 of control unit
04 is connected to the control input terminals 205 and 206 of the comparison @198 and the buffer memory 1720G, respectively. Comparison *201t) Input 208, 208 has Buffte memory zooo output 210 and C0FN pa, output 2 of 7-190
11 are respectively input. Output 21 snow of comparison 5207 is data team 1 file 1 via yy-ruarada generation 213
58 input 213.
第19図(a)において、データチー7k1511から
C0FNの内容を読み取〕、前記読み取ったデータをC
0IFN/4.フチ170に格納する。比較回路173
では前記C0FNdy7テl ’I OK格納された〇
〇FNデータを読み出すとともに制御部180の命令に
よって一定のタイミングで数値it意味する信号と比較
し、一致した場合には出力175に出力する。シンール
フラグ生成176では前記比較回路173よ〕出力され
る一致した時の信号を受けるたびにシンfルであること
を意味するフラグ(有ヤが1、無しが0)を生成し、デ
ータチー7+″ル15・8に出力する・
菖i*WJ伽)において、データチーツル1511から
、アドレス道びにシン−にブラダを読取シそれ! tL
7 F しx x 、 7テ194着びにシンがルブ
ッダΔツ7テ1811に転送し、シン−ルアラダが10
7ドレス値をパ、7テメ毫す2000 ADD8に格納
する。さらに、データチー1ル158からC0FNのデ
ータtil!取p%錠記読取った内容と/#ツファメ毫
す200のADD8に格納したデータと比較する。In FIG. 19(a), the contents of C0FN are read from data chip 7k1511], and the read data is
0IFN/4. It is stored at the edge 170. Comparison circuit 173
Then, the C0FNdy7tel 'I OK stored 〇〇FN data is read out and compared with the signal representing the numerical value it at a certain timing according to the command from the control section 180, and if they match, it is outputted to the output 175. The signal flag generation 176 generates a flag (1 for presence, 0 for absence) indicating that it is a signal every time it receives the signal when a match is output from the comparison circuit 173, and generates a flag (1 for presence, 0 for absence), and Output to file 15.8 (*WJ), read the bladder from the data cheat 1511 to each address.
7 F Shix
Store the 7 dress value in 2000 ADD8, which is the address of 7 characters. Furthermore, data til! from data team 158 to C0FN! Compare the contents read from the tablet with the data stored in the ADD 8 of the /#Tsufame 200.
前記比較が一致した場合には、シンがルではないことを
意味する7ラダシンがルなし79 !生成213によっ
て生成しデータテーブル15gの前記一致した時のアド
レスの領域に格納すゐ、前記動作によってシンールに結
合した領域がシンールではな−と判定され良ことになる
。さらに第19図(11)のシンがシフ2121フ丁1
881−シンがルなしを格納するパ、7アに、また、シ
ンがルなし7ラダ生成213tシンがルアラダの生成に
変更し、前記動作と同様の処11を行なうことにょ9、
基本結合度の合成によって形成される残夛の領域がシン
ールあ)と判定される。If the above comparison matches, it means that the syn is not Ru 79! It is generated by the generation 213 and stored in the area of the address at the time of the match in the data table 15g, and the area connected to the thin rule by the above operation is determined to be not a thin rule. Furthermore, the Shin in Figure 19 (11) is Schiff 2121 Fd 1
881-Change to the generation of 213t Shin to 7 Ladder generation, and perform the same operation 11 as the above 9.
The residual region formed by combining the basic degrees of connectivity is determined to be thin.
以上フローチャートと回路構成管用いてシンがルと線分
とが混存した図面の中からシンがルと定義された部分の
みを大域的な構造解析に基づいて抽出できる本発明のシ
ンーkIIIl出方法について詳細な説明【行なった。The above is about the thin-kIII extraction method of the present invention that can extract only the portions defined as thin from a drawing in which thin lines and line segments coexist based on a global structural analysis using flowcharts and circuit configuration tubes. Detailed explanation [Done.
を閣画O簡単な説明
菖imlは7g1−チャートを示す図、第2図はシンー
ルO曽舎方崗を示す図、jlF3図は本発明の処理ア藺
−を示す園、嬉411は細線化の演算回路を示すプロッ
タ図、!IEs図は辞書の表現を表わす図、第61[は
照会論理を示す図、第7WAは特徴点抽出デー−を示す
図、第8図は特徴点抽出回路を示すプロ、!閣、菖―閣
は領域分割の#l&311回路を示すツWツタ図、第i
ogは入力図画を示す図、第1111は前4611の結
果を示す図、第12図は境界の抽出回路を示すデー、l
1、第13I11は領域間の結舎46110gm路構成
を示すプロ、り図、第14図は判定−11&NO構成を
示すプロ、l1、第1511t!判定−意処理の回路構
成を示すプロ、り図、第1@IIは第5表をフローチャ
ートで表わした図、第17−結合度を示す図、第18図
体) # (b) #←)は判定−2#&運結果を示す
フローチャート、第fell←)、伽)は判定−2逃理
の回路構成を示す図でh為。A simple explanation of the iris iml is a diagram showing the 7g1-chart, Figure 2 is a diagram showing the Shinru O Sosha Hangang, jlF3 diagram is a diagram showing the processing method of the present invention, and 411 is a thinning line. Plotter diagram showing the arithmetic circuit of! The IEs diagram is a diagram showing the expression of the dictionary, the 61st diagram is a diagram showing the query logic, the 7th WA is a diagram showing the feature point extraction data, and the FIG. 8 is a diagram showing the feature point extraction circuit. Kaku, Iris - Kaku is a vine diagram showing the #l & 311 circuit of area division, No.
og is a diagram showing the input drawing, No. 1111 is a diagram showing the result of the previous 4611, FIG. 12 is data showing the boundary extraction circuit, l
1, 13th I11 is a professional diagram showing the 46110gm road configuration between regions, and Figure 14 is a professional diagram showing the judgment-11&NO configuration, l1, 1511t! #(b) #←) is Flowchart showing Judgment-2# & Luck results, No. ←), 佽) is a diagram showing the circuit configuration of Judgment-2 escape.
2・・・細線化am、s−・・交点O抽出処理、4・・
・領域の分割#11m1.5−境界の抽出純理、6−・
・領域間の結合処理、7・・・判定−1戯瀧、8・・・
判定−2II&理、9−やシンIルデータ。2... Thinning am, s-... Intersection O extraction process, 4...
・Region division #11m1.5-Purity of boundary extraction, 6-・
・Connection processing between regions, 7... Judgment -1 Gitaki, 8...
Judgment-2II & Ri, 9- and Shin I data.
Claims (1)
て0” 、 9G” 、 18G” 、 270°の4
方向のうち少なくとも一方向で前記シンがル関ならびに
前記シンゲルと前記シン−ル以外の部分を結ぶ直線群よ
)なる図面を入力する手段と前記入力手段によりて得ら
れ九1gll1iデーメQilll纏化を行なう手段と
1前記細纏化された図面データのシンゲルと直線群の交
点ならびに直線群の纏どうしの交点をウィンを処理によ
って抽出する手段と前記IIAiI化された図面データ
の閉領域を抽出し、閉領域単位に区分する手段と前記ウ
ィンド処理によって抽出した交点が前記閉領域を抽出し
閉領域単位に区分する手段によって得られ九閉領域のど
O1v!領域によって構成されるかを抽出する手段と、
前記交点が構成される閉領域を抽出する手段によりて得
ら終たデータをもとに各閉領域の結合関係を求める手段
と、前記結合関係を求める手段によって得られた関係を
もとに結合数が5以上の領域をシンゲルではないと判断
する手段と前記判断する手段によりてシンがルで拡ない
と判断された領域とのみ結合している領域をシンがルと
して判断する手段と、前記シンゲルではないと判断され
た閉領域と前記シンゲルであると判断された閉領域とを
除いた各閉領域のうち単一〇閉領域と結合している閉領
域をシンゲルと判断し、さらに前記シンがルと判断され
九閉領域と結合している閉領域をシンゲルでないと判断
する手段よ〉な〕、閉領域からなる複数のシンゲルと鋏
シンールを中心として0@、 90°。 18G@、 270・04方向のうち少なくとも一方向
で前記シンがル関ならびに前記シンゲルと前記シンがル
以外の部分を結ぶ直線群よりなる図面からシンIkのみ
を抽出することを特徴とするシンゲル抽出装置。[Claims] A plurality of singels consisting of closed regions and four angles of 0", 9G", 18G", and 270 degrees centering on the mosquito sinules
means for inputting, in at least one direction, a drawing consisting of a group of straight lines connecting the line and the line connecting the line and parts other than the line; 1. Means for extracting intersections between singels and groups of straight lines in the refined drawing data and intersections between groups of straight lines by win processing; extracting closed regions of the IIAiI drawing data; The intersection point extracted by the means for dividing into closed region units and the window processing is obtained by the means for extracting the closed region and dividing into closed region units. a means for extracting whether the area is constituted by a region;
means for determining a connection relationship between each closed region based on the data obtained by the means for extracting a closed region where the intersection points are formed; and connection based on the relationship obtained by the means for determining the connection relationship. means for determining that a region having a number of 5 or more is not a singel; and means for determining that a region that is connected only to a region for which it is determined by the determining means that the singe does not spread as a singel is a singel; Among each closed region excluding the closed region determined to be not a singel and the closed region determined to be a singel, a closed region that is connected to a single 〇 closed region is determined to be a singel, and further This is a means of determining that a closed region that is determined to be a single closed region and is connected to a nine closed region is not a singel], and 0@, 90 degrees around a plurality of singels and a scissor singel consisting of closed regions. Shingel extraction characterized in that only Shin Ik is extracted from a drawing consisting of the straight line group connecting the Shinga Ru line and the Shinga Ru line and the part other than the Shinga Ru in at least one direction among 18G@, 270.04 directions. Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56104014A JPS585888A (en) | 1981-07-03 | 1981-07-03 | Symbol extracting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56104014A JPS585888A (en) | 1981-07-03 | 1981-07-03 | Symbol extracting device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS585888A true JPS585888A (en) | 1983-01-13 |
JPS6316788B2 JPS6316788B2 (en) | 1988-04-11 |
Family
ID=14369405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP56104014A Granted JPS585888A (en) | 1981-07-03 | 1981-07-03 | Symbol extracting device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS585888A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0232481A (en) * | 1988-07-22 | 1990-02-02 | Honda Motor Co Ltd | Peak data extractor |
-
1981
- 1981-07-03 JP JP56104014A patent/JPS585888A/en active Granted
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0232481A (en) * | 1988-07-22 | 1990-02-02 | Honda Motor Co Ltd | Peak data extractor |
Also Published As
Publication number | Publication date |
---|---|
JPS6316788B2 (en) | 1988-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5515455A (en) | System for recognizing handwritten words of cursive script | |
JP2940936B2 (en) | Tablespace identification method | |
JPH04104324A (en) | Program generating device | |
US5313528A (en) | Method for extracting features from on-line handwritten characters | |
CN112861736B (en) | Document table content identification and information extraction method based on image processing | |
CN113989744A (en) | Pedestrian target detection method and system based on oversized high-resolution image | |
CN114022748B (en) | Target identification method, device, equipment and storage medium | |
JPS585888A (en) | Symbol extracting device | |
JPS61193276A (en) | Character string extracting system | |
JPH04255080A (en) | image input device | |
JPS61221968A (en) | Drawing reader | |
JPS61290584A (en) | Information recognizing device | |
JPH07117967B2 (en) | Drawing processing system | |
JPH07325921A (en) | Device and method for extracting connected area | |
CN119314146A (en) | Image recognition-based extraction and recognition method for track area in complex turnout area | |
JPS5947674A (en) | Picture cutting system | |
CN117953514A (en) | Method and system for detecting and semantically restoring check symbol in image | |
JPS63269267A (en) | Character recognizing device | |
JPS60120479A (en) | Device for extracting crossing and curved point | |
JPS585882A (en) | Character figure separating device | |
JPS61168081A (en) | System for implementing character dictionary | |
JPH04181376A (en) | Figure candidate extracting method of automatic drawing input device | |
JPS62120577A (en) | Graphic pattern extracting system | |
JPH0132547B2 (en) | ||
JPH0142029B2 (en) |