JPH04362786A - Picture processing method and device - Google Patents

Picture processing method and device

Info

Publication number
JPH04362786A
JPH04362786A JP3137817A JP13781791A JPH04362786A JP H04362786 A JPH04362786 A JP H04362786A JP 3137817 A JP3137817 A JP 3137817A JP 13781791 A JP13781791 A JP 13781791A JP H04362786 A JPH04362786 A JP H04362786A
Authority
JP
Japan
Prior art keywords
curved surface
curved surfaces
area
deformation
graphic
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
JP3137817A
Other languages
Japanese (ja)
Inventor
Yoshihiro Ishida
良弘 石田
Yoshinobu Mita
三田 良信
Jiyunichi Shishizuka
順一 宍塚
Miyuki Enokida
幸 榎田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3137817A priority Critical patent/JPH04362786A/en
Publication of JPH04362786A publication Critical patent/JPH04362786A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To easily generate complicated curved surfaces changing continuously. CONSTITUTION:A storage means storing curved surfaces information on a basic graphic, a displacing quantity generation means generating continuous displacing quantity for a two-dimensional area, curved surfaces information generation means 1 generating new curved surfaces information by displacing a point on a graphic printed by a mapping to this graphic from the said area based on the displacing position for each point of the area and a display means 3 displaying a graphic based on the curved surfaces information generated by the curved surfaces information generation means 1.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像処理方法に関し、
特にコンピュータグラフィックスに於て、原面を構成す
る曲面を局所的に新たな曲面に変形して行くようにした
曲面生成方法に関するものである。
[Industrial Application Field] The present invention relates to an image processing method,
Particularly in computer graphics, the present invention relates to a method of generating a curved surface in which a curved surface constituting an original surface is locally transformed into a new curved surface.

【0002】0002

【従来の技術】従来コンピュータグラフィックスに於て
、3次元の曲面を生成する方法として、円筒,球などの
基本的な曲面(これをプリミティブ曲面と呼ぶ)のデー
タを予め用意しておき、これらのプリミティブ曲面を必
要に応じて組み合わせることによって新しい曲面を作成
するような方法や、新たに作成すべき曲面上の点をコン
トロールポイントとして指定し、これらのコントロール
ポイントを通る曲面をスプライン関数を用いて内挿して
行く方法などが用いられている。
[Prior Art] Conventionally, in computer graphics, as a method for generating three-dimensional curved surfaces, data for basic curved surfaces such as cylinders and spheres (these are called primitive curved surfaces) are prepared in advance. You can create a new surface by combining primitive surfaces as needed, or you can specify points on the newly created surface as control points and create a surface that passes through these control points using a spline function. Methods such as interpolation are used.

【0003】このスプライン関数を用いて曲面を作成す
る場合に於ても、実際には、数多くのコントロールポイ
ントを設定しなければならないので、多数のコントロー
ルポイントを形成するために、プリミティブ曲面を用い
たり、断面図を組み合わせたりすることによって、実用
上許容できる範囲でコントロールポイントの設定をする
ようになされている。従ってこの場合も実用上はプリミ
ティブ曲面を組み合わせた場合と同様の特徴を持ってい
る。
Even when creating a curved surface using this spline function, it is actually necessary to set a large number of control points, so in order to form a large number of control points, a primitive curved surface is used or By combining , sectional views, etc., control points are set within a practically acceptable range. Therefore, in practical terms, this case also has the same characteristics as the case where primitive curved surfaces are combined.

【0004】従って、これらの従来の方法は、実際上プ
リミティブ曲面の外形形状を基本的な形状として、この
基本的な形状に基づいて曲面を変形処理することによっ
て所望の曲面を得ようとしており、機械的な物体の外観
形状を表現する場合などに適用する限りに於ては、実用
上満足し得る曲面を作成できると考えられている。
Therefore, these conventional methods actually use the external shape of a primitive curved surface as a basic shape, and attempt to obtain a desired curved surface by deforming the curved surface based on this basic shape. It is believed that it is possible to create a curved surface that is practically satisfactory as long as it is applied to express the external shape of a mechanical object.

【0005】[0005]

【発明が解決しようとしている課題】ところが、例えば
、人の顔面を表わす曲面のように、柔らかな印象を与え
、かつプリミティブ曲面とは異なる曲面(これを自由曲
面と呼ぶ)によって表現しなければ不自然になるような
曲面を作成しようとする場合には、原理上プリミティブ
曲面の特徴の影響が強く出る従来の曲面作成方法では、
十分とは言えない。
[Problem to be Solved by the Invention] However, for example, a curved surface representing a human face must be expressed by a curved surface that gives a soft impression and is different from a primitive curved surface (this is called a free-form surface). When trying to create a natural-looking curved surface, conventional surface creation methods are strongly influenced by the characteristics of primitive surfaces.
I can't say it's enough.

【0006】また、アニメーション作成装置や、特殊効
果装置に、従来の曲面作成方法を適用しても、スムーズ
な曲面の変形を得ることができない場合があり、適用し
得る曲面の変形パターンが狭い範囲に限定されてしまう
といった欠点もある。
[0006] Furthermore, even if conventional curved surface creation methods are applied to animation creation devices and special effects devices, it may not be possible to obtain smooth curved surface deformation, and the applicable curved surface deformation patterns are limited to a narrow range. It also has the disadvantage of being limited to

【0007】本発明は、以上の点を考慮してなされたも
ので、プリミティブ曲面から多様な曲面を作成すること
ができ、かつ連続的に変化する曲面を容易に得ることが
可能な曲面作成方法を提案するものである。
The present invention has been made in consideration of the above points, and provides a method for creating a curved surface that can create various curved surfaces from primitive curved surfaces and easily obtain a continuously changing curved surface. This is what we propose.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、本発明は、基本図形の曲面情報を記憶する記憶手段
と、2次元上の領域に対して連続な変位量を生成する変
位量生成手段と、前記領域の各点に対する変位量に基づ
き、当該領域から前記図形への写像により写される前記
図形上の点を変位させることにより、新たな曲面情報を
生成する曲面情報生成手段と、前記曲面情報生成手段に
より生成された曲面情報に基づき、図形を表示する表示
手段とを具える。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a storage means for storing curved surface information of a basic figure, and a displacement amount that generates a continuous displacement amount for a two-dimensional area. and curved surface information generating means for generating new curved surface information by displacing points on the figure that are mapped from the area to the figure based on the amount of displacement for each point in the area. , display means for displaying a figure based on the curved surface information generated by the curved surface information generating means.

【0009】[0009]

【実施例】(原理の説明)先ず、本発明の原理を説明す
る。本発明は、図1及び図2〜図4にそれぞれ示される
2つの曲面情報の、互いに対応づけられる位置の値の和
として自由曲面の情報とするものである。
EXAMPLES (Explanation of Principle) First, the principle of the present invention will be explained. According to the present invention, information on a free-form surface is obtained as the sum of values of mutually associated positions of two pieces of curved surface information shown in FIGS. 1 and 2 to 4, respectively.

【0010】図1は、円筒形状のプリミティブを示す図
である。円筒座標系で表記した条件で、円筒面上の一点
A(ra,θa,ha)に着目する。図2〜図4は、も
う一つの曲面情報であり、3次元の直交座標系で表現さ
れている。便宜上、円筒座標の径方向をr座標、円周角
の方向をθ座標、円筒の高さ方向をh座標とする。直交
座標をx座標,y座標,z座標とする。今、図2に示す
ように、xy平面を円筒座標系のθ−h面(円筒の胴部
の表面)に対応づける。すると図2は、図1の円筒の側
面にマッピングされることになる。このとき、xy平面
上の各位置のz値を、図3,図4で示される様に定める
と、マッピングで対応づけられる円筒の側面は、このz
値を、図1で示される円筒面からの起伏を示すデータΔ
rとして用いることで、図5に示されるような変形され
た曲面となるものである。図1の円筒面P1上の一点を
A(ra,θa,ha)とし、対応する図2のθ−h(
x−y)面上の一点をa(θa,ha)とし、そのZ値
をΔraとすると、結果は図5の一点A′(ra+Δr
a,θa,ha)を示す訳である。
FIG. 1 is a diagram showing a cylindrical primitive. Under conditions expressed in a cylindrical coordinate system, attention is paid to one point A (ra, θa, ha) on the cylindrical surface. 2 to 4 are another type of curved surface information, which is expressed in a three-dimensional orthogonal coordinate system. For convenience, the radial direction of the cylinder coordinates is referred to as the r coordinate, the direction of the circumferential angle as the θ coordinate, and the height direction of the cylinder as the h coordinate. Let the orthogonal coordinates be the x, y, and z coordinates. Now, as shown in FIG. 2, the xy plane is associated with the θ-h plane (the surface of the body of the cylinder) of the cylindrical coordinate system. 2 will then be mapped onto the side surface of the cylinder in FIG. 1. At this time, if the z value of each position on the xy plane is determined as shown in FIGS. 3 and 4, the side surface of the cylinder that is mapped will be
The value is expressed as data Δ showing the ups and downs from the cylindrical surface shown in Figure 1.
By using it as r, a deformed curved surface as shown in FIG. 5 is obtained. Let one point on the cylindrical surface P1 in FIG. 1 be A(ra, θa, ha), and the corresponding θ−h(
If one point on the (x-y) plane is a(θa, ha) and its Z value is Δra, the result is one point A'(ra+Δr
a, θa, ha).

【0011】ここで、二つのプリミティブ曲面の対応点
は以下のように定めることができる。
[0011] Here, the corresponding points between the two primitive curved surfaces can be determined as follows.

【0012】曲面データベースとして用いられる全ての
プリミティブ曲面を、例えば、図6〜図8の如く、その
曲面形状とは無関係に、一定の数の格子に分ける。その
格子同士が接続関係を保ったままで対応づけられるもの
である。図6〜図8のそれぞれにおける4点、B,C,
D,Eは、各曲面で対応する点を示している。
All primitive curved surfaces used as a curved surface database are divided into a fixed number of grids, regardless of the shape of the curved surface, as shown in FIGS. 6 to 8, for example. The grids can be associated with each other while maintaining their connectivity. 4 points in each of Figures 6 to 8, B, C,
D and E indicate corresponding points on each curved surface.

【0013】図2〜図4の例では、その変位量データを
In the examples shown in FIGS. 2 to 4, the displacement data is

【0014】[0014]

【外1】 ととっている。即ち、(θ0,h0)を中心とした、最
大高さΔr0のガウス分布をもった変位量分布をとる。 Δr0×(1/e)(ここでeは自然対数の底)の変位
量をもつ位置は、長径2l,短径2sの楕円となってい
る。よって図5は、円柱の側面がガウス分布状のもり上
がりをもった様な曲面となる。
[Outside 1] That is, a displacement distribution having a Gaussian distribution with a maximum height Δr0 centered at (θ0, h0) is taken. A position having a displacement amount of Δr0×(1/e) (here, e is the base of the natural logarithm) is an ellipse with a major axis of 2l and a minor axis of 2s. Therefore, in FIG. 5, the side surface of the cylinder has a curved surface with a Gaussian distribution.

【0015】また逆に、[0015] Conversely,

【0016】[0016]

【外2】 ととると、ガウス分布状のへこみを実現できる。[Outside 2] By taking this, it is possible to realize a Gaussian distribution of indentations.

【0017】(曲面作成装置の実施例)上述した曲面作
成方法は、図9に示すような構成の曲面作成装置によっ
て実現し得る。
(Embodiment of curved surface creation device) The above-described curved surface creation method can be realized by a curved surface creation device configured as shown in FIG.

【0018】図9において、1はコンピュータ構成の曲
面演算装置で、プリミティブ及び数1,数2で示される
形状位置情報を、曲面表示コントロール装置2によって
映像信号に変換した後、陰極線管構成の表示装置3に表
示する。
In FIG. 9, reference numeral 1 denotes a computer-configured curved surface calculation device, which converts primitives and shape position information shown by equations 1 and 2 into video signals by a curved surface display control device 2, and then displays the cathode ray tube structure. Display on device 3.

【0019】また、曲面演算装置1は、図12,図13
のフローチャートに示す処理手順や、プリミティブを表
示するためのデータや数1,数2などの演算式、各種デ
ィフォールト値などのデータをメモリに記憶し、更に、
操作者が入力・設定したパラメータ等もメモリに記憶可
能とし、CPUはこれらデータを利用して、演算や各種
制御を実行するものとする。
Further, the curved surface calculation device 1 is shown in FIGS. 12 and 13.
The processing procedure shown in the flowchart, data for displaying primitives, arithmetic expressions such as Equation 1 and Equation 2, and data such as various default values are stored in memory, and further,
Parameters input and set by the operator can also be stored in the memory, and the CPU uses these data to execute calculations and various controls.

