JP2935336B2 - Graphic input / output device - Google Patents

Graphic input / output device

Info

Publication number
JP2935336B2
JP2935336B2 JP24165294A JP24165294A JP2935336B2 JP 2935336 B2 JP2935336 B2 JP 2935336B2 JP 24165294 A JP24165294 A JP 24165294A JP 24165294 A JP24165294 A JP 24165294A JP 2935336 B2 JP2935336 B2 JP 2935336B2
Authority
JP
Japan
Prior art keywords
graphic
operator
determining means
processing
determined
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.)
Expired - Fee Related
Application number
JP24165294A
Other languages
Japanese (ja)
Other versions
JPH07168951A (en
Inventor
泰夫 遠藤
慎志 秋道
忠孝 廣瀬
元則 古川
恭子 吉田
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.)
Takenaka Komuten Co Ltd
Original Assignee
Takenaka Komuten Co 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 Takenaka Komuten Co Ltd filed Critical Takenaka Komuten Co Ltd
Priority to JP24165294A priority Critical patent/JP2935336B2/en
Publication of JPH07168951A publication Critical patent/JPH07168951A/en
Application granted granted Critical
Publication of JP2935336B2 publication Critical patent/JP2935336B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は図形入出力装置に係り、
特に手で描かれたスケツチをコンピユータに入力して幾
何学で定義された図形に変換して表示する図形入出力装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic input / output device,
In particular, the present invention relates to a graphic input / output device that inputs a sketch drawn by hand into a computer, converts the sketch into a graphic defined by geometry, and displays the graphic.

【0002】[0002]

【従来の技術】一般に、コンピユータへの図形入力は、
CRT画面上のメニユーまたはタブレツト上のタブレツ
トメニユーを選択した後に電子ペン、デジタイザ、マウ
ス等を用いて行なっている。すなわち、電子ペンとタブ
レツトとを用いてCRT上に円を表示する場合には、メ
ニユーから円を表示させる機能を選択し、タブレツトの
所定の位置で電子ペンを用いて表示すべき円の中心点お
よび円周上の一点に対応するデータを入力する。これに
よってコンピユータは図形処理を行ないCRT上に入力
されたデータ通りの円が表示される。またタブレツトメ
ニユーによる方法はメニユーの機能の選択がタブレツト
上で行なわれる点を除けば上記と同様である。
2. Description of the Related Art Generally, graphic input to a computer is performed by:
After selecting the menu on the CRT screen or the tablet menu on the tablet, the operation is performed using an electronic pen, a digitizer, a mouse, or the like. That is, when displaying a circle on a CRT using an electronic pen and a tablet, a function for displaying the circle is selected from the menu, and the center point of the circle to be displayed using the electronic pen at a predetermined position on the tablet is selected. And data corresponding to one point on the circumference. As a result, the computer performs graphic processing and displays a circle according to the input data on the CRT. The method using the tablet menu is the same as that described above except that selection of menu functions is performed on the tablet.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
メニユーで図形処理用の機能を選択する方法では、人間
が筆記具を用いて紙上に直接線分や円を描いて作図する
方法に比較して一工程(メニユーから機能を選択する工
程)多く、面倒であるばかりでなく違和感があり、道具
が使い難いという問題がある。また、データの入力の方
法も特定の点のデータを入力するという方法であり、実
際に手で描いて作図する場合と比較して動作が異なるた
め違和感がある。
However, the method of selecting a function for graphic processing in the above-described menu is one way compared to a method in which a human draws a line or a circle directly on paper using a writing instrument. There are many steps (steps of selecting functions from menus), which are not only troublesome but also uncomfortable and difficult to use. The method of inputting data is also a method of inputting data of a specific point, and there is a sense of incongruity because the operation is different from the case of actually drawing by hand and drawing.

【0004】本発明は上記問題点を解決すべく成された
もので、筆記具で紙の上に作画する要領で図形データを
入力して図形を表示することができる図形入出力装置を
提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and it is an object of the present invention to provide a graphic input / output apparatus capable of inputting graphic data and displaying a graphic in a manner of drawing on paper with a writing instrument. With the goal.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
請求項1の発明は、電子ペンとタブレツトとから成り
タブレツト上の電子ペンの軌跡を点列データに変換して
入力する入力手段と、入力された点列データに基づいて
前記軌跡が幾何学におけるどの図形を表しているかを判
断する第1の判断手段と、前記第1の判断手段で判断さ
れた図形を表示装置に表示させる表示手段と、予め定め
られた1つの特定の図形に対応しかつ重ね書きによって
指定された図形要素を消去するための図形処理用のコマ
ンドを記憶した記憶手段と、前記第1の判断手段で判断
された図形が作図すべき図形か前記特定の図形によって
表されたオペレータであるかを判断する第2の判断手段
と、前記第2の判断手段でオペレータであると判断され
たときに前記オペレータに対応する図形処理用のコマン
ドによって図形処理を行う処理手段と、を含んで構成し
たものである。また、請求項2の発明は、電子ペンとタ
ブレツトとから成りタブレツト上の電子ペンの軌跡を点
列データに変換して入力する入力手段と、入力された点
列データに基づいて前記軌跡が幾何学におけるどの図形
を表しているかを判断する第1の判断手段と、前記第1
の判断手段で判断された図形を表示装置に表示させる表
示手段と、予め定められた1つの特定の図形に対応しか
つ重ね書きによって指定された図形要素を分割するため
の図形処理用のコマンドを記憶した記憶手段と、前記第
1の判断手段で判断された図形が作図すべき図形か前記
特定の図形によって表されたオペレータであるかを判断
する第2の判断手段と、前記第2の判断手段でオペレー
タであると判断されたときに前記オペレータに対応する
図形処理用のコマンドによって図形処理を行う処理手段
と、を含んで構成したものである。 そして、請求項3の
発明は、電子ペンとタブレツトとから成りタブレツト上
の電子ペンの軌跡を点列データに変換して入力する入力
手段と、入力された点列データに基づいて前記軌跡が幾
何学におけるどの図形を表しているかを判断する第1の
判断手段と、前記第1の判断手段で判断された図形を表
示装置に表示させる表示手段と、予め定められた1つの
特定の図形に対応しかつ重ね書きによって指定された図
形要素を消去するための図形処理用のコマンド、予め定
められた他の 1つの特定の図形に対応しかつ重ね書きに
よって指定された図形要素を分割するための図形処理用
のコマンド、及び閉図形と矢印とを組合せた複数の特定
の図形の各々に対応しかつ閉図形で囲まれた図形をコピ
ー、拡大または縮小するための図形処理用のコマンドを
記憶した記憶手段と、前記第1の判断手段で判断された
図形が作図すべき図形か前記特定の図形によって表され
たオペレータであるかを判断する第2の判断手段と、前
記第2の判断手段でオペレータであると判断されたとき
に前記オペレータに対応する図形処理用のコマンドによ
って図形処理を行う処理手段と、を含んで構成したもの
である。
In order to achieve the above object, the invention of claim 1 comprises an electronic pen and a tablet, and input means for converting the locus of the electronic pen on the tablet into point sequence data and inputting the data. A first determining means for determining which figure in the geometry the trajectory represents based on the input point sequence data, and a display for displaying the figure determined by the first determining means on a display device Means for storing a graphic processing command for erasing a graphic element corresponding to one predetermined specific graphic and specified by overwriting; Second determining means for determining whether the figure is a figure to be drawn or an operator represented by the specific figure; and operating the operation when the second determining means determines that the figure is an operator. Is obtained by configuration includes a processing means for graphic processing, a by commands for graphic processing corresponding to the over data. The invention of claim 2 is an electronic pen and a touch panel.
The pen traces the pen's trajectory on the tablet.
Input means for converting to column data for input, and input points
Which figure in geometry is the trajectory based on the column data
A first determining means for determining whether or not the first
Display on the display device the figure determined by the determination means
Indicating means, and corresponding to one predetermined specific figure
To divide the specified graphic element by overwriting
Storage means for storing a command for graphic processing of
Whether the figure determined by the determination means 1 is a figure to be drawn
Determine if the operator is represented by a specific figure
Operating means for determining whether or not the
Respond to the operator when it is determined that the
Processing means for performing graphic processing by a graphic processing command
And is included. And of claim 3
The invention comprises an electronic pen and a tablet, on a tablet.
Input to convert the trajectory of the electronic pen into point sequence data
Means and the number of said trajectories based on the input point sequence data.
The first way to judge which figure in which science
A determining means for displaying the graphic determined by the first determining means;
Display means for displaying on the display device, and a predetermined one
Figure corresponding to a specific figure and specified by overwriting
Commands for graphic processing to delete shape elements
Corresponding and to overwrite the other one particular figure is because
Therefore, for graphic processing to divide the specified graphic element
Commands and multiple identifications by combining closed figures and arrows
The figure corresponding to each of the figures and enclosed by the closed figure is copied.
Commands for graphic processing to enlarge or reduce
The stored storage means and the first determination means
The figure is represented by the figure to be drawn or the specific figure
Second determining means for determining whether the operator is a failed operator;
When the operator is determined to be an operator by the second determination means
In response to a figure processing command corresponding to the operator,
Processing means for performing graphic processing by means of
It is.

【0006】[0006]

