JPS60205783A - Linear graphic recognizing system - Google Patents

Linear graphic recognizing system

Info

Publication number
JPS60205783A
JPS60205783A JP59061080A JP6108084A JPS60205783A JP S60205783 A JPS60205783 A JP S60205783A JP 59061080 A JP59061080 A JP 59061080A JP 6108084 A JP6108084 A JP 6108084A JP S60205783 A JPS60205783 A JP S60205783A
Authority
JP
Japan
Prior art keywords
point
data
points
line
storage device
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.)
Pending
Application number
JP59061080A
Other languages
Japanese (ja)
Inventor
Yuji Jinbo
有司 神保
Yoshiaki Matsuno
嘉明 松野
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.)
Toyo Denki Seizo KK
Toyo Electric Manufacturing Ltd
Original Assignee
Toyo Denki Seizo KK
Toyo Electric Manufacturing 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 Toyo Denki Seizo KK, Toyo Electric Manufacturing Ltd filed Critical Toyo Denki Seizo KK
Priority to JP59061080A priority Critical patent/JPS60205783A/en
Publication of JPS60205783A publication Critical patent/JPS60205783A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To erase excess data to reduce the memory capacity of a storage device by inputting a graphic as picture data and converting it to numerical data by a line tracing processing or the like and decides whether a point or a segment is a part of a line or an arc before data of individual points are converted to grid points. CONSTITUTION:This device consists of a picture input device 11, a line tracing device 12, a storage device 13, and a discriminating device 14, and a linear graphic is converted to binary data by the picture input device 11, and lines on binary data are traced by the line tracing device 12, and points are classified to end points, branch points, connecting points, etc., and data is preserved in the storage device 13. Data in the storage device 13 is discriminated by the discriminating device 14 to erase excess data in the storage device 13, for example, connecting points other than end points in the case where one line is recognized by three points, thus reducing the memory capacity of the storage device 13.

Description

【発明の詳細な説明】 本シれ明は線図形を画像データとして入力し、数If、
fデーメに変換する線図形認識方式に関するものである
[Detailed description of the invention] This screen inputs a line figure as image data, and calculates the number If,
This relates to a line figure recognition method for converting into f-dimensional data.

近年、CADlcArvs静の技術の発展は著しく、こ
れらの技術は、設計効率を^めるため従来の設置Iデー
タを計n機のメモリに記載させ、新しく設「tする場合
、そのデータベースを活用する方法である。
In recent years, the development of CADlcArv static technology has been remarkable, and in order to increase design efficiency, these technologies record conventional installation data in the memory of a total of n machines, and when designing a new one, the database can be utilized. It's a method.

周知の如く、i[算機は数値データとして記憶するもの
で、図面をそのままの形状では記憶できない。それ故、
図面に描かれている線図形の座標を読取ることが必要と
なる。そのための装置として、従来よりこの種の装置と
してはテジタイザ等が多く使用されているが、これらの
栴成は図面等を設置する座標板と、座標点を指示しその
座標を読取る指示器よりなる。指示器としては、スタイ
ラスおよびカーソルが用意されている。また方式は俄械
的および電磁式等あるが、これらは公知の方式であるの
でその詳細は省略する。
As is well known, i[calculators store numerical data and cannot store drawings in their original form. Therefore,
It is necessary to read the coordinates of line figures drawn on the drawing. For this purpose, digitizers and the like have been widely used as devices for this purpose, but these devices consist of a coordinate board on which drawings, etc. are placed, and an indicator that indicates the coordinate points and reads the coordinates. . A stylus and a cursor are provided as indicators. There are also mechanical and electromagnetic methods, but since these are known methods, their details will be omitted.

しかしこれらの欠点は、各座標点をポイント。But these disadvantages point to each coordinate point.

ポイントで指示し読取る必要があり、例えは手書きの図
形等の折れ点1曲〜部の多数存在する線分を入力する際
に、折れ点ごと、及び曲線部は直線と見なせる線分単位
で入力する必要があり、多大の労力を要するところであ
る。
It is necessary to indicate and read the points, for example, when inputting a line segment with many bend points such as a handwritten figure, enter each bend point, and for curved parts, input in units of line segments that can be regarded as straight lines. This requires a great deal of effort.

近年、上記の欠点を解決するため、線図形を画像データ
として入力し、数値データに変換処理する方法かある。
In recent years, in order to solve the above-mentioned drawbacks, there has been a method of inputting line figures as image data and converting them into numerical data.

その場合、手書き図等における直線はうねりのある線で
あり、数値データに変換した際は折れ線の連続として認
識され、直線化する場合、数値データ化された後にグラ
フィックディスプレイ上にそ(1) の数値データによる再現図鴫を表示し、表示に基づき修
正を加える等の操作が必要となる。
In that case, a straight line in a handwritten drawing is a line with undulations, and when converted into numerical data, it is recognized as a series of polygonal lines, and when it is converted into a straight line, it is displayed as (1) on the graphic display after being converted into numerical data. It is necessary to display a reproduction map using numerical data and perform operations such as making corrections based on the display.

本発1114はかかる点に鑑みなされたもので、特に手
書きもしくは定規・コンパス等で描かれた図形を画像デ
ータとして入力し、線追跡処理停により数値データに変
換した後、また各点のデータをグリッド点に変換する前
に、点もしくは線分か直線の一部か円弧の一部かを判定
することを目的とする。
The present invention 1114 was developed in view of this point. In particular, figures drawn by hand or with a ruler, compass, etc. are input as image data, converted to numerical data by line tracing processing, and then the data of each point is The purpose is to determine whether a point or line segment is part of a straight line or part of an arc before converting to grid points.

以下、図面によって従来方式1本発明による方式を説明
する。
Hereinafter, a conventional method and a method according to the present invention will be explained with reference to the drawings.

まず第1図に従来方式の構成例を示す。第1図は画像人
力装置11.IIi!追跡装置12.記憶装ff113
でJiff成され、線図形を画像入力装置11で2値化
データに変換し、線追跡装置12で2Mデータ上での腺
を追跡し、点を端点9分岐点、連結点等に分類し、記憶
装置13にデータを保管するものである。
First, FIG. 1 shows an example of the configuration of a conventional system. FIG. 1 shows the image human power device 11. IIi! Tracking device 12. Memory device ff113
The line figure is converted into binary data by the image input device 11, the line tracing device 12 traces the gland on the 2M data, and the points are classified into end points, 9 branch points, connection points, etc. Data is stored in the storage device 13.

第2図は本発明の構成例を示すブロック図で、画像入力
装置11.#3i追跡装置12.記憶装置13は前記第
1図の従来方式と同様の構成で可能である。
FIG. 2 is a block diagram showing a configuration example of the present invention, in which the image input device 11. #3i tracking device 12. The storage device 13 can have the same configuration as the conventional system shown in FIG.

本発明の特徴は、14の判別装置を伺加した点にもあり
、記憶装置13のデータを判別装置14による判別で、
余分な記憶装置13のデータ(例えば、一本の直線が3
点で認識された場合での端点てない連絡点)を消去し、
記憶装置13のメモリ容量を小さくする点にもある。
A feature of the present invention is that 14 discriminating devices are added, and the data in the storage device 13 is discriminated by the discriminating device 14.
Extra data in the storage device 13 (for example, if one straight line
If the points are recognized as endpoints (no contact points), erase them.
Another advantage is that the memory capacity of the storage device 13 can be reduced.

上述の事項を以下の実施例に基づき詳細に述べる。The above matters will be described in detail based on the following examples.

菖3図は第2図の記憶装置13内の点データの格納の一
実施例を示すものである。第3図において31は各点を
格納しているメモリのアドレスヘッダエリア、32はそ
のアドレスに対応した場所にその点のX座標値エリア、
33はY座標値エリアである。
Diagram 3 shows an example of storage of point data in the storage device 13 of FIG. In FIG. 3, 31 is the address header area of the memory storing each point, 32 is the X coordinate value area of that point at the location corresponding to the address,
33 is a Y coordinate value area.

34は連絡数エリアで、その点が連絡している点の数(
o)を記憶する部分である。35 、36 、37は連
絡点のアドレスエリアで、連絡している点のアドレス群
を記憶している部分である。なおブロック枠内に示され
るAD(A)は点Aのデータ領域を示すアドレス、XA
は点AのX座標値、YAは点AのY座標値を示し、nは
点Aの迷路数である。Al)(B)は点Aに連絡してい
る点Bのデータ領域を、AD(C)は点Aに連絡してい
る点Cのデータ領域を、AD(1))は点Aに迷路して
いる点りのデータ領域をそれぞれ示している。
34 is the contact number area, which shows the number of points that the point is contacting (
This is the part that stores o). Reference numerals 35, 36, and 37 are address areas for contact points, which are areas that store a group of addresses of contact points. Note that AD(A) shown within the block frame is the address indicating the data area of point A, and XA
is the X coordinate value of point A, YA is the Y coordinate value of point A, and n is the number of mazes at point A. Al) (B) is the data area of point B that connects to point A, AD (C) is the data area of point C that is connected to point A, and AD (1)) is the data area of point B that connects to point A. It shows the data area of each point.

上述のごとく格納することは、何ら技術的に間9ハはな
い。ただ、連絡数を記憶する連路数エリア34は以下の
判定を行う上で重要である。線図形におけるね追跡処理
後点の(;!i類を下記第1表の如く分類する。
There is no technical problem in storing the information as described above. However, the continuous route number area 34 that stores the number of connections is important in making the following determination. After the tracking process on the line figure, the (;!i types) of points are classified as shown in Table 1 below.

第1表で端点とは、線追跡の開始もしくは終了した点で
ある。屈曲点、連絡点とは線追跡により、いままで線の
方向に線が存在しえない時、再度線追跡の方向を変更し
て行う点である。たたし説明を容易にするため、屈曲点
の方が連絡点より方向変化する角丸の絶対値か大きいも
のとする。分岐点とは、その点で追跡すべき線が2本以
上存在する点である。
In Table 1, the end point is the point at which line tracing starts or ends. A bending point or a contact point is a point where the direction of line tracing is changed again when a line cannot exist in the direction of the line due to line tracing. However, to simplify the explanation, it is assumed that the absolute value of the rounded corner whose direction changes is larger at the bending point than at the connecting point. A branch point is a point at which there are two or more lines to be traced.

第3図の連絡数エリア34の連絡数によりその点がi1
表に分類する如伺なる点に、判別できるのは容易に理解
できよう。
The point is i1 according to the number of contacts in the number of contacts area 34 in Figure 3.
It is easy to understand that it is possible to make distinctions based on the classification in the table.

また、線図形を数値データに変換する除の技術思想とし
て線分を認識する際にその始・終点か端点。
In addition, when recognizing a line segment as a technical concept of division that converts a line figure into numerical data, its start/end point or end point.

分岐点、屈曲点のいずれかであり、連絡点は始終点には
なり得ない。また屈曲点か連続する場合(さらにその角
か鈍角である)Iこもなり得ないと考えることかできる
・ 上記の実現には、第3図の連絡数エリア34の数値を判
定し、まず2でなす点データを始点とし、連絡点のアド
レスエリア35 、36 、37を追跡し、連路数エリ
ア34の値か2である場合は、さらに連絡点アドレスを
追跡し、最終的には連絡数が2でない点にたどりつく。
It is either a branching point or a bending point, and a connecting point cannot be a starting or ending point. In addition, if the bending points are continuous (furthermore, the angles are obtuse angles), it can be considered that I can't be too small. Using the point data made as a starting point, trace the contact point address areas 35, 36, and 37, and if the value of the continuous route number area 34 is 2, further trace the contact point address, and finally the number of contacts is determined. Reach a point that is not 2.

即ち、第4図に示すように、第3図のメモリデータを追
跡することにより、線分の始点は連絡数あるいは3以上
、才た終点も連結数1あるいは3以上になる。414図
のブロック枠内の数字は点の連絡数を示す。それ故、以
後の第4図に示す一連のデータを対象に処理を行う。
That is, as shown in FIG. 4, by tracing the memory data in FIG. 3, the starting point of the line segment has a connection number of 3 or more, and the end point of the line segment also has a connection number of 1 or 3 or more. The numbers within the block frames in Figure 414 indicate the number of points connected. Therefore, the subsequent processing is performed on the series of data shown in FIG. 4.

次のスジツブはこの連絡数2のデータ炉ノー11曲点で
あるか、連絡点であるかの−ruiであり、さらには、
屈曲点でもその角度を鋭角+ +に角、鈍角に判定する
必要刀工ある。その処理手順の一例を第6図にフローチ
ャートで示す。なお第5図は第6図フローチャートを理
解するための図である。第5図でいま点Aか点89点C
Ic)!I!結している点とし、角<DAC= 0 の
規範を行うとする。考え方としては、口Cを直径とする
円を几とした場合、点A刀1円几の外にある・・・・・
4BAC=鋭角点Aか円Rの上にある・・・・・<DA
C−直角点Aが円几の内にある・・・・・・<BAC−
鈍角に判定できる。また円B内にあって、さらに<BA
Cの角度を鈍角l(例えばθ≧αO)、鈍角2(例えば
α> a > 5oO)に分別すべき、円弧BCにかこ
まれた面状S(図の斜線部)を考えた時 点Aが8の外でRnの内 90°<0<a点Aが8の内
にあるとき α≦θ となる。
The next line is -rui, which is the data furnace no. 11 curve point with the number of connections 2, or the connection point, and
Even at a bending point, there is a need for a swordsmith to determine whether the angle is acute or obtuse. An example of the processing procedure is shown in a flowchart in FIG. Note that FIG. 5 is a diagram for understanding the flowchart in FIG. 6. In Figure 5, point A or point 89 C
Ic)! I! Let us assume that the angle < DAC = 0. The idea is that if a circle with a diameter of mouth C is defined as a hole, then point A is outside the sword's 1-yen hole.
4BAC=located on acute point A or circle R...<DA
C-Right angle point A is inside the circle...<BAC-
Obtuse angles can be determined. It is also within circle B, and further <BA
Considering the surface S (shaded area in the diagram) enclosed by the arc BC, where the angle of C should be divided into obtuse angle l (for example, θ≧αO) and obtuse angle 2 (for example, α> a > 5oO), point A is 8. Outside of Rn, 90°<0<a When point A is within 8, α≦θ.

A点pi 3にあるかどうかの判定は以下による。The determination as to whether it is at point A pi 3 is as follows.

弦BCが定まり、円弧BC上の一点を見込む角が定まれ
ば、その円几の半径rは一義的に定まり、 BCの長さ
の関数となり で定まる。
Once the chord BC is determined and the angle that looks at a point on the arc BC is determined, the radius r of the arc is uniquely determined, and is determined as a function of the length of BC.

また、A、B、Cの座標を(xA r YA ) + 
(XB r yB ) r(xc、yc)とし、弦BC
の中点Mを座標の原点とし、その時の座標値を(xA’
 、yA’ ) e (”ll’ elf3’ ) l
(”C’ IFc’)とすると (xc/ −、B1 
、 yc# =−y、/) となる。
Also, the coordinates of A, B, and C are (xA r YA ) +
(XB r yB ) r (xc, yc), and the string BC
The coordinate value at that time is (xA'
,yA') e ("ll'elf3') l
("C'IFc'), (xc/ -, B1
, yc#=-y,/).

また 8M−CM−b* AM−a とするとI(”A
’ ” y、/−yム/ ” XB’) cota I
≦丁(b −a )となるim囲刀s 4UACnsα
以内となる賊であるから、/ 第6図に示すフローチャートによりIAcの判定が可能
である。
Also, if 8M-CM-b* AM-a, then I(”A
' y, /-ymu/ ``XB') cota I
≦Ding (b − a) im Ikis 4UACnsα
Since the thief falls within /, the IAc can be determined using the flowchart shown in FIG.

以上の如く連絡L’i 2の値のデータによりその点の
角就か判別できる。次に、上記の点かill腺の−11
15か曲り点か、円弧の一部かを判別する方式例を以下
に示す。
As described above, it is possible to determine whether the point is square or not based on the value data of the connection L'i 2. Next, the point above or -11 of the ill gland.
15, a bending point, or a part of a circular arc is shown below.

/ 一部 (ハ)桟IJAeか鈍角2ならば −・・・・・・・鈍角2か連続しである(すなわち円弧
の一部)胃鈍角2は孤立している(すなわちその他の点
)以上により判別が可能であり、さらに屈曲点は線分の
始終点になり得る。
/ Partial (c) If the beam IJAe is obtuse angle 2, then obtuse angle 2 is continuous (i.e., part of the circular arc), and stomach obtuse angle 2 is isolated (i.e., other points) or more. In addition, the bending point can be the start and end point of a line segment.

本発明方式を適用することにより以下の効果がある。By applying the method of the present invention, the following effects can be obtained.

(11記憶装置のメモリ容量か少なくてすむ(なお上記
の処理は、画像データを取り込み、肪追跡処理と並行に
行うことも可能である)。
(11) The memory capacity of the storage device is small (note that the above processing can also be performed in parallel with the fat tracking processing by importing image data).

(2) CAD/CAMによりデータ修正を行う際、不
袂の折れ線がな(、省力化が可能である。
(2) When correcting data using CAD/CAM, there are no broken lines (and labor can be saved).

(3) 角度そのものを検出しないですむため、処理手
順は簡単であり、高速処理が可能である。
(3) Since there is no need to detect the angle itself, the processing procedure is simple and high-speed processing is possible.

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

第1図は従来の線図形認識方式の構成例を示すブロック
図、第2図は本発明の線図形認識方式の構成例を示すブ
ロック図、第3図は本発明方式による記憶装置内メモリ
のデータ配置の一実施例をの判定を理解するための図、
第6図は<DACの判別フローチャートである。 11・・・・・・画像入力装置、 12・・・・・・線
追跡装置、13・・・・・・記憶装置、 14・・・・
・・判別装置、31・・・・・・点データのアドレスヘ
アダニリア、32・・・・・・点データのXJI標値エ
リア、33・・・・・点データのY座椋値エリア、34
・・・・・・連絡数エリア、35 、36 、37・・
・・・・連絡点のアドレスエリア。 弔 I 図 葛2図 掬 3 必 第4図 為5図
FIG. 1 is a block diagram showing a configuration example of a conventional line figure recognition system, FIG. 2 is a block diagram showing a configuration example of a line figure recognition system according to the present invention, and FIG. 3 is a block diagram showing a configuration example of a line figure recognition system according to the present invention. A diagram for understanding the determination of an example of data arrangement,
FIG. 6 is a flowchart for determining <DAC. 11... Image input device, 12... Line tracing device, 13... Storage device, 14...
... Discrimination device, 31 ... Address hair danialization of point data, 32 ... XJI standard value area of point data, 33 ... Y calibration value area of point data, 34
...Contact number area, 35, 36, 37...
...Address area of contact point. Condolence I Figure 2 Figure 3 4th Figure 5

Claims (1)

【特許請求の範囲】[Claims] 画像入力装置より線図形を入力し認識する装置において
、認識点の座標および該認識点に連絡している点の情報
を記憶するメモリを(liiiえ、前記情報より前HU
2g鐘点7)s 2点に連絡するこをを検出する手段と
、前記認li(資)点か連絡する2点に対しなす角度が
鋭角2画角、鈍角等に分類する手段とを具備し、前記認
識点をIa線の一部9曲り点9円弧の一部等に判別する
ことを特徴とする線図認識方式。
In a device that inputs and recognizes line figures from an image input device, a memory that stores the coordinates of a recognition point and information on points connected to the recognition point (liii)
7) A means for detecting when two points are in contact with each other, and means for classifying the angle formed between the two points connected to the two points into acute angles, obtuse angles, etc. A diagram recognition method characterized in that the recognition point is determined to be a part of nine bending points of line Ia, a part of nine circular arcs, etc.
JP59061080A 1984-03-30 1984-03-30 Linear graphic recognizing system Pending JPS60205783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59061080A JPS60205783A (en) 1984-03-30 1984-03-30 Linear graphic recognizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59061080A JPS60205783A (en) 1984-03-30 1984-03-30 Linear graphic recognizing system

Publications (1)

Publication Number Publication Date
JPS60205783A true JPS60205783A (en) 1985-10-17

Family

ID=13160782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59061080A Pending JPS60205783A (en) 1984-03-30 1984-03-30 Linear graphic recognizing system

Country Status (1)

Country Link
JP (1) JPS60205783A (en)

Similar Documents

Publication Publication Date Title
US4607386A (en) Handwritten character recognition device
CN100535928C (en) System and method for detecting a hand-drawn object in electronic ink input
JPH0434778B2 (en)
US4015239A (en) Character recognition apparatus
JP2009238210A (en) Piping length measuring system
JPS60205783A (en) Linear graphic recognizing system
JPH01271883A (en) Detecting system for center of fingerprint
JPH0438024B2 (en)
JP2580976B2 (en) Character extraction device
JPH024950B2 (en)
JPS6053918B2 (en) Stroke pair crossover detection method
JP2519782B2 (en) Character separation method
JPS6321949B2 (en)
JPS61143889A (en) Production of pattern discriminating dictionary
JPS581277A (en) Character characteristic pickup system
JPH04260980A (en) Device for recognizing graphic
JPH0438023B2 (en)
JPH10312460A (en) Image processing method and high precision image processor
JPS59153269A (en) Device for recognizing pattern
JPH0746363B2 (en) Drawing reader
JPS592168A (en) Disconnection correction system
JPH0420506B2 (en)
JPS59178580A (en) Calculating system of center fix point of pattern
JPS63140372A (en) Graphic recognition device
JPS6368984A (en) Graphic reader