[go: up one dir, main page]

JP2002099924A - Graphic drawing device - Google Patents

Graphic drawing device

Info

Publication number
JP2002099924A
JP2002099924A JP2000292443A JP2000292443A JP2002099924A JP 2002099924 A JP2002099924 A JP 2002099924A JP 2000292443 A JP2000292443 A JP 2000292443A JP 2000292443 A JP2000292443 A JP 2000292443A JP 2002099924 A JP2002099924 A JP 2002099924A
Authority
JP
Japan
Prior art keywords
input
graphic
coordinate
polygon
coordinates
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
JP2000292443A
Other languages
Japanese (ja)
Inventor
Terufumi Hosoya
輝文 細谷
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.)
T FIVE KK
Original Assignee
T FIVE KK
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 T FIVE KK filed Critical T FIVE KK
Priority to JP2000292443A priority Critical patent/JP2002099924A/en
Priority to PCT/JP2002/001716 priority patent/WO2003073380A1/en
Publication of JP2002099924A publication Critical patent/JP2002099924A/en
Pending legal-status Critical Current

Links

Classifications

    • G06T11/23

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

(57)【要約】 【課題】 描画操作時に特定のアイコンを選択する必要
性をなくすとともに、範囲指定を自由曲線で行えるよう
にし、描画操作の習得を容易にし、操作性を向上させ
る。 【解決手段】 描画された図形を点列データに変換して
入力し、入力座標点列の中心座標を算出し、中心座標に
対する入力座標点の移動特性を抽出し、抽出された移動
特性に基づいて入力図形を判別する判別手段(1)を備
え、前記判別手段は、移動特性が一方向に直線的である
ことを条件に、移動方向に直交する方向の座標の分布幅
から入力図形は直線または円弧であると認識し、入力座
標点が回転移動し、図形が閉じていることを条件に、入
力図形は円または多角形であると認識するようにしたも
のである。
(57) [Summary] [PROBLEMS] To eliminate the necessity of selecting a specific icon at the time of a drawing operation, to enable a range to be designated by a free curve, to facilitate learning of a drawing operation, and to improve operability. SOLUTION: A drawn figure is converted into point sequence data and input, a center coordinate of an input coordinate point sequence is calculated, a moving characteristic of the input coordinate point with respect to the center coordinate is extracted, and based on the extracted moving characteristic. (1) for determining an input figure by using a distribution width of coordinates in a direction orthogonal to the moving direction, provided that the moving characteristic is linear in one direction. Alternatively, the input figure is recognized as a circle or a polygon on the condition that the input coordinate point is rotated and moved and the figure is closed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータを使っ
た図形描画装置(CAD)における改良に係り、特に紙
に書いている感覚で図形を描画できるようにした装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement in a graphic drawing device (CAD) using a computer, and more particularly to a device capable of drawing a graphic as if writing on paper.

【0002】[0002]

【従来の技術】従来のCADでは、画面やタブレットに
描画処理機能を示すメニューが表示され、その中から所
定のアイコンを選択して図形を描画することが行われて
いる。例えば、描画時の操作として、マウスや電子ペン
を用いて線、円、楕円、多角形等の基本描画図形を示す
アイコンを選択して始点や終点、中心点等を指定するこ
とにより図形が描画される。また、描画した図形を削除
するような場合は、編集メニューの削除を意味するアイ
コンを選択し、対象の図形を矩形領域で囲むことにより
範囲指定すると当該図形の削除が行われる。
2. Description of the Related Art In a conventional CAD, a menu indicating a drawing processing function is displayed on a screen or a tablet, and a predetermined icon is selected from the menu to draw a figure. For example, as a drawing operation, a figure is drawn by selecting an icon indicating a basic drawing figure such as a line, a circle, an ellipse, or a polygon using a mouse or an electronic pen and designating a start point, an end point, a center point, and the like. Is done. In the case where a drawn graphic is to be deleted, an icon indicating deletion in the edit menu is selected, and a target graphic is surrounded by a rectangular area and a range is designated to delete the graphic.

【0003】[0003]

【発明が解決しようとする課題】このように従来のCA
Dでは画面やタブレットに表示されるメニューの中の多
数のアイコンから所定のアイコンを選択しなければなら
ず、その選択操作が煩雑であるとともに、アイコンがも
つ意味を習得するのにかなりの時間を要するという問題
があった。しかも、このように多数のアイコンが画面や
タブレットに表示されるため、描画領域が狭くなってし
まい、描画操作がしにくくなってしまっていた。また、
範囲指定を矩形で行っているため、範囲指定したい領域
を的確に行えない場合があった。
As described above, the conventional CA
In D, a predetermined icon must be selected from a large number of icons in a menu displayed on a screen or a tablet, and the selection operation is complicated, and a considerable amount of time is required to learn the meaning of the icon. There was a problem of cost. In addition, since such a large number of icons are displayed on the screen or tablet, the drawing area is narrowed, and the drawing operation becomes difficult. Also,
Since the range is specified as a rectangle, the area to be specified may not be accurately specified.

【0004】本発明は上記課題を解決するためのもの
で、描画操作時に特定のアイコンを選択する必要性をな
くすとともに、範囲指定を自由曲線で行えるようにし、
描画操作の習得を容易にし、操作性を向上させることを
目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and eliminates the need to select a specific icon during a drawing operation, and allows a range to be designated by a free curve.
An object of the present invention is to facilitate learning of a drawing operation and improve operability.

【0005】[0005]

【課題を解決するための手段】請求項1の発明は、描画
された図形を点列データに変換して入力する図形座標入
力手段と、入力座標点列の中心座標を算出する中心座標
算出手段と、中心座標に対する入力座標点(以下、極)
の移動特性を抽出する極移動特性抽出手段と、抽出され
た極移動特性に基づいて入力図形を判別する判別手段と
を備えたことを特徴とする。請求項2の発明は、前記判
別手段が、極移動方向が一方向に直線的であることを条
件に、前記移動方向に直交する方向の座標の分布幅から
入力図形は直線または円弧であると認識することを特徴
とする。請求項3の発明は、移動方向に直交する方向の
座標の分布幅が小さいとき直線、大きいとき円弧と識別
することを特徴とする。請求項4の発明は、前記判別手
段が、極が回転移動し、図形が閉じていることを条件
に、入力図形は円または多角形であると認識することを
特徴とする。請求項5の発明は、前記判別手段は、入力
図形の重心位置を算出する手段と、重心位置と各座標の
ベクトルを算出するベクトル算出手段と、算出したベク
トルの大きさの分布から特長点を抽出する特長点抽出手
段と、抽出された特長点から円、三角形、四角形、また
は5角形以上の多角形かを識別する図形識別手段とを備
えたことを特徴とする。請求項6の発明は、さらに、識
別された図形を描画処理する描画処理手段と、描画され
た図形に対する編集操作を確認する操作確認手段と、確
認された操作がやり直しでないことを条件に、座標の分
布を登録する登録手段とを備えたことを特徴とする。請
求項7の発明は、さらに、識別された図形を描画処理す
る描画処理手段と、描画された図形に対する編集操作を
確認する操作確認手段と、確認された操作がやり直しで
ないことを条件に、ベクトルの特長点を登録する登録手
段とを備えたことを特徴とする。請求項8の発明は、さ
らに、前記判別手段により範囲指定の自由曲線が多角形
として認識されたとき、該多角形の内側に含まれる図形
が選択されたと認識する範囲指定手段とを備えたことを
特徴とする。請求項9の発明は、図形描画ウインドウ内
に操作コマンドを指定するエリアが設けられていること
を特徴とする。
According to a first aspect of the present invention, there is provided a graphic coordinate input means for converting a drawn graphic into point sequence data and inputting the same, and a center coordinate calculating means for calculating center coordinates of the input coordinate point sequence. And the input coordinate point with respect to the center coordinate (hereinafter, pole)
And a discriminating means for discriminating an input figure based on the extracted polar moving characteristics. According to a second aspect of the present invention, on the condition that the polar moving direction is linear in one direction, the discriminating means determines that the input graphic is a straight line or an arc from a distribution width of coordinates in a direction orthogonal to the moving direction. It is characterized by recognition. The invention according to claim 3 is characterized in that when the distribution width of the coordinates in the direction orthogonal to the moving direction is small, it is identified as a straight line, and when it is large, it is identified as an arc. The invention according to claim 4 is characterized in that the discriminating means recognizes that the input graphic is a circle or a polygon on the condition that the pole rotates and the graphic is closed. According to a fifth aspect of the present invention, the discriminating means calculates a center of gravity of the input graphic, a vector calculating means for calculating a vector of the center of gravity and each coordinate, and a feature point based on a distribution of the magnitude of the calculated vector. It is characterized by comprising feature point extracting means for extracting, and graphic identifying means for identifying whether the extracted feature point is a circle, a triangle, a quadrangle, or a polygon of pentagon or more. The invention according to claim 6 further comprises a drawing processing means for drawing the identified figure, an operation confirmation means for confirming an editing operation on the drawn figure, and a coordinate system provided that the confirmed operation is not redo. And a registration means for registering the distribution of. The invention according to claim 7 further includes a drawing processing unit for performing a drawing process on the identified figure, an operation checking unit for checking an editing operation on the drawn figure, and a vector And a registering means for registering the feature point. The invention according to claim 8, further comprising a range designating means for recognizing that a figure included inside the polygon has been selected when the discriminating means recognizes the range-designated free curve as a polygon. It is characterized by. The invention of claim 9 is characterized in that an area for designating an operation command is provided in the graphic drawing window.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。図1は本発明の図形描画装置の構成を示す
図である。図形描画処理用のコンピュータ1は、基本描
画図形のデータ、描画処理プログラム等の描画処理に必
要とされるデータが格納され、さらにCRT2の画面上
でマウス3、キーボード4により、また図示しないタブ
レットと電子ペンにより描いた図形を認識する処理プロ
グラム等が格納されている。また、コンピュータ1に入
力された図形は必要に応じてプリンタ5によりプリント
アウトされる。
Embodiments of the present invention will be described below. FIG. 1 is a diagram showing a configuration of a graphic drawing apparatus according to the present invention. The computer 1 for graphic drawing processing stores basic drawing graphic data, data required for drawing processing such as a drawing processing program, etc., and furthermore, a mouse 3 and a keyboard 4 on a screen of the CRT 2 and a tablet (not shown). A processing program for recognizing a figure drawn by an electronic pen is stored. The graphic input to the computer 1 is printed out by the printer 5 as needed.

【0007】次に、マウスや電子ペンを使ってCRT画
面やタブレットに描かれた図形の認識処理について説明
する。図2は直線の判別処理を説明する図である。描画
される図形に対して、図示のように所定間隔ごとにサン
プリングして点列に変換してその座標データを取得し、
入力座標の中心点(座標軸)を求める。図示の例は、求
めた座標軸が(x,y)で、図形の入力方向が矢印のよ
うに−x→+x方向である。次いで、求めた座標軸
(x,y)に対するサンプリング点の座標(以下では極
と言う)の移動特性を調べて抽出する。直線の場合、
極は、(−x,y)、(−x,−y)→(x,y)、
(x,−y)のように移動し、逆方向に描画した場合に
は、(x,y)、(x,−y)→(−x,y)、(−
x,−y)のように一方向に直線的に移動する。極の
y座標(の移動方向に直交する方向の座標値)は所定
のしきい値内に分布する。、の条件が満たされたと
き、コンピュータ1は直線が描画されたと認識し、その
データを取り込む。なお、直線が斜めに描画された場合
も、入力座標の中心点の座標軸が傾斜するだけで、
の条件は同じである。
Next, a process of recognizing a graphic drawn on a CRT screen or a tablet using a mouse or an electronic pen will be described. FIG. 2 is a diagram for explaining a straight line determination process. As shown in the figure, the figure to be drawn is sampled at predetermined intervals, converted into a point sequence, and its coordinate data is obtained.
Find the center point (coordinate axis) of the input coordinates. In the illustrated example, the obtained coordinate axis is (x, y), and the input direction of the figure is -x → + x direction as indicated by an arrow. Next, the movement characteristics of the coordinates (hereinafter referred to as poles) of the sampling point with respect to the obtained coordinate axes (x, y) are examined and extracted. For a straight line,
The poles are (−x, y), (−x, −y) → (x, y),
When moving as (x, -y) and drawing in the opposite direction, (x, y), (x, -y) → (-x, y), (-
(x, -y) to move linearly in one direction. The y coordinate of the pole (the coordinate value in the direction orthogonal to the moving direction of the pole) is distributed within a predetermined threshold value. Are satisfied, the computer 1 recognizes that a straight line has been drawn and takes in the data. In addition, even when the straight line is drawn diagonally, only the coordinate axis of the center point of the input coordinates is inclined,
Are the same.

【0008】図3は円弧の判別処理を説明する図であ
る。直線の場合と同様に所定間隔ごとにサンプリングし
て点列に変換してその座標データを取得し、入力座標の
中心点の座標を求め、極の移動特性を調べて抽出する。
図2の場合と同様、求めた座標軸が(x,y)で、図形
の入力方向が−x→+x方向であると仮定する。円弧の
場合には、極は、(−x,−y)→(−x,y)→
(x,y)→(x,−y)のように移動し、逆方向に描
画した場合に、(x,−y)→(x,y)→(−x,
y)→(−x,−y)のように一方向に直線的に移動す
る。極のy座標(の移動方向に直交する方向の座標
値)は所定のしきい値より大きい値で分布し、直線の場
合に比して大きい。、の条件が満たされたとき、コ
ンピュータ1は円弧が描画されたと認識し、そのデータ
を取り込む。なお、円弧が斜めに描画された場合も、入
力座標の中心点の座標軸が傾斜するだけで、の条件
は同じである。
FIG. 3 is a diagram for explaining the arc discrimination processing. As in the case of the straight line, sampling is performed at predetermined intervals and converted into a point sequence to acquire the coordinate data, the coordinates of the center point of the input coordinates are obtained, and the movement characteristics of the poles are examined and extracted.
As in the case of FIG. 2, it is assumed that the obtained coordinate axis is (x, y) and the input direction of the figure is −x → + x. In the case of an arc, the poles are (-x, -y) → (-x, y) →
When moving as (x, y) → (x, −y) and drawing in the opposite direction, (x, −y) → (x, y) → (−x,
y) → It moves linearly in one direction as (−x, −y). The y-coordinate of the pole (the coordinate value in the direction orthogonal to the moving direction of the pole) is distributed with a value larger than a predetermined threshold value, and is larger than that of a straight line. Are satisfied, the computer 1 recognizes that the arc has been drawn, and takes in the data. Note that even when the arc is drawn obliquely, the condition is the same, except that the coordinate axis of the center point of the input coordinates is inclined.

【0009】図4は円や多角形の判別処理を説明する図
である。直線や円弧の場合と同様に所定間隔ごとにサン
プリングして点列に変換してその座標データを取得し、
入力座標の中心点の座標を求め、極の移動特性を調べて
抽出する。図2、図3の場合と同様、求めた座標軸が
(x,y)で、図形の入力方向が時計方向であると仮定
する。円や多角形の場合には、 (x,y)→(x,−y)→(−x,−y)→(−
x,y)→(x,y)のように回転し、書き始め点がど
こであっても回転するという特性は変わらない。逆向き
(反時計方向)に入力した場合も同様である。 書き終わり点が書き始め点の位置付近に行き、ほぼ閉
じた図形となる。 、の条件が満たされたとき、コンピュータ1は円ま
たは多角形が描画されたと認識し、そのデータを取り込
む。
FIG. 4 is a diagram for explaining a process of determining a circle or a polygon. As in the case of straight lines and arcs, sampling is performed at predetermined intervals and converted to a point sequence to obtain the coordinate data,
The coordinates of the center point of the input coordinates are obtained, and the movement characteristics of the poles are examined and extracted. As in the case of FIGS. 2 and 3, it is assumed that the obtained coordinate axes are (x, y) and the input direction of the figure is clockwise. In the case of a circle or polygon, (x, y) → (x, −y) → (−x, −y) → (−
(x, y) → (x, y), and the characteristic of rotating regardless of the writing start point does not change. The same applies to the case where the input is made in the opposite direction (counterclockwise). The end point of writing goes near the position of the writing start point, and it becomes a nearly closed figure. Are satisfied, the computer 1 recognizes that a circle or a polygon has been drawn, and takes in the data.

【0010】次に、円と多角形を判別する処理について
説明する。図5は円を判別する処理を説明する図であ
る。図4で示した方法で円または多角形と認識された図
形において、図5(a)に示すように、図形の重心を求
めて重心から各サンプリング点に向かうベクトルを求め
る。次いで、図5(b)に示すように、各ベクトルの大
きさを比較してその変化特性を抽出する。円である場
合、 各ベクトルの大きさの変動が所定のしきい値より小さ
い。このの条件が満たされたとき、コンピュータ1は
円が描画されたと認識し、そのデータを取り込む。図6
は三角形を判別する処理を説明する図である。図4で示
した方法で円または多角形と認識された図形において、
図6(a)に示すように、図形の重心を求めて重心から
各サンプリング点に向かうベクトルを求める。次いで、
図6(b)に示すように、各ベクトルの大きさを比較し
てその変化特性を抽出する。三角形である場合、 各ベクトルの大きさの変動が3つある(振幅が大き
い、または小さい特長点=3)。このの条件が満たさ
れたとき、コンピュータ1は三角形が描画されたと認識
し、そのデータを取り込む。図7は四角形を判別する処
理を説明する図である。図4で示した方法で円または多
角形と認識された図形において、図7(a)に示すよう
に、図形の重心を求めて重心から各サンプリング点に向
かうベクトルを求める。次いで、図7(b)に示すよう
に、各ベクトルの大きさを比較してその変化特性を抽出
する。四角形である場合、 各ベクトルの大きさの変動が4つある(振幅が大き
い、または小さい特長点=4)。このの条件が満たさ
れたとき、コンピュータ1は四角形が描画されたと認識
し、そのデータを取り込む。五角形以上の多角形も全く
同様にして判別する。
Next, a process for determining a circle and a polygon will be described. FIG. 5 is a diagram illustrating a process of determining a circle. In a figure recognized as a circle or a polygon by the method shown in FIG. 4, as shown in FIG. 5A, a center of gravity of the figure is obtained, and a vector from the center to each sampling point is obtained. Next, as shown in FIG. 5B, the magnitude of each vector is compared and its change characteristic is extracted. If it is a circle, the magnitude variation of each vector is less than a predetermined threshold. When this condition is satisfied, the computer 1 recognizes that the circle has been drawn and takes in the data. FIG.
FIG. 8 is a diagram for explaining a process of determining a triangle. In the figure recognized as a circle or a polygon by the method shown in FIG.
As shown in FIG. 6A, the center of gravity of the figure is obtained, and a vector from the center of gravity to each sampling point is obtained. Then
As shown in FIG. 6B, the magnitude of each vector is compared and its change characteristic is extracted. If it is a triangle, there are three variations in the magnitude of each vector (feature points with large or small amplitude = 3). When this condition is satisfied, the computer 1 recognizes that the triangle has been drawn, and takes in the data. FIG. 7 is a diagram illustrating a process of determining a square. In a figure recognized as a circle or a polygon by the method shown in FIG. 4, as shown in FIG. 7A, the center of gravity of the figure is obtained, and a vector from the center of gravity to each sampling point is obtained. Next, as shown in FIG. 7 (b), the magnitude of each vector is compared and its change characteristic is extracted. If it is a rectangle, there are four variations in the magnitude of each vector (feature points with large or small amplitude = 4). When this condition is satisfied, the computer 1 recognizes that a quadrangle has been drawn and takes in the data. Pentagons or more polygons are determined in exactly the same way.

【0011】次に、描画処理における範囲指定について
図8により説明する。図8(a)に示すように、2つの
丸、3本の線、三角形が描かれている場合、例えば3本
の線を全て範囲指定する場合に、従来の方法では矩形領
域または3本の線を順番に指定する必要がある。これに
対して本発明では、図8(b)に示すように、3本の線
の始点と終点を含むように自由曲線で範囲指定する。こ
の自由曲線は、図6、図7で説明したような判別処理に
より、図8(c)に示すような多角形として認識され、
この多角形の頂点座標の内側に含まれる図形はすべて選
択されたものと認識される。したがって、3本の線に対
して一度に削除、複写、移動等の処理ができる。なお、
円についてはその中心点を含むように、多角形について
はその全ての頂点を含むように自由曲線で範囲指定す
る。
Next, the range designation in the drawing process will be described with reference to FIG. As shown in FIG. 8A, when two circles, three lines, and a triangle are drawn, for example, when all three lines are designated as a range, a rectangular area or three lines Lines must be specified in order. On the other hand, in the present invention, as shown in FIG. 8B, the range is specified by a free curve so as to include the start point and the end point of the three lines. This free curve is recognized as a polygon as shown in FIG. 8C by the discriminating process described with reference to FIGS.
All figures included inside the vertex coordinates of this polygon are recognized as being selected. Therefore, processing such as deletion, copying, and movement can be performed on three lines at a time. In addition,
A range is specified by a free curve so as to include the center point of a circle and to include all vertices of a polygon.

【0012】図9は操作コマンドの指定方法を説明する
図である。本発明では画面やタブレットの周辺に編集メ
ニュー等のアイコンを表示せず、図9(a)に示すよう
に、描画ウインドウ上にコマンドエリア10を設ける。
このコマンドエリア10に、図9(b)に示すような操
作コマンドを意味する記号を描くと、コンピュータは操
作コマンドを解釈してその処理を実行する。例えば、図
9(a)に描画されている図形を自由曲線で囲んで範囲
指定し、コマンドエリア10に「×」を書くと、範囲指
定された図形がカットされ、「>」を書くと範囲指定さ
れた図形がコピーされ、「○」を書くと、範囲指定され
た図形をペーストする。なお、コマンドエリアにコマン
ドを書く方法に代えて、スクロールメニュー方式でコマ
ンドエリアに呼び出してコマンド指定するようにしても
よい。
FIG. 9 is a diagram for explaining a method of specifying an operation command. In the present invention, an icon such as an edit menu is not displayed around the screen or the tablet, and a command area 10 is provided on the drawing window as shown in FIG.
When a symbol indicating an operation command as shown in FIG. 9B is drawn in the command area 10, the computer interprets the operation command and executes the processing. For example, when the figure drawn in FIG. 9A is designated by enclosing it with a free curve and a range is designated, and "x" is written in the command area 10, the designated figure is cut, and when ">" is written, the range is designated. When the specified figure is copied and "O" is written, the figure whose range is specified is pasted. Instead of writing a command in the command area, a command may be designated by calling the command area in the scroll area.

【0013】次に本発明による図形判別処理及び登録処
理フローについて図10〜図12により説明する。図1
0は直線/円弧か、円/多角形かの判別処理フローを説
明する図である。CRT画面やタブレット上で図形座標
が入力されると(ステップS1)、その中心座標を計算
する(ステップS2)。次いで、入力座標の極移動特性
を調べ(ステップS3)、極移動特性から入力図形は円
/多角形か否か判別する。円/多角形の場合は図11、
直線/円弧の場合は図12の処理フローとなる。
Next, the flow of the graphic discrimination processing and registration processing according to the present invention will be described with reference to FIGS. FIG.
0 is a diagram for explaining the flow of processing for determining whether a line / arc or a circle / polygon. When graphic coordinates are input on the CRT screen or tablet (step S1), the center coordinates are calculated (step S2). Next, the polar movement characteristics of the input coordinates are checked (step S3), and it is determined from the polar movement characteristics whether the input graphic is a circle / polygon. In the case of a circle / polygon, FIG.
In the case of a straight line / arc, the processing flow is as shown in FIG.

【0014】図11は円/多角形の場合の図形判別及び
登録処理フローの説明図である。図形の重心位置を算出
し(ステップS11)、重心位置と図形の各座標のベク
トルを算出する(ステップS12)。次いで、特長点を
識別し(ステップS13)、特長点から円、三角形、四
角形、五角形以上の多角形を判別する(ステップS14
〜S17)。図形が判別されると、その図形についての
関数を呼び出して描画処理する(ステップS18)。次
いで、コマンドエリアに入力された操作コマンドをみて
操作を確認し(ステップS19)、やり直しか否か判断
する(ステップS20)。やり直しでなければ特長点を
登録し(ステップS21)、やり直しの場合は入力図形
をクリアする(ステップS22)。このように特長点を
新たに登録してデータ蓄積していくことにより、書き方
が習得されると同時に、図形認識における誤りを無くす
ことができる。
FIG. 11 is an explanatory diagram of a figure discrimination and registration processing flow in the case of a circle / polygon. The position of the center of gravity of the figure is calculated (step S11), and the vector of the position of the center of gravity and each coordinate of the figure are calculated (step S12). Next, feature points are identified (step S13), and a polygon such as a circle, a triangle, a quadrangle, a pentagon or more is determined from the feature points (step S14).
To S17). When a figure is determined, a function for the figure is called to perform drawing processing (step S18). Next, the operation is confirmed by looking at the operation command input to the command area (step S19), and it is determined whether or not the operation is to be started again (step S20). If it is not redo, the feature point is registered (step S21), and if it is redo, the input figure is cleared (step S22). By newly registering the feature points and accumulating the data in this way, it is possible to learn how to write and to eliminate errors in figure recognition.

【0015】図12は直線/円弧の場合の図形判別処理
フローを説明する図である。図形の重心位置を算出し
(ステップS31)、重心位置に対する入力座標の極を
確認する(ステップS32)。次いで、極のy座標の分
布を判別し(ステップS33)、判別結果より直線、円
弧を判定する(ステップS34、S35)。直線か円弧
かが判別されると、その図形についての関数を呼び出し
て描画処理する(ステップS36)。次いで、コマンド
エリアに入力された操作コマンドをみて操作を確認し
(ステップS37)、やり直しか否か判断する(ステッ
プS38)。やり直しでなければy座標の分布を登録し
(ステップS39)、やり直しの場合は入力図形をクリ
アする(ステップS40)。このようにy座標の分布を
新たに登録してデータ蓄積していくことにより、書き方
が習得されると同時に、図形認識における誤りを無くす
ことができる。
FIG. 12 is a diagram for explaining the flow of a figure discriminating process in the case of a straight line / arc. The center of gravity of the figure is calculated (step S31), and the pole of the input coordinates with respect to the center of gravity is confirmed (step S32). Next, the distribution of the y coordinate of the pole is determined (step S33), and a straight line or an arc is determined based on the determination result (steps S34 and S35). When it is determined whether the drawing is a straight line or a circular arc, a function for the figure is called to perform drawing processing (step S36). Next, the operation is confirmed by looking at the operation command input to the command area (step S37), and it is determined whether or not the operation is redone (step S38). If it is not redo, the distribution of the y coordinate is registered (step S39), and if it is redo, the input figure is cleared (step S40). By newly registering the y-coordinate distribution and accumulating data, it is possible to learn how to write and to eliminate errors in figure recognition.

【0016】[0016]

【発明の効果】以上のように本発明によれば、以下のよ
うな効果が達成できる。 図形描画時の操作として描画する図形の選択が不要に
なる。 処理コマンドを習得するのではなく、図形の書き方を
習得するので、操作を速く覚えることができる。 図形の選択等の範囲指定を柔軟に行うことができる。 図形認識の学習蓄積が容易である。
As described above, according to the present invention, the following effects can be achieved. There is no need to select a figure to be drawn as an operation for drawing a figure. Since the user does not learn the processing command but learns how to draw a figure, the operation can be learned quickly. Range designation such as selection of a figure can be flexibly performed. Easy learning and accumulation of figure recognition.

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

【図1】 本発明の図形描画装置の構成を示す図であ
る。
FIG. 1 is a diagram showing a configuration of a graphic drawing apparatus of the present invention.

【図2】 直線の判別処理を説明する図である。FIG. 2 is a diagram illustrating a straight line determination process.

【図3】 円弧の判別処理を説明する図である。FIG. 3 is a diagram illustrating a process of determining a circular arc.

【図4】 円や多角形の判別処理を説明する図である。FIG. 4 is a diagram illustrating a discrimination process between a circle and a polygon.

【図5】 円を判別する処理を説明する図である。FIG. 5 is a diagram illustrating a process of determining a circle.

【図6】 三角形を判別する処理を説明する図である。FIG. 6 is a diagram illustrating a process of determining a triangle.

【図7】 四角形を判別する処理を説明する図である。FIG. 7 is a diagram illustrating a process of determining a quadrangle.

【図8】 描画処理における範囲指定について説明する
図である。
FIG. 8 is a diagram for describing range designation in drawing processing.

【図9】 操作コマンドの指定方法を説明する図であ
る。
FIG. 9 is a diagram illustrating a method of specifying an operation command.

【図10】 直線/円弧か円/多角形かの判別処理フロ
ーの説明図である。
FIG. 10 is an explanatory diagram of a processing flow for determining whether a line is a straight line / arc or a circle / polygon.

【図11】 円/多角形の場合の図形判別及び登録処理
フローを説明する図である。
FIG. 11 is a diagram for explaining a figure discrimination and registration processing flow in the case of a circle / polygon.

【図12】 直線/円弧の場合の図形判別処理フローを
説明する図である。
FIG. 12 is a diagram for explaining a graphic discrimination processing flow in the case of a straight line / arc.

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

1…コンピュータ、2…CRT、3…マウス、4…キー
ボード、5…プリンタ、10…コマンドエリア。
1 ... computer, 2 ... CRT, 3 ... mouse, 4 ... keyboard, 5 ... printer, 10 ... command area.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 描画された図形を点列データに変換して
入力する図形座標入力手段と、 入力座標点列の中心座標を算出する中心座標算出手段
と、 中心座標に対する入力座標点(以下、極)の移動特性を
抽出する極移動特性抽出手段と、 抽出された極移動特性に基づいて入力図形を判別する判
別手段と、 を備えた図形描画装置。
1. A figure coordinate input means for converting a drawn figure into point sequence data and inputting the same, a center coordinate calculating means for calculating center coordinates of an input coordinate point sequence, and an input coordinate point (hereinafter, referred to as a center coordinate). A figure drawing apparatus comprising: a pole moving characteristic extracting unit that extracts a moving characteristic of a pole; and a determining unit that determines an input figure based on the extracted polar moving characteristic.
【請求項2】 請求項1記載の装置において、前記判別
手段は、極移動方向が一方向に直線的であることを条件
に、前記移動方向に直交する方向の座標の分布幅から入
力図形は直線または円弧であると認識することを特徴と
する図形描画装置。
2. The apparatus according to claim 1, wherein the discriminating means determines that the input graphic is based on a distribution width of coordinates in a direction orthogonal to the moving direction, provided that a polar moving direction is linear in one direction. A graphic drawing apparatus characterized by recognizing a straight line or a circular arc.
【請求項3】 請求項2記載の装置において、移動方向
に直交する方向の座標の分布幅が小さいとき直線、大き
いとき円弧と識別することを特徴とする図形描画装置。
3. The apparatus according to claim 2, wherein a distribution width of coordinates in a direction perpendicular to the moving direction is identified as a straight line, and a large distribution width is identified as an arc.
【請求項4】 請求項1記載の装置において、前記判別
手段は、極が回転移動し、図形が閉じていることを条件
に、入力図形は円または多角形であると認識することを
特徴とする図形描画装置。
4. The apparatus according to claim 1, wherein said discriminating means recognizes that the input graphic is a circle or a polygon on the condition that the pole is rotated and the graphic is closed. Figure drawing device.
【請求項5】 請求項4記載の装置において、前記判別
手段は、 入力図形の重心位置を算出する手段と、 重心位置と各座標のベクトルを算出するベクトル算出手
段と、 算出したベクトルの大きさの分布から特長点を抽出する
特長点抽出手段と、 抽出された特長点から円、三角形、四角形、または5角
形以上の多角形かを識別する図形識別手段と、 を備えたことを特徴とする図形描画装置。
5. The apparatus according to claim 4, wherein said discriminating means calculates a barycentric position of the input figure, a vector calculating means calculates a barycentric position and a vector of each coordinate, and a magnitude of the calculated vector. Characteristic point extracting means for extracting characteristic points from the distribution of, and figure identifying means for identifying whether the extracted characteristic points are a circle, a triangle, a quadrangle, or a pentagon or more polygon. Graphic drawing device.
【請求項6】 請求項3記載の装置において、さらに、 識別された図形を描画処理する描画処理手段と、 描画された図形に対する編集操作を確認する操作確認手
段と、 確認された操作がやり直しでないことを条件に、座標の
分布を登録する登録手段と、 を備えたことを特徴とする図形描画装置。
6. The apparatus according to claim 3, further comprising: a drawing processing unit for performing a drawing process on the identified figure; an operation confirming unit for confirming an editing operation on the drawn figure; and the confirmed operation is not performed again. Registering means for registering a distribution of coordinates on the condition that:
【請求項7】 請求項5記載の装置において、さらに、 識別された図形を描画処理する描画処理手段と、 描画された図形に対する編集操作を確認する操作確認手
段と、 確認された操作がやり直しでないことを条件に、ベクト
ルの特長点を登録する登録手段と、 を備えたことを特徴とする図形描画装置。
7. The apparatus according to claim 5, further comprising: a drawing processing unit for performing a drawing process on the identified figure; an operation confirming unit for confirming an editing operation on the drawn figure; Registering means for registering a feature point of a vector on the condition that: a graphic drawing device is provided.
【請求項8】 請求項4または5記載の装置において、
さらに、 前記判別手段により範囲指定の自由曲線が多角形として
認識されたとき、該多角形の内側に含まれる図形が選択
されたと認識する範囲指定手段と、 を備えたことを特徴とする図形描画装置。
8. The device according to claim 4, wherein
Further, when the discriminating means recognizes a range-designated free curve as a polygon, a range designating means for recognizing that a figure contained inside the polygon has been selected. apparatus.
【請求項9】 請求項1乃至8何れか記載の装置におい
て、図形描画ウインドウ内に操作コマンドを指定するエ
リアが設けられていることを特徴とする図形描画装置。
9. The graphic drawing apparatus according to claim 1, wherein an area for designating an operation command is provided in the graphic drawing window.
JP2000292443A 2000-09-26 2000-09-26 Graphic drawing device Pending JP2002099924A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2000292443A JP2002099924A (en) 2000-09-26 2000-09-26 Graphic drawing device
PCT/JP2002/001716 WO2003073380A1 (en) 2000-09-26 2002-02-26 Graphic drawing device and drawing method therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2000292443A JP2002099924A (en) 2000-09-26 2000-09-26 Graphic drawing device
PCT/JP2002/001716 WO2003073380A1 (en) 2000-09-26 2002-02-26 Graphic drawing device and drawing method therefor

Publications (1)

Publication Number Publication Date
JP2002099924A true JP2002099924A (en) 2002-04-05

Family

ID=29551491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000292443A Pending JP2002099924A (en) 2000-09-26 2000-09-26 Graphic drawing device

Country Status (2)

Country Link
JP (1) JP2002099924A (en)
WO (1) WO2003073380A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014182814A (en) * 2013-03-18 2014-09-29 Sharp Corp Drawing device, drawing method and drawing program
WO2015174341A1 (en) * 2014-05-15 2015-11-19 合同会社Uxイノベーションズ Information processing device, program, and recording medium
CN113763505A (en) * 2021-04-27 2021-12-07 腾讯科技(深圳)有限公司 Graphical generation method, apparatus, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59121564A (en) * 1982-12-28 1984-07-13 Mitsubishi Electric Corp Graphic input device
JPH061482B2 (en) * 1987-09-03 1994-01-05 シャープ株式会社 Figure input method
JP3008233B2 (en) * 1991-09-12 2000-02-14 富士写真フイルム株式会社 Subject recognition device
EP0697679A3 (en) * 1994-08-12 1998-07-01 Dassault Systemes of America Computerized drawing method
JPH09237339A (en) * 1995-12-26 1997-09-09 Meidensha Corp Circle/circular arc recognizing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014182814A (en) * 2013-03-18 2014-09-29 Sharp Corp Drawing device, drawing method and drawing program
WO2015174341A1 (en) * 2014-05-15 2015-11-19 合同会社Uxイノベーションズ Information processing device, program, and recording medium
US10127704B2 (en) 2014-05-15 2018-11-13 Ux Innovations Llc Information processing device, program, and recording medium
CN113763505A (en) * 2021-04-27 2021-12-07 腾讯科技(深圳)有限公司 Graphical generation method, apparatus, computer equipment and storage medium

Also Published As

Publication number Publication date
WO2003073380A1 (en) 2003-09-04

Similar Documents

Publication Publication Date Title
US5371845A (en) Technique for providing improved user feedback in an interactive drawing system
JP2589999B2 (en) Graphic input / output device
JPH1186015A (en) Information processing method and apparatus and storage medium thereof
US6384851B1 (en) Apparatus for facilitating observation of the screen upon reproduction
US7432927B2 (en) Extended portfolio chart drawing device, processing method and computer-readable medium recording a program of the same
US7420556B2 (en) Information processing method and information processing apparatus
JP2932193B2 (en) Graphic processing unit
JPH0696174A (en) Bound point type graphic editing device and its processing method
US7502027B1 (en) Electronic drawing viewer
JPH0765204A (en) Shape display device and shape display method
JP2002099924A (en) Graphic drawing device
EP1103912B1 (en) Electronic drawing data translation
JPH07220109A (en) Information processing apparatus and method
JP3454906B2 (en) Navigation display method and apparatus
JPH08255221A (en) Character / graphic input / editing device
JP3388524B2 (en) Image input device
JP2935336B2 (en) Graphic input / output device
JPH07296023A (en) Dimension drawing method in CAD system
JP3371307B2 (en) Image processing apparatus and image processing method
US20020049757A1 (en) Apparatus for processing data of overlapped facilities by means of virtual facility record and method therefor
JPH1125149A (en) Recording medium, drawing creation method, and drawing creation device
CN114528614B (en) Display method, device and storage medium
JPH07105397A (en) CAD system graphic instruction receiving device
JP3918921B2 (en) Pointer moving method, program, and recording medium
JP2977360B2 (en) Ruled line selection method