【作用】まず、請求項1の発明の作用について説明す
る。入力手段は、電子ペンとタブレツトとから構成され
ており、タブレツト上の電子ペンの軌跡を点列データに
変換して入力する。従って、電子ペンを用いてタブレツ
ト上で作図することで手描きされた図形のデータが点列
データに変換されて入力される。第1の判断手段は、入
力された点列データに基づいてタブレツト上の電子ペン
の軌跡が幾何学におけるどの図形を表わしているかを判
断する。表示手段はこの第1の判断手段の判断結果に基
づいて電子ペンの軌跡で表わされた図形を表示装置に表
示させる。従って、手描きされた図形すなわち電子ペン
の軌跡が幾何学における正確な図形を表わしていない場
合であっても、第1の判断手段によってどのような図形
を表わしているかが判断されて、すなわち手描きされた
図が幾何学におけるどの図形に近似しているかが判断さ
れて、手描きされた図が幾何学で定義された図形に変換
されて表示装置に表示される。従って、メニユーを用い
ることなく図形を入出力することができる。
First, the operation of the first aspect of the present invention will be described.
You. The input means includes an electronic pen and a tablet, and converts the locus of the electronic pen on the tablet into point sequence data and inputs the data. Therefore, data of a figure drawn by drawing on a tablet using an electronic pen is converted into point sequence data and input. The first judging means judges, based on the input point sequence data, which figure in the geometry the trajectory of the electronic pen on the tablet represents. The display means causes the display device to display a graphic represented by the locus of the electronic pen based on the result of the determination by the first determination means. Therefore, even if the hand-drawn figure, that is, the trajectory of the electronic pen does not represent an accurate figure in geometry, the first determining means determines what kind of figure is represented, that is, the hand-drawn figure. It is determined which figure in the geometry the figure looks like, and the hand-drawn figure is converted to a figure defined by the geometry and displayed on the display device. Therefore, figures can be input and output without using a menu.

【0007】一方、記憶手段は、予め定められた1つの
特定の図形に対応しかつ重ね書きによって指定された図
形要素を消去するための図形処理用のコマンドを記憶し
ており、第2の判断手段は上記第1の判断手段で判断さ
れた図形が作図すべき図形か特例の図形によって表され
たオペレータかを判断する。
On the other hand, the storage means stores a command for graphic processing for deleting a graphic element corresponding to one predetermined specific graphic and designated by overwriting.
And which, second determination means determines whether the operator of figure is determined by the first determination means is represented by a graphic of figure or special should draw.

【0008】そして、処理手段は、第2の判断手段でオ
ペレータと判断されたときには、この軌跡が表わしてい
る特定の図形に対応するコマンドによって図形処理を行
なう。従って、メニユーを用いることなく特定の図形を
描くことで図形処理用のコマンドを指定することができ
る。請求項2の発明は、記憶手段に、予め定められた1
つの特定の図形に対応しかつ重ね書きによって指定され
た図形要素を分割するための図形処理用のコマンドを記
憶したものである。 請求項3の発明は、記憶手段に、予
め定められた1つの特定の図形に対応しかつ重ね書きに
よって指定された図形要素を消去するための図形処理用
のコマンド、予め定められた他の1つの特定の図形に対
応しかつ重ね書きによって指定された図形要素を分割す
るための図形処理用のコマンド、及び閉図形と矢印とを
組合せた複数の特定の図形の各々に対応しかつ閉図形で
囲まれた図形をコピー、拡大または縮小するための図形
処理用のコマンドを記憶したものである。
[0008] When the second judging means judges that the operator is an operator, the processing means performs figure processing by a command corresponding to a specific figure represented by the locus. Therefore, a command for graphic processing can be specified by drawing a specific graphic without using a menu. According to a second aspect of the present invention, in the storage means, a predetermined 1
Corresponding to one particular shape and specified by overlay
Commands for figure processing to divide
I remember it. According to the third aspect of the present invention, the storage means
Corresponding to one specific figure and overwrite
Therefore, for graphic processing to erase the specified graphic element
Command, and one other predetermined specific figure
Divide the specified graphic element by responding and overwriting
Command for figure processing, and closed figure and arrow
A closed figure corresponding to each of a plurality of specific figures combined
Shape to copy, enlarge or reduce the enclosed shape
The command for processing is stored.

【0009】なお、本発明でいう図形は、点、線、面等
の集合から成るものをいい、文字、記号等も含まれる。
The figure referred to in the present invention is a figure composed of a set of points, lines, planes, and the like, and includes characters, symbols, and the like.

【0010】[0010]

【発明の効果】以上説明したように請求項1〜3の発明
によれば、メニユーから図形処理用の機能を選択するこ
となく特定の図形を既に作図されている図形に重ね書き
することによって、図形処理対象と図形処理内容とを入
力して図形処理することができるため、違和感のない人
間工学に基づいた作図を行なうことができる、という効
果が得られる。
As described above, according to the first to third aspects of the present invention, a specific graphic is overwritten on a graphic already drawn without selecting a graphic processing function from a menu. Since the graphic processing target and the graphic processing content can be input and the graphic processing can be performed, there is an effect that a drawing based on ergonomics without a sense of incongruity can be performed.

【0011】[0011]

