JPH07200853A - Graphic deforming device - Google Patents

Graphic deforming device

Info

Publication number
JPH07200853A
JPH07200853A JP5334153A JP33415393A JPH07200853A JP H07200853 A JPH07200853 A JP H07200853A JP 5334153 A JP5334153 A JP 5334153A JP 33415393 A JP33415393 A JP 33415393A JP H07200853 A JPH07200853 A JP H07200853A
Authority
JP
Japan
Prior art keywords
fan
deformation
shaped frame
point
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5334153A
Other languages
Japanese (ja)
Other versions
JP3451292B2 (en
Inventor
Tetsuya Hayashi
林  哲也
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP33415393A priority Critical patent/JP3451292B2/en
Publication of JPH07200853A publication Critical patent/JPH07200853A/en
Application granted granted Critical
Publication of JP3451292B2 publication Critical patent/JP3451292B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To provide a graphic deforming device which can deform an optional line drawing with only a small quantity of information on the deformation and also can easily produce this information in an image processing mode. CONSTITUTION:A user deforms a fan shape which encloses a straight line 1 including points P1 and P2 showing a line drawing graphic in oder to deform the line 1, into a straight line 1'. Then, the positions of points P1' end P2' which form a deformed line drawing graphic are calculated so that theta:alpha=theta':alpha' and theta:beta+theta':beta' are satisfiend and also OP1= OP1' and OP''=OP2' are satisfied in the undeformed and deformed states as shown in (a) and (b), respectively.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像処理において、任
意の線画を変形させることのできる図形変形装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic transformation device capable of transforming an arbitrary line drawing in image processing.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】コンピ
ュータ画像処理において、アニメーション処理を行うこ
となどを目的として、点描画、直線、曲線関数などによ
って描かれた線画を変形させる処理が多く行われる。
2. Description of the Related Art In computer image processing, a lot of processing is performed for transforming a line drawing drawn by a point drawing, a straight line, a curve function or the like for the purpose of performing animation processing.

【0003】しかし、従来は、線画を変形させるため
に、線画を構成する各点の変形情報、各直線の始点及び
終点の変形情報、又は曲線関数の各パラメータの変形情
報などが必要であり、線画といえども、それを変形させ
るためには大量のデータが必要であるという問題点を有
していた。
However, conventionally, in order to deform a line drawing, the deformation information of each point forming the line drawing, the deformation information of the start point and the end point of each straight line, or the deformation information of each parameter of the curve function is required. Even a line drawing has a problem that a large amount of data is required to deform it.

【0004】本発明の課題は、任意の線画を少ない変形
情報のみで変形可能とし、かつ変形情報の作成を容易に
することにある。
An object of the present invention is to make it possible to transform an arbitrary line drawing with a small amount of transformation information and to facilitate the creation of the transformation information.

【0005】[0005]

【課題を解決するための手段】本発明はまず、線画図形
を表示する図形表示手段(表示装置104)を有する。
The present invention firstly has graphic display means (display device 104) for displaying a line drawing graphic.

【0006】次に、図形表示手段における表示画面上
で、線画図形を囲む任意の扇形のフレームを決定するフ
レーム決定手段(CPU101によって実行される図2
のステップ202)を有する。
Next, on the display screen of the graphic display means, a frame determining means (FIG. 2 executed by the CPU 101 for determining an arbitrary fan-shaped frame surrounding the line drawing figure).
202).

【0007】次に、図形表示手段における表示画面上
で、フレーム決定手段で決定された扇形のフレームを変
形させるフレーム変形手段(CPU101によって実行
される図2のステップ203)を有する。
Next, there is a frame deforming unit (step 203 in FIG. 2 executed by the CPU 101) for deforming the fan-shaped frame determined by the frame determining unit on the display screen of the graphic display unit.

【0008】そして、フレーム決定手段で決定された変
形前の扇形のフレームとフレーム変形手段で変形された
後の扇形のフレームとの位置関係及び角度関係に基づ
き、線画図形を変形させる図形変形演算手段(CPU1
01により実行される図2のステップ204)を有す
る。ここで、上述の図形変形演算手段は、例えば、扇形
のフレームの半径が固定された状態で、変形前の扇形の
フレームにおける扇形の角度と、変形前の扇形のフレー
ムの内部の線画図形を構成する点と変形前の扇形の中心
点を結ぶ辺と変形前の扇形の2つの半径を構成する辺の
角度との比が、変形後の扇形のフレームにおける扇形の
角度と、変形後の扇形のフレームの内部の点であって変
形前の扇形のフレームの内部の線画図形を構成する点に
対応する点と変形後の扇形の中心点を結ぶ辺と変形後の
扇形の2つの半径を構成する辺の角度との比に等しくな
り、かつ変形前の扇形のフレームの内部の線画図形を構
成する点と変形前の扇形の中心点の距離が、変形後の扇
形のフレームの内部の点であって変形前の扇形のフレー
ムの内部の線画図形を構成する点に対応する点と変形後
の扇形の中心点の距離に等しくなるように、変形後の扇
形のフレームの内部の点であって変形前の扇形のフレー
ムの内部の線画図形を構成する点に対応する点を算出す
る。或いは、上述した図形変形演算手段は、例えば、図
形表示手段における表示画面上で、変形前の扇形のフレ
ームにおける扇形の角度と、変形前の扇形のフレームの
内部の線画図形を構成する点と変形前の扇形の中心点を
結ぶ辺と変形前の扇形の2つの半径を構成する辺の角度
との比が、変形後の扇形のフレームにおける扇形の角度
と、変形後の扇形のフレームの内部の点であって変形前
の扇形のフレームの内部の線画図形を構成する点に対応
する点と変形後の扇形の中心点を結ぶ辺と変形後の扇形
の2つの半径を構成する辺の角度との比に等しくなり、
かつ変形前の扇形のフレームの半径と、変形前の扇形の
フレームの内部の線画図形を構成する点と変形前の扇形
の中心点の距離との比が、変形後の扇形のフレームの半
径と、変形後の扇形のフレームの内部の点であって変形
前の扇形のフレームの内部の線画図形を構成する点に対
応する点と変形前の扇形の中心点の距離との比に等しく
なるように、変形後の扇形のフレームの内部の点であっ
て変形前の扇形のフレームの内部の線画図形を構成する
点に対応する点を算出する。
Then, the graphic transformation calculation means for transforming the line drawing graphic based on the positional relationship and the angular relationship between the fan-shaped frame before the deformation determined by the frame determining means and the fan-shaped frame after the deformation by the frame deforming means. (CPU1
2 is executed by step 01). Here, the above-mentioned figure transformation calculation means, for example, in a state where the radius of the fan-shaped frame is fixed, configures the fan-shaped angle in the fan-shaped frame before transformation and the line drawing figure inside the fan-shaped frame before transformation. The ratio of the angle connecting the point to the center point of the sector before deformation and the angle of the sides forming the two radii of the sector before deformation is the angle of the sector in the frame of the sector after deformation and the angle of the sector after deformation. The two radii of the post-deformation fan and the side connecting the point inside the frame corresponding to the point forming the line drawing figure inside the fan-shaped frame before the deformation and the center point of the post-deformation fan The distance between the point that is equal to the side angle and that constitutes the line drawing figure inside the fan-shaped frame before deformation and the center point of the fan-shaped frame before deformation is the point inside the fan-shaped frame after deformation. The line drawing figure inside the fan-shaped frame before transformation Configure the line drawing shape inside the fan frame before deformation so that it is equal to the distance between the corresponding point and the center point of the fan frame after deformation. Calculate the point corresponding to the point. Alternatively, the above-described graphic deformation calculation means, for example, on the display screen of the graphic display means, the fan-shaped angle in the fan-shaped frame before the deformation, and the point and the deformation that constitute the line drawing figure inside the fan-shaped frame before the deformation. The ratio of the angle connecting the center point of the previous sector and the angle of the sides forming the two radii of the sector before deformation is the angle of the sector in the sector after deformation and the angle of the inside of the frame after transformation. A point that corresponds to a point that forms a line drawing figure inside a fan-shaped frame before deformation and an angle that connects a point that connects the center point of the fan after deformation and two sides that form two radii of the fan after deformation Equal to the ratio of
In addition, the ratio of the radius of the fan-shaped frame before deformation and the distance between the points forming the line drawing figure inside the fan-shaped frame before deformation and the center point of the fan-shaped frame before deformation is the radius of the fan-shaped frame after deformation. , So that the ratio is equal to the distance between the point inside the fan-shaped frame after deformation and the point corresponding to the point forming the line drawing figure inside the fan-shaped frame before deformation and the center point of the fan-shaped frame before deformation. Then, the points inside the fan-shaped frame after the deformation and corresponding to the points forming the line drawing figure inside the fan-shaped frame before the transformation are calculated.

【0009】[0009]

【作用】フレーム決定手段で決定された変形前の扇形の
フレームとフレーム変形手段で変形された後の扇形のフ
レームとの位置関係及び角度関係のみとして、線画図形
の変形情報を作成できるため、図形変形処理の処理量が
少なくて済む。
The deformation information of the line drawing figure can be created only by the positional relationship and the angular relationship between the fan-shaped frame before the deformation determined by the frame determining means and the fan-shaped frame after the deformation by the frame deforming means. The amount of transformation processing is small.

【0010】また、そのような位置関係及び角度が保存
されるように線画図形を変形するだけで、線画図形の変
形を簡単に実現できる。
Further, the deformation of the line drawing figure can be easily realized only by deforming the line drawing figure so that such positional relationship and angle are preserved.

【0011】[0011]

【実施例】以下、図面を参照しながら本発明の2つの実
施例につき詳細に説明する。第1の実施例 図1は、図形変形装置の第1の実施例の構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Two embodiments of the present invention will be described in detail below with reference to the drawings. First Embodiment FIG. 1 is a configuration diagram of a first embodiment of a graphic transformation device.

【0012】CPU101は、ROM102に記憶され
た制御プログラムに従ってRAM103をワークメモリ
として使用しながら動作し、図形変形のための全ての動
作を制御する。
The CPU 101 operates while using the RAM 103 as a work memory according to a control program stored in the ROM 102, and controls all operations for deforming the figure.

【0013】表示装置104は、変形前の図形と変形後
の図形を表示するための例えばCRTディスプレイであ
る。この場合、図形を扇形のフレーム(後述する)で囲
むための、マウスなどによる表示位置のポイント機能も
含む。
The display device 104 is, for example, a CRT display for displaying a figure before transformation and a figure after transformation. In this case, a point function of a display position with a mouse or the like for enclosing a figure in a fan-shaped frame (described later) is also included.

【0014】図2は、第1の実施例における図形変形処
理の概略を示す動作フローチャートである。まず、ステ
ップ201では、ユーザが、表示装置104上で、変形
を行いたい元図形を選択する。具体的には、ユーザは、
表示装置104上に表示されているマウスカーソルを選
択したい元図形(線画)上に移動しマウスボタンをクリ
ックすることによって、その元図形を選択する。又は、
ユーザは、複数の元図形(線画)を含む範囲を、マウス
を使ってボックスで囲むようにしてもよい。これに反応
して、CPU101は、RAM103上に展開されてい
る図形データ上において、選択された元図形の座標値、
具体的には選択された線画を構成する各座標値を計算す
る。これらの処理の結果、例えば図3(a) に示されるよ
うに、点P1とP2を両端とする直線図形lが選択さ
れ、点P1とP2の座標値が演算されて、RAM103
に保持される。
FIG. 2 is an operation flow chart showing an outline of the graphic transformation process in the first embodiment. First, in step 201, the user selects an original figure to be transformed on the display device 104. Specifically, the user
The original cursor is selected by moving the mouse cursor displayed on the display device 104 to the original figure (line drawing) to be selected and clicking the mouse button. Or
The user may enclose a range including a plurality of original figures (line drawings) with a box using a mouse. In response to this, the CPU 101 causes the coordinate values of the selected original graphic on the graphic data developed on the RAM 103,
Specifically, each coordinate value forming the selected line drawing is calculated. As a result of these processes, for example, as shown in FIG. 3 (a), the straight line figure 1 having the points P1 and P2 at both ends is selected, the coordinate values of the points P1 and P2 are calculated, and the RAM 103
Held in.

【0015】次に、ステップ202では、ユーザが、表
示装置104上で、ステップ201で選択した元図形を
囲む扇形のフレームを決定する。具体的には、ユーザ
は、表示装置104上に表示されているマウスカーソル
によって、例えば予め表示装置104上に表示されてい
る図3(a) に示される扇形の中心点Oと他の2点A、B
のそれぞれをクリックしてドラッグすることにより、ス
テップ201で選択された元図形を完全に含む扇形のフ
レームを決定する。これに反応して、CPU101は、
RAM103上に展開されている図形データ上におい
て、決定されたフレームを構成する扇形の中心点Oと他
の2点A、Bの各座標を計算し、RAM103に保持す
る。
Next, in step 202, the user determines, on the display device 104, a fan-shaped frame surrounding the original graphic selected in step 201. Specifically, the user uses the mouse cursor displayed on the display device 104 to display, for example, the fan-shaped central point O shown in FIG. A, B
By clicking and dragging each of the two, the fan-shaped frame that completely includes the original figure selected in step 201 is determined. In response to this, the CPU 101
On the graphic data developed on the RAM 103, the coordinates of the central point O of the sector and the other two points A and B that form the determined frame are calculated and stored in the RAM 103.

【0016】次に、ステップ203においては、ユーザ
が、表示装置104上で、ステップ202において決定
したフレームを変形させる。具体的には、ユーザは、ス
テップ202で決定した扇形のフレームの中心点以外の
2点である例えば図3(a) の各点A、B上でマウスボタ
ンをクリックし、そのまま変形先の位置までドラッグし
た後、マウスボタンを離す。この結果、これに反応し
て、CPU101は、RAM103上に展開されている
図形データ上で、変形後の扇形のフレームの中心点以外
の新たな2点の座標値を計算し、RAM103に保持す
ると共に、表示装置104に表示する。この場合、扇形
のフレームの中心点Oの座標は変化せず、また、扇形の
半径も変化しないように制御される。
Next, in step 203, the user transforms the frame determined in step 202 on the display device 104. Specifically, the user clicks the mouse button on two points other than the center point of the fan-shaped frame determined in step 202, for example, each point A and B in FIG. Release the mouse button after dragging to. As a result, in response to this, the CPU 101 calculates the coordinate values of two new points other than the center point of the transformed fan-shaped frame on the graphic data developed on the RAM 103, and stores them in the RAM 103. At the same time, it is displayed on the display device 104. In this case, the coordinates of the center point O of the fan-shaped frame do not change, and the radius of the fan-shaped frame does not change.

【0017】ステップ204では、CPU101は、ス
テップ202でRAM103に保持した、例えば図3
(a) の変形前の扇形のフレームと例えば図3(a) の変形
後の扇形のフレームとの位置関係及び角度関係に基づ
き、ステップ201でRAM103に保持した元図形を
構成する例えば図3(a) の点P1、P2の座標値を変形
することにより、例えば図3(b) に示される点P1′、
P2′を計算する。
In step 204, the CPU 101 holds the RAM 103 in step 202, for example, as shown in FIG.
Based on the positional relationship and angular relationship between the untransformed fan-shaped frame of FIG. 3A and the transformed fan-shaped frame of FIG. 3A, the original figure stored in the RAM 103 in step 201 is configured, for example, as shown in FIG. By transforming the coordinate values of the points P1 and P2 in a), for example, the point P1 ′ shown in FIG.
Calculate P2 '.

【0018】ステップ205においては、CPU101
は、ステップ204で計算された例えば図3(b) の点P
1′、P2′によって構成される変形後の図形l′を、
表示装置104に表示させる。
In step 205, the CPU 101
Is the point P calculated in step 204, for example, in FIG.
1 ′ and P2 ′ are the transformed figures l ′,
It is displayed on the display device 104.

【0019】次に、ステップ204の図形変形演算の具
体的な処理について説明する。例えば図3(a) におい
て、扇形の角度、及び、元図形である直線lを構成する
扇形の内部の点P1、P2と中心点Oを結ぶ辺と扇形の
2つの半径を構成する辺との角度を、それぞれ次式で示
されるように定義する。
Next, the specific processing of the graphic transformation operation in step 204 will be described. For example, in FIG. 3 (a), the angle of the sector and the side connecting the center point O with the points P1 and P2 inside the sector forming the straight line 1 which is the original figure and the side forming the two radii of the sector. Each angle is defined as shown by the following equation.

【0020】[0020]

【数1】 [Equation 1]

【0021】次に、元の扇形の中心点O以外の2点A、
Bが新たな2点A′、B′に移動された場合、数1式で
示される角度θ、α、βが、それぞれ角度θ′、α′、
β′に変化したとする。この場合の制限条件は、変形前
と変形後で、扇形の角度と、線画図形を構成する扇形の
内部の点と中心点を結ぶ辺と変形前の扇形の2つの半径
を構成する辺の角度との比が等しいことである。即ち、
次式が成立する。
Next, two points A other than the center point O of the original fan shape,
When B is moved to two new points A ′ and B ′, the angles θ, α, and β shown in Equation 1 are changed to angles θ ′, α ′, and
Suppose it has changed to β '. The limiting conditions in this case are the angle of the fan shape before and after the deformation, the angle of the side connecting the points inside the fan forming the line drawing figure and the center point, and the side forming the two radii of the fan shape before the deformation. And the ratio is equal. That is,
The following equation holds.

【0022】[0022]

【数2】 [Equation 2]

【0023】ここで、角度θ、α、βは、変形前の扇形
に関する角度であるから既知であり、また、角度θ′
も、変形後の扇形の決定された2点A′、B′と中心点
Oとのなす角度であるから既知である。従って、数2式
により、角度α′及びβ′が計算される。
Here, the angles θ, α, and β are known because they are angles with respect to the fan shape before deformation, and the angle θ ′ is known.
Is also known because it is the angle formed by the center point O and the two determined points A ′ and B ′ of the deformed sector. Therefore, the angles α ′ and β ′ are calculated by the equation (2).

【0024】ここで更に、変形前と変形後とで、扇形の
中心点と線画図形を構成する各点との半径は変化しない
という制限条件が付加される。即ち、次式が成立する。
Here, a restriction condition is added that the radius between the center point of the fan shape and each point forming the line drawing figure does not change before and after the deformation. That is, the following equation is established.

【0025】[0025]

【数3】 [Equation 3]

【0026】従って、辺OA′及び辺OB′からそれぞ
れ角度α′及びβ′の位置にある辺上の点であって、中
心点Oから数3式で示される距離にある点として、例え
ば図3(b) に示される変形後の点P1′、P2′が計算
される。
Therefore, the points on the sides at the angles α'and β'from the sides OA 'and OB', respectively, which are at the distance from the center point O by the equation (3), are shown in FIG. The deformed points P1 'and P2' shown in 3 (b) are calculated.

【0027】以上のようにして、図形変形演算が実現さ
れる。第2の実施例 次に、図形変形装置の第2の実施例につき説明する。
As described above, the graphic transformation operation is realized. Second Embodiment Next, a second embodiment of the graphic transformation device will be described.

【0028】まず、第2の実施例の構成は、第1の実施
例の場合と同様に、図1により示される。また、第2の
実施例における図形変形処理の概略も、第1の実施例の
場合と同様に、図2により示される。
First, the structure of the second embodiment is shown in FIG. 1 as in the case of the first embodiment. Further, the outline of the graphic transformation processing in the second embodiment is also shown in FIG. 2 as in the case of the first embodiment.

【0029】次に、第2の実施例の動作が第1の実施例
の動作と異なる点は、図2のステップ203のフレーム
変形処理において、第1の実施例においては扇形のフレ
ームの半径は変化しないが、第2の実施例においては扇
形のフレームの半径も変化し得る点である。
Next, the operation of the second embodiment differs from the operation of the first embodiment in that in the frame modification process of step 203 of FIG. 2, the radius of the fan-shaped frame is the same as that of the first embodiment. Although not changing, the radius of the fan-shaped frame can be changed in the second embodiment.

【0030】続いて、第2の実施例における図2のステ
ップ204の図形変形演算の具体的な処理について説明
する。例えば図4(a) において、扇形の角度、及び、元
図形である直線lを構成する扇形の内部の点P1、P2
と扇形の2つの半径を構成する辺との角度は、それぞれ
第1の実施例の場合と同様の数1式で示される。
Next, the specific processing of the graphic transformation operation of step 204 of FIG. 2 in the second embodiment will be described. For example, in FIG. 4A, the angle of the sector and the points P1 and P2 inside the sector forming the straight line 1 which is the original figure.
And the angle between the sides forming the two radii of the sector is expressed by the same formula 1 as in the case of the first embodiment.

【0031】次に、変形前の角度θ、α、βと変形後の
角度θ′、α′、β′に対する制限条件も、第1の実施
例の場合と同様に、数2式が成立することである。従っ
て、数2式により、角度α′及びβ′が計算される。
Next, the limiting conditions for the pre-deformation angles θ, α and β and the post-deformation angles θ ′, α ′ and β ′ are also the same as in the case of the first embodiment, the formula 2 is established. That is. Therefore, the angles α ′ and β ′ are calculated by the equation (2).

【0032】ここで更に、変形前と変形後とで、扇形の
半径と扇形の中心点と線画図形を構成する各点を結ぶ距
離との比は変化しないという制限条件が付加される。即
ち、次式が成立する。
Further, a restriction condition is added that the ratio of the radius of the fan shape to the distance between the center point of the fan shape and the points connecting the points forming the line drawing figure does not change before and after the deformation. That is, the following equation is established.

【0033】[0033]

【数4】 [Equation 4]

【0034】但し、r及びr′は、変形前及び変形後の
扇形の半径である。従って、辺OA′及び辺OB′から
それぞれ角度α′及びβ′の位置にある辺上の点であっ
て、中心点Oから数4式で計算される各距離にある点と
して、例えば図4(b) に示される変形後の点P1′、P
2′が計算される。
Here, r and r'are the radii of the sector before and after the deformation. Therefore, the points on the sides at the angles α'and β'from the sides OA 'and OB', respectively, and the points at the respective distances calculated from the central point O by the equation 4 are shown in FIG. Points P1 'and P after deformation shown in (b)
2'is calculated.

【0035】以上のようにして、図形変形演算が実現さ
れる。上述した第1の実施例又は第2の実施例の図形変
形処理により、例えば図5に示されるように、扇形で囲
んだ線画図形を様々に変形させることができる。
The graphic transformation operation is realized as described above. By the graphic transformation processing of the first embodiment or the second embodiment described above, for example, as shown in FIG. 5, a line drawing graphic surrounded by a fan shape can be variously transformed.

【0036】[0036]

【発明の効果】本発明によれば、フレーム決定手段で決
定された変形前の扇形のフレームとフレーム変形手段で
変形された後の扇形のフレームとの位置関係及び角度関
係のみとして、線画図形の変形情報を作成できるため、
図形変形処理の処理量が少なくて済むという効果を生ず
る。
According to the present invention, only the positional relationship and the angular relationship between the fan-shaped frame before the deformation determined by the frame determining means and the fan-shaped frame after the deformation by the frame deforming means are defined as the line drawing figure. Since deformation information can be created,
The effect that the processing amount of the graphic transformation processing may be small is produced.

【0037】また、ユーザは、扇形を構成する3点を移
動させるという簡単な操作で線画図形を変形することが
可能となる。更に、上述のような位置関係及び角度が保
存されるように線画図形を変形するだけで、線画図形の
変形を簡単に実現することが可能となる。
Further, the user can transform the line drawing figure by a simple operation of moving the three points forming the fan shape. Further, it is possible to easily realize the deformation of the line drawing figure only by changing the line drawing figure so that the positional relationship and the angle as described above are stored.

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

【図1】図形変形装置の実施例(第1、第2の実施例)
の構成図である。
FIG. 1 is an embodiment of a graphic transformation device (first and second embodiments).
It is a block diagram of.

【図2】図形変形装置の実施例(第1、第2の実施例)
の処理を示す動作フローチャートである。
FIG. 2 is an embodiment of a graphic transformation device (first and second embodiments).
3 is an operation flowchart showing the processing of FIG.

【図3】図形変形装置の第1の実施例の説明図である。FIG. 3 is an explanatory diagram of a first embodiment of a graphic transformation device.

【図4】図形変形装置の第2の実施例の説明図である。FIG. 4 is an explanatory diagram of a second embodiment of the graphic transformation device.

【図5】図形変形装置の動作例を示した図である。FIG. 5 is a diagram showing an operation example of the graphic transformation device.

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

101 CPU 102 ROM 103 RAM 104 表示装置 101 CPU 102 ROM 103 RAM 104 Display Device

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 // G06F 17/50 7623−5L G06F 15/60 330 Continuation of front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location // G06F 17/50 7623-5L G06F 15/60 330

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 線画図形を表示する図形表示手段と、 前記図形表示手段における表示画面上で、前記線画図形
を囲む任意の扇形のフレームを決定するフレーム決定手
段と、 前記図形表示手段における表示画面上で、前記フレーム
決定手段で決定された前記扇形のフレームを変形させる
フレーム変形手段と、 前記フレーム決定手段で決定された変形前の扇形のフレ
ームと前記フレーム変形手段で変形された後の扇形のフ
レームとの位置関係及び角度関係に基づき、前記線画図
形を変形させる図形変形演算手段と、 を有することを特徴とする図形変形装置。
1. A graphic display unit for displaying a line drawing graphic, a frame determining unit for deciding an arbitrary fan-shaped frame surrounding the line drawing graphic on the display screen of the graphic display unit, and a display screen for the graphic display unit. In the above, frame deforming means for deforming the fan-shaped frame determined by the frame determining means, a fan-shaped frame before deformation determined by the frame determining means, and a fan-shaped frame after being deformed by the frame deforming means. A graphic transformation device that transforms the line drawing graphic based on a positional relationship and an angular relationship with a frame, and a graphic modification apparatus.
【請求項2】 前記フレーム変形手段は、前記フレーム
決定手段で決定された前記扇形のフレームを、その半径
が変化しないように、変形し、 前記図形変形演算手段は、前記変形前の扇形のフレーム
における扇形の角度と、前記変形前の扇形のフレームの
内部の前記線画図形を構成する点と前記変形前の扇形の
中心点を結ぶ辺と前記変形前の扇形の2つの半径を構成
する辺の角度との比が、前記変形後の扇形のフレームに
おける扇形の角度と、前記変形後の扇形のフレームの内
部の点であって前記変形前の扇形のフレームの内部の前
記線画図形を構成する点に対応する点と前記変形後の扇
形の中心点を結ぶ辺と前記変形後の扇形の2つの半径を
構成する辺の角度との比に等しくなり、かつ前記変形前
の扇形のフレームの内部の前記線画図形を構成する点と
前記変形前の扇形の中心点の距離が、前記変形後の扇形
のフレームの内部の点であって前記変形前の扇形のフレ
ームの内部の前記線画図形を構成する点に対応する点と
前記変形後の扇形の中心点の距離に等しくなるように、
前記変形後の扇形のフレームの内部の点であって前記変
形前の扇形のフレームの内部の前記線画図形を構成する
点に対応する点を算出する、 ことを特徴とする請求項1に記載の図形変形装置。
2. The frame deforming means deforms the fan-shaped frame determined by the frame determining means so that a radius of the fan-shaped frame does not change, and the graphic-deformation calculating means causes the fan-shaped frame before the deformation. Of the angle of the sector, the side connecting the point forming the line drawing figure inside the frame of the sector before the deformation and the center point of the sector before the deformation, and the side forming the two radii of the sector before the deformation. The ratio of the angle is the angle of the sector in the sector frame after the deformation and the point inside the sector frame after the deformation that constitutes the line drawing figure inside the sector frame before the deformation. Is equal to the angle between the side connecting the center point of the deformed sector and the side forming the two radii of the transformed sector, and the inside of the sector frame before the transformation is The line drawing figure The distance between the formed point and the center point of the fan shape before the deformation corresponds to a point inside the fan shape frame after the deformation and constituting the line drawing figure inside the fan shape frame before the deformation. To be equal to the distance between the point and the center point of the transformed sector,
The point inside the fan-shaped frame after the deformation, which corresponds to the point forming the line drawing figure inside the fan-shaped frame before the deformation, is calculated. Graphic transformation device.
【請求項3】 前記図形変形演算手段は、前記図形表示
手段における表示画面上で、前記変形前の扇形のフレー
ムにおける扇形の角度と、前記変形前の扇形のフレーム
の内部の前記線画図形を構成する点と前記変形前の扇形
の中心点を結ぶ辺と前記変形前の扇形の2つの半径を構
成する辺の角度との比が、前記変形後の扇形のフレーム
における扇形の角度と、前記変形後の扇形のフレームの
内部の点であって前記変形前の扇形のフレームの内部の
前記線画図形を構成する点に対応する点と前記変形後の
扇形の中心点を結ぶ辺と前記変形後の扇形の2つの半径
を構成する辺の角度との比に等しくなり、かつ前記変形
前の扇形のフレームの半径と、前記変形前の扇形のフレ
ームの内部の前記線画図形を構成する点と前記変形前の
扇形の中心点の距離との比が、前記変形後の扇形のフレ
ームの半径と、前記変形後の扇形のフレームの内部の点
であって前記変形前の扇形のフレームの内部の前記線画
図形を構成する点に対応する点と前記変形前の扇形の中
心点の距離との比に等しくなるように、前記変形後の扇
形のフレームの内部の点であって前記変形前の扇形のフ
レームの内部の前記線画図形を構成する点に対応する点
を算出する、 ことを特徴とする請求項1に記載の図形変形装置。
3. The graphic transformation calculation means configures, on the display screen of the graphic display means, a fan-shaped angle in the fan-shaped frame before the transformation and the line drawing figure inside the fan-shaped frame before the transformation. The ratio of the angle between the point connecting the center point of the fan shape before deformation and the angle of the sides forming two radii of the fan shape before deformation is the angle of the fan shape in the frame of the fan shape after deformation and the angle A point inside the subsequent fan-shaped frame, which corresponds to a point constituting the line drawing figure inside the fan-shaped frame before the deformation, and a side connecting the center point of the deformed fan-shaped frame and the deformed The radius of the fan-shaped frame before the deformation, the point that forms the line drawing figure inside the fan-shaped frame before the deformation, and the deformation. Distance of the center point of the previous sector Corresponds to the radius of the transformed fan-shaped frame and the points inside the transformed fan-shaped frame that form the line drawing figure inside the untransformed fan-shaped frame. The line drawing figure inside the fan-shaped frame before deformation is configured so that it becomes equal to the ratio of the distance between the point and the center point of the fan-shaped frame before deformation. The figure transformation device according to claim 1, wherein a point corresponding to the point is calculated.
JP33415393A 1993-12-28 1993-12-28 Figure transformation device Expired - Fee Related JP3451292B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33415393A JP3451292B2 (en) 1993-12-28 1993-12-28 Figure transformation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33415393A JP3451292B2 (en) 1993-12-28 1993-12-28 Figure transformation device

Publications (2)

Publication Number Publication Date
JPH07200853A true JPH07200853A (en) 1995-08-04
JP3451292B2 JP3451292B2 (en) 2003-09-29

Family

ID=18274132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33415393A Expired - Fee Related JP3451292B2 (en) 1993-12-28 1993-12-28 Figure transformation device

Country Status (1)

Country Link
JP (1) JP3451292B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913810A (en) * 2022-03-30 2022-08-16 卡莱特云科技股份有限公司 Sector-based slice display control method, device and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4860269B2 (en) 2006-01-13 2012-01-25 富士フイルム株式会社 Evaluation apparatus and evaluation program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913810A (en) * 2022-03-30 2022-08-16 卡莱特云科技股份有限公司 Sector-based slice display control method, device and system
CN114913810B (en) * 2022-03-30 2023-06-02 卡莱特云科技股份有限公司 Sector-based slice display control method, device and system

Also Published As

Publication number Publication date
JP3451292B2 (en) 2003-09-29

Similar Documents

Publication Publication Date Title
JP2994888B2 (en) Input processing device and input processing method
JP3705826B2 (en) Virtual three-dimensional window display control method
JPH05108786A (en) Method and apparatus for transforming graphic form
JP3451292B2 (en) Figure transformation device
JP3462512B2 (en) How to modify the graph
JPH1069345A (en) Image processor
JP3451293B2 (en) Figure transformation device
JP3486937B2 (en) Figure transformation device
JP2684609B2 (en) Graphic display method in graphic data processing device
JP3255305B2 (en) Free-form surface creation method
JPH07200857A (en) Graphic deforming device
JPH07200852A (en) Graphic deforming device
JP2786098B2 (en) Figure enlargement editing method
JP3381994B2 (en) Display screen switching device
JPH10240961A (en) Magnified displaying method of straight line fisheye
JPH07282285A (en) Graphic editing device
JP2571178B2 (en) 3D graphics processor
JP3351939B2 (en) Character string transformation arrangement method
JPS63234368A (en) Circle/circular arc generating system for free line width
JPH10188009A (en) Graph preparing device and its method
JP2000267648A (en) Plotting device, waveform plotting method, and storage medium recording plotting processing program
JPH02162416A (en) Graphic display device
JPH04157519A (en) Display controller
JPH0765191A (en) Curve drawing method
JP2002230583A (en) Device and program for converting coordinate

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030527

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070718

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080718

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080718

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100718

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120718

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees