JPS62160581A - Graphic input device - Google Patents

Graphic input device

Info

Publication number
JPS62160581A
JPS62160581A JP251586A JP251586A JPS62160581A JP S62160581 A JPS62160581 A JP S62160581A JP 251586 A JP251586 A JP 251586A JP 251586 A JP251586 A JP 251586A JP S62160581 A JPS62160581 A JP S62160581A
Authority
JP
Japan
Prior art keywords
information
storage means
input
code information
accuracy
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
JP251586A
Other languages
Japanese (ja)
Inventor
Hideaki Kanechika
金近 秀明
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP251586A priority Critical patent/JPS62160581A/en
Publication of JPS62160581A publication Critical patent/JPS62160581A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To enable the information for a drawing to be inputted to a computer automatically, and to obtain the information for the drawing with requested approximate accuracy by performing a graphic process inputting the information for a graphic to the computer, and generating the code information with accuracy. CONSTITUTION:When the drawing is inputted with a picture input means 1, the binary information is generated, and is stored t the first storage means 2. Since the picture information has the thickness of line, the sequence of points information of the coordinate of a sequence of points at the center of the line is generated at the sequence of points making part 3, and is stored at the second storage means 4. next, at an encoding means 5, an encoding for the sequence of points information is performed with a straight line or a circular arc, etc., then the code information being generated, then it is stored at the third storage means 6. lastly, at an encoding means 7 with accuracy, a feature quantity for each code is found from the code information, and based on the feature quantity, the accuracy information for each boundary point in the code information is calculated, and the code information with accuracy can be generated by adding the above on the code information, then being stored at the fourth storage means 8.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、図面の・清報を計JX1幾に入力する図形
入力装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic input device for inputting drawings and detailed information into a total of JX1 numbers.

〔従来の技術〕[Conventional technology]

第8図は従来のディジタイザによる図形入力装置を示す
概略構成図である。図において、9は図面をI! <板
、】0は対象とする図面、11は位に情報を入力するカ
ーソル、12はスイッチである。
FIG. 8 is a schematic configuration diagram showing a conventional graphic input device using a digitizer. In the figure, 9 indicates the drawing I! <Board, ] 0 is the target drawing, 11 is a cursor for inputting information in the position, and 12 is a switch.

上記のように構成された従来のディジタイザ(])ig
itizer )による図形入力装置では、例えば図面
10の図形情報を入力するには、人手によって図面10
を板9の上にはり付け、カーソル11の0字のマークで
入力したい点を指定し、手動操作用のスイッチ12によ
りその座標を入力する。
A conventional digitizer configured as above (])ig
For example, in order to input the graphic information of drawing 10, it is necessary to input the graphic information of drawing 10 manually.
is pasted on the board 9, the point to be input is specified with the zero mark of the cursor 11, and its coordinates are input using the manual operation switch 12.

直線の情報を入力するには、カーソル11を用いてその
両端の2点の座標を入力し1円弧の情報を入力するには
、その両端の2点とその間の1点の座標を入力し、ソフ
トウェアにより直線2円弧等の各コード情報を算出して
図面1oの情報を入力する。
To input information about a straight line, use the cursor 11 to input the coordinates of two points at both ends. To input information about an arc, input the coordinates of two points at both ends and one point between them. The software calculates each code information such as a straight line and two circular arcs, and inputs the information in the drawing 1o.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来の図形入力装置では1人手によって図
面の情報を入力しているために、図面の情報を入力する
のに時間がかかることや、入力する人の個人差などによ
る入力誤差が生じること等の問題点があった。
With conventional graphic input devices such as those mentioned above, drawing information is input manually by one person, so it takes time to input drawing information and input errors occur due to individual differences among the users. There were several problems.

この発明は、かかる問題点を解決するためになされたも
ので、目動的に図面の情報を計算機に入力することがで
き、さらlこ、複数の段階の近似精度の情報を同時に入
力することができる図形入力装置を得ることを目的とす
る。
This invention was made to solve this problem, and it is possible to input drawing information into a computer at will, and it is also possible to input information on approximation accuracy at multiple stages at the same time. The purpose of this invention is to obtain a graphic input device that can perform the following functions.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