【実施例】以下図面を参照して本発明の実施例を詳細に
説明する。図2は本実施例の概略図を示すもので、図形
処理用のコンピユータ10はCPU、ROMおよびRA
Mを備えている。コンピユータ10には、CRT12、
キーボード14およびタブレツト16が接続されてい
る。このタブレツト16には電子ペン18が接続されて
おり、電子ペン18の先端をタブレツト16の表面に接
触させて移動させることにより移動軌跡が点列データに
変換されてコンピユータ10内に入力される。このコン
ピユータ10のROMには以下で説明する図形処理用の
制御ルーチンのプログラムや特定の図形に対応したコマ
ンドが予め記憶されている。以下このルーチンを説明す
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 2 is a schematic diagram of the present embodiment. The computer 10 for graphic processing includes a CPU, a ROM and an RA.
M is provided. The computer 10 has a CRT 12,
A keyboard 14 and a tablet 16 are connected. An electronic pen 18 is connected to the tablet 16. By moving the tip of the electronic pen 18 into contact with the surface of the tablet 16 and moving it, the movement locus is converted into point sequence data and input to the computer 10. In the ROM of the computer 10, a program of a control routine for graphic processing described below and a command corresponding to a specific graphic are stored in advance. Hereinafter, this routine will be described.

【0012】図形入出力装置のスイツチがオンされると
図1に示されるルーチンが起動され、ステツプ30で初
期化が行なわれると共にステツプ32において図形認識
用パラメータの設定が行なわれる。このパラメータは、
タブレツトから入力された点列データが幾何学における
線分、円および円弧のいずれに近似しているか等を判定
するために使用されるものであり、以下で説明するε
1、ε2等があり、その他必要に応じて用意される。次
のステツプ34では、タブレツト16からデータが入力
されたかキーボード14からデータが入力されたかを判
断し、キーボードからデータが入力されたと判断された
ときにはステツプ36においてキーボード入力処理を実
行する。このキーボード入力処理については図5を参照
して後述する。
When the switch of the graphic input / output device is turned on, the routine shown in FIG. 1 is started, and initialization is performed in step 30 and graphic recognition parameters are set in step 32. This parameter is
This is used to determine whether the point sequence data input from the tablet approximates a line segment, a circle, or an arc in geometry.
1, ε2, etc., and are prepared as needed. In the next step 34, it is determined whether data has been input from the tablet 16 or the keyboard 14, and when it is determined that data has been input from the keyboard, a keyboard input process is executed in step 36. This keyboard input processing will be described later with reference to FIG.

【0013】一方、ステツプ34においてタブレツトか
らデータが入力されたと判断されたときには、第1の判
断手段としてのステツプ38において図形認識処理を行
なう。この図形認識処理の詳細については図3を参照し
て後で説明する。第2の判断手段としての次のステツプ
40ではステツプ38で認識された図形が作図すべき図
形か特定の図形によって表わされたオペレータであるか
を判断する。作図すべき図形であるときにはステツプ4
4で自動編集処理をした後ステツプ46で図形データの
記憶を行ない、ステツプ48においてCRT12上へ図
形を表示する。一方オペレータであると判断されたとき
にはステツプ50においてオペレータ処理を行なった後
ステツプ46でオペレータ処理後の図形データを記憶し
てステツプ48へ進む。なお、オペレータ処理について
は後述する。
On the other hand, when it is determined in step 34 that data has been input from the tablet, a graphic recognition process is performed in step 38 as first determining means. Details of the graphic recognition processing will be described later with reference to FIG. In the next step 40 as a second determining means, it is determined whether the graphic recognized in step 38 is a graphic to be drawn or an operator represented by a specific graphic. Step 4 if the figure is to be drawn
After the automatic editing process in step 4, the graphic data is stored in step 46, and the graphic is displayed on the CRT 12 in step 48. On the other hand, when it is determined that the operator is the operator, the operator process is performed in step 50, and the graphic data after the operator process is stored in step 46, and the process proceeds to step 48. The operator processing will be described later.