【0020】曲面演算装置1は、形状形成のベースとな
るプリミティブの指示、変形量、数1及び数2の演算に
必要となるパラメータの入力操作を表示装置3の表示に
添って、マウス4及びキーボード5を用いて行なう構成
をとる。
The surface calculation device 1 inputs instructions for primitives that are the basis of shape formation, amounts of deformation, and parameters necessary for calculating Equations 1 and 2 using a mouse 4 and a mouse 4 in accordance with the display on the display device 3. The configuration is such that the keyboard 5 is used.

【0021】形状形成のベースとなるプリミティブの選
択は、例えば図11で示されるように、装置があらかじ
め用意してある基準形状の一覧を表示装置3上に表示し
、マウス4を用いて表示中のカーソルを移動させ、所望
のプリミティブ上でマウスのボタンをクリックすること
で行なわれる。
[0021] To select a primitive as a base for forming a shape, for example, as shown in FIG. This is done by moving the cursor and clicking the mouse button on the desired primitive.

【0022】次に変形の方法として、図9に示すように
あらかじめ用意された変形処理の種類(ひっぱり,へこ
ませ,まげ,のばし,etc)の一覧を表示装置3上に
表示し、この中から実行すべき変形(演算)をプリミテ
ィブ選択と同様に、マウス4を用いて選択する。
Next, as a method of deformation, as shown in FIG. The transformation (operation) to be executed from the cursor is selected using the mouse 4 in the same way as primitive selection.

【0023】数1及び数2で示される変形量は、例えば
、図10で示されるように、その変形の及ぶ領域を設定
する値を表示装置3上の表示に従って入力する。図10
の表示は、画面の向かって右側の部分を各種値の設定用
の操作領域として用いており、残りの領域をその設定値
による表示領域として用いている。数1及び数2におけ
るsを横方向、lを縦方向と呼び、どちらの方向もあら
かじめ定められた選択値として3種類ずつ、広い,普通
,狭いと呼ばれる設定値SW,SO,SN;lW,lO
,lNで選択し、おおよその値を定める。更に微調整操
作としてこの値を微小量ずつ増減させることにより、微
小修正を可能とするものである。
For the amount of deformation shown by Equations 1 and 2, for example, as shown in FIG. 10, values for setting the area to which the deformation is applied are input according to the display on the display device 3. Figure 10
In this display, the right side of the screen is used as an operation area for setting various values, and the remaining area is used as a display area for the set values. In Equations 1 and 2, s is called the horizontal direction, and l is called the vertical direction, and in both directions, there are three predetermined selection values: wide, normal, and narrow set values SW, SO, SN; lW, lO
, IN and determine the approximate value. Further, by increasing or decreasing this value in small increments as a fine adjustment operation, it is possible to make small corrections.

【0024】変形の中心位置は、図9及び図10のよう
に図形表示領域に表示された原図形上で、マウス4によ
りカーソルを移動させ、マウスのボタンを押しさげると
、そのクリックされた位置に対応する点が変形量分布の
中心になる。更に、マウスのボタンを押しこんだままマ
ウスを移動させると、その移動量に応じて、変形量Δr
0が定まる。
The center position of the deformation can be determined by moving the cursor with the mouse 4 on the original figure displayed in the figure display area as shown in FIGS. 9 and 10 and pressing down the mouse button. The point corresponding to becomes the center of the deformation distribution. Furthermore, if you move the mouse while holding down the mouse button, the amount of deformation Δr will change depending on the amount of movement.
0 is determined.

【0025】かかる変形操作は、曲面演算装置1が、そ
のCPUによって、メモリに記憶された以下に述べる図
12,図13の処理手順を実行することにより得られる
Such a deformation operation is obtained by the curved surface calculation device 1 using its CPU to execute the processing procedures shown in FIGS. 12 and 13, which will be described below, and which are stored in the memory.

【0026】曲面演算装置1のCPUは、ステップS1
において当該処理手順をスタートした後、ステップS2
で当該処理で用いられる各種値のうち、操作者により明
確なる指示が与えられなかった際に用いるための値(デ
ィフォールト値)の設定、用いるメモリ,ポインタ等の
初期化を行なう。ステップS3において、仮設定されて
いる視点位置を変更することが可能である。視点位置を
変更する場合には、マウス4によってその指示をし、マ
ウス4もしくはキーボード5を用いて視点位置を入力す
る。ステップS4に於いては、図11に示した如く、装
置にあらかじめ用意されている基本形状を表示装置3に
一覧表示し、マウス4を用いて基本形状(原曲面)を選
択入力する。ステップS5に於いては、図9につき説明
した如く、装置にあらかじめ用意されている基本変形演
算の種類を表示装置3に表示し、マウス4を用いて変形
演算の種類を選択する。ステップS6に於いては、ステ
ップS5にて選択した演算が、基本形状自体を変更する
のではなく、基本形状(原曲面)の表面形状の一部を変
更するものであるか否かを判定する。まげ(例えば、円
筒型を馬てい型に変更)、のばし(太く短い円筒を、細
く長い円筒に変更)等の基本形状自体の変更の場合は、
それぞれに対応する各種の処理ルーチンステップS17
を実行し、その結果として生成される形状の曲面を表示
するためステップS9へ進む。一方、ひっぱり,へこま
せの演算が指示された場合は、ステップS7に進む。ス
テップS7では、図10につき説明した如く、変形領域
のサイズをマウス4を用いて指定する。ステップS8で
は、図10の表示画面の左側の如く、表示されている形
状データを基にマウス4を用いて変形の中心位置及び変
形量の指定を行なう。ステップS9に於いては、入力さ
れた基本形状及び変形演算の種類,変形位置,変形量の
情報から変形曲面のデータを演算出力する。ステップS
10では、ステップS9で演算された変形後の曲面デー
タを、曲面表示コントロール装置2を介して表示装置3
に表示させる。
[0026] The CPU of the surface calculation device 1 performs step S1.
After starting the processing procedure in step S2
Among the various values used in the process, values (default values) to be used when no clear instructions are given by the operator are set, and the memory, pointer, etc. to be used are initialized. In step S3, it is possible to change the temporarily set viewpoint position. When changing the viewpoint position, the user issues an instruction using the mouse 4 and inputs the viewpoint position using the mouse 4 or the keyboard 5. In step S4, as shown in FIG. 11, a list of basic shapes prepared in advance in the apparatus is displayed on the display device 3, and a basic shape (original curved surface) is selected and input using the mouse 4. In step S5, as described with reference to FIG. 9, the types of basic transformation calculations prepared in advance in the device are displayed on the display device 3, and the mouse 4 is used to select the type of transformation calculation. In step S6, it is determined whether the operation selected in step S5 does not change the basic shape itself, but changes a part of the surface shape of the basic shape (original curved surface). . In the case of changes to the basic shape itself, such as topknots (for example, changing a cylindrical shape to a horse-shaped one) or elongation (changing a thick and short cylinder to a thin and long one),
Various processing routine steps S17 corresponding to each
is executed, and the process proceeds to step S9 to display the curved surface of the shape generated as a result. On the other hand, if the calculation of pulling or recessing is instructed, the process advances to step S7. In step S7, the size of the deformation area is designated using the mouse 4, as described with reference to FIG. In step S8, the center position and amount of deformation are specified using the mouse 4 based on the displayed shape data as shown on the left side of the display screen in FIG. In step S9, data of a deformed surface is calculated and output from the input basic shape and information on the type of deformation calculation, deformation position, and amount of deformation. Step S
10, the transformed curved surface data calculated in step S9 is sent to the display device 3 via the curved surface display control device 2.
to be displayed.

【0027】この状態において、曲面演算装置1のCP
Uは、曲面表示コントロール装置2及び表示装置3に、
変形後の曲面データの表示を継続させることにより、次
のステップS11に於いて操作者は表示装置3の表示を
見ながら変形の程度がオペレータの要求に適応したもの
であるか否かを確認できる。その後CPUは次のステッ
プS12に移って、操作者が、更なる修正を求めたか処
理の終了を求めたかの判断をする。ここで、更なる修正
を要求する信号を入力された場合には、曲面演算装置1
のCPUは、上述のステップS3に戻って新たなパラメ
ータの設定を待ち受ける状態に戻るものである。
In this state, the CP of the surface calculation device 1
U is connected to the curved display control device 2 and the display device 3,
By continuing to display the curved surface data after deformation, in the next step S11, the operator can check whether the degree of deformation is appropriate to the operator's requirements while looking at the display on the display device 3. . Thereafter, the CPU moves to the next step S12 and determines whether the operator has requested further correction or termination of the process. Here, if a signal requesting further correction is input, the surface calculation device 1
The CPU returns to step S3 described above and returns to a state where it waits for new parameter settings.

【0028】このとき操作者は、ステップS3〜5,7
,8に於いて新たなパラメータの設定をし直すことによ
り、ステップS9〜10で変形演算式の演算を再実行し
、表示装置3に変形された曲面を表示させ、ステップS
11で再度操作者に変形が所望の通りであるか否かの判
断をさせる。
[0028] At this time, the operator performs steps S3 to S5 and S7.
, 8, the calculation of the deformation calculation formula is re-executed in steps S9 to 10, the deformed curved surface is displayed on the display device 3, and step S
At step 11, the operator is again asked to judge whether the deformation is as desired.

【0029】かくして曲面演算装置1のCPUは、ステ
ップS3〜12のループによって、操作者が自分の要求
に合う変形ができるまで曲面の生成を繰り返すことが可
能となる。やがて操作者が自分の満足のゆく設定ができ
ると、更なる修正は不要と判断して、終了信号を曲面演
算装置1に入力すると、曲面演算装置1のCPUは、ス
テップS13に移って設定されたデータ,プリミティブ
の種類,変形領域のサイズ,変形の中心位置,変形の大
きさを曲面演算装置1内の形状データメモリエリア内の
データメモリテーブルのカウンタの指す位置に格納し、
カウンタをカウントアップする。次にステップS15で
次の曲面データを生成するか否か操作者の判定を待ち、
次データ作成の際はステップS3に戻る。終了の際は、
ステップS16に進み一連の処理を終了する。
In this manner, the CPU of the curved surface calculation device 1 is able to repeat generation of the curved surface by the loop of steps S3 to S12 until the operator achieves the transformation that meets his/her requirements. Eventually, when the operator is able to make the settings to his satisfaction, he determines that no further correction is necessary and inputs a termination signal to the surface calculation device 1, whereupon the CPU of the surface calculation device 1 moves to step S13 and completes the settings. store the data, the type of primitive, the size of the deformation area, the center position of deformation, and the size of deformation in the position indicated by the counter of the data memory table in the shape data memory area in the curved surface calculation device 1;
Count up the counter. Next, in step S15, the operator waits for a determination as to whether or not to generate the next curved surface data.
When creating the next data, the process returns to step S3. When finished,
Proceeding to step S16, the series of processing ends.

【0030】(実施例2)前記実施例に於いて、ステッ
プS12に於いて、修正を要すると判断されてステップ
S3に戻った場合、ステップS3〜5,7,8は、必ず
しも全て再設定する必要はなく、ステップS3に戻る直
前の状態を保持しておき、その状態に対して変形を追加
してゆく方式をとっても良い。この場合、変位量は、ス
テップS3に戻る直前の状態に追加して、新しい変位量
データとして用いられる。図14にこの状態を図示する
。ひっぱり演算で6,7を、へこませ演算で8を作成す
る。ひっぱり6の中心を点F,7の中心を点G,8の中
心を点Hと設定したものである。基本形状を円筒に設定
すると、表示される形状は図15の如くなる。
(Embodiment 2) In the above embodiment, if it is determined in step S12 that correction is required and the process returns to step S3, steps S3 to S5, 7, and 8 are not necessarily all reset. It is not necessary, and a method may be used in which the state immediately before returning to step S3 is held and modifications are added to that state. In this case, the displacement amount is added to the state immediately before returning to step S3 and used as new displacement amount data. FIG. 14 illustrates this state. Create 6 and 7 using the pull operation, and 8 using the indentation operation. The center of pull 6 is set as point F, the center of pull 7 is set as point G, and the center of pull 8 is set as point H. If the basic shape is set to a cylinder, the displayed shape will be as shown in FIG. 15.

【0031】この場合、処理の手順は、図12,13に
示したフローチャートと同様に表現できる。ただし、前
述の如く、ステップS3〜5,7,8は、ステップS3
に戻る直前の状態をそのまま踏襲することができるもの
とし、かつ、次々と変位量を追加させてゆき、各々の変
位量データのパラメータを保持してゆく様に構成する。 ステップS9の演算に於いては、複数ある変位量を総和
をもって各点の曲面の変位量として表示曲面データとな
す。即ち、
In this case, the processing procedure can be expressed similarly to the flowcharts shown in FIGS. 12 and 13. However, as mentioned above, steps S3 to S5, 7, and 8 are
The configuration is such that the state immediately before returning to can be followed as it is, and the displacement amount is added one after another, and the parameters of each displacement amount data are held. In the calculation in step S9, the sum of the plurality of displacement amounts is used as the display curved surface data as the displacement amount of the curved surface at each point. That is,

【0032】[0032]

【外3】 ここで、Δr(θ,h)が、基本形状表面の(θ,h)
の位置変化量を表わし、Δri(θ,h)が複数ある変
位データのi番目のパラメータより求まる基本形状表面
の(θ,h)上の変化量を表わす。また、ステップS1
3に於いて、パラメータをセットする際に複数ある変位
データの個数と、変位データのパラメータを保持する様
にすればよい。このように複数の変位データをもって変
位量データを作成可とすることで、より複雑な曲面を単
純な演算で実現でき、かつ、対話的にあたかも表示装置
上で粘土細工をする感覚での操作を可能とする効果を有
するものである。
[Example 3] Here, Δr (θ, h) is (θ, h) of the basic shape surface
Δri(θ, h) represents the amount of change on (θ, h) of the basic shape surface determined from the i-th parameter of a plurality of displacement data. Also, step S1
In step 3, when setting the parameters, the number of plural pieces of displacement data and the parameters of the displacement data may be held. By making it possible to create displacement data using multiple pieces of displacement data in this way, more complex curved surfaces can be created with simple calculations, and operations can be performed interactively, as if working with clay on a display device. This has the effect of making it possible.

【0033】[0033]

【発明の効果】以上のように、本発明によれば、変形前
の曲面のうちの一部の領域を指定して、変位量を定め、
この変位量曲面を、原曲面上に貼り付ける様に対応づけ
てゆくことで変形曲面を形成するようにしたことにより
、実際上変形曲面をリアルタイムで発生させることがで
きると共に、パラメータとして、曲面を見ながら設定で
きるようなものを、すなわち作用点の位置,変形領域の
サイズ,変形量の大きさ,向きを用いることができるの
で、パラメータの設定操作を直感的に、かつ対話的にで
きる効果がある。
As described above, according to the present invention, a partial region of a curved surface before deformation is specified, a displacement amount is determined,
By associating this displacement amount surface with the original curved surface to form a deformed surface, it is possible to actually generate a deformed surface in real time, and also to use the curved surface as a parameter. Parameter setting operations can be done intuitively and interactively because you can use things that can be set while looking at them, such as the position of the point of action, the size of the deformation area, the amount of deformation, and the direction. be.

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

【図1】基本図形の例を示す図である。FIG. 1 is a diagram showing an example of basic figures.

【図2】変位データを示す図である。FIG. 2 is a diagram showing displacement data.

【図3】変位データを示す図である。FIG. 3 is a diagram showing displacement data.

【図4】変位データを示す図である。FIG. 4 is a diagram showing displacement data.

【図5】変形された図形の例を示す図である。FIG. 5 is a diagram showing an example of a deformed figure.

【図6】基本図形と変位データの対応を示す図である。FIG. 6 is a diagram showing the correspondence between basic figures and displacement data.

【図7】基本図形と変位データの対応を示す図である。FIG. 7 is a diagram showing the correspondence between basic figures and displacement data.

【図8】基本図形と変位データの対応を示す図である。FIG. 8 is a diagram showing the correspondence between basic figures and displacement data.

【図9】本発明装置の実施例を示すブロック図である。FIG. 9 is a block diagram showing an embodiment of the device of the present invention.

【図10】表示画面の例を示す図である。FIG. 10 is a diagram showing an example of a display screen.

【図11】表示画面の例を示す図である。FIG. 11 is a diagram showing an example of a display screen.

【図12】実施例の動作を表すフローチャートである。FIG. 12 is a flowchart showing the operation of the embodiment.

【図13】実施例の動作を表すフローチャートである。FIG. 13 is a flowchart showing the operation of the embodiment.

【図14】変位データを示す図である。FIG. 14 is a diagram showing displacement data.

【図15】変形された図形の例を示す図である。FIG. 15 is a diagram showing an example of a deformed figure.

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

1  曲面演算装置 2  曲面表示コントロール装置 3  表示装置 4  マウス 5  キーボード 1 Surface calculation device 2 Curved surface display control device 3 Display device 4 Mouse 5 Keyboard

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  基本図形の曲面情報を記憶しておき、
2次元上の領域に対して連続な変位量を生成し、前記領
域の各点に対する変位量に基づき、当該領域から前記図
形への写像により写される前記図形上の点を変位させる
ことにより、新たな曲面情報を生成し、生成された曲面
情報に基づいて図形を表示することを特徴とする画像処
理方法。
[Claim 1] Store curved surface information of a basic figure,
By generating a continuous displacement amount for a two-dimensional area, and displacing a point on the figure that is mapped from the area to the figure based on the displacement amount for each point in the area, An image processing method characterized by generating new curved surface information and displaying a figure based on the generated curved surface information.
【請求項2】  基本図形の曲面情報を記憶する記憶手
段と、2次元上の領域に対して連続な変位量を生成する
変位量生成手段と、前記領域の各点に対する変位量に基
づき、当該領域から前記図形への写像により写される前
記図形上の点を変位させることにより、新たな曲面情報
を生成する曲面情報生成手段と、前記曲面情報生成手段
により生成された曲面情報に基づき、図形を表示する表
示手段とを有することを特徴とする画像処理装置。
2. Storage means for storing curved surface information of a basic figure; displacement amount generation means for generating a continuous displacement amount for a two-dimensional area; curved surface information generating means for generating new curved surface information by displacing points on the graphic that are mapped from the region to the graphic; An image processing device comprising: display means for displaying.
JP3137817A 1991-06-10 1991-06-10 Picture processing method and device Pending JPH04362786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3137817A JPH04362786A (en) 1991-06-10 1991-06-10 Picture processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3137817A JPH04362786A (en) 1991-06-10 1991-06-10 Picture processing method and device

Publications (1)

Publication Number Publication Date
JPH04362786A true JPH04362786A (en) 1992-12-15

Family

ID=15207550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3137817A Pending JPH04362786A (en) 1991-06-10 1991-06-10 Picture processing method and device

Country Status (1)

Country Link
JP (1) JPH04362786A (en)

Similar Documents

Publication Publication Date Title
JP2667835B2 (en) Computer Graphics Display
US5276785A (en) Moving viewpoint with respect to a target in a three-dimensional workspace
US5379371A (en) Displaying method and apparatus for three-dimensional computer graphics
US6781597B1 (en) Edit modes for three dimensional modeling systems
JPH0668758B2 (en) Cursor control method and three-dimensional graphic display device
JP3705826B2 (en) Virtual three-dimensional window display control method
JPH04289976A (en) Three-dimensional shape model forming method and system
CN106716500B (en) Information processing device and depth definition method
JP3551538B2 (en) Method and apparatus for creating a three-dimensional model
JPH11296699A (en) Three-dimensional image creation device
JPH04362786A (en) Picture processing method and device
JP2000339499A (en) Texture mapping and texture mosaic processor
JP3441804B2 (en) Image processing apparatus and method
JP2578755B2 (en) Surface creation method
JP2746981B2 (en) Figure generation method
JPH0816826A (en) Solid graphic arrangement input method and graphic system
JPS62126468A (en) Dress design forming device
JP2949594B2 (en) Video display device
JP2746980B2 (en) Figure generation method
JP2591475B2 (en) Curved surface creation device
JPH0765194A (en) Information processor
JP2616132B2 (en) Image display device
JP2591476B2 (en) Surface creation method
JP3453410B2 (en) Image processing apparatus and method
JP2786098B2 (en) Figure enlargement editing method