JPS59123065A - Graphic input system - Google Patents

Graphic input system

Info

Publication number
JPS59123065A
JPS59123065A JP57229270A JP22927082A JPS59123065A JP S59123065 A JPS59123065 A JP S59123065A JP 57229270 A JP57229270 A JP 57229270A JP 22927082 A JP22927082 A JP 22927082A JP S59123065 A JPS59123065 A JP S59123065A
Authority
JP
Japan
Prior art keywords
loop pattern
intersection
code
pattern
corner
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
JP57229270A
Other languages
Japanese (ja)
Other versions
JPS631637B2 (en
Inventor
Toshio Matsuura
松浦 俊夫
Takeshi Masui
桝井 猛
Yoshitaka Muraoka
村岡 良孝
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 JP57229270A priority Critical patent/JPS59123065A/en
Publication of JPS59123065A publication Critical patent/JPS59123065A/en
Publication of JPS631637B2 publication Critical patent/JPS631637B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To obtain loop pattern code information by reading the loop pattern after integrating the loop pattern within an input pattern into the loop pattern code information. CONSTITUTION:A mesh region 1' enclosed by grating axes is processed at a mesh conversion processing part 3 on the basis of an input pattern read onto a picture memory 2 to extract a direction label for each mesh region. A region 2' extracting the existence of the black point at a place near a grating intersection is processed at an intersecting point converting part 4, and a connection code is extracted in response to each grating intersecting point. The extended direction code of a pattern black line is extracted for each intersecting point at a code converting part 5 in consideration of both extracted direction level and connection level. The intersecting point having the loop pattern corner is checked at a corner detection processing part 6 to attach a corner label to the intersecting point. When this processing is over, the information on the intersecting point is obtained for each intersecting point.

Description

【発明の詳細な説明】 四 発明の技術分野 本発明は1図形入力システム、特に例えばプリント板パ
ターンに見られるように、格子軸の交点に存在するシン
ボル・マークと当該シンボル・マーク間を結ぶ連結パタ
ーンと例えばアース部などに対応するループ・パターン
とを少なくとも有する如き入力図形を処理して、データ
処理装置への入力情報を得る図形入力システムにおいて
、上記ループ・パターンが上記格子軸に沿うよう手書き
されている点に着目し、当該ループ・パターンを入力す
るようにした図形入カシス、テムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION 4. Technical Field of the Invention The present invention relates to (1) a graphic input system, and particularly, a graphic input system, particularly a graphic input system, which relates symbol marks existing at intersections of lattice axes and connections between the symbol marks, as seen in, for example, printed board patterns; In a figure input system that obtains input information to a data processing device by processing an input figure having at least a pattern and a loop pattern corresponding to, for example, a ground portion, the figure input system includes a handwritten pattern such that the loop pattern is along the lattice axis. The present invention concerns a graphic input system and system that focuses on the point that the loop pattern is inputted.

(Bl  技術の背景と問題点 上記の如きプリント板パターンに対応する入力図形を処
理する技術として2本出願人は先に特願昭54−155
126号(特開昭56−79359号公報参照)を提案
した。これは、上記シンボル・マークと上記連結パター
ンとをもち上記ループ・パターンをもたない入力図形を
想定しているものであった。そして、特に上記連結パタ
ーンを処理するに当って、当該連結パターンが一般に格
子軸に沿うように手書きされている点に着目して、上記
連結パターンに関する情報を抽出するようにしている。
(Bl Background and Problems of the Technology As for the technology for processing the input figure corresponding to the printed board pattern as described above, the present applicant previously applied for Japanese Patent Application No. 54-155.
No. 126 (see Japanese Unexamined Patent Publication No. 56-79359). This assumes an input figure that has the symbol mark and the connected pattern but does not have the loop pattern. In particular, when processing the connected pattern, information regarding the connected pattern is extracted by paying attention to the fact that the connected pattern is generally handwritten along the lattice axis.

(C1発明の目的と構成 本発明は、上記光に提案した技術に対して整合するルー
プ・パターン処理を提供することを目的としている。そ
してそのため本発明の図形入力システムは、予め定めら
れた格子軸によって細分化される平面上に描かれたルー
プ・パターンをもつ入力図形を処理して、当該入力図形
中の上記ループ・パターンを上記格子軸に対応づけて書
き直す図形入力システムにおいて、上記格子軸で囲われ
るメツシュ領域内における黒線の延長方向を抽出するメ
ツシュ変換処理部、上記格子軸が交差する格子交点近傍
における黒線の存在を抽出する交点変換処理部、上記メ
ツシュ変換処理部によって得られた方向ラベルと上記交
点変換処理部によって得られた連結ラベルとにもとづい
て上記交点近傍における黒線の延長方向コードを抽出す
るコード変換処理部、上記ループ・パターンのコーナが
存在する場合における上記交点近傍の黒線延長方向コー
ド・パターンを予め用意しておいて上記コード変換処理
部によって抽出された延長方向コードと対比しつつ上記
ループ・パターンのコーナの存在を決定するコーナ検出
処理部、および該コーナ検出処理部によって得られた結
果にもとづいて上記ループ・パターンを再現可能な情報
に集約するループ・パターン・コード情報抽出処理部を
そなえ、上記入力図形中の上記ループ・パターンをルー
プ・パターン・コード情報に集約するようにしたことを
特徴としている。以下図面を参照しつつ説明する。
(C1 Object and Structure of the Invention The object of the present invention is to provide a loop pattern processing that matches the technique proposed for the above-mentioned light. Therefore, the graphic input system of the present invention uses a predetermined grid. In a figure input system that processes an input figure having a loop pattern drawn on a plane subdivided by an axis and rewrites the loop pattern in the input figure in association with the lattice axis, the lattice axis a mesh transformation processing unit that extracts the extension direction of a black line in a mesh area surrounded by a mesh area, an intersection transformation processing unit that extracts the existence of a black line near a grid intersection point where the grid axes intersect, and a mesh transformation processing unit that extracts the extension direction of a black line in a mesh area surrounded by a code conversion processing unit that extracts an extension direction code of the black line in the vicinity of the intersection point based on the direction label obtained by the direction label and the connected label obtained by the intersection conversion processing unit; and the intersection point when a corner of the loop pattern exists. a corner detection processing unit that determines the existence of a corner of the loop pattern while preparing a nearby black line extension direction code pattern in advance and comparing it with the extension direction code extracted by the code conversion processing unit; A loop pattern code information extraction processing section is provided which aggregates the loop pattern into reproducible information based on the results obtained by the corner detection processing section, and converts the loop pattern in the input figure into a loop pattern code information extraction processing section. It is characterized in that it is aggregated into code information.It will be explained below with reference to the drawings.

(DJ  発明の実施例 第1図は本発明において処理の対象とされるループ、パ
ターンを説明する説明図、第2図は本発明の一実施例構
成図、第3図は第2図図示のメツシュ変換処理部におけ
る処理を説明する説明図。
(DJ Embodiment of the Invention Figure 1 is an explanatory diagram for explaining loops and patterns to be processed in the present invention, Figure 2 is a configuration diagram of an embodiment of the present invention, and Figure 3 is an illustration of the structure shown in Figure 2. FIG. 3 is an explanatory diagram illustrating processing in a mesh conversion processing section.

第4図は第3図tB)図示の3X3ドツトのマスクによ
り方向ラベルを抽出するマスク群、第5図は第2図図示
の交点変換処理部における処理を説明する説明図、第6
図は第2図図示のコード変換処理部における処理を説明
する説明図、オフ図は第2図図示のコーナ検出処理部に
おける処理において抽出される一実施例出力情報、′:
lrS図はコーナ検出処理部において得られた交点域情
報の一例、オ9図は片2図図示のループ・パターン・フ
ード情報抽出処理部において得られるループ・/<ター
ン・フード情報の一例9片10図は第2図図示コ−す検
出処理部における一実施例構成を示す。
FIG. 4 is a mask group for extracting direction labels using the 3×3 dot mask shown in FIG.
The figure is an explanatory diagram illustrating the processing in the code conversion processing section shown in FIG. 2, and the off-line diagram is an example output information extracted in the processing in the corner detection processing section shown in FIG. 2.':
The lrS diagram is an example of the intersection area information obtained in the corner detection processing section, and the O9 diagram is an example of the loop /< turn hood information obtained in the loop pattern food information extraction processing section shown in the two diagrams. FIG. 10 shows an embodiment of the configuration of the course detection processing section shown in FIG.

第1図において* XI + X2・・・、 Yl l
 Yz・・・は格子軸座標、CPは格子交点、1−は手
書きされたループ・パターンを表わしている。上述の入
力図形上には、上述の如く、シンボル・マークや連結パ
ターンも一緒に描かれるものであるが以下ループ・パタ
ーンのみが描かれてお9.当該ループ・パターンを抽出
するものとして説明する。なお格子軸の間隔は4(、−
s)程度のものであるが、第1図では拡大し工描かれて
おり、ループ・パターンの線幅も太く描かれている。
In Figure 1 *XI + X2..., Yl l
Yz... represents grid axis coordinates, CP represents grid intersection points, and 1- represents a handwritten loop pattern. As mentioned above, symbol marks and connected patterns are also drawn on the above-mentioned input figure, but only the loop pattern is drawn below.9. The following description assumes that the loop pattern is extracted. Note that the spacing between the lattice axes is 4(, -
s), but it is enlarged and drawn in Figure 1, and the line width of the loop pattern is also drawn thick.

第1図図示の如く、ループ・パターン1は例えば格子交
点CP上を通るように手書ぎされる。本発明においては
、当該ループ・パターン1における5個のコーナの座標
を抽出し、コーナ間が直線で結ばれてい′るものとして
第9図図示の如くループ・パターン・コード情報を抽出
する。
As shown in FIG. 1, a loop pattern 1 is drawn by hand so as to pass over grid intersection points CP, for example. In the present invention, the coordinates of five corners in the loop pattern 1 are extracted, and the loop pattern code information is extracted as shown in FIG. 9 assuming that the corners are connected by straight lines.

第2図において、2は入力図形が読込まれた画像メモリ
、■はメツシュ変換処理部において処理対象とされる領
域、■は交点変換処理部において処理対象とされる領域
、3はメツシュ変換処理部。
In FIG. 2, 2 is the image memory into which the input figure is read, ■ is the area to be processed in the mesh transformation processing section, ■ is the area to be processed in the intersection transformation processing section, and 3 is the mesh transformation processing section .

4は交点変換処理部、5はコード変換処理部、6はコー
ナ検出処理部、7はループ・パターン・コード情報処理
部を表わしている。
Reference numeral 4 represents an intersection conversion processing section, 5 a code conversion processing section, 6 a corner detection processing section, and 7 a loop pattern code information processing section.

画像メモリ2上に読込まれた入力図形にもとづイテ、メ
ツシュ変換処理部3は格子軸によって囲われるメツシュ
領域即ち図示領域■について処理し、第3図を参照して
後述する如き処理を行って各メツシュ領域に対して方定
ラベルを抽出する。
Based on the input figure read into the image memory 2, the mesh conversion processing section 3 processes the mesh area surrounded by the grid axes, that is, the illustrated area (2), and performs the processing described later with reference to FIG. Then, a orientation label is extracted for each mesh region.

また交点変換処理部4は格子交点近傍における黒線の存
在を抽出すべく図示領域■について処理を行い、第5図
を参照して後述する如き処理を行って各格子交点対応に
連結コードを抽出する。
In addition, the intersection conversion processing unit 4 performs processing on the illustrated area (■) to extract the presence of black lines in the vicinity of grid intersections, and performs processing as described later with reference to FIG. 5 to extract connection codes corresponding to each grid intersection. do.

コード変換処、理部5は、第6図を参照して後述する如
き処理を行って交点近傍における黒線の延長方向コード
を抽出する。またコーナ検出処理部6は、第10図を参
照して後述する如き処理を行って各格子交点毎にコーナ
の存在をチェックしてオフ図または第8図図示の如き交
点域情報を抽出する。更にループ・パターン・コード情
報抽出処理部7は、第8図図示の如き交点域情報を利用
して第9図図示の如きループ・パターン・コード情報を
作成する。
Code conversion processing The processing section 5 performs processing as described later with reference to FIG. 6 to extract the extension direction code of the black line near the intersection. Further, the corner detection processing section 6 performs processing as described later with reference to FIG. 10 to check the presence of a corner at each grid intersection point and extracts off-diagram or intersection area information as shown in FIG. 8. Furthermore, the loop pattern code information extraction processing section 7 creates loop pattern code information as shown in FIG. 9 using the intersection area information as shown in FIG.

(1)  メツシュ変換処理部3゜ 該処理部3においては、今津3装置図示の如く入力図形
が画像メモリ2上に存在しているものとするとき9図示
クロス・ハツチングした如き各1つ1つのメツシュ領域
■毎に、第3図tB1図示の3×3ドツトの窓で走査し
つつ調べてゆく。1つのメツシュ領域■が例えば8X8
ドツトで構成されているものとするとき9図示メツシュ
8内は第3図te1図示の如き形でループ・パターン1
が横切っている形となっている。
(1) Mesh conversion processing unit 3゜In the processing unit 3, when it is assumed that input figures exist on the image memory 2 as shown in the Imazu 3 device diagram, each one Each mesh area (2) is examined by scanning with the 3×3 dot window shown in FIG. 3, tB1. For example, one mesh area is 8x8
When it is assumed that the mesh 8 is made up of dots, the inside of the mesh 8 shown in FIG.
It has a cross-sectional shape.

第4図は上記3×3ドツトの窓内の黒点の現われ形によ
り図形の存在方向を調べるマスクであり。
FIG. 4 shows a mask for determining the direction of a figure's existence based on the appearance of black dots within the 3×3 dot window.

第4図(5)と(E)との6−個のマスクは上・下方向
を検出するもの(なお図中の斜線部が黒ドツトである場
合を示す)、第4図IBIと(F)との6個のマスクは
左斜上・右斜下方向を検出するもの、第4図telと(
Glとの6個のマスクは左・右方向を検出するもの。
The six masks shown in FIG. 4 (5) and (E) are for detecting the upward and downward directions (the shaded area in the figure shows the case where black dots are used), and the IBI and (F) shown in FIG. ) and 6 masks detect the left diagonal upward direction and right diagonal downward direction, Figure 4 tel and (
The six masks with Gl detect left and right directions.

牙4図+D)と(6)との6個のマスクは左斜下・右斜
上方向を検出するものを表わしている。
The six masks shown in Fig. 4+D) and (6) represent those for detecting the diagonally downward left direction and the diagonally upward direction to the right.

第4図図示の如き、各マスクで2.第4図te1図示の
メツシュ8内を走査したとき、各マスクと同じパターン
が現われる頻度を調べて高頻度のものの方向と対応づけ
ると、第4図(DJ図示の如く、第1位の方向として右
斜下・左斜上方向のものとなり。
2 for each mask as shown in FIG. When scanning the inside of the mesh 8 shown in Fig. 4, te1, the frequency at which the same pattern as each mask appears is examined and correlated with the direction of the most frequently occurring pattern. It is diagonally downward to the right and diagonally upward to the left.

第2位の方向に該当するものがないことが判る。It can be seen that there is nothing corresponding to the second-ranked direction.

この結果、当該メツシュ8に対する方向ラベルはroo
ooloooJ  として与えられる。同様に第3装置
図示メツシュ9については、拡大図が第3図(E1図示
の如くなり・当該メツシュ9の方向ラベルはroloo
ooolJ  となる。このようにして9画・酸メモリ
2上の全メツシュについて夫々方向ラベルが抽出される
。    □ 〔旧 交点変換処理部4゜ 該処理部4においては、第5回置図示の如く入力図形が
画像メモリ2上に存在しているものとするとき9図示り
pス・)1ツチングした如き各2×2メツシユ領域■毎
に処理を行ってゆく。即ち各格子交点を中心とする領域
毎に処理を行ってゆく。
As a result, the direction label for the mesh 8 is roo
It is given as oolooooJ. Similarly, for the mesh 9 shown in the third device, an enlarged view is shown in FIG.
It becomes ooolJ. In this way, direction labels are extracted for all meshes on the 9-stroke memory 2. □ [Old intersection point conversion processing unit 4゜In the processing unit 4, when it is assumed that the input figure exists in the image memory 2 as shown in the fifth illustration, the following processing is performed as shown in Fig. 9. Processing is performed for each 2×2 mesh area. That is, processing is performed for each area centered on each grid intersection.

第5回置図示の領域10を拡大したものが第5図IBI
に示されている。なお、第5図IBIにおいては1メツ
シユが8X8ドツトとするとき各メツシュの交点近傍の
1部のみが図示されている。上述した如く、ループ・パ
ターン1は格子交点上を通るように手書きで線が描かれ
る。このために9手書きの状態によっては当該線が隣接
する2つの交点の中間附近を通るように描かれているこ
ともある。
Figure 5 IBI is an enlarged view of area 10 shown in the fifth illustration.
is shown. In addition, in FIG. 5 IBI, when one mesh is 8×8 dots, only a part near the intersection of each mesh is shown. As described above, in loop pattern 1, lines are drawn by hand so as to pass over grid intersections. For this reason, depending on the state of handwriting, the line may be drawn so as to pass near the middle of two adjacent intersections.

当該交点変換処理部4は、このような手書き時に生じた
位置ずれを補正す・るためのものである。その処理の詳
細は、上述の特開昭56−79359号(第3図ないし
オフ図とその説明)に記述されているが1本願において
は当該処理が直接の要部でないので概略説明に止める。
The intersection point conversion processing section 4 is for correcting such positional deviations that occur during handwriting. The details of this process are described in the above-mentioned Japanese Patent Laid-Open No. 56-79359 (FIG. 3 to off-line diagrams and their explanations), but in this application, since the process is not a direct essential part, only a brief explanation will be given.

即ち、第5図(B)図示の如き交点近傍の2×2メツシ
ユについて(1メツシユが8×8ドツトとすると2X2
メツシユは16X16ドツトの大きさとなる)、lX1
6ドツトの縦長の窓をもって水平方向に走査する、。そ
して1図示イの幅内に、(1)黒ドツトがありかつ上ま
たは下辺にまで延びていない場合、 U+)格子軸上に
黒・ドツトがありかつ上または下辺にまで延びている場
合に、JyJ示格子軸上 −の黒点で示した如く、格子
軸上に図形パターンが存在しているものとみなしてしま
うようにする。
That is, for a 2×2 mesh near the intersection as shown in FIG. 5(B) (if one mesh is 8×8 dots, then 2×2
The size of the mesh is 16x16 dots), lx1
It scans horizontally using a 6-dot vertical window. Within the width of A shown in the figure, (1) If there is a black dot and it does not extend to the top or bottom edge, U+) If there is a black dot on the lattice axis and it extends to the top or bottom edge, As shown by the black dots on the JyJ lattice axis, it is assumed that a graphic pattern exists on the lattice axis.

ま7’、:同1;2X2メツシユについて、16X1ド
ツトの横長の窓をもって垂直方向に走査する。そして1
図示Mの幅内に、(1)黒ドツトがありかつ左または右
辺にまで延びていない場合、 (i+)格子軸上に黒ド
ツトがありかつ左または右辺にまで延びてい゛る場合に
9図示格子軸上の×印点で示した如く。
7': Same as 1; The 2×2 mesh is scanned in the vertical direction using a horizontally long window of 16×1 dots. and 1
Within the width of illustration M, (1) there is a black dot and it does not extend to the left or right side; (i+) there is a black dot on the lattice axis and it extends to the left or right side; As shown by the x marks on the grid axis.

格子軸上に図形パターンが存在しているものとみなして
しまうようにする。このような処理を行って、格子交点
から、4つの方向の格子軸上でどの程度まで上記黒点ま
たは×印点が存在するかを調−べて閾値と比較する。第
5図(C)は、第5図IBI図示の場合について、右方
向と左方向と下方向とに図形パターンが存在していると
みた所の連結ラベルを表わしている。
It is assumed that a graphic pattern exists on the lattice axis. By performing such processing, it is determined to what extent the black dots or x-marked points exist on the grid axes in the four directions from the grid intersection points, and the results are compared with a threshold value. FIG. 5(C) shows a connected label in the case shown in FIG. 5 IBI, where graphic patterns are considered to exist in the right direction, left direction, and downward direction.

同様に第5図(5)図示の領域11の拡大図が第5図(
DJに示され、該当する連結ラベルが牙5図(E)に示
されている。このようにして、各格子交点に対応して夫
々連結ラベルが抽出される。
Similarly, an enlarged view of the area 11 shown in FIG. 5(5) is shown in FIG.
DJ, and the corresponding linking label is shown in Fang 5 (E). In this way, connected labels are extracted corresponding to each grid intersection.

(Ill)  コード変換処理部5゜ 該処理部5は、上述の如くメツシュ変換処理部3によっ
て抽出された方向ラベル(第3図(D> 、(F) )
と、上述の如く交点変換処理部4によって抽出された連
結ラベル(第5図tel 、 (E) )とを勘・案じ
て。
(Ill) Code conversion processing unit 5゜The processing unit 5 is configured to convert direction labels extracted by the mesh conversion processing unit 3 as described above ((D>, (F) in FIG. 3).
and the connected labels extracted by the intersection conversion processing unit 4 as described above (see FIG. 5, tel, (E)).

各交点毎について9図形パターン黒線の延長方向コード
を抽出する。
For each intersection point, the extension direction code of the black line of the nine figure patterns is extracted.

今生6因囚図示の如く、格子交点に対応して第6図1c
I 該交蕉近傍の4つのメツシュ■,■,■,■に対して・
第6図IBI図示の方向ラベルが得られているとすると
き,各ラベルの内容から,第6図(E1図示の如き8つ
の方向を#0ないし#7としたとき。
As shown in the illustration of the six causes of this life, corresponding to the lattice intersections, Figure 6 1c
I For the four meshes ■, ■, ■, ■ near the intersection,
Assuming that the direction labels shown in FIG. 6IBI have been obtained, from the contents of each label, the eight directions shown in FIG. 6 (E1 are designated as #0 to #7).

第6図(D)図示の如き入力図形黒線の延長方向コード
が得られる。即ち,オ6装置図示の格子交点においては
,#5の方向と#0の方向とに延びる黒線が存在するこ
とが.上記コードから判るようにされる。
The extension direction code of the input graphic black line as shown in FIG. 6(D) is obtained. That is, at the lattice intersection shown in the O6 device diagram, there is a black line extending in the #5 direction and the #0 direction. As can be seen from the above code.

CI’ll’)  コーナ検出処理部6。CI'll') Corner detection processing section 6.

該処理部6は,第6図に関連して.説明した如くして,
各交点に対応して黒線の延長方向コードが得られている
状態で,どの交点にループ・パターンのコーナが存在す
−るかを調べ,コーナとなっている交点に対して「コー
ナ」ラベルを付する処理を行うものである。該処理が終
了すると,1つの交点毎にオフ図に示した如き交点域情
報が得られる。なおオフ図図示の場合には,#5の方向
と#0の方向とに黒線が延長していることから,コーナ
に該当しており,−「コーナ」ラベルが論理「1」とさ
れている。第8図は,各交点毎に抽出された交点域情報
(壜17図)を16進表現で表わしたものであり,全格
子交点に対応して#1から#Nまで得られる。
The processing unit 6 is as shown in FIG. As explained,
With the extension direction code of the black line obtained for each intersection, check which intersection has a corner of the loop pattern, and label the intersection that is a corner with a "corner" label. This process performs the process of adding . When this process is completed, intersection area information as shown in the off-graph is obtained for each intersection. In the case of off-line illustration, the black line extends in the direction of #5 and the direction of #0, so it corresponds to a corner, and the - "corner" label is set to logic "1". There is. FIG. 8 is a hexadecimal representation of the intersection area information (bottle 17) extracted for each intersection, and is obtained from #1 to #N corresponding to all grid intersections.

第10図は,コーナ検出部6の一実施例構成を示してい
る。図中のROM15内には2図示白抜き矢印で示す如
く,ループ・パターンに関して現われるであろう各コー
ナに対応するパターンを同じパターンをもつアドレス上
に,コーナを指示するデータ「1」が格納された形とな
っている。
FIG. 10 shows the configuration of one embodiment of the corner detection section 6. In FIG. In the ROM 15 in the figure, data "1" indicating a corner is stored at an address having the same pattern as the pattern corresponding to each corner that will appear in the loop pattern, as shown by the two outlined arrows in the figure. It is shaped like this.

オフ図に示す如く,抽出さ−れてシ)る交点域情報(但
し「コーナ」フラグは未定)が格納されているテーブル
・メモリを考える。そして当該テーブル・メモリのいわ
ば先頭アドレスを,iio図図示Read  アドレス
・カウンタ16とWTアドレス・カウンタ17とにセッ
トする。この状態でスタート・パルスが与えられてレジ
スタ14がセットされると,最初のクロック*CLKに
対応して上記テーブル・メモリの先頭アドレスに対して
リード・アクセスが行われる。そして、当該先頭アドレ
スの内容16ビツトがレジスタ12に読出されてセット
される。該16ビツトの下位8ビツトの内容をもってR
OM15が索引される。当該8ビツトの内容がループ・
パターンのコーナに対応するパターンを示していれば.
ROM15から論理「1」が出力される。そしてレジス
タ18上で,「コーナ」フラグが,上記ROMl5から
の出力によって与えられ,16ビツト分の出力データと
される。該出力データは.WTアドレス・カウンタ17
の内容によって指示される上記テーブル・メモリの先頭
アドレスに書込まれる(「コアす」フラグが附与されて
)。そして、カウンタ16と17との内容が1次のアド
レスに進められて同様の処理が行われる。なお、フリッ
プ・フロップ13は。
As shown in the off-line diagram, consider a table memory in which extracted intersection area information (however, the "corner" flag is undetermined) is stored. Then, the so-called leading address of the table memory is set in the Read address counter 16 and the WT address counter 17 shown in the IIO diagram. When a start pulse is applied in this state and the register 14 is set, read access is performed to the top address of the table memory in response to the first clock *CLK. Then, the 16 bits of the contents of the start address are read to the register 12 and set. R with the contents of the lower 8 bits of the 16 bits.
OM15 is indexed. The contents of the 8 bits are looped.
If it shows the pattern corresponding to the corner of the pattern.
Logic "1" is output from the ROM 15. Then, on the register 18, a "corner" flag is given by the output from the ROM 15, and is set as 16 bits of output data. The output data is. WT address counter 17
is written to the start address of the table memory indicated by the contents of (the "core" flag is given). Then, the contents of counters 16 and 17 are advanced to the primary address and similar processing is performed. Furthermore, the flip-flop 13 is as follows.

カウンタ16と17とを切替えるものである。またマル
チプレクサ19は選択回路である。上記の処理を全テー
ブル・メモリに対して繰返してゆくと、第8図図示の交
点域情報の如く、コーナに対応して、最上位桁に対して
16進表現で「8」が与えられてゆく。当該桁がrOJ
である場合には、コーナに対応していない個所の交点域
情報を表わしている。
This is for switching between counters 16 and 17. Further, the multiplexer 19 is a selection circuit. When the above process is repeated for all table memories, "8" is given in hexadecimal representation to the most significant digit corresponding to the corner, as shown in the intersection area information shown in Figure 8. go. The relevant digit is rOJ
If , it represents intersection area information of a location that does not correspond to a corner.

(V)  ループ・パターン・コード情報抽出処理部7
゜ 該処理部7は、第8図図示の如く「コーナ」ラベルが付
されている交点域情報を順次サーチして。
(V) Loop pattern code information extraction processing section 7
゜The processing unit 7 sequentially searches for intersection area information labeled "corner" as shown in FIG.

(1)コーナに該当する交点の座標と、 (i+)どの
コーナからどのコーナに対してループ・パターンの黒線
が延長しているかをまとめてゆく。
(1) Summarize the coordinates of the intersections corresponding to the corners, and (i+) from which corner to which corner the black line of the loop pattern extends.

″lv9図図示のr4040J黒線のスタート点を示し
、直下のroo 00Jは当該黒線の終点を示しでいる
。第9図は、第2図図示のルー プ・パターン1をルー
プ・パターン・コード情報としてまとめた結果であり、
(1)座標X、Yが(5,2)点から(10,2)点へ
、叩(10,2)点から(10,6)点へ、 (ii+
)(10,6)点から(3,6)点へ、4Vl(3,6
)点から(3,4)点へ、M(3,4)点から(5,2
)点への各線分があることを示している。
Figure 9 shows the start point of the r4040J black line shown in Figure 9, and roo 00J directly below shows the end point of the black line. Figure 9 shows the loop pattern 1 shown in Figure 2 as a loop pattern code The results are summarized as information,
(1) Coordinates X and Y go from (5,2) point to (10,2) point, from (10,2) point to (10,6) point, (ii+
)(10,6) point to (3,6) point, 4Vl(3,6
) point to (3,4) point, M(3,4) point to (5,2
) shows that each line segment to a point.

上記の如く、ループ・パターンに対応するループ・パタ
ーン・コード情報が抽出され、言うまでもなく、上記特
開昭56−79359号公報に開示されている所の処理
と整合した形で抽出結果が利用されてゆく。即ち2手書
きされたシンボル・マーク、連結パターン、ループ・パ
ターンなどを、きれいに整理された図面として出力する
ようにされる。
As described above, the loop pattern code information corresponding to the loop pattern is extracted, and needless to say, the extraction result is used in a manner consistent with the process disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 56-79359. I'm going to go. That is, symbols, marks, connected patterns, loop patterns, etc. drawn by two hands are outputted as neatly arranged drawings.

(E)  発明の詳細 な説明した如く1本発明によれば、特開昭56−793
59号公報に開示されている処理方式と同様な処理を採
用しつつループ・パター゛ンを読取って、ループ・パタ
ーン・コード情報を得ることが可能となる。
(E) As described in detail, according to the present invention, Japanese Patent Application Laid-Open No. 56-793
It becomes possible to obtain loop pattern code information by reading a loop pattern while employing processing similar to the processing method disclosed in Japanese Patent No. 59.

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

第1図は本発明において処理の対象とされるループ・パ
ターンを説明する説明図、牙2図は本発明の一実施例構
成図、第3図は第2図図示のメツシュ変換処理部におけ
る処理を説明する説明図。 第4図は第3図tB1図示の3×3ドツトのマスクによ
り方向ラベルを抽出するマスク群、牙5図は第2図図示
の交点変換処理部における処理を説明する説明図、第6
図は第2図図示のコード変換処理部における処理を説明
する説明図、オフ図は第2図図示の一コーナ検出処理部
における処理において抽出される一実施例出力情報、第
8図はコーナ検出処理部において得られた交点域情報の
一例、オ9図は第2図図示のループ・パターン・コード
情報抽出処理部において得られるループ・パターン・コ
ード情報の一例、第10図は第2図図示コーナ検出処理
部における一実施例構成を示す。 図中1はループ・パターン、2は画像メモリ。 3はメツシュ変換処理部、4は交点変換処理部。 5はコード変換処理部、6はコーナ検出処理部。 7はループ・パターン・コード情報処理部を表わす。 特許出願人 富士通株式会社 代理人弁理士 森 1) 寛(外1名)〒1m G+    十   十   +    十   十 
  +    十   +   →−翼 イ゛4−因
Fig. 1 is an explanatory diagram explaining a loop pattern that is a target of processing in the present invention, Fig. 2 is a configuration diagram of an embodiment of the present invention, and Fig. 3 is a processing in the mesh conversion processing section shown in Fig. 2. An explanatory diagram for explaining. FIG. 4 is a mask group for extracting direction labels using the 3×3 dot mask shown in FIG.
The figure is an explanatory diagram illustrating the processing in the code conversion processing unit shown in Fig. 2, the OFF diagram is an example output information extracted in the processing in the one corner detection processing unit shown in Fig. 2, and Fig. 8 is the corner detection An example of the intersection area information obtained in the processing section, Fig. 9 is an example of the loop pattern code information obtained in the loop pattern code information extraction processing section shown in Fig. 2, and Fig. 10 is an example of the loop pattern code information obtained in the loop pattern code information extraction processing section shown in Fig. 2. 1 shows an example configuration of a corner detection processing section. In the figure, 1 is a loop pattern, and 2 is an image memory. 3 is a mesh transformation processing section, and 4 is an intersection transformation processing section. 5 is a code conversion processing section, and 6 is a corner detection processing section. 7 represents a loop pattern code information processing section. Patent applicant Fujitsu Ltd. Representative Patent Attorney Mori 1) Hiroshi (1 other person) 〒1m G+ 10 10 + 10 10
+ 10 + →-wings I゛4-factor

Claims (1)

【特許請求の範囲】[Claims] 予め定められた格子軸によって細分化される平面上に描
かれたループ・パターンをもつ入力図形を処理して、当
該入力図形中め上記ループ・パターンを上記格子軸に対
応づけて書き直す図形入力システムにおいて、上記格子
軸で囲われるメツシュ領域内における黒線の延長方向を
抽出するメツシュ変換処理部、上記格子軸が交差する格
子交点近傍における黒線の存在を抽出する交点変換処理
部、上記メツシュ変換処理部によって得られた方向ラベ
ルと上記交点変換処理部によって得られた連結ラベルと
にもとづいて上記交点近傍における黒線の延長方向コー
ドを抽出するコード変換処理部、上記ループ・パターン
のコーナが存在する場合における上記交点近傍の黒線延
長方向コード・パターンを予め用意しておいて上記コー
ド変換処理部によって抽出された延長方向コードと対比
しつつ上記ループ・バタ、−ンのコーナの存在全決定す
るコーナ検出処理部、および該コーナ検出処理部によっ
て得られた結果にもとづいて上記ループ・パターンを再
現可能な情報に集約するループ・パターン・コード情報
抽出処理部をそなえ、上記入力図形中の上記ループ・パ
ターンをループ・パターン・コード情報に集約するよう
にしたことを特徴とする図形入力システム。
A figure input system that processes an input figure having a loop pattern drawn on a plane subdivided by predetermined lattice axes, and rewrites the loop pattern in the input figure in association with the lattice axes. , a mesh transformation processing unit that extracts the extension direction of a black line in a mesh region surrounded by the grid axes, an intersection transformation processing unit that extracts the presence of a black line in the vicinity of a grid intersection where the grid axes intersect, and the mesh transformation a code conversion processing unit that extracts an extension direction code of the black line in the vicinity of the intersection based on the direction label obtained by the processing unit and the connected label obtained by the intersection conversion processing unit; a corner of the loop pattern exists; In the case where the black line extension direction code pattern near the intersection is prepared in advance and compared with the extension direction code extracted by the code conversion processing section, the existence of the corner of the loop butterfly is fully determined. and a loop pattern code information extraction processing section that aggregates the loop pattern into reproducible information based on the results obtained by the corner detection processing section. A graphic input system characterized in that loop patterns are aggregated into loop pattern code information.
JP57229270A 1982-12-29 1982-12-29 Graphic input system Granted JPS59123065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57229270A JPS59123065A (en) 1982-12-29 1982-12-29 Graphic input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57229270A JPS59123065A (en) 1982-12-29 1982-12-29 Graphic input system

Publications (2)

Publication Number Publication Date
JPS59123065A true JPS59123065A (en) 1984-07-16
JPS631637B2 JPS631637B2 (en) 1988-01-13

Family

ID=16889476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57229270A Granted JPS59123065A (en) 1982-12-29 1982-12-29 Graphic input system

Country Status (1)

Country Link
JP (1) JPS59123065A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4886963A (en) * 1987-05-27 1989-12-12 Minolta Camera Kabushiki Kaisha Laser beam scanning apparatus with compact SOS sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4886963A (en) * 1987-05-27 1989-12-12 Minolta Camera Kabushiki Kaisha Laser beam scanning apparatus with compact SOS sensor

Also Published As

Publication number Publication date
JPS631637B2 (en) 1988-01-13

Similar Documents

Publication Publication Date Title
US4750209A (en) System for processing an image having both letter and photographic information
EP0266140B1 (en) Optical character recognition by forming and detecting matrices of geographical features
JPS6011973A (en) Bar code reader
JPS6357831B2 (en)
JPH0256708B2 (en)
JP3936436B2 (en) Table recognition method
JPS59123065A (en) Graphic input system
JPS62134767A (en) Automatic extracting device for symbol name and segment name
JP2575480B2 (en) Table structuring method
JP2626011B2 (en) Drawing reading processing method
JP2522511B2 (en) Image contour tracking unit
EP0067236B1 (en) Character and figure isolating and extracting system
JP2586117B2 (en) Character recognition device
EP0381794B1 (en) Method for registering image data
JPH0256679B2 (en)
JP4105376B2 (en) Figure detection circuit
JP2679098B2 (en) Encoding processing device for contour detection image
JPH0721816B2 (en) Character image extraction processor
JPS6253868B2 (en)
JPS648873B2 (en)
JPS6316787B2 (en)
JPS6253867B2 (en)
JPH04311283A (en) Line direction discriminating device
JPH0560876B2 (en)
JPH0773228A (en) Automatic drawing recognizing method