この発明に係る図形入力装置は、図面を読み取って2値
の画像情報を作成する画像入力手段と、画像情報を記憶
するglの記憶手段と、画像情報を処理して点列情報を
作成する点列化手段と、点列情報を記憶する第2の記1
.は手段と、点列清報を処理して、直線9円弧等のコー
ド情報を作成するコード化手段と、コード情報を記憶す
る第3の記I意手段と、コード情報を処理し、そのコー
ド情報に複数の段階の近似精度の情報を付加した精度付
きコード情報を作成する精度付きコード化手段と、精度
付きコード情報を記憶する第4の記憶手段とを設けたも
のである。
The graphic input device according to the present invention includes an image input means for reading a drawing and creating binary image information, a GL storage means for storing the image information, and a graphics input device for processing the image information to create point sequence information. Serialization means and second memory 1 for storing point sequence information
.. means, a coding means for processing the point sequence information to create code information such as a straight line and 9 circular arcs, a third notation means for storing the code information, and a third notation means for processing the code information and generating the code. The apparatus is provided with precision coding means for creating precision code information by adding information on a plurality of levels of approximation precision to information, and fourth storage means for storing precision code information.

〔作用〕[Effect]

この発明の図形入力装置においては1図面の情報を計算
機に自動的に入力し、計算機により画像。
In the graphic input device of the present invention, information on one drawing is automatically input into a computer, and an image is generated by the computer.

図形処理を行い、さらに、複数の段階の近似精度の情報
を同時に入力し、入力後に、近似精度の情報を選択でき
るようにコード化を行う。
Graphical processing is performed, information on approximation accuracy at multiple stages is input simultaneously, and after input, coding is performed so that the information on approximation accuracy can be selected.

〔実施例〕〔Example〕

第1図はこの発明の一実施例である図形入力装置を示す
ブロック溝成因である。図において、1は図面を読み取
って2値の画像情報を作成する画像入力手段、2は11
ilii1.?!入力手段1によって作成された画像情
報を記憶する第1の記憶手段、3は第1の記憶手段2に
よって記憶されている画像情報を入力とし、綴の中心線
の点列情報を作成する点列化手段、4は点列化手段3に
よって作成された点列情報を記憶する第2の記1意手段
、5は第2の記1.a手段4によって記憶されている点
列情報を入力とし、線の点列について、直線9円弧等の
コード情報を作成するコード化手段、6はコード化手段
5によって作成されたコード情報を記憶する第3の記憶
手段、7は@3の記憶手段6によって記憶されているコ
ード情報に複数の段階の近似精度の情報を付加した精度
付きコード情報を作成する精度付きコード化手段、8は
精度付きコード化手段7によって作成された精度付きコ
ード情報を記憶する第4の記憶手段である。
FIG. 1 shows a block groove structure showing a graphic input device which is an embodiment of the present invention. In the figure, 1 is an image input means that reads the drawing and creates binary image information, 2 is 11
ilii1. ? ! A first storage means that stores the image information created by the input means 1, and a point sequence 3 that receives the image information stored by the first storage means 2 and creates point sequence information of the center line of the spelling. 4 is a second memory means for storing the point sequence information created by the point sequence generation means 3, and 5 is a second memory 1. a Encoding means which inputs the point sequence information stored by the means 4 and creates code information such as straight line 9 circular arcs for the point sequence of the line; 6 stores the code information created by the encoding means 5; A third storage means, 7, a precision encoding means for creating code information with precision by adding information on a plurality of stages of approximation precision to the code information stored in the storage means 6 of @3; 8, a precision coding means; This is a fourth storage means for storing the code information with accuracy created by the encoding means 7.

第2図及び第3図は、それぞれ第1図の図形入力装置に
おけるuhi像情報及び点列情報を説明するだめの図、
第4図及び第5図は、それぞれ第1図の図形入力装置に
おけるコード化手段を説明するための図、第6図は、第
1図の図形入力装置における精度付きコー ド化手段を
説明するだめの図。
FIG. 2 and FIG. 3 are diagrams for explaining the uhi image information and point sequence information in the graphic input device of FIG. 1, respectively;
4 and 5 are diagrams for explaining the encoding means in the graphic input device of FIG. 1, respectively, and FIG. 6 is a diagram for explaining the precision encoding means in the graphic input device of FIG. 1. Diagram of no use.

第7図は、第1図の図形入力装置における精度付きコー
ド化手段による精度付きコード情報の出力例を示す図で
ある。
FIG. 7 is a diagram showing an example of the output of precision code information by the precision coding means in the graphic input device of FIG.

次に、上記第1図に示すこの発明の一実施例である図形
入力装置置の動作について、第2図ないし第7図を参照
して説明する。まず、画像入力手段lによって図面を入
力すると、列えば第2図に示すような2値の画像情報が
作成され、第1の記憶手段2に記憶される。この画像情
報は線の太さを持っているので1点列化手設3では線の
中心をとって、第3図に示すような線の中心の点列の5
様の点列情報が作成され、第2の記1意手段4に記lハ
される。この点列情報を入力とし、コード化手段5では
直線9円弧等でコード化を行ってコード情報を作成する
Next, the operation of the graphic input device shown in FIG. 1, which is an embodiment of the present invention, will be explained with reference to FIGS. 2 to 7. First, when a drawing is input using the image input means 1, binary image information as shown in FIG. 2 is created and stored in the first storage means 2. This image information has the thickness of the line, so in the 1-point array manual method 3, the center of the line is taken, and the 5 points of the series of points at the center of the line as shown in Figure 3 are
Point sequence information is created and recorded in the second recording means 4. Using this point sequence information as input, the encoding means 5 encodes it using straight lines, nine circular arcs, etc. to create code information.

次に、上記コードti? 報の作成方法を説明する。Next, the above code ti? Explain how to create information.

第4図に示すように点列のある点Paに対して、その前
後でn点離れた点Pb1点Pcを通る直線りとの垂直距
離dを算出し、これを点列の総ての点に対して痒出する
と、例えば、ff 5 dに示すような垂直圧flu 
dの波形が得られる。この波形の中から垂直距離dがあ
る値以上で、平坦な部分P2〜PS?頂点P4を検出し
て、P+〜P、は直線+P2〜P。
As shown in Figure 4, for a certain point Pa in the series of points, calculate the perpendicular distance d from a straight line passing through points Pb and 1 point Pc that are n points apart before and after the point Pa, and calculate this perpendicular distance d between all points in the series. For example, when itching occurs, the vertical pressure flu as shown in ff 5 d
A waveform of d is obtained. Is there a flat part P2 to PS within this waveform where the vertical distance d is greater than or equal to a certain value? Vertex P4 is detected, and P+~P is a straight line +P2~P.

は円弧eP3〜P、及びP4〜P5は直線とするコード
情報を作成する。このようにして作成されたコード情報
は、第3の記憶手段6に記1される。
Creates code information in which arcs eP3 to P and P4 to P5 are straight lines. The code information created in this way is recorded in the third storage means 6.

次に、精度付きコード化手段7では、コード情報を入力
とし、まず、第6図に示すように各コードに対する特徴
量として1例えば直線のコードに対しては、その直7線
の長さ19円弧のコードに対しては、その円弧の半径γ
と中心角ψを求め、さらに、各コード間の境界点に対し
ては、接線どうしのなす角θを求める。・欠に、コード
情報中のi番目の境界点に対して、精度評価関数F=f
(・・・・・・、βト1.αト1.βi、αi、βi+
1.・・・・・・)によって精度情報を算出する。ここ
で、精度評価関数Fとしては、例えば を用いる。ただし1mは定数、βiは第i番目の境界点
での特徴量を意味し、この例ではθであり、αiは第i
番目のコードの特徴量を意味し、この例では直線の時は
E2円弧の時はγ、ψである。この精度情@を各境界点
に対して算出し、コード情報に付方nして精度付きコー
ド情報を作成する。このようにして作成された精度付き
コード1*報は。
Next, the precision coding means 7 inputs the code information, and first, as shown in FIG. For arc codes, the radius γ of the arc
and the central angle ψ, and for the boundary points between each code, the angle θ between the tangents is found.・In particular, for the i-th boundary point in the code information, the accuracy evaluation function F=f
(..., βto1.αto1.βi, αi, βi+
1. ...) to calculate accuracy information. Here, as the accuracy evaluation function F, for example, is used. However, 1m is a constant, βi means the feature amount at the i-th boundary point, in this example it is θ, and αi is the i-th boundary point.
It means the feature amount of the code, and in this example, when it is a straight line, it is γ and when it is an E2 arc, it is ψ. This accuracy information @ is calculated for each boundary point and added to the code information to create code information with accuracy. The code 1* with precision created in this way is as follows.

第4の記憶手段8に記憶される。It is stored in the fourth storage means 8.

第7図には上記精度付きコード情報の出力例が示されて
いる。第71(alは精度情報の付いていないコード情
報を図形として表現したもの、第7図(b)は精度評価
関数Fの値がある定数T+よりも大きい値を持つ精度付
きコード情報を図形として表現したもの、第7図(C)
は精度評価間aFの値がある定数T2よりも大きい値を
持つ精度付きコード情報を図形として表現したものであ
る。ただし、定数T、 < T、である。このようlこ
人力した後に、所望する近似精度を精度評価関数Fの値
によって設定できるので、異なる何種類かの近似精度が
要求されても、近似精度に合わせて何回も入力する必要
がなくなる。
FIG. 7 shows an example of the output of the above precision code information. 71 (al) is a graphic representation of code information without accuracy information, and Figure 7 (b) is a graphic representation of code information with precision whose accuracy evaluation function F is greater than a certain constant T+. What is expressed, Figure 7 (C)
is a graphical representation of code information with precision in which the value of aF between precision evaluations is larger than a certain constant T2. However, the constant T, < T. After doing this manually, the desired approximation accuracy can be set by the value of the accuracy evaluation function F, so even if several different types of approximation accuracy are required, there is no need to input it multiple times depending on the approximation accuracy. .

上述したように、この発明によれば1図面の情報を計算
機に自動的に入力することができ、また、図面における
複数の段階の近似精度の情報を同時に入力することがで
きる。
As described above, according to the present invention, information on one drawing can be automatically input into a computer, and information on approximation accuracy at multiple stages in the drawing can be input simultaneously.

〔発明の効果〕 この発明は以上説明したとおり、図形入力装置において
、図面の情報を計算機に自動的に入力し、計算機により
画像2図形処理を行い、さらに、複数の段階の近似精度
の情報を同時に入力し、入力後に、近似精度の情報を選
択できるようにコード化を行う構成としたので、図面の
情報を自動的に計算機に入力することが可能となり、ま
た、複数の段階の近似精度の情報を合わせ持っているこ
とにより、入力後に、所望の近似精度で図面の情報を得
ることができるなどの優れた効果を奏するものである。
[Effects of the Invention] As explained above, the present invention uses a graphic input device to automatically input drawing information to a computer, perform image 2 graphic processing by the computer, and furthermore, input information on approximation accuracy at multiple stages. The configuration is such that information is input simultaneously and then coded so that information on approximation accuracy can be selected after input, making it possible to automatically input drawing information into the computer, and also allowing multiple levels of approximation accuracy to be input. By having both information, it is possible to obtain the drawing information with the desired approximation accuracy after inputting it, which brings about excellent effects.

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

第1図はこの発明の一実施例である図形入力装置を示す
ブロック構成図、第2図及び第3図は、それぞれ第1図
の図形入力装置における画像情報及び点列情報を説明す
るだめの図、第4図及び第5図は、それぞれ第1図のI
A形人力装置におけるコード化手段を説明するための図
、第6図は、第1図の図形入力装置における精度付きコ
ード化手段を説明するだめの図、第7図は、第1図の図
形入力装置における精度付きコード化手段による精度付
きコード情報の出力例を示す図、第8図は従来のディジ
タイザによる図形入力装置を示す概略構成図である。 図に〉いて、1・・・画像入力手段、2・・・第1の記
憶手段、3・・・点列化手段、4・・・第2の記憶手段
。 5・・・コード化手段、6・・・−A3の記憶手段、7
・・・精度付きコード化手段、8・・・第4の記1.i
!手段、9・・・板、10・・・図面、11・・・カー
ソル、12・・・スイッチ、Pa、 Pb、 Po・、
 P、 −P、−・・点、L ・・・直ILd・・・垂
直距離、l・・・lα線の長さ、γ・・・円弧の半径。 ψ・・・円弧の中心角、θ・・・j妾1V1どうしのな
す角である。 なお、各図中、同一イ1号は同一、又はI目当部分を示
す。 第1図 第21!l     第3図 冨 8 図 9: 狼 10:  図面 11: カーツ)し 12:Xイ・ソ壬 第 5 図 含直圧錐d q〜引勲
FIG. 1 is a block diagram showing a graphic input device which is an embodiment of the present invention, and FIGS. 2 and 3 are diagrams for explaining image information and point sequence information in the graphic input device of FIG. 1, respectively. Figures 4 and 5 are I of Figure 1, respectively.
FIG. 6 is a diagram for explaining the encoding means in the A-type human power device, FIG. 6 is a diagram for explaining the precision encoding means in the graphic input device of FIG. 1, and FIG. FIG. 8 is a diagram illustrating an example of the output of precision code information by precision coding means in an input device. FIG. 8 is a schematic configuration diagram showing a conventional graphic input device using a digitizer. In the figure, 1... image input means, 2... first storage means, 3... dot string formation means, 4... second storage means. 5... Encoding means, 6...-A3 storage means, 7
. . . Precision encoding means, 8 . . . Fourth note 1. i
! Means, 9... Board, 10... Drawing, 11... Cursor, 12... Switch, Pa, Pb, Po...
P, -P, -...point, L...direction ILd...perpendicular distance, l...length of lα line, γ...radius of circular arc. ψ...The central angle of the circular arc, θ...The angle formed by j concubine 1V1. In addition, in each figure, the same number 1 indicates the same or I target part. Figure 1 21! l Figure 3: 8 Figure 9: Wolf 10: Figure 11: Kurtz) 12:

Claims (1)

【特許請求の範囲】[Claims] 図面の情報を計算機に入力する図形入力装置において、
図面を読み取って2値の画像情報を作成する画像入力手
段と、この画像入力手段によって作成された画像情報を
記憶する第1の記憶手段と、この第1の記憶手段によっ
て記憶されている画像情報を入力とし、線の中心線の点
列情報を作成する点列化手段と、この点列化手段によっ
て作成された点列情報を記憶する第2の記憶手段と、こ
の第2の記憶手段によって記憶されている点列情報を入
力とし、線の点列について、直線、円弧等のコード情報
を作成するコード化手段と、このコード化手段によって
作成されたコード情報を記憶する第3の記憶手段と、こ
の第3の記憶手段によって記憶されているコード情報に
複数の段階の近似精度の情報を付加した精度付きコード
情報を作成する精度付きコード化手段と、この精度付き
コード化手段によって作成された精度付きコード情報を
記憶する第4の記憶手段とを備えたことを特徴とする図
形入力装置。
In a graphic input device that inputs drawing information into a computer,
An image input means for reading a drawing and creating binary image information, a first storage means for storing the image information created by the image input means, and image information stored by the first storage means. is input, and a point sequence forming means creates point sequence information of the center line of the line, a second storage means stores the point sequence information created by this point sequence forming means, and this second storage means Coding means that receives stored point sequence information as input and creates code information such as a straight line, circular arc, etc. for the line point sequence, and a third storage means that stores the code information created by this encoding means. and a precision encoding means for creating precision code information by adding information on a plurality of stages of approximation accuracy to the code information stored by the third storage means; and fourth storage means for storing code information with accuracy.
JP251586A 1986-01-09 1986-01-09 Graphic input device Pending JPS62160581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP251586A JPS62160581A (en) 1986-01-09 1986-01-09 Graphic input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP251586A JPS62160581A (en) 1986-01-09 1986-01-09 Graphic input device

Publications (1)

Publication Number Publication Date
JPS62160581A true JPS62160581A (en) 1987-07-16

Family

ID=11531508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP251586A Pending JPS62160581A (en) 1986-01-09 1986-01-09 Graphic input device

Country Status (1)

Country Link
JP (1) JPS62160581A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5220647A (en) * 1987-06-01 1993-06-15 Ezel, Inc. Image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5220647A (en) * 1987-06-01 1993-06-15 Ezel, Inc. Image processing method

Similar Documents

Publication Publication Date Title
US4601002A (en) Digital technique for constructing variable width lines
Loeser Some performance tests of “quicksort” and descendants
JPS62160581A (en) Graphic input device
JPS6048766B2 (en) drawing display device
JPH0812668B2 (en) Handwriting proofreading method
Schaeffer A physically universal cellular automaton
JPH0523439B2 (en)
JP5946398B2 (en) Arrangement correction processing device in 3D reinforcement simulation system
JPH07160873A (en) Method for converting picture data including bezier curve
JPS59211165A (en) Circular arc generating system
JPH0573195A (en) Converter for operation method
JP2520434B2 (en) Line approximation method
SU1231532A1 (en) Device for evaluating work-performance capabilities of operat of man-machine system
Dorner More meaning from the geometric mean
JP4208659B2 (en) Graphic editing device
EP0175178B1 (en) Method for generating a set of signals representing a curve
SU798962A1 (en) Symbol generator
JP2001297339A (en) Three-dimensional solid graphic generating method and recording medium for generating three-dimensional solid graphic
JPS62160580A (en) Graphic input device
SU739596A1 (en) Graphical data display on the screen of cathode ray tube
JPS62160582A (en) Graphic input device
JPH0256059A (en) Document preparing device
JPH08286723A (en) Circular interpolation control system and circular interpolation arithmetic unit
JPH01151855A (en) Network simulator support system
Ram MIS—the meteosat image simulator