【0014】次に、図3を参照してステツプ38の図形
認識処理について説明する。まず、タブレツト16から
入力された点列データは、例えば図6(1)に示すよう
になっている。ステツプ60ではこの点列データの始点
P1と終点P2とを通る直線の方程式を演算する(図6
(2))。次のステツプ62ではこの直線から最も遠い
1つの点P3を選択し、ステツプ64においてこの最も
遠い点P3と直線との間の距離dを演算する(図6
(3))。そして、ステツプ66においてこの距離dと
パラメータε1とを比較し、距離d>ε1のときにはス
テツプ68においてステツプ62で選択された最も遠い
点P3を始点および終点と置き換えた後ステツプ60へ
進む。この結果、点P3が始点P1に対して終点となる
と共に終点P2に対して始点となり、ステツプ60にお
いて図6(4)に示す2つの直線の方程式が演算され
る。このとき、点P3は点P1、P3、P2を通るトラ
バースの折曲点になる。そして、ステツプ62において
これらの直線に対して最も遠い点P4、P5が選択さ
れ、この点P4、点P5までの距離がパラメータε1よ
り大きければ上記と同様にして直線P1P4、直線P4
P3、直線P5P2の方程式が各々求められる(図6
(5))。最も遠い点までの距離がパラメータε1以下
になるまで上記ステツプ60、62、64および68を
繰り返すことにより図6(6)に示すトラバースを作成
することができる。
Next, the graphic recognition processing in step 38 will be described with reference to FIG. First, the point sequence data input from the tablet 16 is, for example, as shown in FIG. In step 60, an equation of a straight line passing through the start point P1 and the end point P2 of the point sequence data is calculated (FIG. 6).
(2)). In the next step 62, one point P3 farthest from this straight line is selected, and in step 64, the distance d between this farthest point P3 and the straight line is calculated (FIG. 6).
(3)). Then, in step 66, the distance d is compared with the parameter ε1, and when the distance d> ε1, the farthest point P3 selected in step 62 is replaced with the start point and end point in step 68, and then the process proceeds to step 60. As a result, the point P3 becomes the end point with respect to the start point P1 and becomes the start point with respect to the end point P2. In step 60, the equation of two straight lines shown in FIG. At this time, the point P3 becomes a bending point of the traverse passing through the points P1, P3, and P2. Then, in step 62, the points P4 and P5 farthest from these straight lines are selected. If the distance between the points P4 and P5 is larger than the parameter ε1, the straight lines P1 P4 and P4
Equations P3 and P5P2 are obtained (FIG. 6)
(5)). By repeating the above steps 60, 62, 64 and 68 until the distance to the farthest point becomes equal to or less than the parameter ε1, the traverse shown in FIG. 6 (6) can be created.

【0015】次のステツプ70ではトラバースを構成す
る1つのトラバース線の垂直2等分線を各々求めてこれ
らの垂直2等分線の交点を求めることによりこのトラバ
ースに最も近似した円周または円弧を備えた仮想円の中
心を演算する。次のステツプ72において仮想中心を中
心とする仮想円の方程式を演算し、ステツプ74におい
て仮想円とトラバースの距離の最大値Dを求める(図6
(7))。そしてステツプ76において距離Dとパラメ
ータε2とを比較し、D≦ε2のときには仮想円とトラ
バースの形状とが近似していると判断してこのトラバー
スを円または円弧として認識する。一方、距離D>ε2
のときにはトラバースは円に近似していないため線分ま
たはトラバースとして認識する。そして、この認識され
た図形が自動編集された後CRTに表示される。
In the next step 70, the perpendicular bisectors of one traverse line constituting the traverse are obtained, and the intersection of these vertical bisectors is obtained, thereby obtaining the circle or arc most similar to the traverse. The center of the provided virtual circle is calculated. In the next step 72, the equation of the virtual circle centered on the virtual center is calculated, and in step 74 the maximum value D of the distance between the virtual circle and the traverse is determined (FIG. 6).
(7)). Then, in step 76, the distance D is compared with the parameter ε2, and when D ≦ ε2, it is determined that the virtual circle and the shape of the traverse are similar, and the traverse is recognized as a circle or an arc. On the other hand, the distance D> ε2
In the case of, the traverse is not approximated to a circle and is recognized as a line segment or a traverse. Then, after the recognized figure is automatically edited, it is displayed on the CRT.

【0016】次に図4を参照してオペレータ処理につい
て説明する。まずステツプ100ではタブレツトから入
力されたオペレータが以下の表に示すどのオペレータで
あるかを判断する。
Next, the operator process will be described with reference to FIG. First, in step 100, it is determined which operator shown in the following table is the operator input from the tablet.

【0017】[0017]

【表1】 [Table 1]

【0018】オペレータについて説明すると、「×」は
消去をコマンドとするオペレータで、図7(1)に示す
ように重ね書きによって指定された図形要素を消去する
機能を備えている。「/」はカツトをコマンドとするオ
ペレータで、図7(2)に示すように重ね書きすること
により指定された図形要素をオペレータを境にして分割
する機能を備えている。「○」(閉図形であれば形状は
どのようなものでも良い)はラツパをコマンドとするオ
ペレータで、閉図形で囲まれた図形要素を認識する機能
を備えている。このラツパと矢印「→」とを組み合わせ
ることによりコマンドをコピー、拡大、縮小とするオペ
レータを定義することができ、ラツパによって認識され
た図形を始点とした矢印「→」を組み合わせることによ
ってその図形をコピーする機能が得られる。また、ラツ
パを始点とした外向きの矢印「→」を組み合わせること
によってラツパによって認識された図形を拡大する機能
が得られる。そして、ラツパを始点としてラツパ内に向
いた矢印「→」を組み合わせることによってラツパによ
って認識された図形を縮小する機能が得られる。これら
のオペレータは、ステツプ40で図7(1)、(2)、
(3)に示すようにオペレータを構成する図形要素の各
々の長さがパラメータd1、d2以下の大きさであるか
否かを判断することにより作図すべき図形であるかオペ
レータであるかが区別される。また、ラツパと矢印
「→」とが短時間で組合わされて描かれた場合にのみオ
ペレータとして認識する。ステツプ100において消去
をコマンドとするオペレータであると判断されたときに
はステツプ102において指定された図形要素を記憶部
から消去する。また、ステツプ104からステツプ11
0においては同様に上記表に示した図形処理を行なう。
To explain the operator, "x" is an operator using erasure as a command and has a function of erasing a graphic element specified by overwriting as shown in FIG. “/” Is an operator that uses a cut as a command, and has a function of dividing a specified graphic element by overwriting as shown in FIG. "O" (any shape may be used as long as it is a closed figure) is an operator using a wrapper as a command and has a function of recognizing a graphic element surrounded by a closed figure. By combining this wrapper with the arrow "→", it is possible to define an operator for copying, enlarging, or reducing the command. By combining the arrow "→" with the figure recognized by the wrapper as the starting point, the figure can be defined. You get the ability to copy. Also, a function of enlarging the figure recognized by the wrapper can be obtained by combining an outward arrow "→" with the wrapper as a starting point. Then, a function of reducing the figure recognized by the wrapper can be obtained by combining the arrow “→” pointing into the wrapper with the wrapper as a starting point. These operators are shown in FIG. 7 (1), (2),
As shown in (3), it is determined whether each of the graphic elements constituting the operator is a graphic to be drawn or an operator by determining whether the length of each of the graphic elements constituting the operator is smaller than or equal to the parameters d1 and d2. Is done. The operator is recognized as an operator only when the wrapper and the arrow “→” are drawn in a short time. If it is determined in step 100 that the operator is a command to delete, the graphic element specified in step 102 is deleted from the storage unit. Also, from step 104 to step 11
At 0, the graphic processing shown in the above table is similarly performed.

【0019】図5はステツプ36の詳細を示すもので、
ステツプ112においてCRT上に表示されたメニユー
から終了の機能が選択されたか否かを判断し、終了の機
能が選択されたときには図1で示すルーチンを終了す
る。また、終了の機能以外の機能が選択された場合には
ステツプ114においてメニユーによって選択された機
能に応じた処理を行なう。この機能としては例えば、ス
テツプ32で説明した図形処理用のパラメータの大きさ
の変更、図形データベースの保存、読込、消去、ハード
コピー、オールクリアー、ヘルプ等がある。
FIG. 5 shows the details of step 36.
In step 112, it is determined whether or not the end function is selected from the menu displayed on the CRT. When the end function is selected, the routine shown in FIG. 1 is ended. If a function other than the end function is selected, a process corresponding to the function selected by the menu is performed in step 114. This function includes, for example, changing the size of the parameters for graphic processing described in step 32, saving, reading, erasing, hard copying, clearing all, and helping the graphic database.

【0020】次にステツプ44の自動編集について図8
を参照して説明する。まず、図8(1)に示すように水
平線Hおよび垂直線Vを中心とする角θをパラメータと
して設定して、図形認識によって認識された線分が水平
線Hまたは垂直線Vに対して角θ以内の範囲に存在する
ときにはこの線分を水平線H又は垂直線Vに編集する。
また、図8(2)に示すように1つの線分の端部を中心
とする直径d3の領域を予め定め、この領域内に各線分
の端部が複数個存在していればこの端部を接続して図8
(3)に示すように編集し直す。
Next, the automatic editing of step 44 will be described with reference to FIG.
This will be described with reference to FIG. First, as shown in FIG. 8A, an angle θ centered on the horizontal line H and the vertical line V is set as a parameter, and the line segment recognized by the figure recognition is shifted from the horizontal line H or the vertical line V by the angle θ. If the line segment exists within the range, the line segment is edited into a horizontal line H or a vertical line V.
Further, as shown in FIG. 8 (2), a region having a diameter d3 centered on the end of one line segment is determined in advance. Figure 8
Edit again as shown in (3).

【0021】なお、上記ではCRT上に入力された図形
を表示する例について説明したが、デイスプレイ付きタ
ブレツトを使用すればこのCRTを省略することがで
き、手描きと図形表示とを同一箇所で行なうことができ
る。また、上記では線分、円、円弧を認識する例につい
て説明したが、楕円等の他の図形を認識するようにして
もよい。また、オペレータとして図形の移動、対称図形
の作図、回転図形の作図等を定義して処理してもよく、
更に編集機能として交点処理等の他の機能を設けてもよ
い。
In the above description, an example in which a graphic input on a CRT is displayed has been described. However, if a tablet with a display is used, the CRT can be omitted, and hand-drawing and graphic display can be performed in the same place. Can be. In the above description, an example in which line segments, circles, and arcs are recognized has been described. However, other figures such as ellipses may be recognized. In addition, as an operator, movement of a figure, drawing of a symmetric figure, drawing of a rotated figure, etc. may be defined and processed.
Further, another function such as intersection processing may be provided as an editing function.

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

【図1】本実施例の制御ルーチンを示す流れ図である。FIG. 1 is a flowchart showing a control routine of the present embodiment.

【図2】本実施例の概略図を示すブロツク図、FIG. 2 is a block diagram showing a schematic diagram of the present embodiment;

【図3】ステツプ38の詳細を示す流れ図である。FIG. 3 is a flowchart showing details of step 38;

【図4】ステツプ50の詳細を示す流れ図である。FIG. 4 is a flowchart showing details of step 50;

【図5】ステツプ36の詳細を示す流れ図である。FIG. 5 is a flowchart showing details of step 36;

【図6】(1)〜(7)は図形認識処理を説明するため
の線図である。
FIGS. 6 (1) to (7) are diagrams for explaining a figure recognition process.

【図7】(1)〜(3)はオペレータの形状を説明する
ための線図である。
FIGS. 7 (1) to (3) are diagrams for explaining the shape of an operator.

【図8】(1)〜(3)は図形の自動編集を説明するた
めの線図である。
FIGS. 8A to 8C are diagrams for explaining automatic editing of a figure.

【符号の説明】[Explanation of symbols]

12 CRT 16 タブレツト 18 電子ペン 12 CRT 16 Tablet 18 Electronic pen

───────────────────────────────────────────────────── フロントページの続き (72)発明者 廣瀬 忠孝 東京都中央区銀座8丁目21番1号 株式 会社竹中工務店 東京本店内 (72)発明者 古川 元則 東京都中央区銀座8丁目21番1号 株式 会社竹中工務店 東京本店内 (72)発明者 吉田 恭子 東京都中央区銀座8丁目21番1号 株式 会社竹中工務店 東京本店内 (56)参考文献 特開 昭60−75980(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06T 1/00 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Tadataka Hirose 8-21-1, Ginza, Chuo-ku, Tokyo Inside Takenaka Corporation Tokyo Main Store (72) Inventor Motonori Furukawa 8-21, Ginza, Chuo-ku, Tokyo No. 1 Inside Takenaka Corporation Tokyo Main Store (72) Inventor Kyoko Yoshida 8-21-1, Ginza, Chuo-ku, Tokyo Inside Tokyo Main Store (56) References JP-A-60-75980 (JP, A) (58) Field surveyed (Int. Cl. 6 , DB name) G06T 1/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】電子ペンとタブレツトとから成りタブレツ
ト上の電子ペンの軌跡を点列データに変換して入力する
入力手段と、 入力された点列データに基づいて前記軌跡が幾何学にお
けるどの図形を表しているかを判断する第1の判断手段
と、 前記第1の判断手段で判断された図形を表示装置に表示
させる表示手段と、 予め定められた1つの特定の図形に対応しかつ重ね書き
によって指定された図形要素を消去するための図形処理
用のコマンドを記憶した記憶手段と、 前記第1の判断手段で判断された図形が作図すべき図形
か前記特定の図形によって表されたオペレータであるか
を判断する第2の判断手段と、 前記第2の判断手段でオペレータであると判断されたと
きに前記オペレータに対応する図形処理用のコマンドに
よって図形処理を行う処理手段と、 を含む図形入出力装置。
An input means for converting the trajectory of the electronic pen on the tablet into point sequence data for inputting the trajectory on the tablet, comprising: A first determining means for determining whether or not the image represents the image, a display means for displaying a graphic determined by the first determining means on a display device, and an overwriting corresponding to one predetermined specific graphic. Storage means for storing a graphic processing command for erasing the graphic element specified by the operator, and an operator represented by the specific graphic or the graphic to be drawn by the graphic determined by the first determining means. A second determining means for determining whether there is a graphic processing, and performing graphic processing by a graphic processing command corresponding to the operator when the second determining means determines that the operator is an operator. Processing means; and a graphic input / output device comprising:
【請求項2】 電子ペンとタブレツトとから成りタブレツ
ト上の電子ペンの軌跡を点列データに変換して入力する
入力手段と、 入力された点列データに基づいて前記軌跡が幾何学にお
けるどの図形を表しているかを判断する第1の判断手段
と、 前記第1の判断手段で判断された図形を表示装置に表示
させる表示手段と、 予め定められた1つの特定の図形に対応しかつ重ね書き
によって指定された図形要素を分割するための図形処理
用のコマンドを記憶した記憶手段と、 前記第1の判断手段で判断された図形が作図すべき図形
か前記特定の図形によって表されたオペレータであるか
を判断する第2の判断手段と、 前記第2の判断手段でオペレータであると判断されたと
きに前記オペレータに対応する図形処理用のコマンドに
よって図形処理を行う処理手段と、 を含む図形入出力装置。
And input means for converting the trajectory of the electronic pen on the tablet into point sequence data and inputting the trajectory. The trajectory is based on the input point sequence data. A first determining means for determining whether or not the image represents the image, a display means for displaying a graphic determined by the first determining means on a display device, and an overwriting corresponding to one predetermined specific graphic. Storage means for storing a graphic processing command for dividing the graphic element specified by the first determining means; and a graphic determined by the first determining means, a graphic to be drawn or an operator represented by the specific graphic. A second determining means for determining whether there is a graphic processing, and performing graphic processing by a graphic processing command corresponding to the operator when the second determining means determines that the operator is an operator. Cormorant processing graphics output device that includes a means.
【請求項3】 電子ペンとタブレツトとから成りタブレツ
ト上の電子ペンの軌跡を点列データに変換して入力する
入力手段と、 入力された点列データに基づいて前記軌跡が幾何学にお
けるどの図形を表しているかを判断する第1の判断手段
と、 前記第1の判断手段で判断された図形を表示装置に表示
させる表示手段と、 予め定められた1つの特定の図形に対応しかつ重ね書き
によって指定された図形要素を消去するための図形処理
用のコマンド、予め定められた他の1つの特定の図形に
対応しかつ重ね書きによって指定された図形要素を分割
するための図形処理用のコマンド、及び閉図形と矢印と
を組合せた複数の特定の図形の各々に対応しかつ閉図形
で囲まれた図形をコピー、拡大または縮小するための図
形処理用のコマンドを記憶した記憶手段と、 前記第1の判断手段で判断された図形が作図すべき図形
か前記特定の図形によって表されたオペレータであるか
を判断する第2の判断手段と、 前記第2の判断手段でオペレータであると判断されたと
きに前記オペレータに対応する図形処理用のコマンドに
よって図形処理を行う処理手段と、 を含む図形入出力装置。
3. An input means, comprising an electronic pen and a tablet, for converting the trajectory of the electronic pen on the tablet into point sequence data and inputting the data, and, based on the input point sequence data, the trajectory of any figure in the geometry. A first determining means for determining whether or not the image represents the image, a display means for displaying a graphic determined by the first determining means on a display device, and an overwriting corresponding to one predetermined specific graphic. Command for erasing the graphic element specified by the command, and a command for graphic processing for dividing the graphic element corresponding to another predetermined specific graphic and specified by overwriting And a graphic processing command for copying, enlarging or reducing a figure corresponding to each of a plurality of specific figures obtained by combining a closed figure and an arrow and enclosing the figure surrounded by the closed figure. Means, a second determining means for determining whether the graphic determined by the first determining means is a graphic to be drawn or an operator represented by the specific graphic, and an operator which is determined by the second determining means. Processing means for performing graphic processing by a graphic processing command corresponding to the operator when it is determined that
JP24165294A 1994-10-05 1994-10-05 Graphic input / output device Expired - Fee Related JP2935336B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24165294A JP2935336B2 (en) 1994-10-05 1994-10-05 Graphic input / output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24165294A JP2935336B2 (en) 1994-10-05 1994-10-05 Graphic input / output device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63065524A Division JP2589999B2 (en) 1988-03-18 1988-03-18 Graphic input / output device

Publications (2)

Publication Number Publication Date
JPH07168951A JPH07168951A (en) 1995-07-04
JP2935336B2 true JP2935336B2 (en) 1999-08-16

Family

ID=17077508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24165294A Expired - Fee Related JP2935336B2 (en) 1994-10-05 1994-10-05 Graphic input / output device

Country Status (1)

Country Link
JP (1) JP2935336B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3574202B2 (en) * 1995-01-17 2004-10-06 株式会社竹中工務店 Graphic I / O device
CN1947155B (en) * 2004-04-27 2012-03-28 株式会社日立医药 Image plotting device and method thereof
US9335909B2 (en) 2009-06-03 2016-05-10 Honda Motor Co., Ltd. Drawing assist device, drawing assist program, and drawing assist method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6075980A (en) * 1983-10-03 1985-04-30 Hitachi Ltd On-line editing device for handwritten input pattern

Also Published As

Publication number Publication date
JPH07168951A (en) 1995-07-04

Similar Documents

Publication Publication Date Title
JP2589999B2 (en) Graphic input / output device
JPH0798769A (en) Information processor and its screen editing method
JPH06208654A (en) Pen input graphic editing system
JPH0546708A (en) Method for plotting three-dimensional object
JPH0584540B2 (en)
JPH1186015A (en) Method and apparatus for information processing and storage medium therefor
JP3007232B2 (en) Drawing processing apparatus and method
JP3237898B2 (en) Image figure editing apparatus and processing method of image figure editing apparatus
JP3391852B2 (en) Document processing apparatus and method
JPH05108786A (en) Method and apparatus for transforming graphic form
JPH064607A (en) Data display device
JP2935336B2 (en) Graphic input / output device
JP3239356B2 (en) Figure editing device
JP2627407B2 (en) Handwritten input information processing method and apparatus
KR970011905B1 (en) Diagram drawing apparatus
JPH08255221A (en) Character graphic input editing device
JPH0434663A (en) Drawing editing device
JP2660795B2 (en) Handwriting input editing method
JPH08272994A (en) Device and method for information processing
JPH07105395A (en) Information processing unit
JP2005234610A (en) Freehand-input pattern editing system
JP2977360B2 (en) Ruled line selection method
JPH11212968A (en) Document processor and document processing method
JPH0816805A (en) Graphic generation device
JPH08167044A (en) Graphic input and output device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees